Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Unified Diff: third_party/WebKit/LayoutTests/plugins/plugin-initiate-popup-window.html

Issue 2694903007: Add a warning for the deprecation of content-initiated data URL navigations (Closed)
Patch Set: creis comments Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/plugins/plugin-initiate-popup-window.html
diff --git a/third_party/WebKit/LayoutTests/plugins/plugin-initiate-popup-window.html b/third_party/WebKit/LayoutTests/plugins/plugin-initiate-popup-window.html
index 7958ad5f809b987d59b9e13885e0511b3ee56684..01ceb7465ebaa3165548b4f537e76a4a0223c0a5 100644
--- a/third_party/WebKit/LayoutTests/plugins/plugin-initiate-popup-window.html
+++ b/third_party/WebKit/LayoutTests/plugins/plugin-initiate-popup-window.html
@@ -24,8 +24,7 @@ function test() {
// This function will be called when plugin receives a mousedown event.
function popup_by_mousedown() {
- // Open a new window.
- window.open("data:text/html\, open new window by mouse down", "_blank");
+ window.open("about:blank", "_blank");
// Check the new opened window and logging the result.
console.log("window count: " + window.testRunner.windowCount());
if (window.testRunner.windowCount() == (window.windowCount + 1)) {
@@ -47,7 +46,7 @@ function send_key_to_plugin() {
// This function will be called when plugin receives a keydown event.
function popup_by_keydown() {
// Open a new window.
- window.open("data:text/html\, open new window by key down", "_blank");
+ window.open("about:blank", "_blank");
// Check the new opened window and logging the result.
console.log("window count: " + window.testRunner.windowCount());
if (window.testRunner.windowCount() == (window.windowCount + 1))

Powered by Google App Engine
This is Rietveld 408576698