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

Side by Side Diff: chrome/test/data/extensions/api_test/extension_resource_request_policy/iframe_navigate.html

Issue 2007133004: Disallow navigation to documents not explicitly listed as web accessible. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix issues from code review. Created 4 years, 6 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 unified diff | Download patch
OLDNEW
(Empty)
1 <html>
2 <body>
3 <iframe id="myframe" src="chrome-extension://kegmjfcnjamahdnldjmlpachmpielcdk/pu blic.html"></iframe>
4 <script>
5 function navigateFrameNow() {
6 var frame = document.getElementById("myframe");
7 myframe.src =
8 "chrome-extension://kegmjfcnjamahdnldjmlpachmpielcdk/private.html";
9 }
10 </script>
11 </body>
12 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698