mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
parent
c1cb9403a7
commit
7693b03468
9 changed files with 56 additions and 42 deletions
|
@ -1,3 +1,4 @@
|
|||
[dispatchEvent.click.checkbox.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[Test Description: MouseEvent: Default action is performed when a synthetic click event is dispatched on a checkbox element]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
[dispatchEvent.click.checkbox.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[Test Description: MouseEvent: Default action is performed when a synthetic click event is dispatched on a checkbox element]
|
||||
expected: FAIL
|
||||
|
|
|
@ -30152,7 +30152,16 @@
|
|||
},
|
||||
"local_changes": {
|
||||
"deleted": [],
|
||||
"items": {},
|
||||
"items": {
|
||||
"testharness": {
|
||||
"html/semantics/forms/the-button-element/button-activate.html": [
|
||||
{
|
||||
"path": "html/semantics/forms/the-button-element/button-activate.html",
|
||||
"url": "/html/semantics/forms/the-button-element/button-activate.html"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"reftest_nodes": {}
|
||||
},
|
||||
"reftest_nodes": {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[button-events.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
expected: CRASH
|
||||
[The submit event must be fired when click a button in submit status]
|
||||
expected: TIMEOUT
|
||||
|
||||
|
|
|
@ -1,29 +0,0 @@
|
|||
[event-handler-spec-example.html]
|
||||
type: testharness
|
||||
[Event handler listeners should be registered when they are first set to an object value (object "[object Object\]").]
|
||||
expected: FAIL
|
||||
|
||||
[Event handler listeners should be registered when they are first set to an object value (function "function () {}").]
|
||||
expected: FAIL
|
||||
|
||||
[Event handler listeners should be registered when they are first set to an object value (object "42").]
|
||||
expected: FAIL
|
||||
|
||||
[Event handler listeners should be registered when they are first set to an object value (object "").]
|
||||
expected: FAIL
|
||||
|
||||
[Event handler listeners should be registered when they are first set to an object value (42).]
|
||||
expected: FAIL
|
||||
|
||||
[Event handler listeners should be registered when they are first set to an object value (null).]
|
||||
expected: FAIL
|
||||
|
||||
[Event handler listeners should be registered when they are first set to an object value (undefined).]
|
||||
expected: FAIL
|
||||
|
||||
[Event handler listeners should be registered when they are first set to an object value ("").]
|
||||
expected: FAIL
|
||||
|
||||
[Event handler listeners should be registered when they are first set to an object value.]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
<form action="about:blank">
|
||||
<button id="submit">Submit</button>
|
||||
</form>
|
|
@ -0,0 +1,17 @@
|
|||
<!doctype html>
|
||||
<meta charset="utf-8">
|
||||
<title></title>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<iframe src="button-activate-frame.html" onload="runTest()"></iframe>
|
||||
<script>
|
||||
var t = async_test("button activation behaviour submits form");
|
||||
function runTest() {
|
||||
var iframe = document.querySelector('iframe');
|
||||
iframe.onload = t.step_func(function() {
|
||||
t.done();
|
||||
});
|
||||
var doc = iframe.contentDocument;
|
||||
doc.querySelector('button').click();
|
||||
}
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue