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

Side by Side Diff: LayoutTests/imported/web-platform-tests/html-imports/document/resources/test-in-import.html

Issue 560893005: First checked-in import of the W3C's test suites. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: add new expectations for newly failing w3c tests Created 6 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 <!DOCTYPE html>
2 <html>
3 <body>
4 <script>
5 test(function() {
6 var doc = document.currentScript.ownerDocument;
7 assert_throws('INVALID_STATE_ERR', function() { doc.open(); }, 'document.open ()');
8 assert_throws('INVALID_STATE_ERR', function() { doc.write('Hello'); }, 'docum ent.write()');
9 assert_throws('INVALID_STATE_ERR', function() { doc.open(); }, 'document.clos e()');
10 }, 'Throws an InvalidStateError exception if the Document is an import: From an import');
11 </script>
12 </body>
13 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698