electron/spec/fixtures/pages
Brandon Fowler 5086071294
feat: add `transparent` webpreference to webview (#40301)
* feat: add transparent option to WebContents

* feat: add transparent attribute to webview

* test: add tests for webview transparent attribute

* docs: add transparent attribute to webview docs

* fix: run tests on macOS only

* refactor: remove unneeded html tag

* fix: only apply transparent option to guests

* refactor: correct comment

* refactor: use opaque instead

Retains current webview behaviour by default.

* fix: correct variable name to guest_opaque_

* refactor: use transparent webpreference

* docs: remove unused web preference

* fix: uncomment condition for transparency test

* docs: converted to list format and linked to MDN

* fix: make webviews transparent by default again

* fix: rebase error

---------

Co-authored-by: Cheng Zhao <zcbenz@gmail.com>
2024-01-05 13:00:27 +09: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
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.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 add zoom specs based on standard protocols 2017-02-18 01:41:39 +05:30