mirror of
https://github.com/servo/servo.git
synced 2025-08-10 07:55:33 +01:00
auto merge of #3870 : mvanderh/servo/master, r=Ms2ger
Fixes #3855. I'm not sure if this is the right place to set `cancelable`. If changing the default value in `Event::new_inherited` is not satisfactory, it will be possible to set the `Cell`'s value to `false` in `Event::new` itself.
This commit is contained in:
commit
9b2dae58fd
2 changed files with 1 additions and 75 deletions
|
@ -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),
|
||||
|
|
|
@ -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
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue