dee331519c
* fix: disable remote host nodeIntegration warning for localhost In warnAboutNodeWithRemoteContent(), add a check to see if the hostname is "localhost" and prevent the warning message if it is. * fix: disable loading insecure resources warning for localhost In warnAboutInsecureResources(), filter out resources from localhost since they are most likely not a threat. * test: add tests for ignoring security warnings when using localhost Add tests for ignoring warning messages for the following scenarios: 1. node integration with remote content from localhost 2. loading insecure resources from localhost * test: fix insecure resource test * test: pass nodeIntegration with remote test on did-finish-load * test: maybe fix node integration test (error w/ conv circular struct) * test: update test description * test: use "load" event to check when nodeIntegration test has finished Instead of relying on the "did-finish-load" event, which may result in a race condition, add an "onload" handler that logs "loaded" to the console. This will execute _after_ the nodeIntegration check, so it can be safely used as a signal to indicate that the test is done. * test: rename base-page-security-load-message.html * fix: ignore enabled remote module warning for localhost * refactor: add isLocalhost() |
||
---|---|---|
.. | ||
geolocation | ||
partition | ||
permissions | ||
save_page | ||
service-worker | ||
storage | ||
a.html | ||
b.html | ||
base-page-security-onload-message.html | ||
base-page-security.html | ||
base-page.html | ||
basic-auth.html | ||
beforeunload-false.html | ||
blank.html | ||
c.html | ||
cache-storage.html | ||
close.html | ||
content.html | ||
d.html | ||
did-get-response-details.html | ||
dom-ready.html | ||
e.html | ||
external-string.html | ||
filesystem.html | ||
focus-web-contents.html | ||
fullscreen.html | ||
history-replace.html | ||
history.html | ||
insecure-resources.html | ||
ipc-message.html | ||
jquery.html | ||
key-events.html | ||
media-id-reset.html | ||
native-module.html | ||
onkeyup.html | ||
onmouseup.html | ||
pdf-in-iframe.html | ||
pdf-in-nested-iframe.html | ||
ping.html | ||
post.html | ||
process-exit.html | ||
referrer.html | ||
resize.html | ||
set-global.html | ||
shared_worker.html | ||
tab-focus-loop-elements-wv.html | ||
tab-focus-loop-elements.html | ||
target-name.html | ||
theme-color.html | ||
useragent.html | ||
visibilitychange.html | ||
webframe-spell-check.html | ||
webframe-zoom.html | ||
webview-allowpopups.html | ||
webview-custom-zoom-level.html | ||
webview-devtools.html | ||
webview-did-attach-event.html | ||
webview-did-navigate-in-page-with-hash.html | ||
webview-did-navigate-in-page-with-history.html | ||
webview-did-navigate-in-page.html | ||
webview-guest-resize.html | ||
webview-in-page-navigate.html | ||
webview-isolated.html | ||
webview-no-node-integration-on-window.html | ||
webview-no-script.html | ||
webview-opener-no-node-integration.html | ||
webview-opener-postMessage.html | ||
webview-origin-zoom-level.html | ||
webview-stripped-preload.html | ||
webview-visibilitychange.html | ||
webview-will-navigate.html | ||
webview-zoom-factor.html | ||
will-navigate.html | ||
window-no-javascript.html | ||
window-open-hide.html | ||
window-open-postMessage-driver.html | ||
window-open-postMessage.html | ||
window-open-size.html | ||
window-open.html | ||
window-opener-location.html | ||
window-opener-no-node-integration.html | ||
window-opener-no-web-view-tag.html | ||
window-opener-no-webview-tag.html | ||
window-opener-node.html | ||
window-opener-postMessage.html | ||
window-opener-targetOrigin.html | ||
window-opener-web-view.html | ||
window-opener-webview.html | ||
window-opener.html | ||
worker.html | ||
zoom-factor.html |