mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Auto merge of #25502 - servo-wpt-sync:wpt_update_13-01-2020, r=servo-wpt-sync
Sync WPT with upstream (13-01-2020) Automated downstream sync of changes from upstream as of 13-01-2020. [no-wpt-sync] r? @servo-wpt-sync
This commit is contained in:
commit
968b45f9dc
14 changed files with 49 additions and 36 deletions
|
@ -665713,7 +665713,7 @@
|
|||
"testharness"
|
||||
],
|
||||
"html/semantics/forms/form-submission-0/SubmitEvent.window.js": [
|
||||
"93dbabb866beeba9e04d0d4f99dde78f448e8dff",
|
||||
"ca722315d815a0e40566f8dee63f5b1c389670b2",
|
||||
"testharness"
|
||||
],
|
||||
"html/semantics/forms/form-submission-0/constructing-form-data-set.html": [
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
[CaretPosition-001.html]
|
||||
[Element at (400, 100)]
|
||||
expected: FAIL
|
||||
|
|
@ -2,6 +2,3 @@
|
|||
[elementsFromPoint on the root document for points in iframe elements]
|
||||
expected: FAIL
|
||||
|
||||
[elementsFromPoint on inner documents]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -315,18 +315,18 @@
|
|||
[<iframe>: combined response Content-Type: text/html;" \\" text/plain]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: separate response Content-Type: text/plain */*;charset=gbk]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: combined response Content-Type: text/html;" text/plain]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: combined response Content-Type: text/html */*]
|
||||
[<iframe>: combined response Content-Type: */* text/html]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: separate response Content-Type: text/html;x=" text/plain]
|
||||
[<iframe>: separate response Content-Type: text/html;" text/plain]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: combined response Content-Type: text/html;x=" text/plain]
|
||||
[<iframe>: separate response Content-Type: text/html */*;charset=gbk]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: separate response Content-Type: text/html */*]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -11,6 +11,6 @@
|
|||
[X-Content-Type-Options%3A%20nosniff%0C]
|
||||
expected: FAIL
|
||||
|
||||
[X-Content-Type-Options%3A%0D%0AX-Content-Type-Options%3A%20nosniff]
|
||||
[X-Content-Type-Options%3A%20'NosniFF']
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
[traverse_the_history_5.html]
|
||||
[traverse_the_history_2.html]
|
||||
[Multiple history traversals, last would be aborted]
|
||||
expected: FAIL
|
||||
|
|
@ -1,4 +1,5 @@
|
|||
[creating_browsing_context_test_01.html]
|
||||
expected: TIMEOUT
|
||||
[first argument: absolute url]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
[supported-elements.html]
|
||||
expected: TIMEOUT
|
||||
[Contenteditable element should support autofocus]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -6,11 +7,14 @@
|
|||
expected: FAIL
|
||||
|
||||
[Host element with delegatesFocus including no focusable descendants should be skipped]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
[Area element should support autofocus]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
[Host element with delegatesFocus should support autofocus]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
[Non-HTMLElement should not support autofocus]
|
||||
expected: TIMEOUT
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[iframe_sandbox_popups_nonescaping-3.html]
|
||||
type: testharness
|
||||
expected: CRASH
|
||||
expected: TIMEOUT
|
||||
[Check that popups from a sandboxed iframe do not escape the sandbox]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
|
|
|
@ -14,3 +14,9 @@
|
|||
[Successful SubmitEvent constructor; missing dictionary]
|
||||
expected: FAIL
|
||||
|
||||
[Successful SubmitEvent constructor; null/undefined submitter]
|
||||
expected: FAIL
|
||||
|
||||
[Successful SubmitEvent constructor; null/undefined dictionary]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
[crossorigin-sandwich-TAO.sub.html]
|
||||
expected: ERROR
|
||||
[There should be one entry.]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
[017.html]
|
||||
expected: TIMEOUT
|
||||
[origin of the script that invoked the method, about:blank]
|
||||
expected: TIMEOUT
|
||||
|
|
@ -1,5 +1,4 @@
|
|||
[005.html]
|
||||
expected: ERROR
|
||||
[dedicated worker in shared worker in dedicated worker]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -4,12 +4,6 @@ test(() => {
|
|||
let button = document.createElement('button');
|
||||
let typeError = new TypeError();
|
||||
assert_throws(typeError, () => { new SubmitEvent() }, '0 arguments');
|
||||
assert_throws(typeError, () => { new SubmitEvent('bar', button) }, '1 invalid arguments');
|
||||
assert_throws(typeError, () => { new SubmitEvent(button, button) }, '2 invalid arguments');
|
||||
assert_throws(typeError, () => { new SubmitEvent('foo', null) }, 'Null dictionary');
|
||||
assert_throws(typeError, () => { new SubmitEvent('foo', undefined) }, 'Undefined dictionary');
|
||||
assert_throws(typeError, () => { new SubmitEvent('foo', { submitter: null }) }, 'Null submitter');
|
||||
assert_throws(typeError, () => { new SubmitEvent('foo', { submitter: undefined }) }, 'Undefined submitter');
|
||||
assert_throws(typeError, () => { new SubmitEvent('foo', { submitter: 'bar' }) }, 'Wrong type of submitter');
|
||||
}, 'Failing SubmitEvent constructor');
|
||||
|
||||
|
@ -21,16 +15,28 @@ test(() => {
|
|||
}, 'Successful SubmitEvent constructor');
|
||||
|
||||
test(() => {
|
||||
let event = new SubmitEvent('bar', { submitter: null});
|
||||
assert_equals(event.submitter, null);
|
||||
}, 'Successful SubmitEvent constructor; null submitter');
|
||||
let event1 = new SubmitEvent('bar', {submitter: null});
|
||||
assert_equals(event1.submitter, null);
|
||||
let event2 = new SubmitEvent('baz', {submitter: undefined});
|
||||
assert_equals(event2.submitter, null);
|
||||
}, 'Successful SubmitEvent constructor; null/undefined submitter');
|
||||
|
||||
test(() => {
|
||||
let event = new SubmitEvent('baz', {});
|
||||
assert_equals(event.submitter, null);
|
||||
let event1 = new SubmitEvent('bar', null);
|
||||
assert_equals(event1.submitter, null);
|
||||
let event2 = new SubmitEvent('baz', undefined);
|
||||
assert_equals(event2.submitter, null);
|
||||
}, 'Successful SubmitEvent constructor; null/undefined dictionary');
|
||||
|
||||
test(() => {
|
||||
let event1 = new SubmitEvent('bar', {});
|
||||
assert_equals(event1.submitter, null);
|
||||
let button = document.createElement('button');
|
||||
let event2 = new SubmitEvent("bax", button);
|
||||
assert_equals(event2.submitter, null);
|
||||
}, 'Successful SubmitEvent constructor; empty dictionary');
|
||||
|
||||
test(() => {
|
||||
let event = new SubmitEvent('baz');
|
||||
let event = new SubmitEvent('bar');
|
||||
assert_equals(event.submitter, null);
|
||||
}, 'Successful SubmitEvent constructor; missing dictionary');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue