| Index: third_party/WebKit/LayoutTests/imported/wpt/dom/events/EventListenerOptions-capture.html
|
| diff --git a/third_party/WebKit/LayoutTests/imported/wpt/dom/events/EventListenerOptions-capture.html b/third_party/WebKit/LayoutTests/imported/wpt/dom/events/EventListenerOptions-capture.html
|
| index 377b6c77e31775fb508c8e87135660934e76cc92..f72cf3ca5463f1306c12fb137b84f693345466dc 100644
|
| --- a/third_party/WebKit/LayoutTests/imported/wpt/dom/events/EventListenerOptions-capture.html
|
| +++ b/third_party/WebKit/LayoutTests/imported/wpt/dom/events/EventListenerOptions-capture.html
|
| @@ -16,9 +16,9 @@ function testCaptureValue(captureValue, expectedValue) {
|
| handlerPhase = e.eventPhase;
|
| }
|
| document.addEventListener('test', handler, captureValue);
|
| - document.body.dispatchEvent(new Event('test', {'bubbles': true}));
|
| + document.body.dispatchEvent(new Event('test', {bubbles: true}));
|
| document.removeEventListener('test', handler, captureValue);
|
| - document.body.dispatchEvent(new Event('test', {'bubbles': true}));
|
| + document.body.dispatchEvent(new Event('test', {bubbles: true}));
|
| assert_equals(handlerPhase, expectedValue, "Incorrect event phase for value: " + JSON.stringify(captureValue));
|
| }
|
|
|
| @@ -72,7 +72,7 @@ function testOptionEquality(addOptionValue, removeOptionValue, expectedEquality)
|
| }
|
| document.addEventListener('test', handler, addOptionValue);
|
| document.removeEventListener('test', handler, removeOptionValue);
|
| - document.body.dispatchEvent(new Event('test', {'bubbles': true}));
|
| + document.body.dispatchEvent(new Event('test', {bubbles: true}));
|
| assert_equals(!handlerInvoked, expectedEquality, "equivalence of options " +
|
| JSON.stringify(addOptionValue) + " and " + JSON.stringify(removeOptionValue));
|
| if (handlerInvoked)
|
|
|