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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/security/frameNavigation/resources/iframe-that-performs-top-navigation-without-user-gesture-failed.html

Issue 2711073002: WPT tests of allow-top-navigation-by-user-activation for iframe@sandbox. (Closed)
Patch Set: Add an async_test for the manual test to test the top-navigation blocking given no user gesture. 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/http/tests/security/frameNavigation/resources/iframe-that-performs-top-navigation-without-user-gesture-failed.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/frameNavigation/resources/iframe-that-performs-top-navigation-without-user-gesture-failed.html b/third_party/WebKit/LayoutTests/http/tests/security/frameNavigation/resources/iframe-that-performs-top-navigation-without-user-gesture-failed.html
deleted file mode 100644
index 65317e0770456cd36d315065c07aacba2bfee8a9..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/http/tests/security/frameNavigation/resources/iframe-that-performs-top-navigation-without-user-gesture-failed.html
+++ /dev/null
@@ -1,16 +0,0 @@
-<html>
-<body>
-The top navigation from this iframe should be blocked. This text should appear.
-<script>
-window.onload = function()
-{
- try {
- top.location = "http://localhost:8000/security/frameNavigation/resources/navigation-changed-iframe.html";
- top.postMessage("FAIL", "*");
- } catch(e) {
- top.postMessage("PASS", "*");
- }
-}
-</script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698