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

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/dom/events/Event-cancelBubble-expected.txt

Issue 2641953006: Remove setting cancelBubble to false. (Closed)
Patch Set: update Created 3 years, 10 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
OLDNEW
(Empty)
1 This is a testharness.js-based test.
2 PASS cancelBubble must be false when an event is initially created.
3 FAIL Initializing an event must set cancelBubble to false. assert_false: initEve nt() must set cancelBubble to false. [bubbles=true] expected false got true
4 FAIL stopPropagation() must set cancelBubble to true. assert_true: stopPropagati on() must set cancelBubble to true. expected true got false
5 FAIL stopImmediatePropagation() must set cancelBubble to true. assert_true: stop ImmediatePropagation() must set cancelBubble to true. expected true got false
6 FAIL Event.cancelBubble=false must have no effect. assert_true: cancelBubble mus t still be true after attempting to set it to false. expected true got false
7 FAIL Event.cancelBubble=false must have no effect during event propagation. asse rt_unreached: Setting Event.cancelBubble=false after setting Event.cancelBubble= true should have no effect. Reached unreachable code
8 PASS cancelBubble must be false after an event has been dispatched.
9 FAIL Event.cancelBubble=true must set the stop propagation flag. assert_unreache d: Setting cancelBubble=true should stop the event from propagating further, inc luding during the Capture Phase. Reached unreachable code
10 Harness: the test ran to completion.
11
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698