Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update web-platform-tests to revision 38bd28fe2368c650cf6e57be205cf31…
…18dbd4997
- Loading branch information
1 parent
a28e15e
commit 85fe63f
Showing
165 changed files
with
2,144 additions
and
2,644 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
25 changes: 25 additions & 0 deletions
25
tests/wpt/metadata/WebIDL/ecmascript-binding/constructors.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
[constructors.html] | ||
[Subclass constructor in child window] | ||
expected: FAIL | ||
|
||
[Constructor in child window with bad NewTarget from parent window] | ||
expected: FAIL | ||
|
||
[Subclass constructor in parent window] | ||
expected: FAIL | ||
|
||
[Constructor in parent window with normal NewTarget from child window] | ||
expected: FAIL | ||
|
||
[Subclass constructor in child window with parent class in parent window] | ||
expected: FAIL | ||
|
||
[Constructor in parent window with bad NewTarget from child window] | ||
expected: FAIL | ||
|
||
[Constructor in child window with normal NewTarget from parent window] | ||
expected: FAIL | ||
|
||
[Subclass constructor in parent window with parent class in child window] | ||
expected: FAIL | ||
|
2 changes: 2 additions & 0 deletions
2
tests/wpt/metadata/css/CSS2/text/text-indent-wrap-001.xht.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[text-indent-wrap-001.xht] | ||
expected: FAIL |
3 changes: 0 additions & 3 deletions
3
tests/wpt/metadata/css/css-backgrounds/border-bottom-left-radius-004.xht.ini
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
tests/wpt/metadata/css/css-backgrounds/border-bottom-left-radius-005.xht.ini
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
tests/wpt/metadata/css/css-backgrounds/border-bottom-right-radius-004.xht.ini
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
tests/wpt/metadata/css/css-backgrounds/border-bottom-right-radius-005.xht.ini
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
tests/wpt/metadata/css/css-backgrounds/border-image-6.html.ini
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
tests/wpt/metadata/css/css-backgrounds/border-top-left-radius-004.xht.ini
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
tests/wpt/metadata/css/css-backgrounds/border-top-left-radius-005.xht.ini
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
tests/wpt/metadata/css/css-backgrounds/border-top-right-radius-004.xht.ini
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
tests/wpt/metadata/css/css-backgrounds/border-top-right-radius-005.xht.ini
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
tests/wpt/metadata/css/css-text/white-space/white-space-wrap-after-nowrap-001.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[white-space-wrap-after-nowrap-001.html] | ||
expected: FAIL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
...ocuments/javascript-url-abort/javascript-url-abort-return-value-string.tentative.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[javascript-url-abort-return-value-string.tentative.html] | ||
[Aborting fetch for javascript:string navigation] | ||
expected: FAIL | ||
|
5 changes: 0 additions & 5 deletions
5
...ments/javascript-url-abort/javascript-url-abort-return-value-undefined.tentative.html.ini
This file was deleted.
Oops, something went wrong.
4 changes: 4 additions & 0 deletions
4
...wsing-the-web/navigating-across-documents/navigation-unload-same-origin-fragment.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[navigation-unload-same-origin-fragment.html] | ||
[Tests that a fragment navigation in the unload handler will not block the initial navigation] | ||
expected: FAIL | ||
|
4 changes: 0 additions & 4 deletions
4
.../wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_1.html.ini
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
.../wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_4.html.ini
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
.../wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_5.html.ini
This file was deleted.
Oops, something went wrong.
4 changes: 4 additions & 0 deletions
4
.../wpt/metadata/html/semantics/links/following-hyperlinks/activation-behavior.window.js.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[activation-behavior.window.html] | ||
[<a> that is not connected should be followed] | ||
expected: FAIL | ||
|
2 changes: 2 additions & 0 deletions
2
...a/html/semantics/scripting-1/the-script-element/script-onerror-insertion-point-2.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[script-onerror-insertion-point-2.html] | ||
expected: TIMEOUT |
1 change: 0 additions & 1 deletion
1
...a/webaudio/the-audio-api/the-analysernode-interface/realtimeanalyser-fft-scaling.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
[003.html] | ||
type: testharness | ||
expected: ERROR | ||
[shared] | ||
expected: FAIL | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[transition_calc_implicit.html] | ||
expected: TIMEOUT |
8 changes: 8 additions & 0 deletions
8
tests/wpt/web-platform-tests/WebIDL/ecmascript-binding/constructors-support.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<!DOCTYPE html> | ||
<script> | ||
window.badNewTarget = function() {}; | ||
badNewTarget.prototype = 8; | ||
|
||
window.DOMParserSubclass = class extends DOMParser {} | ||
window.ForeignDOMParserSubclass = class extends parent.DOMParser {} | ||
</script> |
96 changes: 96 additions & 0 deletions
96
tests/wpt/web-platform-tests/WebIDL/ecmascript-binding/constructors.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
<!DOCTYPE html> | ||
<meta charset=utf-8> | ||
<title>Realm for constructed objects</title> | ||
<script src="/resources/testharness.js"></script> | ||
<script src="/resources/testharnessreport.js"></script> | ||
<div id=log></div> | ||
<script> | ||
function object_realm(dp) { | ||
// Note that browsers use the URL of the relevant global object's associated | ||
// Document. | ||
// https://github.com/w3c/DOM-Parsing/issues/46 | ||
var url = DOMParser.prototype.parseFromString.call(dp, "x", "text/html").documentURI; | ||
var file = url.slice(url.lastIndexOf("/") + 1); | ||
switch (file) { | ||
case "constructors.html": | ||
return "parent window"; | ||
case "constructors-support.html": | ||
return "child window"; | ||
default: | ||
return "???"; | ||
} | ||
} | ||
|
||
async_test(function() { | ||
var iframe = document.createElement("iframe"); | ||
iframe.onload = this.step_func_done(function() { | ||
var child = iframe.contentWindow; | ||
test(function() { | ||
var dp = new DOMParser(); | ||
assert_equals(Object.getPrototypeOf(dp), DOMParser.prototype); | ||
assert_equals(object_realm(dp), "parent window"); | ||
}, "Normal constructor in parent window"); | ||
|
||
test(function() { | ||
var dp = new child.DOMParser(); | ||
assert_equals(Object.getPrototypeOf(dp), child.DOMParser.prototype); | ||
assert_equals(object_realm(dp), "child window"); | ||
}, "Normal constructor in child window"); | ||
|
||
test(function() { | ||
var dp = Reflect.construct(child.DOMParser, [], DOMParser); | ||
assert_equals(Object.getPrototypeOf(dp), DOMParser.prototype); | ||
assert_equals(object_realm(dp), "child window"); | ||
}, "Constructor in child window with normal NewTarget from parent window"); | ||
|
||
test(function() { | ||
var dp = Reflect.construct(DOMParser, [], child.DOMParser); | ||
assert_equals(Object.getPrototypeOf(dp), child.DOMParser.prototype); | ||
assert_equals(object_realm(dp), "parent window"); | ||
}, "Constructor in parent window with normal NewTarget from child window"); | ||
|
||
test(function() { | ||
class DOMParserSubclass extends DOMParser {} | ||
var dp = new DOMParserSubclass(); | ||
assert_equals(Object.getPrototypeOf(dp), DOMParserSubclass.prototype); | ||
assert_equals(object_realm(dp), "parent window"); | ||
}, "Subclass constructor in parent window"); | ||
|
||
test(function() { | ||
var dp = new child.DOMParserSubclass(); | ||
assert_equals(Object.getPrototypeOf(dp), child.DOMParserSubclass.prototype); | ||
assert_equals(object_realm(dp), "child window"); | ||
}, "Subclass constructor in child window"); | ||
|
||
test(function() { | ||
class ForeignDOMParserSubclass extends child.DOMParser {} | ||
var dp = new ForeignDOMParserSubclass(); | ||
assert_equals(Object.getPrototypeOf(dp), ForeignDOMParserSubclass.prototype); | ||
assert_equals(object_realm(dp), "child window"); | ||
}, "Subclass constructor in parent window with parent class in child window"); | ||
|
||
test(function() { | ||
var dp = new child.ForeignDOMParserSubclass(); | ||
assert_equals(Object.getPrototypeOf(dp), child.ForeignDOMParserSubclass.prototype); | ||
assert_equals(object_realm(dp), "parent window"); | ||
}, "Subclass constructor in child window with parent class in parent window"); | ||
|
||
test(function() { | ||
var badNewTarget = function() {}; | ||
badNewTarget.prototype = 7; | ||
|
||
var dp = Reflect.construct(child.DOMParser, [], badNewTarget); | ||
assert_equals(Object.getPrototypeOf(dp), DOMParser.prototype); | ||
assert_equals(object_realm(dp), "child window"); | ||
}, "Constructor in child window with bad NewTarget from parent window"); | ||
|
||
test(function() { | ||
var dp = Reflect.construct(DOMParser, [], child.badNewTarget); | ||
assert_equals(Object.getPrototypeOf(dp), child.DOMParser.prototype); | ||
assert_equals(object_realm(dp), "parent window"); | ||
}, "Constructor in parent window with bad NewTarget from child window"); | ||
}); | ||
iframe.src = "constructors-support.html"; | ||
document.body.appendChild(iframe); | ||
}); | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
64 changes: 0 additions & 64 deletions
64
tests/wpt/web-platform-tests/css/css-backgrounds/border-bottom-left-radius-003.xht
This file was deleted.
Oops, something went wrong.
23 changes: 23 additions & 0 deletions
23
tests/wpt/web-platform-tests/css/css-backgrounds/border-bottom-left-radius-004-ref.xht
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<html xmlns="http://www.w3.org/1999/xhtml"> | ||
<head> | ||
<title>border-bottom-left-radius: 48px 28px reference</title> | ||
<style type="text/css"> | ||
div | ||
{ | ||
width: 200px; | ||
height: 100px; | ||
|
||
background: orange; | ||
border: 20px solid teal; | ||
border-bottom-left-radius: 48px 28px; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<p>The box should have a border-bottom-left-radius of 48px 28px. The | ||
horizontal radius should therefore be clearly larger than the | ||
vertical radius.</p> | ||
<div></div> | ||
</body> | ||
</html> | ||
|
Oops, something went wrong.