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

Side by Side Diff: LayoutTests/fast/dom/DOMImplementation/createDocument-doctype-err-expected.txt

Issue 762383004: Sync DOMImplementation.createDocument() IDL with spec (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years 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 PASS doctype is an instance of DocumentType
2 PASS document.implementation.createDocument(null, null, doctype) did not throw e xception.
3 PASS document.implementation.createDocument(null, null, undefined) did not throw exception.
4 PASS document.implementation.createDocument(null, null, null) did not throw exce ption.
5 PASS document.implementation.createDocument(null, null, false) threw exception T ypeError: Failed to execute 'createDocument' on 'DOMImplementation': parameter 3 is not of type 'DocumentType'..
6 PASS document.implementation.createDocument(null, null, 0) threw exception TypeE rror: Failed to execute 'createDocument' on 'DOMImplementation': parameter 3 is not of type 'DocumentType'..
7 PASS document.implementation.createDocument(null, null, '') threw exception Type Error: Failed to execute 'createDocument' on 'DOMImplementation': parameter 3 is not of type 'DocumentType'..
8 PASS document.implementation.createDocument(null, null, {}) threw exception Type Error: Failed to execute 'createDocument' on 'DOMImplementation': parameter 3 is not of type 'DocumentType'..
9 PASS successfullyParsed is true
10
11 TEST COMPLETE
12
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698