auto merge of #4980 : Ms2ger/servo/DOMEvents, r=jdm

This commit is contained in:
bors-servo 2015-02-20 13:51:59 -07:00
commit db644245b7
33 changed files with 162 additions and 0 deletions

View file

@ -3,6 +3,8 @@ skip: true
skip: false
[domparsing]
skip: false
[DOMEvents]
skip: false
[FileAPI]
skip: false
[html]

View file

@ -0,0 +1,6 @@
[event-phases-order.html]
type: testharness
expected: TIMEOUT
[Event phases order]
expected: NOTRUN

View file

@ -0,0 +1,5 @@
[DOM.event.flow.html]
type: testharness
[Test Description: Dispatch an event in a DOM tree using the DOM event flow.]
expected: FAIL

View file

@ -0,0 +1,5 @@
[Determined.candidate.EventListeners.html]
type: testharness
[Test Description: Once determined, the current target\'s registered candidate event listeners cannot be changed; adding or removing listeners does not affect the current target\'s candidate event listeners.]
expected: FAIL

View file

@ -0,0 +1,5 @@
[EventListener.dispatch.new.event.html]
type: testharness
[Test Description: Implementations of the DOM event model must be reentrant. Event listeners may perform actions that cause additional events to be dispatched. Such events are handled in a synchronous manner, the event propagation that causes the event listener to be triggered must resume only after the event dispatch of the new event is completed.]
expected: FAIL

View file

@ -0,0 +1,5 @@
[EventObject.after.dispatchEvent.html]
type: testharness
[Test Description: As the final step of the event dispatch, the implementation must reset the event object\'s default-action-prevention state. ]
expected: FAIL

View file

@ -0,0 +1,5 @@
[EventObject.multiple.dispatchEvent.html]
type: testharness
[Test Description: An event object may be properly dispatched multiple times while also allowing to prevent the event objects propagation prior to the event dispatch.]
expected: FAIL

View file

@ -0,0 +1,5 @@
[ProcessingInstruction.DOMCharacterDataModified.html]
type: testharness
[Test Description: DOMCharacterDataModified event fires after ProcessingInstruction.data have been modified, but the node itself has not been inserted or deleted. The proximal event target of this event shall be the ProcessingInstruction node.]
expected: FAIL

View file

@ -0,0 +1,5 @@
[Propagation.path.target.moved.html]
type: testharness
[Test Description: Once determined, the event propagation path must not be changed, even if an element in the propagation path is moved within the DOM.]
expected: FAIL

View file

@ -0,0 +1,5 @@
[Propagation.path.target.removed.html]
type: testharness
[Test Description: Once determined, the event propagation path must not be changed, even if an element in the propagation path is removed from the DOM.]
expected: FAIL

View file

@ -0,0 +1,3 @@
[dispatchEvent.click.checkbox.html]
type: testharness
expected: TIMEOUT

View file

@ -0,0 +1,6 @@
[domnodeinserted.html]
type: testharness
expected: TIMEOUT
[Test Description: DOMNodeInserted event fires when a node has been added as a child of another node.]
expected: NOTRUN

View file

@ -0,0 +1,5 @@
[stopImmediatePropagation.effect.html]
type: testharness
[Test Description: stopImmediatePropagation() prevents other event listeners from being triggered and, unlike Event.stopPropagation(), its effect must be immediate. Once it has been called, further calls to this method have no additional effect.]
expected: FAIL

View file

@ -0,0 +1,5 @@
[stopPropagation.deferred.effect.html]
type: testharness
[Test Description: stopPropagation() prevents other event listeners from being triggered but its effect must be deferred until all event listeners attached on the Event.currentTarget have been triggered.]
expected: FAIL

View file

@ -0,0 +1,5 @@
[stopPropagation.dispatchEvent.html]
type: testharness
[Test Description: If Event.stopPropagation() has been called prior to the dispatch, all phases must be skipped.]
expected: FAIL

View file

@ -0,0 +1,5 @@
[DOM.event.flow.html]
type: testharness
[Test Description: Dispatch an event in a DOM tree using the DOM event flow.]
expected: FAIL

View file

@ -0,0 +1,5 @@
[Determined.candidate.EventListeners.html]
type: testharness
[Test Description: Once determined, the current target\'s registered candidate event listeners cannot be changed; adding or removing listeners does not affect the current target\'s candidate event listeners.]
expected: FAIL

View file

@ -0,0 +1,5 @@
[EventListener.dispatch.new.event.html]
type: testharness
[Test Description: Implementations of the DOM event model must be reentrant. Event listeners may perform actions that cause additional events to be dispatched. Such events are handled in a synchronous manner, the event propagation that causes the event listener to be triggered must resume only after the event dispatch of the new event is completed.]
expected: FAIL

View file

@ -0,0 +1,5 @@
[EventObject.after.dispatchEvent.html]
type: testharness
[Test Description: As the final step of the event dispatch, the implementation must reset the event object\'s default-action-prevention state. ]
expected: FAIL

View file

@ -0,0 +1,5 @@
[EventObject.multiple.dispatchEvent.html]
type: testharness
[Test Description: An event object may be properly dispatched multiple times while also allowing to prevent the event objects propagation prior to the event dispatch.]
expected: FAIL

View file

@ -0,0 +1,5 @@
[ProcessingInstruction.DOMCharacterDataModified.html]
type: testharness
[Test Description: DOMCharacterDataModified event fires after ProcessingInstruction.data have been modified, but the node itself has not been inserted or deleted. The proximal event target of this event shall be the ProcessingInstruction node.]
expected: FAIL

View file

@ -0,0 +1,5 @@
[Propagation.path.target.moved.html]
type: testharness
[Test Description: Once determined, the event propagation path must not be changed, even if an element in the propagation path is moved within the DOM.]
expected: FAIL

View file

@ -0,0 +1,5 @@
[Propagation.path.target.removed.html]
type: testharness
[Test Description: Once determined, the event propagation path must not be changed, even if an element in the propagation path is removed from the DOM.]
expected: FAIL

View file

@ -0,0 +1,5 @@
[dispatchEvent.DISPATCH_REQUEST_ERR.html]
type: testharness
[Test Description: dispatchEvent() raises DISPATCH_REQUEST_ERR EventException if the Event object is already being dispatched.]
expected: FAIL

View file

@ -0,0 +1,6 @@
[dispatchEvent.NOT_SUPPORTED_ERR.html]
type: testharness
expected: TIMEOUT
[Test Description: dispatchEvent - DOMException NOT_SUPPORTED_ERR raises if the Event object has not been created using DocumentEvent.createEvent().]
expected: NOTRUN

View file

@ -0,0 +1,5 @@
[dispatchEvent.UNSPECIFIED_EVENT_TYPE_ERR.html]
type: testharness
[Test Description: dispatchEvent - EventException UNSPECIFIED_EVENT_TYPE_ERR raises if the Event.type was not specified by initializing the event before dispatchEvent was called.]
expected: FAIL

View file

@ -0,0 +1,3 @@
[dispatchEvent.click.checkbox.html]
type: testharness
expected: TIMEOUT

View file

@ -0,0 +1,6 @@
[domnodeinserted.html]
type: testharness
expected: TIMEOUT
[Test Description: DOMNodeInserted event fires when a node has been added as a child of another node.]
expected: NOTRUN

View file

@ -0,0 +1,5 @@
[stopImmediatePropagation.effect.html]
type: testharness
[Test Description: stopImmediatePropagation() prevents other event listeners from being triggered and, unlike Event.stopPropagation(), its effect must be immediate. Once it has been called, further calls to this method have no additional effect.]
expected: FAIL

View file

@ -0,0 +1,5 @@
[stopPropagation.deferred.effect.html]
type: testharness
[Test Description: stopPropagation() prevents other event listeners from being triggered but its effect must be deferred until all event listeners attached on the Event.currentTarget have been triggered.]
expected: FAIL

View file

@ -0,0 +1,5 @@
[stopPropagation.dispatchEvent.html]
type: testharness
[Test Description: If Event.stopPropagation() has been called prior to the dispatch, all phases must be skipped.]
expected: FAIL

View file

@ -0,0 +1,5 @@
[throwing-in-listener-and-window-error-event.html]
type: testharness
[Throwing in event listener generates an error event on the window object]
expected: FAIL

View file

@ -0,0 +1,5 @@
[throwing-in-listener-when-all-have-not-run-yet.html]
type: testharness
[Throwing in event listener]
expected: FAIL