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

Side by Side Diff: chrome/test/data/fileurl_universalaccess.html

Issue 201048: Support running tests under LayoutTests/http/tests/local as local file, in or... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 <html>
2 <body onload="test();">
3 <script>
4 function test() {
5 var status;
6 try {
7 var d = frames[0].document.open();
8 status = "Allowed";
9 d.close();
10 } catch (e) {
11 status = "Disallowed";
12 }
13 document.cookie = "status=" + status;
14 }
15 </script>
16 <div id=result></div>
17 <iframe src="data:text/html,"></iframe>
18 </body>
19 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698