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

Unified Diff: LayoutTests/http/tests/security/cross-frame-access-put.html

Issue 21263002: Add back captureEvents and releaseEvents (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 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: LayoutTests/http/tests/security/cross-frame-access-put.html
diff --git a/LayoutTests/http/tests/security/cross-frame-access-put.html b/LayoutTests/http/tests/security/cross-frame-access-put.html
index 9819504156be4a8a4b80c6170f6a788ac7105ac0..9b6ff3634fe15f8bb687780ea982707055fc6beb 100644
--- a/LayoutTests/http/tests/security/cross-frame-access-put.html
+++ b/LayoutTests/http/tests/security/cross-frame-access-put.html
@@ -198,6 +198,7 @@ window.onload = function()
setForbiddenProperty(targetWindow, "atob");
setForbiddenProperty(targetWindow, "blur");
setForbiddenProperty(targetWindow, "btoa");
+ setForbiddenProperty(targetWindow, "captureEvents");
setForbiddenProperty(targetWindow, "clearInterval");
setForbiddenProperty(targetWindow, "clearTimeout");
setForbiddenProperty(targetWindow, "close");
@@ -214,6 +215,7 @@ window.onload = function()
setForbiddenProperty(targetWindow, "open");
setForbiddenProperty(targetWindow, "print");
setForbiddenProperty(targetWindow, "prompt");
+ setForbiddenProperty(targetWindow, "releaseEvents");
setForbiddenProperty(targetWindow, "removeEventListener");
setForbiddenProperty(targetWindow, "resizeBy");
setForbiddenProperty(targetWindow, "resizeTo");

Powered by Google App Engine
This is Rietveld 408576698