mirror of
https://github.com/servo/servo.git
synced 2025-06-27 18:43:40 +01:00
Update web-platform-tests to revision e03a9b1341ae9bdb1e4fa03765257b84d26fe2f1
This commit is contained in:
parent
7d05c76d18
commit
20a833eb75
5167 changed files with 4696 additions and 297370 deletions
File diff suppressed because it is too large
Load diff
|
@ -3,3 +3,12 @@
|
|||
[XMLHttpRequest: abort() during DONE]
|
||||
expected: FAIL
|
||||
|
||||
[XMLHttpRequest: abort() during DONE (sync)]
|
||||
expected: FAIL
|
||||
|
||||
[XMLHttpRequest: abort() during DONE (sync aborted in readystatechange)]
|
||||
expected: FAIL
|
||||
|
||||
[XMLHttpRequest: abort() during DONE (async)]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
[abort-during-headers-received.htm]
|
||||
[XMLHttpRequest: abort() during HEADERS_RECEIVED]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
[abort-during-loading.htm]
|
||||
[XMLHttpRequest: abort() during LOADING]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
[xmlhttprequest-sync-default-feature-policy.sub.html]
|
||||
expected: TIMEOUT
|
||||
[Default "sync-xhr" feature policy ["*"\] allows same-origin iframes.]
|
||||
expected: TIMEOUT
|
||||
|
||||
[Default "sync-xhr" feature policy ["*"\] allows cross-origin iframes.]
|
||||
expected: TIMEOUT
|
||||
|
||||
[Feature policy "sync-xhr" can be disabled in cross-origin iframes using "allow" attribute.]
|
||||
expected: FAIL
|
||||
|
|
@ -1,23 +0,0 @@
|
|||
[scrollIntoView-empty-args.html]
|
||||
type: testharness
|
||||
[scrollIntoView should behave correctly when the arg is not fully specified as ScrollIntoViewOptions]
|
||||
expected: FAIL
|
||||
|
||||
[scrollIntoView should behave correctly when the arg is omitted]
|
||||
expected: FAIL
|
||||
|
||||
[scrollIntoView should behave correctly when the arg is true]
|
||||
expected: FAIL
|
||||
|
||||
[scrollIntoView should behave correctly when the arg is false]
|
||||
expected: FAIL
|
||||
|
||||
[scrollIntoView should behave correctly when the arg is [object Object\]]
|
||||
expected: FAIL
|
||||
|
||||
[scrollIntoView should behave correctly when the arg is null]
|
||||
expected: FAIL
|
||||
|
||||
[scrollIntoView should behave correctly when the arg is undefined]
|
||||
expected: FAIL
|
||||
|
|
@ -5,3 +5,4 @@
|
|||
|
||||
[innerHTML in XHTML 4]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
[sandbox-ascii-case-insensitive.html]
|
||||
[iframe 'sandbox' ASCII case insensitive, allow-same-orİgin]
|
||||
expected: FAIL
|
||||
|
||||
[iframe 'sandbox' ASCII case insensitive, allow-ſcripts]
|
||||
expected: FAIL
|
||||
|
|
@ -44,3 +44,4 @@
|
|||
|
||||
[Node for wbr]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
local: 462c2723806b91e4a0a888d2521a5ce778433949
|
||||
upstream: ecf0f624705ba2f9a6046bf33bb67e4898849f65
|
||||
local: 7d05c76d1828bc80e578c9b77f0c57b0e1afafc2
|
||||
upstream: df7f8966862ae9268091bc84ebafc0b9a89706b0
|
||||
|
|
0
tests/wpt/web-platform-tests/2dcontext/drawing-paths-to-the-canvas/drawFocusIfNeeded_001.html
Executable file → Normal file
0
tests/wpt/web-platform-tests/2dcontext/drawing-paths-to-the-canvas/drawFocusIfNeeded_001.html
Executable file → Normal file
0
tests/wpt/web-platform-tests/2dcontext/drawing-paths-to-the-canvas/drawFocusIfNeeded_002.html
Executable file → Normal file
0
tests/wpt/web-platform-tests/2dcontext/drawing-paths-to-the-canvas/drawFocusIfNeeded_002.html
Executable file → Normal file
0
tests/wpt/web-platform-tests/2dcontext/drawing-paths-to-the-canvas/drawFocusIfNeeded_003.html
Executable file → Normal file
0
tests/wpt/web-platform-tests/2dcontext/drawing-paths-to-the-canvas/drawFocusIfNeeded_003.html
Executable file → Normal file
0
tests/wpt/web-platform-tests/2dcontext/drawing-paths-to-the-canvas/drawFocusIfNeeded_004.html
Executable file → Normal file
0
tests/wpt/web-platform-tests/2dcontext/drawing-paths-to-the-canvas/drawFocusIfNeeded_004.html
Executable file → Normal file
0
tests/wpt/web-platform-tests/2dcontext/drawing-paths-to-the-canvas/drawFocusIfNeeded_005.html
Executable file → Normal file
0
tests/wpt/web-platform-tests/2dcontext/drawing-paths-to-the-canvas/drawFocusIfNeeded_005.html
Executable file → Normal file
|
@ -0,0 +1,15 @@
|
|||
<!doctype html>
|
||||
<meta charset=utf-8>
|
||||
<title>IndexedDB: Verify [SameObject] behavior of the global scope's indexedDB attribute</title>
|
||||
<meta name="help" href="https://w3c.github.io/IndexedDB/#dom-windoworworkerglobalscope-indexeddb">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script>
|
||||
|
||||
test(t => {
|
||||
assert_equals(self.indexedDB, self.indexedDB,
|
||||
'Attribute should yield the same object each time');
|
||||
|
||||
}, 'indexedDB is [SameObject]');
|
||||
|
||||
</script>
|
|
@ -0,0 +1,28 @@
|
|||
<!doctype html>
|
||||
<meta charset=utf-8>
|
||||
<title>IndexedDB: Verify [SameObject] behavior of IDBIndex's objectStore attribute</title>
|
||||
<meta name="help" href="https://w3c.github.io/IndexedDB/#dom-idbindex-objectstore">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="support.js"></script>
|
||||
<script>
|
||||
|
||||
indexeddb_test(
|
||||
(t, db) => {
|
||||
const store = db.createObjectStore('store');
|
||||
const index = store.createIndex('index', 'keyPath');
|
||||
assert_equals(index.objectStore, index.objectStore,
|
||||
'Attribute should yield the same object each time');
|
||||
|
||||
},
|
||||
(t, db) => {
|
||||
const tx = db.transaction('store');
|
||||
const store = tx.objectStore('store');
|
||||
const index = store.index('index');
|
||||
assert_equals(index.objectStore, index.objectStore,
|
||||
'Attribute should yield the same object each time');
|
||||
t.done();
|
||||
},
|
||||
'IDBIndex.objectStore [SameObject]'
|
||||
);
|
||||
</script>
|
|
@ -0,0 +1,26 @@
|
|||
<!doctype html>
|
||||
<meta charset=utf-8>
|
||||
<title>IndexedDB: Verify [SameObject] behavior of IDBObjectStore's transaction attribute</title>
|
||||
<meta name="help" href="https://w3c.github.io/IndexedDB/#dom-idbobjectstore-transaction">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="support.js"></script>
|
||||
<script>
|
||||
|
||||
indexeddb_test(
|
||||
(t, db) => {
|
||||
const store = db.createObjectStore('store');
|
||||
assert_equals(store.transaction, store.transaction,
|
||||
'Attribute should yield the same object each time');
|
||||
|
||||
},
|
||||
(t, db) => {
|
||||
const tx = db.transaction('store');
|
||||
const store = tx.objectStore('store');
|
||||
assert_equals(store.transaction, store.transaction,
|
||||
'Attribute should yield the same object each time');
|
||||
t.done();
|
||||
},
|
||||
'IDBObjectStore.transaction [SameObject]'
|
||||
);
|
||||
</script>
|
|
@ -3,9 +3,9 @@
|
|||
<title>IDBObjectStore.createIndex() - Event ordering for ConstraintError on request</title>
|
||||
<link rel="author" href="mailto:odinho@opera.com" title="Odin Hørthe Omdal">
|
||||
<meta rel=help href=http://odinho.html5.org/IndexedDB/spec/Overview.html#dfn-steps-for-aborting-a-transaction>
|
||||
<meta rel=assert title="Unless error was set to null, create a DOMError object and set its name to error. Set transaction's error property to this newly created DOMError.">
|
||||
<meta rel=assert title="Unless error was set to null, create a DOMException object and set its name to error. Set transaction's error property to this newly created DOMException.">
|
||||
<meta rel=assert title="If the transaction's request list contain any requests whose done flag is still false, abort the steps for asynchronously executing a request for each such request and queue a task to perform the following steps:">
|
||||
<meta rel=assert title="set the request's error attribute to a DOMError with a type of AbortError.">
|
||||
<meta rel=assert title="set the request's error attribute to a DOMException with a type of AbortError.">
|
||||
<meta rel=assert title="Dispatch an event at request. The event must use the Event interface and have its type set to 'error'. The event bubbles and is cancelable. The propagation path for the event is transaction's connection, then transaction and finally the request. There is no default action for the event.">
|
||||
<meta rel=assert title="Queue up an operation to dispatch an event at transaction. The event must use the Event interface and have its type set to 'abort'. The event does bubble but is not cancelable. The propagation path for the event is transaction's connection and then transaction.">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
|
|
|
@ -0,0 +1,24 @@
|
|||
<!doctype html>
|
||||
<meta charset=utf-8>
|
||||
<title>IndexedDB: Verify [SameObject] behavior of IDBTransaction's db attribute</title>
|
||||
<meta name="help" href="https://w3c.github.io/IndexedDB/#dom-idbtransaction-db">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="support.js"></script>
|
||||
<script>
|
||||
|
||||
indexeddb_test(
|
||||
(t, db, tx) => {
|
||||
const store = db.createObjectStore('store');
|
||||
assert_equals(tx.db, tx.db,
|
||||
'Attribute should yield the same object each time');
|
||||
},
|
||||
(t, db) => {
|
||||
const tx = db.transaction('store');
|
||||
assert_equals(tx.db, tx.db,
|
||||
'Attribute should yield the same object each time');
|
||||
t.done();
|
||||
},
|
||||
'IDBTransaction.db [SameObject]'
|
||||
);
|
||||
</script>
|
|
@ -9,20 +9,18 @@
|
|||
<body>
|
||||
<div id="log"></div>
|
||||
<script>
|
||||
var test = async_test()
|
||||
test.step(function() {
|
||||
async_test(test => {
|
||||
var client = new XMLHttpRequest(),
|
||||
result = [],
|
||||
expected = [1, 4] // open() -> 1, send() -> 4
|
||||
client.onreadystatechange = function() {
|
||||
test.step(function() {
|
||||
client.onreadystatechange = test.step_func(function() {
|
||||
result.push(client.readyState)
|
||||
})
|
||||
}
|
||||
client.open("GET", "resources/well-formed.xml", false)
|
||||
client.send(null)
|
||||
assert_equals(client.readyState, 4)
|
||||
assert_equals(client.status, 200)
|
||||
assert_equals(client.statusText, "OK")
|
||||
assert_equals(client.responseXML.documentElement.localName, "html")
|
||||
client.abort()
|
||||
assert_equals(client.readyState, 0)
|
||||
|
@ -32,7 +30,61 @@
|
|||
assert_equals(client.getAllResponseHeaders(), "")
|
||||
assert_array_equals(result, expected)
|
||||
test.done()
|
||||
}, document.title + " (sync)")
|
||||
|
||||
async_test(test => {
|
||||
var client = new XMLHttpRequest(),
|
||||
result = [],
|
||||
expected = [1, 4] // open() -> 1, send() -> 4
|
||||
client.onreadystatechange = test.step_func(function() {
|
||||
result.push(client.readyState);
|
||||
if (client.readyState === 4) {
|
||||
assert_equals(client.readyState, 4)
|
||||
assert_equals(client.status, 200)
|
||||
assert_equals(client.statusText, "OK")
|
||||
assert_equals(client.responseXML.documentElement.localName, "html")
|
||||
client.abort();
|
||||
assert_equals(client.readyState, 0)
|
||||
assert_equals(client.status, 0)
|
||||
assert_equals(client.statusText, "")
|
||||
assert_equals(client.responseXML, null)
|
||||
assert_equals(client.getAllResponseHeaders(), "")
|
||||
test.done()
|
||||
}
|
||||
})
|
||||
client.open("GET", "resources/well-formed.xml", false)
|
||||
client.send(null)
|
||||
assert_equals(client.readyState, 0)
|
||||
assert_equals(client.status, 200)
|
||||
assert_equals(client.statusText, "OK")
|
||||
assert_equals(client.responseXML.documentElement.localName, "html")
|
||||
}, document.title + " (sync aborted in readystatechange)")
|
||||
|
||||
async_test(test => {
|
||||
var client = new XMLHttpRequest(),
|
||||
result = [],
|
||||
expected = [1, 2, 3, 4]
|
||||
client.onreadystatechange = test.step_func(function() {
|
||||
result.push(client.readyState);
|
||||
if (client.readyState === 4) {
|
||||
assert_equals(client.readyState, 4)
|
||||
assert_equals(client.status, 200)
|
||||
assert_equals(client.responseXML.documentElement.localName, "html")
|
||||
client.abort();
|
||||
assert_equals(client.readyState, 0)
|
||||
assert_equals(client.status, 0)
|
||||
assert_equals(client.statusText, "")
|
||||
assert_equals(client.responseXML, null)
|
||||
assert_equals(client.getAllResponseHeaders(), "")
|
||||
setTimeout(function() {
|
||||
assert_array_equals(result, expected)
|
||||
test.done();
|
||||
}, 100); // wait a bit in case XHR timeout causes spurious event
|
||||
}
|
||||
})
|
||||
client.open("GET", "resources/well-formed.xml")
|
||||
client.send(null)
|
||||
}, document.title + " (async)")
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -0,0 +1,53 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<title>XMLHttpRequest: abort() during HEADERS_RECEIVED</title>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<link rel="help" href="https://xhr.spec.whatwg.org/#the-abort()-method" data-tested-assertations="following-sibling::ol/li[4] following-sibling::ol/li[5]" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="log"></div>
|
||||
<script>
|
||||
async_test(test => {
|
||||
var client = new XMLHttpRequest(),
|
||||
result = [],
|
||||
expected = [1, 2, 4]
|
||||
client.onreadystatechange = test.step_func(function() {
|
||||
result.push(client.readyState);
|
||||
if (client.readyState === 2) {
|
||||
assert_equals(client.status, 200)
|
||||
assert_equals(client.statusText, "OK")
|
||||
assert_equals(client.responseXML, null)
|
||||
client.abort();
|
||||
assert_equals(client.readyState, 0)
|
||||
assert_equals(client.status, 0)
|
||||
assert_equals(client.statusText, "")
|
||||
assert_equals(client.responseXML, null)
|
||||
assert_equals(client.getAllResponseHeaders(), "")
|
||||
}
|
||||
if (client.readyState === 4) {
|
||||
assert_equals(client.readyState, 4)
|
||||
assert_equals(client.status, 0)
|
||||
assert_equals(client.statusText, "")
|
||||
assert_equals(client.responseXML, null)
|
||||
assert_equals(client.getAllResponseHeaders(), "")
|
||||
}
|
||||
})
|
||||
client.onloadend = test.step_func(function() {
|
||||
assert_equals(client.readyState, 4)
|
||||
assert_equals(client.status, 0)
|
||||
assert_equals(client.statusText, "")
|
||||
assert_equals(client.responseXML, null)
|
||||
assert_equals(client.getAllResponseHeaders(), "")
|
||||
setTimeout(function() {
|
||||
assert_array_equals(result, expected)
|
||||
test.done();
|
||||
}, 100); // wait a bit in case XHR timeout causes spurious event
|
||||
})
|
||||
client.open("GET", "resources/well-formed.xml")
|
||||
client.send(null)
|
||||
})
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,54 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<title>XMLHttpRequest: abort() during LOADING</title>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<link rel="help" href="https://xhr.spec.whatwg.org/#the-abort()-method" data-tested-assertations="following-sibling::ol/li[4] following-sibling::ol/li[5]" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="log"></div>
|
||||
<script>
|
||||
async_test(test => {
|
||||
var client = new XMLHttpRequest(),
|
||||
result = [],
|
||||
expected = [1, 2, 3, 4]
|
||||
client.onreadystatechange = test.step_func(function() {
|
||||
result.push(client.readyState);
|
||||
if (client.readyState === 3) {
|
||||
assert_equals(client.status, 200)
|
||||
assert_equals(client.statusText, "OK")
|
||||
assert_equals(client.responseXML, null)
|
||||
client.abort();
|
||||
assert_equals(client.readyState, 0)
|
||||
assert_equals(client.status, 0)
|
||||
assert_equals(client.statusText, "")
|
||||
assert_equals(client.responseXML, null)
|
||||
assert_equals(client.getAllResponseHeaders(), "")
|
||||
}
|
||||
if (client.readyState === 4) {
|
||||
assert_equals(client.readyState, 4)
|
||||
assert_equals(client.status, 0)
|
||||
assert_equals(client.statusText, "")
|
||||
assert_equals(client.responseXML, null)
|
||||
assert_equals(client.getAllResponseHeaders(), "")
|
||||
}
|
||||
})
|
||||
client.onloadend = test.step_func(function() {
|
||||
assert_equals(client.readyState, 4)
|
||||
assert_equals(client.status, 0)
|
||||
assert_equals(client.statusText, "")
|
||||
assert_equals(client.responseXML, null)
|
||||
assert_equals(client.getAllResponseHeaders(), "")
|
||||
setTimeout(function() {
|
||||
assert_array_equals(result, expected)
|
||||
test.done();
|
||||
}, 100); // wait a bit in case XHR timeout causes spurious event
|
||||
})
|
||||
client.open("GET", "resources/well-formed.xml")
|
||||
client.send(null)
|
||||
})
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -8,7 +8,11 @@ test.step(function() {
|
|||
})
|
||||
}
|
||||
assert_equals(client.readyState, 1, "before abort()")
|
||||
assert_equals(client.status, 0)
|
||||
assert_equals(client.statusText, "")
|
||||
client.abort()
|
||||
assert_equals(client.readyState, 1, "after abort()")
|
||||
assert_equals(client.status, 0)
|
||||
assert_equals(client.statusText, "")
|
||||
})
|
||||
test.done()
|
||||
|
|
|
@ -17,8 +17,13 @@
|
|||
assert_unreached()
|
||||
})
|
||||
}
|
||||
assert_equals(client.readyState, 0)
|
||||
assert_equals(client.status, 0)
|
||||
assert_equals(client.statusText, "")
|
||||
client.abort()
|
||||
assert_equals(client.readyState, 0)
|
||||
assert_equals(client.status, 0)
|
||||
assert_equals(client.statusText, "")
|
||||
})
|
||||
test.done()
|
||||
</script>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<title>ProgressEvent: firing events for HTTP with Content-Length</title>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<link rel="help" href="http://dvcs.w3.org/hg/progress/raw-file/tip/Overview.html#firing-events-using-the-progressevent-interface-for-http" data-tested-assertations="/following-sibling::ol/li[1] /following-sibling::ol/li[2]" />
|
||||
<link rel="help" href="https://xhr.spec.whatwg.org/#firing-events-using-the-progressevent-interface">
|
||||
</head>
|
||||
<body>
|
||||
<div id="log"></div>
|
||||
|
@ -17,9 +17,9 @@
|
|||
xhr.onprogress = function(pe) {
|
||||
test.step(function() {
|
||||
if(pe.type == "progress") {
|
||||
assert_true(pe.loaded >= 0, "loaded is initialize to the number of HTTP entity body bytes transferred.");
|
||||
assert_true(pe.lengthComputable, "lengthComputable is true.");
|
||||
assert_not_equals(pe.total, 0, "total is not zero.");
|
||||
assert_greater_than_equal(pe.loaded, 0, "loaded");
|
||||
assert_true(pe.lengthComputable, "lengthComputable");
|
||||
assert_equals(pe.total, 1300, "total");
|
||||
}
|
||||
}, "Check lengthComputed, loaded, total when Content-Length is given.");
|
||||
}
|
||||
|
@ -30,7 +30,7 @@
|
|||
xhr.onloadend = function(pe) {
|
||||
test.done();
|
||||
}
|
||||
xhr.open("GET", "resources/img.jpg", true);
|
||||
xhr.open("GET", "resources/trickle.py?ms=0&count=100&specifylength=1", true);
|
||||
xhr.send(null);
|
||||
})
|
||||
</script>
|
|
@ -4,7 +4,7 @@
|
|||
<title>ProgressEvent: firing events for HTTP with no Content-Length</title>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<link rel="help" href="http://dvcs.w3.org/hg/progress/raw-file/tip/Overview.html#firing-events-using-the-progressevent-interface-for-http" data-tested-assertations="/following-sibling::ol/li[1] /following-sibling::ol/li[2]" />
|
||||
<link rel="help" href="https://xhr.spec.whatwg.org/#firing-events-using-the-progressevent-interface">
|
||||
</head>
|
||||
<body>
|
||||
<div id="log"></div>
|
||||
|
@ -17,9 +17,9 @@
|
|||
xhr.onprogress = function(pe) {
|
||||
test.step(function() {
|
||||
if(pe.type == "progress") {
|
||||
assert_true(pe.loaded >= 0, "loaded is initialize to the number of HTTP entity body bytes transferred.");
|
||||
assert_false(pe.lengthComputable, "lengthComputable is false.");
|
||||
assert_equals(pe.total, 0, "total is zero.");
|
||||
assert_greater_than_equal(pe.loaded, 0, "loaded");
|
||||
assert_false(pe.lengthComputable, "lengthComputable");
|
||||
assert_equals(pe.total, 0, "total");
|
||||
}
|
||||
}, "Check lengthComputed, loaded, total when Content-Length is NOT given.");
|
||||
}
|
||||
|
@ -30,7 +30,7 @@
|
|||
xhr.onloadend = function(pe) {
|
||||
test.done();
|
||||
}
|
||||
xhr.open("GET", "resources/no-content-length.py", true);
|
||||
xhr.open("GET", "resources/trickle.py?ms=0&count=100", true);
|
||||
xhr.send(null);
|
||||
})
|
||||
</script>
|
0
tests/wpt/web-platform-tests/XMLHttpRequest/open-during-abort.htm
Executable file → Normal file
0
tests/wpt/web-platform-tests/XMLHttpRequest/open-during-abort.htm
Executable file → Normal file
|
@ -1,6 +1,6 @@
|
|||
<!doctype html>
|
||||
<title>ProgressEvent constructor</title>
|
||||
<link rel="help" href="https://www.w3.org/TR/progress-events/#interface-progressevent">
|
||||
<link rel="help" href="https://xhr.spec.whatwg.org/#interface-progressevent">
|
||||
<link rel="help" href="https://dom.spec.whatwg.org/#concept-event-constructor">
|
||||
<link rel="help" href="https://dom.spec.whatwg.org/#interface-event">
|
||||
<script src=/resources/testharness.js></script>
|
0
tests/wpt/web-platform-tests/XMLHttpRequest/send-content-type-charset.htm
Executable file → Normal file
0
tests/wpt/web-platform-tests/XMLHttpRequest/send-content-type-charset.htm
Executable file → Normal file
|
@ -0,0 +1,29 @@
|
|||
<!DOCTYPE html>
|
||||
<body>
|
||||
<meta charset="utf-8">
|
||||
<title>Synchronous XMLHttpRequest Feature Policy Test</title>
|
||||
<script src=/resources/testharness.js></script>
|
||||
<script src=/resources/testharnessreport.js></script>
|
||||
<script src=/feature-policy/resources/featurepolicy.js></script>
|
||||
<script src=util/utils.js></script>
|
||||
<script>
|
||||
'use strict';
|
||||
run_all_fp_tests_allow_all(
|
||||
'http://{{domains[www]}}:{{ports[http][0]}}',
|
||||
'sync-xhr',
|
||||
'InvalidAccessError: Failed to execute \'open\' on \'XMLHttpRequest\': ' +
|
||||
'Synchronous requests are disabled by Feature Policy.',
|
||||
() => {
|
||||
return new Promise((resolve, reject) => {
|
||||
try {
|
||||
var xhr = new XMLHttpRequest();
|
||||
xhr.open("GET", "data:,", false);
|
||||
xhr.send();
|
||||
resolve();
|
||||
} catch(e) {
|
||||
reject(e);
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</body>
|
0
tests/wpt/web-platform-tests/annotation-protocol/files/annotations/annotation.headers
Executable file → Normal file
0
tests/wpt/web-platform-tests/annotation-protocol/files/annotations/annotation.headers
Executable file → Normal file
0
tests/wpt/web-platform-tests/annotation-protocol/files/annotations/annotation.options.headers
Executable file → Normal file
0
tests/wpt/web-platform-tests/annotation-protocol/files/annotations/annotation.options.headers
Executable file → Normal file
0
tests/wpt/web-platform-tests/annotation-protocol/files/annotations/collection.headers
Executable file → Normal file
0
tests/wpt/web-platform-tests/annotation-protocol/files/annotations/collection.headers
Executable file → Normal file
0
tests/wpt/web-platform-tests/annotation-protocol/files/annotations/collection.options.headers
Executable file → Normal file
0
tests/wpt/web-platform-tests/annotation-protocol/files/annotations/collection.options.headers
Executable file → Normal file
0
tests/wpt/web-platform-tests/annotation-protocol/files/annotations/cors.headers
Executable file → Normal file
0
tests/wpt/web-platform-tests/annotation-protocol/files/annotations/cors.headers
Executable file → Normal file
0
tests/wpt/web-platform-tests/content-security-policy/script-src/script-src-strict_dynamic_and_unsafe_eval_eval.html
Executable file → Normal file
0
tests/wpt/web-platform-tests/content-security-policy/script-src/script-src-strict_dynamic_and_unsafe_eval_eval.html
Executable file → Normal file
0
tests/wpt/web-platform-tests/content-security-policy/script-src/script-src-strict_dynamic_and_unsafe_eval_eval.html.headers
Executable file → Normal file
0
tests/wpt/web-platform-tests/content-security-policy/script-src/script-src-strict_dynamic_and_unsafe_eval_eval.html.headers
Executable file → Normal file
0
tests/wpt/web-platform-tests/content-security-policy/script-src/script-src-strict_dynamic_and_unsafe_eval_new_function.html
Executable file → Normal file
0
tests/wpt/web-platform-tests/content-security-policy/script-src/script-src-strict_dynamic_and_unsafe_eval_new_function.html
Executable file → Normal file
0
tests/wpt/web-platform-tests/content-security-policy/script-src/script-src-strict_dynamic_discard_whitelist.html
Executable file → Normal file
0
tests/wpt/web-platform-tests/content-security-policy/script-src/script-src-strict_dynamic_discard_whitelist.html
Executable file → Normal file
0
tests/wpt/web-platform-tests/content-security-policy/script-src/script-src-strict_dynamic_discard_whitelist.html.headers
Executable file → Normal file
0
tests/wpt/web-platform-tests/content-security-policy/script-src/script-src-strict_dynamic_discard_whitelist.html.headers
Executable file → Normal file
0
tests/wpt/web-platform-tests/content-security-policy/script-src/script-src-strict_dynamic_double_policy_different_nonce.html
Executable file → Normal file
0
tests/wpt/web-platform-tests/content-security-policy/script-src/script-src-strict_dynamic_double_policy_different_nonce.html
Executable file → Normal file
0
tests/wpt/web-platform-tests/content-security-policy/script-src/script-src-strict_dynamic_double_policy_honor_whitelist.sub.html
Executable file → Normal file
0
tests/wpt/web-platform-tests/content-security-policy/script-src/script-src-strict_dynamic_double_policy_honor_whitelist.sub.html
Executable file → Normal file
0
tests/wpt/web-platform-tests/content-security-policy/script-src/script-src-strict_dynamic_double_policy_report_only.html
Executable file → Normal file
0
tests/wpt/web-platform-tests/content-security-policy/script-src/script-src-strict_dynamic_double_policy_report_only.html
Executable file → Normal file
0
tests/wpt/web-platform-tests/content-security-policy/script-src/script-src-strict_dynamic_double_policy_report_only.html.headers
Executable file → Normal file
0
tests/wpt/web-platform-tests/content-security-policy/script-src/script-src-strict_dynamic_double_policy_report_only.html.headers
Executable file → Normal file
0
tests/wpt/web-platform-tests/content-security-policy/script-src/script-src-strict_dynamic_eval.html
Executable file → Normal file
0
tests/wpt/web-platform-tests/content-security-policy/script-src/script-src-strict_dynamic_eval.html
Executable file → Normal file
0
tests/wpt/web-platform-tests/content-security-policy/script-src/script-src-strict_dynamic_eval.html.headers
Executable file → Normal file
0
tests/wpt/web-platform-tests/content-security-policy/script-src/script-src-strict_dynamic_eval.html.headers
Executable file → Normal file
0
tests/wpt/web-platform-tests/content-security-policy/script-src/script-src-strict_dynamic_hashes.html
Executable file → Normal file
0
tests/wpt/web-platform-tests/content-security-policy/script-src/script-src-strict_dynamic_hashes.html
Executable file → Normal file
0
tests/wpt/web-platform-tests/content-security-policy/script-src/script-src-strict_dynamic_hashes.html.headers
Executable file → Normal file
0
tests/wpt/web-platform-tests/content-security-policy/script-src/script-src-strict_dynamic_hashes.html.headers
Executable file → Normal file
0
tests/wpt/web-platform-tests/content-security-policy/script-src/script-src-strict_dynamic_meta_tag.html
Executable file → Normal file
0
tests/wpt/web-platform-tests/content-security-policy/script-src/script-src-strict_dynamic_meta_tag.html
Executable file → Normal file
0
tests/wpt/web-platform-tests/content-security-policy/script-src/script-src-strict_dynamic_meta_tag.html.headers
Executable file → Normal file
0
tests/wpt/web-platform-tests/content-security-policy/script-src/script-src-strict_dynamic_meta_tag.html.headers
Executable file → Normal file
0
tests/wpt/web-platform-tests/content-security-policy/script-src/script-src-strict_dynamic_new_function.html
Executable file → Normal file
0
tests/wpt/web-platform-tests/content-security-policy/script-src/script-src-strict_dynamic_new_function.html
Executable file → Normal file
0
tests/wpt/web-platform-tests/content-security-policy/script-src/script-src-strict_dynamic_new_function.html.headers
Executable file → Normal file
0
tests/wpt/web-platform-tests/content-security-policy/script-src/script-src-strict_dynamic_new_function.html.headers
Executable file → Normal file
0
tests/wpt/web-platform-tests/content-security-policy/script-src/script-src-strict_dynamic_non_parser_inserted.html
Executable file → Normal file
0
tests/wpt/web-platform-tests/content-security-policy/script-src/script-src-strict_dynamic_non_parser_inserted.html
Executable file → Normal file
0
tests/wpt/web-platform-tests/content-security-policy/script-src/script-src-strict_dynamic_non_parser_inserted.html.headers
Executable file → Normal file
0
tests/wpt/web-platform-tests/content-security-policy/script-src/script-src-strict_dynamic_non_parser_inserted.html.headers
Executable file → Normal file
0
tests/wpt/web-platform-tests/content-security-policy/script-src/script-src-strict_dynamic_parser_inserted.html
Executable file → Normal file
0
tests/wpt/web-platform-tests/content-security-policy/script-src/script-src-strict_dynamic_parser_inserted.html
Executable file → Normal file
0
tests/wpt/web-platform-tests/content-security-policy/script-src/script-src-strict_dynamic_parser_inserted.html.headers
Executable file → Normal file
0
tests/wpt/web-platform-tests/content-security-policy/script-src/script-src-strict_dynamic_parser_inserted.html.headers
Executable file → Normal file
0
tests/wpt/web-platform-tests/content-security-policy/script-src/script-src-strict_dynamic_parser_inserted_correct_nonce.html
Executable file → Normal file
0
tests/wpt/web-platform-tests/content-security-policy/script-src/script-src-strict_dynamic_parser_inserted_correct_nonce.html
Executable file → Normal file
0
tests/wpt/web-platform-tests/content-security-policy/script-src/simpleSourcedScript.js
Executable file → Normal file
0
tests/wpt/web-platform-tests/content-security-policy/script-src/simpleSourcedScript.js
Executable file → Normal file
0
tests/wpt/web-platform-tests/css/CSS2/backgrounds/background-position-001.xht
Executable file → Normal file
0
tests/wpt/web-platform-tests/css/CSS2/backgrounds/background-position-001.xht
Executable file → Normal file
0
tests/wpt/web-platform-tests/css/CSS2/backgrounds/background-position-002.xht
Executable file → Normal file
0
tests/wpt/web-platform-tests/css/CSS2/backgrounds/background-position-002.xht
Executable file → Normal file
0
tests/wpt/web-platform-tests/css/CSS2/backgrounds/support/ruler-h-200px-400px.png
Executable file → Normal file
0
tests/wpt/web-platform-tests/css/CSS2/backgrounds/support/ruler-h-200px-400px.png
Executable file → Normal file
Before Width: | Height: | Size: 420 B After Width: | Height: | Size: 420 B |
0
tests/wpt/web-platform-tests/css/CSS2/backgrounds/support/ruler-v-100px-200px-300px.png
Executable file → Normal file
0
tests/wpt/web-platform-tests/css/CSS2/backgrounds/support/ruler-v-100px-200px-300px.png
Executable file → Normal file
Before Width: | Height: | Size: 364 B After Width: | Height: | Size: 364 B |
0
tests/wpt/web-platform-tests/css/CSS2/borders/border-conflict-style-101.xht
Executable file → Normal file
0
tests/wpt/web-platform-tests/css/CSS2/borders/border-conflict-style-101.xht
Executable file → Normal file
0
tests/wpt/web-platform-tests/css/CSS2/borders/border-conflict-style-102.xht
Executable file → Normal file
0
tests/wpt/web-platform-tests/css/CSS2/borders/border-conflict-style-102.xht
Executable file → Normal file
0
tests/wpt/web-platform-tests/css/CSS2/borders/border-conflict-style-103.xht
Executable file → Normal file
0
tests/wpt/web-platform-tests/css/CSS2/borders/border-conflict-style-103.xht
Executable file → Normal file
0
tests/wpt/web-platform-tests/css/CSS2/borders/border-conflict-style-104.xht
Executable file → Normal file
0
tests/wpt/web-platform-tests/css/CSS2/borders/border-conflict-style-104.xht
Executable file → Normal file
0
tests/wpt/web-platform-tests/css/CSS2/borders/border-conflict-style-105.xht
Executable file → Normal file
0
tests/wpt/web-platform-tests/css/CSS2/borders/border-conflict-style-105.xht
Executable file → Normal file
0
tests/wpt/web-platform-tests/css/CSS2/borders/border-conflict-style-106.xht
Executable file → Normal file
0
tests/wpt/web-platform-tests/css/CSS2/borders/border-conflict-style-106.xht
Executable file → Normal file
0
tests/wpt/web-platform-tests/css/CSS2/borders/border-style-applies-to-016.xht
Executable file → Normal file
0
tests/wpt/web-platform-tests/css/CSS2/borders/border-style-applies-to-016.xht
Executable file → Normal file
0
tests/wpt/web-platform-tests/css/CSS2/borders/border-style-applies-to-017.xht
Executable file → Normal file
0
tests/wpt/web-platform-tests/css/CSS2/borders/border-style-applies-to-017.xht
Executable file → Normal file
0
tests/wpt/web-platform-tests/css/CSS2/borders/border-style-applies-to-018.xht
Executable file → Normal file
0
tests/wpt/web-platform-tests/css/CSS2/borders/border-style-applies-to-018.xht
Executable file → Normal file
0
tests/wpt/web-platform-tests/css/CSS2/borders/border-style-applies-to-019.xht
Executable file → Normal file
0
tests/wpt/web-platform-tests/css/CSS2/borders/border-style-applies-to-019.xht
Executable file → Normal file
0
tests/wpt/web-platform-tests/css/CSS2/borders/border-style-applies-to-020.xht
Executable file → Normal file
0
tests/wpt/web-platform-tests/css/CSS2/borders/border-style-applies-to-020.xht
Executable file → Normal file
0
tests/wpt/web-platform-tests/css/CSS2/borders/border-style-applies-to-021.xht
Executable file → Normal file
0
tests/wpt/web-platform-tests/css/CSS2/borders/border-style-applies-to-021.xht
Executable file → Normal file
0
tests/wpt/web-platform-tests/css/CSS2/borders/border-style-applies-to-022.xht
Executable file → Normal file
0
tests/wpt/web-platform-tests/css/CSS2/borders/border-style-applies-to-022.xht
Executable file → Normal file
0
tests/wpt/web-platform-tests/css/CSS2/borders/border-style-applies-to-023.xht
Executable file → Normal file
0
tests/wpt/web-platform-tests/css/CSS2/borders/border-style-applies-to-023.xht
Executable file → Normal file
0
tests/wpt/web-platform-tests/css/CSS2/borders/border-style-applies-to-024.xht
Executable file → Normal file
0
tests/wpt/web-platform-tests/css/CSS2/borders/border-style-applies-to-024.xht
Executable file → Normal file
0
tests/wpt/web-platform-tests/css/CSS2/borders/border-style-applies-to-025.xht
Executable file → Normal file
0
tests/wpt/web-platform-tests/css/CSS2/borders/border-style-applies-to-025.xht
Executable file → Normal file
0
tests/wpt/web-platform-tests/css/CSS2/borders/border-style-applies-to-026.xht
Executable file → Normal file
0
tests/wpt/web-platform-tests/css/CSS2/borders/border-style-applies-to-026.xht
Executable file → Normal file
0
tests/wpt/web-platform-tests/css/CSS2/borders/border-style-applies-to-027.xht
Executable file → Normal file
0
tests/wpt/web-platform-tests/css/CSS2/borders/border-style-applies-to-027.xht
Executable file → Normal file
0
tests/wpt/web-platform-tests/css/CSS2/box-display/display-018.xht
Executable file → Normal file
0
tests/wpt/web-platform-tests/css/CSS2/box-display/display-018.xht
Executable file → Normal file
0
tests/wpt/web-platform-tests/css/CSS2/cascade/at-import-008.xht
Executable file → Normal file
0
tests/wpt/web-platform-tests/css/CSS2/cascade/at-import-008.xht
Executable file → Normal file
0
tests/wpt/web-platform-tests/css/CSS2/cascade/cascade-precedence-001.xht
Executable file → Normal file
0
tests/wpt/web-platform-tests/css/CSS2/cascade/cascade-precedence-001.xht
Executable file → Normal file
0
tests/wpt/web-platform-tests/css/CSS2/cascade/cascade-precedence-002.xht
Executable file → Normal file
0
tests/wpt/web-platform-tests/css/CSS2/cascade/cascade-precedence-002.xht
Executable file → Normal file
0
tests/wpt/web-platform-tests/css/CSS2/floats-clear/float-005.xht
Executable file → Normal file
0
tests/wpt/web-platform-tests/css/CSS2/floats-clear/float-005.xht
Executable file → Normal file
0
tests/wpt/web-platform-tests/css/CSS2/floats-clear/margin-collapse-031.xht
Executable file → Normal file
0
tests/wpt/web-platform-tests/css/CSS2/floats-clear/margin-collapse-031.xht
Executable file → Normal file
0
tests/wpt/web-platform-tests/css/CSS2/floats-clear/margin-collapse-clear-012.xht
Executable file → Normal file
0
tests/wpt/web-platform-tests/css/CSS2/floats-clear/margin-collapse-clear-012.xht
Executable file → Normal file
0
tests/wpt/web-platform-tests/css/CSS2/floats-clear/margin-collapse-clear-013.xht
Executable file → Normal file
0
tests/wpt/web-platform-tests/css/CSS2/floats-clear/margin-collapse-clear-013.xht
Executable file → Normal file
0
tests/wpt/web-platform-tests/css/CSS2/floats-clear/margin-collapse-clear-014.xht
Executable file → Normal file
0
tests/wpt/web-platform-tests/css/CSS2/floats-clear/margin-collapse-clear-014.xht
Executable file → Normal file
0
tests/wpt/web-platform-tests/css/CSS2/floats-clear/margin-collapse-clear-015.xht
Executable file → Normal file
0
tests/wpt/web-platform-tests/css/CSS2/floats-clear/margin-collapse-clear-015.xht
Executable file → Normal file
0
tests/wpt/web-platform-tests/css/CSS2/floats-clear/margin-collapse-clear-016.xht
Executable file → Normal file
0
tests/wpt/web-platform-tests/css/CSS2/floats-clear/margin-collapse-clear-016.xht
Executable file → Normal file
0
tests/wpt/web-platform-tests/css/CSS2/floats-clear/margin-collapse-clear-017.xht
Executable file → Normal file
0
tests/wpt/web-platform-tests/css/CSS2/floats-clear/margin-collapse-clear-017.xht
Executable file → Normal file
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue