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

Side by Side Diff: LayoutTests/fast/html/imports/no-browsing-context.html

Issue 17419007: [HTML Imports] Implement sub-imports processing. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated to ToT. Created 7 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="../../js/resources/js-test-pre.js"></script>
5 </head>
6 <body>
7 <script>
8 description("This ensures that @import doesn't work with headless documents.")
9 window.jsTestIsAsync = true;
10 var xhr = new XMLHttpRequest();
11 xhr.open("GET", "resources/root.html");
12 xhr.responseType = 'document';
13 xhr.send(null);
14 xhr.onload = function() {
15 shouldBeNull("xhr.response.getElementById('hello').import");
16 finishJSTest();
17 };
18 </script>
19 <script src="../../js/resources/js-test-post.js"></script>
20 </body>
21 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698