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), 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 -