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

Side by Side Diff: LayoutTests/fast/dom/MutationObserver/mutation-observer-constructor-expected.txt

Issue 105693002: Generate a bit less code to handle failed arity checks. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 7 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
« no previous file with comments | « no previous file | Source/bindings/scripts/code_generator_v8.pm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 Test the constructor of WebKitMutationObserver 1 Test the constructor of WebKitMutationObserver
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS window.WebKitMutationObserver is non-null. 6 PASS window.WebKitMutationObserver is non-null.
7 PASS typeof WebKitMutationObserver.prototype.observe is "function" 7 PASS typeof WebKitMutationObserver.prototype.observe is "function"
8 PASS typeof WebKitMutationObserver.prototype.disconnect is "function" 8 PASS typeof WebKitMutationObserver.prototype.disconnect is "function"
9 PASS typeof observer.observe is "function" 9 PASS typeof observer.observe is "function"
10 PASS typeof observer.disconnect is "function" 10 PASS typeof observer.disconnect is "function"
11 PASS new MutationObserver({ handleEvent: function() {} }) threw exception TypeEr ror: Callback argument must be a function. 11 PASS new MutationObserver({ handleEvent: function() {} }) threw exception TypeEr ror: Failed to construct 'MutationObserver': Callback argument must be a functio n.
12 PASS new MutationObserver({}) threw exception TypeError: Callback argument must be a function. 12 PASS new MutationObserver({}) threw exception TypeError: Failed to construct 'Mu tationObserver': Callback argument must be a function.
13 PASS new MutationObserver(42) threw exception TypeError: Callback argument must be a function. 13 PASS new MutationObserver(42) threw exception TypeError: Failed to construct 'Mu tationObserver': Callback argument must be a function.
14 PASS new MutationObserver("foo") threw exception TypeError: Callback argument mu st be a function. 14 PASS new MutationObserver("foo") threw exception TypeError: Failed to construct 'MutationObserver': Callback argument must be a function.
15 PASS successfullyParsed is true 15 PASS successfullyParsed is true
16 16
17 TEST COMPLETE 17 TEST COMPLETE
18 18
OLDNEW
« no previous file with comments | « no previous file | Source/bindings/scripts/code_generator_v8.pm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698