electron/spec/fixtures/pages
Samuel Attard be1a3dce83
build: use github actions for windows (#44136)
* build: test windows runner

* build: try build windows on windows?

* build: take win/cross changes

* build: use bash as default shell always

* build: configure git for windows build tools

* build: bash as default

* build: configure windows correctly

* build: use sha1sum

* build: force windows cipd init and python3 existence

* just pain

* build: restore cache on windows

* build: use build-tools gclient

* build: sync gclient vars to build windows job

* build: output depshash for debugging

* build: past sam was a silly goose

* build: depshash logging

* build: force lf endings for lock and DEPS

* build: platform strings are hard

* build: checkout on windows host

* sup

* no check

* idk

* sigh

* ...

* no double checkout

* build: yolo some stuff

* build: run gn-check for windows on linux hosts for speed

* use container...

* cry ?

* build: e d

* e d

* no log

* fix toolchain on windows cross check

* build: use powershell to add mksnapshot_args

* build: enable x86 and arm64 windows builds too

* clean up

* maybe not needed

* build: keep action around for post step

* build: configure git global on win

* build: ia32 zip manifest

* build: no patch depot_tools for tests

* build: get arm64 windows closer to working

* build: windows tar is ass

* 32 bit on 32 bit

* maybe bash

* build: set up nodejs

* correct windows sharding

* fix some spec runner stuff

* fix windows tests

* overwrite -Force

* sigh

* screen res

* wat

* logs

* ... more logs

* line endings will be the death of me

* remove 1080p force thing

* vsctools + logging

* disable some fullscreen tests on GHA

* no progress

* run all CI

* install visual studio on arm64

* windows hax for non windows

* maybe arm sdk

* clean up depshash logic

* build: use single check per platform

* ensure clean args

* fix loop

* remove debug

* update default build image sha for dispatch

* plzzzz

* one more try

* arm64 vctools

* sad

* build: fix non-dispatch windows gn check

* chore: debug datadog-ci location

* chore: update build-tools for newer toolchain

* chore: set path for datadog-ci

* try this

* chore: fixup gn check

* fixup gn-check some more

* fixup windows gn check

* chore: fixup windows gn check

* test: use cmd for Windows testing

* fixup use cmd for testing on Windows

* fixup windows GN check

* fixup npm config arch for x86

* Can we set test files via powershell

* fixup to set test files via powershell

* fixup set test files via powershell

* Don't check cross instance cache disk space on Windows

* Use separate step to set env variables for testing

* fixup Use separate step to set env variables for testing

* fixup Use separate step to set env variables for testing

* fixup Use separate step to set env variables for testing (AGAIN)

* use powershell if in powershell

* fixup use powershell if in powershell

* chore: remove no longer needed changes to depot_tools

xref: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5669094
and https://chromium-review.googlesource.com/c/chromium/src/+/5844046

* chore: try using 7zip on Windows to extract tarball

* Revert "chore: try using 7zip on Windows to extract tarball"

This reverts commit c7432b6a37.

* test: debug failing tests on GHA windows

* fix: ftbfs when including simdjson in Node.js

(cherry picked from commit 48e44c40d6)

* chore: try to track down Windows testing hang

* use correct timeout

* try this

* see if this helps

* try to figure out why node is running

* shard tests to try to narrow down WOA lockup

* try to narrow down problem test

* Narrow down blocking test more

* do we need a combo to repro

* see if this cleans up the tests

* fixup navigator.usb test

* remove logging from problematic tests

* Revert "shard tests to try to narrow down WOA lockup"

This reverts commit a180658376.

* remove logging

* debug keyboard test

* add timeout for Windows since arm64 sometimes hangs

* see if this helps

* put back original timeout

* try to use screenCapture to get screenshots of what is going on on WOA

* try using electron screencapture to debug WOA hang

* chore: turn off privacy experience

* run screenshot on both shards

* fixup screencap

* try to narrow down hanging spec

* chore: cleanup servers left open

* cleanup tests

* Revert "try to narrow down hanging spec"

This reverts commit a0f959f538.

* cleanup test debugging

* fixup extensions spec

* cleanup unneeded items

* run wtf with 2 shards instead of 6

* Revert "run wtf with 2 shards instead of 6"

This reverts commit ca2d282129.

* debug windows version on woa

* dump more info

* Get detailed CPU info

* revert debugging

* use same args as AppVeyor WOA for GHA WOA

* fixup use same args as AppVeyor WOA for GHA WOA

* fixup use same args as AppVeyor WOA for GHA WOA

* try to track down which tests trigger hang

* one or more of these combinations should hang

* break up web contents spec to find hang

* further break down api-web-contents to find hang

* test: ensure all webContents are closed

* test: fix require is not defined error

* see if api-web-contents spec is now good

* test: ensure all webContents are closed

* Revert "try to track down which tests trigger hang"

This reverts commit 07298d6ffe.

* chore: use alternate location for windows toolchain

* Reapply "try to track down which tests trigger hang"

This reverts commit 0321f76d01.

* try to narrow down problem test

* fix TEST_SHARD env var

* no, really fix TEST_SHARD env var

* see if this fixes it

* test: cleanup any remaining windows and webcontents

* see if new cleanup helps

* dont destroy webcontents for now

* fixup dont destroy webcontents for now

* Only cleanup right before process.exit

* see if this fixes the hang

* actually destroy webcontents

* Revert "Reapply "try to track down which tests trigger hang""

This reverts commit cdee7de049.

* see if this helps

* Revert "see if this helps"

This reverts commit 9a15a69cf7.

* Is it all about the web contents?

* it is all about the webcontents

but which one?

* Narrow down problem webcontents test

* try to speed up git install on WOA

* disable problematic test on WOA

* remove debugging

* remove debugging from choco installs

* Revert "disable problematic test on WOA"

This reverts commit e060fb0839.

* Revert "remove debugging"

This reverts commit f18dd8b1a5.

* run against all the tests in the failing shard

* don't run visibility tests first

* remove debugging

* 3 is a magic number

* Revert "3 is a magic number"

This reverts commit 36b91ccf9f.

* match what Appveyor runs exactly

* Revert "match what Appveyor runs exactly"

This reverts commit 7260dd4322.

* chore: sort files alphabetically

* find out what spec is leaving stuff open

* chore: Checkout PR HEAD commit

 instead of merge commit

* try using app.exit instead of process.exit

* test: cleanup BrowserWindows and webContents

* Revert "chore: sort files alphabetically"

This reverts commit d9e217ffb1.

* chore: use win32 to match process.platform

Needed for build-tools to download from PRs

* chore: cache yarn dir

* fixup cache yarn

* fixup use win32 to match process.platform

* fixup use win32 to match process.platform

* fixup cache yarn

* Add debugging for WOA hang

* Add debugging for failing keyboard lock test

* Revert "Add debugging for WOA hang"

This reverts commit 8df03d568d.

* try using process.kill

* add more debugging to keyboard.lock test

* Revert "Add debugging for failing keyboard lock test"

* remove debugging

* test: disable keyboard.lock on Windows

* test: disable fullscreen tests on Windows

* test: only force test suite exit on WOA

* fixup test: only force test suite exit on WOA

* cleanup tests

* extract yarn caching/install to action

* try using bash to run windows tests

* remove left over debugging

* standardize on 'win' for Windows builds

* use 'x86' for arch for manifest files

* fixup try using bash to run windows tests

* fixup use 'x86' for arch for manifest files

* standardize on 'win' for Windows builds

* fixup use 'x86' for arch for manifest files

* fixup try using bash to run windows tests

---------

Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
2024-12-12 11:51:24 -05:00
..
geolocation fix: opt into location services once device service has been started (#14253) 2018-08-23 08:51:46 -07:00
partition Refactor <webview> tag tests (#12886) 2018-05-14 17:00:49 -05:00
permissions test: remove usage of 'remote' module from webview spec (#20048) 2019-09-03 10:10:58 -07:00
save_page spec: Remove annoying outputs from savePage test 2016-01-15 16:36:35 +08:00
service-worker chore: strip trailing whitespace (#35969) 2023-02-01 12:59:16 +01:00
storage feat: add enableWebSQL webpreference (#23311) 2020-05-06 12:52:59 -07:00
a.html fix: {exit|enter}-html-fullscreen emitted after esc in webview (#30537) 2021-08-17 09:03:45 +02:00
b.html protocol: fix registerStandardSchemes api 2016-05-08 01:36:34 +05:30
base-page-security-onload-message.html fix: disable nodeIntegration & insecure resource warnings for localhost (#18814) 2019-07-02 19:36:50 +09:00
base-page-security.html feature: Hot security tips (#11810) 2018-02-03 07:50:12 -07:00
base-page.html add tests for webview devtools-* events 2016-01-01 04:49:29 -08:00
basic-auth.html refactor: implement ajax() in tests using native fetch instead of jQuery (#32579) 2022-01-24 10:34:23 +01:00
beforeunload-false.html Use require('electron') in Electron's code 2015-11-12 20:29:30 +08:00
blank.html test: move protocol specs to main process (#18923) 2019-06-27 14:20:29 -07:00
button.html docs: document `idleDetector` permissions (#39180) 2023-07-24 14:57:41 -04:00
c.html Refactor <webview> tag tests (#12886) 2018-05-14 17:00:49 -05:00
cache-storage.html test: re-enable some skipped tests (#29655) 2021-06-15 10:55:08 +09:00
close.html Add a test to verify the webview close event 2015-07-08 14:34:44 -07:00
content.html add api to webview 2015-12-21 17:13:23 +05:30
css-transparent.html refactor: replace `.forEach()` with `for-of` (#39691) 2023-08-31 23:36:43 +09:00
d.html Refactor <webview> tag tests (#12886) 2018-05-14 17:00:49 -05:00
datalist-text.html test: add a `<datalist>` spec for time type (#36953) 2023-01-23 11:21:28 -05:00
datalist-time.html test: add a `<datalist>` spec for time type (#36953) 2023-01-23 11:21:28 -05:00
dom-ready.html refactor: implement ajax() in tests using native fetch instead of jQuery (#32579) 2022-01-24 10:34:23 +01:00
draggable-page.html fix: ensure `context-menu` emitted for draggable regions (#44761) 2024-11-22 12:33:38 +01:00
e.html spec: "preload" attribute of <webview> 2014-11-06 15:23:42 +08:00
external-string.html fix: do not expose Node's external strings (#13438) 2018-06-27 10:18:09 +10:00
fetch.html test: drop now-empty remote runner (#35343) 2022-08-16 15:23:13 -04:00
file-input.html feat: add webUtils module with getPathForFile method (#38776) 2023-11-20 15:59:36 -08:00
filesystem.html add spec and docs 2016-08-24 06:53:14 +05:30
flex-webview.html feat: add `transparent` webpreference to webview (#40301) 2024-01-05 13:00:27 +09:00
form-with-data.html fix: restore POST forms that open a new window with target=_blank (#21469) 2019-12-11 15:46:25 +09:00
fullscreen-ipif.html fix: allow iframe-initiated HTML fullscreen to exit while in macOS fullscreen (#20962) 2019-11-05 13:34:45 -08:00
fullscreen-oopif.html fix: allow iframe-initiated HTML fullscreen to exit while in macOS fullscreen (#20962) 2019-11-05 13:34:45 -08:00
fullscreen.html fix: html fullscreen transitions stacking (#32905) 2022-06-07 12:59:50 -04:00
half-background-color.html test: drop now-empty remote runner (#35343) 2022-08-16 15:23:13 -04:00
history-replace.html Test that replacement history entries don't break forward navigation. 2016-09-16 17:08:54 -07:00
history.html Use require('electron') in Electron's code 2015-11-12 20:29:30 +08:00
iframe-protocol.html fix: crash loading non-standard schemes in iframes (#35485) 2022-08-31 10:08:11 +02:00
insecure-resources.html test: move security warnings spec to main runner (#20055) 2019-09-03 16:02:22 +09:00
ipc-message.html Use require('electron') in Electron's code 2015-11-12 20:29:30 +08:00
jquery-3.6.0.min.js test: drop now-empty remote runner (#35343) 2022-08-16 15:23:13 -04:00
jquery.html test: drop now-empty remote runner (#35343) 2022-08-16 15:23:13 -04:00
key-events.html fix: `keyCode`s being incorrectly converted in `webContents.sendInputEvent()` (#39776) 2023-09-12 11:28:45 +02:00
media-id-reset.html add spec 2016-12-04 00:22:57 +05:30
modal.html fix: `navigator.keyboard.lock()` fullscreen exit handling (#40365) 2023-10-31 11:59:39 -04:00
native-module.html refactor: use node scheme imports in spec (#38487) 2023-06-15 10:42:27 -04:00
navigate_in_page_and_wait.html fix: promise resolved to early when browser initiated in-page navigation v2 (#39597) 2023-08-28 12:37:28 -04:00
onkeyup.html Assert key and code in keyup input event spec 2016-10-10 09:35:44 -07:00
onmouseup.html Use require('electron') in Electron's code 2015-11-12 20:29:30 +08:00
overlay.html chore: strip trailing whitespace (#35969) 2023-02-01 12:59:16 +01:00
pdf-in-iframe.html test: drop now-empty remote runner (#35343) 2022-08-16 15:23:13 -04:00
ping.html spec: webview should work without script tag in page 2016-04-12 15:10:26 +09:00
post.html spec: Node integration should work after POST 2015-09-01 11:51:28 +08:00
send-after-node.html refactor: use node scheme imports in spec (#38487) 2023-06-15 10:42:27 -04:00
set-global.html spec: No node integration in iframe 2015-01-21 17:05:19 -08:00
tab-focus-loop-elements-wv.html fix: do not allow the window to grab focus when tabbing / shift+tabbing (#16042) 2018-12-18 23:44:51 -07:00
tab-focus-loop-elements.html feat: enable context isolation by default (#26890) 2021-03-01 16:52:29 -05:00
theme-color.html Add tests for did-change-theme-color event 2015-12-22 23:05:03 -05:00
useragent.html Add a test for the user agent 2015-05-19 14:27:15 -07:00
video.html feat: add {stream} opt to custom protocol registry to configure media player (#22955) 2020-06-08 09:49:36 -07:00
visibilitychange.html fix: `pageVisibility` state when `backgroundThrottling` disabled (#39223) 2023-07-28 10:48:25 +02:00
webframe-spell-check.html feat: Spellchecker Async Implementation (#14032) 2018-10-18 11:11:53 -05:00
webframe-zoom.html add temporary zoom api spec 2017-02-18 01:34:32 +05:30
webview-allowpopups.html feature: Hot security tips (#11810) 2018-02-03 07:50:12 -07:00
webview-custom-zoom-level.html test: remove usage of 'remote' module from webview spec (#20048) 2019-09-03 10:10:58 -07:00
webview-devtools.html test: drop now-empty remote runner (#35343) 2022-08-16 15:23:13 -04:00
webview-did-attach-event.html feat: add <webview>.getWebContentsId() (#17407) 2019-03-26 10:57:27 +09:00
webview-did-navigate-in-page-with-hash.html add tests to insure window.location.hash changes & window.history.replaceState cause 'did-navigate-in-page' to fire 2016-01-01 18:51:47 -08:00
webview-did-navigate-in-page-with-history.html add tests to insure window.location.hash changes & window.history.replaceState cause 'did-navigate-in-page' to fire 2016-01-01 18:51:47 -08:00
webview-did-navigate-in-page.html add tests for will-navigate, did-navigate-to-different-page, did-navigate-in-page events in webview 2016-01-01 18:13:07 -08:00
webview-in-page-navigate.html refactor: use v8 serialization for ipc (#20214) 2019-10-09 13:59:08 -04:00
webview-isolated.html fix: register webview in main world when using contextIsolation (#16067) 2018-12-14 15:38:35 +09:00
webview-no-script.html feat: enable context isolation by default (#26890) 2021-03-01 16:52:29 -05:00
webview-opener-no-node-integration.html test: remove usage of 'remote' module from webview spec (#20048) 2019-09-03 10:10:58 -07:00
webview-opener-postMessage.html Add spec for window.open from <webview> 2016-06-09 12:02:01 -07:00
webview-origin-zoom-level.html test: remove usage of 'remote' module from webview spec (#20048) 2019-09-03 10:10:58 -07:00
webview-stripped-preload.html Add explicit spec for removing preload from webview 2017-05-17 13:47:00 -07:00
webview-trusted-types.html fix: <webview> not working with Trusted Types (#27445) 2021-01-25 10:29:25 +09:00
webview-visibilitychange.html Remove logging in parent page 2016-05-25 09:12:52 -07:00
webview-will-navigate-in-frame.html feat: add `will-frame-navigate` event (#34418) 2023-03-28 10:55:41 -04:00
webview-will-navigate.html add tests for will-navigate, did-navigate-to-different-page, did-navigate-in-page events in webview 2016-01-01 18:13:07 -08:00
webview-zoom-change-persist-host.html fix: webview zoom level persistence on navigation (#40650) 2023-12-04 10:39:20 -05:00
webview-zoom-factor.html feat: enable context isolation by default (#26890) 2021-03-01 16:52:29 -05:00
webview-zoom-inherited.html fix: crash when navigating from a page with webview that has inherited zoom level (#24757) 2020-07-28 13:00:44 -07:00
will-navigate.html fix: emit will-navigate for sandboxed contents (#22188) 2020-02-21 11:08:26 -08:00
window-no-javascript.html Add failing spec for inheriting Javascript web preference 2017-04-25 12:57:53 -07:00
window-open-hide.html spec: Add test for allowpopups attribute 2015-09-22 21:18:04 +08:00
window-open-postMessage-driver.html feat: remove BrowserWindow option inheritance (#28550) 2021-04-21 10:55:17 -07:00
window-open-postMessage.html refactor: port window.open and window.opener to use ctx bridge instead of hole punching (#23235) 2020-04-27 12:46:04 -07:00
window-open-size.html test: remove a bunch of usage of the remote module (#21119) 2019-11-14 14:09:03 -08:00
window-open.html Add failing spec for cycle in options 2017-01-06 09:58:40 -08:00
window-opener-location.html refactor: use IPC helpers in window-setup (#17948) 2019-07-09 02:43:49 +03:00
window-opener-no-node-integration.html Remove semicolons 2016-04-01 16:52:55 -07:00
window-opener-no-webview-tag.html Add failing spec for webviewTag inheritance 2017-05-17 13:27:28 -07:00
window-opener-node.html Add clearer assertion of process being undefined 2016-04-01 16:40:33 -07:00
window-opener-postMessage.html spec: window.opener.postMessage should set source and origin 2015-09-01 12:15:00 +08:00
window-opener-targetOrigin.html refactor: use node scheme imports in spec (#38487) 2023-06-15 10:42:27 -04:00
window-opener-webview.html Add failing spec for webviewTag inheritance 2017-05-17 13:27:28 -07:00
window-opener.html Use require('electron') in Electron's code 2015-11-12 20:29:30 +08:00
worker-fetch.html fix: fetch-dependent interfaces in Web Workers (#42579) 2024-06-20 11:01:50 -04:00
worker.html test: migrate more chromium specs to main (#35081) 2022-07-27 11:10:04 +02:00
world-safe-preload-error.js feat: add worldSafe flag for executeJS results (#24114) 2020-07-23 14:32:20 -07:00
world-safe-preload.js feat: add worldSafe flag for executeJS results (#24114) 2020-07-23 14:32:20 -07:00
zoom-factor.html build: use github actions for windows (#44136) 2024-12-12 11:51:24 -05:00