Skip to content
Snippets Groups Projects
Unverified Commit fb1b5ca4 authored by John Kleinschmidt's avatar John Kleinschmidt Committed by GitHub
Browse files

test: disable CapturableScreen tests on Windows x64 (#41543)

* test: disable CapturableScreen tests on Windows x64

* test: disable js-execute-iframe" case should not crash on win 32-bit
parent f8265062
Branches
Tags v31.0.0-nightly.20240308
No related merge requests found
......@@ -40,9 +40,13 @@ const shouldRunCase = (crashCase: string) => {
case 'quit-on-crashed-event': {
return (process.platform !== 'win32' || process.arch !== 'ia32');
}
// TODO(jkleinsc) fix this test on Linux on arm/arm64
// TODO(jkleinsc) fix this test on Linux on arm/arm64 and 32bit windows
case 'js-execute-iframe': {
return (process.platform !== 'linux' || (process.arch !== 'arm64' && process.arch !== 'arm'));
if (process.platform === 'win32') {
return process.arch !== 'ia32';
} else {
return (process.platform !== 'linux' || (process.arch !== 'arm64' && process.arch !== 'arm'));
}
}
default: {
return true;
......
......@@ -171,10 +171,8 @@ export class ScreenCapture {
* - Linux: virtual screen display is 0x0
* - Win32 arm64 (WOA): virtual screen display is 0x0
* - Win32 ia32: skipped
* - Win32 x64: virtual screen display is 0x0
*/
export const hasCapturableScreen = () => {
return (
process.platform === 'darwin' ||
(process.platform === 'win32' && process.arch === 'x64')
);
return process.platform === 'darwin';
};
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment