dom: Add missing event handlers

Adding:
* global event handlers,
* window event handlers,
* document and element handlers,
* and support for BeforeUnloadEvent.

Signed-off-by: Piotr Stankiewicz <bionicrift@gmail.com>
This commit is contained in:
Piotr Stankiewicz
2016-05-15 23:47:15 +01:00
parent 4590fe230f
commit d1af39c114
21 changed files with 373 additions and 861 deletions

View File

@@ -1,12 +1,6 @@
[load-events-networkState.html]
type: testharness
expected: TIMEOUT
[NETWORK_IDLE]
expected: TIMEOUT
[NETWORK_LOADING]
expected: TIMEOUT
[NETWORK_NO_SOURCE]
expected: TIMEOUT

View File

@@ -2,7 +2,7 @@
type: testharness
expected: TIMEOUT
[video error event]
expected: TIMEOUT
expected: FAIL
[source error event]
expected: TIMEOUT

View File

@@ -1,5 +0,0 @@
[resource-selection-invoke-set-src-not-in-document.html]
type: testharness
[invoking load by setting src on video not in a document]
expected: FAIL

View File

@@ -1,5 +0,0 @@
[resource-selection-invoke-set-src.html]
type: testharness
[invoking load by setting src]
expected: FAIL