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

Side by Side Diff: LayoutTests/fast/dom/DOMError-constructor-expected.txt

Issue 254823007: Make DOMError constructible (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebaseline additional test Created 6 years, 8 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 Tests that DOMError is constructible.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS error = new DOMError('NotFoundError', 'This item was not found.') did not t hrow exception.
7 PASS error.name is "NotFoundError"
8 PASS error.message is "This item was not found."
9 PASS error = new DOMError('IndexSizeError') did not throw exception.
10 PASS error.name is "IndexSizeError"
11 PASS error.message is ""
12 PASS new DOMError() threw exception TypeError: Failed to construct 'DOMError': 1 argument required, but only 0 present..
13 PASS successfullyParsed is true
14
15 TEST COMPLETE
16
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698