From 536201e2b5aa56c34a2649e9a9ffb39f1074d382 Mon Sep 17 00:00:00 2001 From: Mitchell Van Der Hoeff Date: Sun, 2 Nov 2014 11:36:11 -0500 Subject: [PATCH 1/2] Initialize 'cancelable' to false in Event::new_inherited. Fixes #3855. --- components/script/dom/event.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/script/dom/event.rs b/components/script/dom/event.rs index bb87993a3e7..d6dc2cfe00f 100644 --- a/components/script/dom/event.rs +++ b/components/script/dom/event.rs @@ -77,7 +77,7 @@ impl Event { phase: Cell::new(PhaseNone), type_: DOMRefCell::new("".to_string()), canceled: Cell::new(false), - cancelable: Cell::new(true), + cancelable: Cell::new(false), bubbles: Cell::new(false), trusted: Cell::new(false), dispatching: Cell::new(false), From 128f162b92f36cb2aedaf9c59dacbeadf588c12a Mon Sep 17 00:00:00 2001 From: Mitchell Van Der Hoeff Date: Sun, 2 Nov 2014 15:19:32 -0500 Subject: [PATCH 2/2] Remove ./dom/nodes/Document-createEvent.html.ini in tests/wpt/metadata because we expect all tests to pass now. Fixes #3855 --- .../dom/nodes/Document-createEvent.html.ini | 74 ------------------- 1 file changed, 74 deletions(-) delete mode 100644 tests/wpt/metadata/dom/nodes/Document-createEvent.html.ini diff --git a/tests/wpt/metadata/dom/nodes/Document-createEvent.html.ini b/tests/wpt/metadata/dom/nodes/Document-createEvent.html.ini deleted file mode 100644 index 1aa1340ef6c..00000000000 --- a/tests/wpt/metadata/dom/nodes/Document-createEvent.html.ini +++ /dev/null @@ -1,74 +0,0 @@ -[Document-createEvent.html] - type: testharness - [createEvent(\'CustomEvent\') should be initialized correctly.] - expected: FAIL - - [createEvent(\'customevent\') should be initialized correctly.] - expected: FAIL - - [createEvent(\'CUSTOMEVENT\') should be initialized correctly.] - expected: FAIL - - [createEvent(\'Event\') should be initialized correctly.] - expected: FAIL - - [createEvent(\'event\') should be initialized correctly.] - expected: FAIL - - [createEvent(\'EVENT\') should be initialized correctly.] - expected: FAIL - - [createEvent(\'Events\') should be initialized correctly.] - expected: FAIL - - [createEvent(\'events\') should be initialized correctly.] - expected: FAIL - - [createEvent(\'EVENTS\') should be initialized correctly.] - expected: FAIL - - [createEvent(\'HTMLEvents\') should be initialized correctly.] - expected: FAIL - - [createEvent(\'htmlevents\') should be initialized correctly.] - expected: FAIL - - [createEvent(\'HTMLEVENTS\') should be initialized correctly.] - expected: FAIL - - [createEvent(\'MouseEvent\') should be initialized correctly.] - expected: FAIL - - [createEvent(\'mouseevent\') should be initialized correctly.] - expected: FAIL - - [createEvent(\'MOUSEEVENT\') should be initialized correctly.] - expected: FAIL - - [createEvent(\'MouseEvents\') should be initialized correctly.] - expected: FAIL - - [createEvent(\'mouseevents\') should be initialized correctly.] - expected: FAIL - - [createEvent(\'MOUSEEVENTS\') should be initialized correctly.] - expected: FAIL - - [createEvent(\'UIEvent\') should be initialized correctly.] - expected: FAIL - - [createEvent(\'uievent\') should be initialized correctly.] - expected: FAIL - - [createEvent(\'UIEVENT\') should be initialized correctly.] - expected: FAIL - - [createEvent(\'UIEvents\') should be initialized correctly.] - expected: FAIL - - [createEvent(\'uievents\') should be initialized correctly.] - expected: FAIL - - [createEvent(\'UIEVENTS\') should be initialized correctly.] - expected: FAIL -