Skip to content
Permalink
Browse files

Update web-platform-tests to revision 38bd28fe2368c650cf6e57be205cf31…

…18dbd4997
  • Loading branch information...
servo-wpt-sync committed Feb 26, 2019
1 parent a28e15e commit 85fe63f51271402875ddc7ffa241a14af3a362b3
Showing with 2,144 additions and 2,644 deletions.
  1. +499 −652 tests/wpt/metadata/MANIFEST.json
  2. +25 −0 tests/wpt/metadata/WebIDL/ecmascript-binding/constructors.html.ini
  3. +2 −0 tests/wpt/metadata/css/CSS2/text/text-indent-wrap-001.xht.ini
  4. +0 −3 tests/wpt/metadata/css/css-backgrounds/border-bottom-left-radius-004.xht.ini
  5. +0 −3 tests/wpt/metadata/css/css-backgrounds/border-bottom-left-radius-005.xht.ini
  6. +0 −3 tests/wpt/metadata/css/css-backgrounds/border-bottom-right-radius-004.xht.ini
  7. +0 −3 tests/wpt/metadata/css/css-backgrounds/border-bottom-right-radius-005.xht.ini
  8. +0 −3 tests/wpt/metadata/css/css-backgrounds/border-image-6.html.ini
  9. +0 −3 tests/wpt/metadata/css/css-backgrounds/border-top-left-radius-004.xht.ini
  10. +0 −3 tests/wpt/metadata/css/css-backgrounds/border-top-left-radius-005.xht.ini
  11. +0 −3 tests/wpt/metadata/css/css-backgrounds/border-top-right-radius-004.xht.ini
  12. +0 −3 tests/wpt/metadata/css/css-backgrounds/border-top-right-radius-005.xht.ini
  13. +0 −12 tests/wpt/metadata/css/css-fonts/variations/at-font-face-font-matching.html.ini
  14. +2 −0 tests/wpt/metadata/css/css-text/white-space/white-space-wrap-after-nowrap-001.html.ini
  15. +1 −1 tests/wpt/metadata/encoding/single-byte-decoder.html.ini
  16. +4 −0 ...across-documents/javascript-url-abort/javascript-url-abort-return-value-string.tentative.html.ini
  17. +0 −5 ...oss-documents/javascript-url-abort/javascript-url-abort-return-value-undefined.tentative.html.ini
  18. +4 −0 ...sers/browsing-the-web/navigating-across-documents/navigation-unload-same-origin-fragment.html.ini
  19. +0 −4 tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_1.html.ini
  20. +0 −4 tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_4.html.ini
  21. +0 −4 tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_5.html.ini
  22. +4 −0 tests/wpt/metadata/html/semantics/links/following-hyperlinks/activation-behavior.window.js.ini
  23. +2 −0 .../metadata/html/semantics/scripting-1/the-script-element/script-onerror-insertion-point-2.html.ini
  24. +0 −1 .../metadata/webaudio/the-audio-api/the-analysernode-interface/realtimeanalyser-fft-scaling.html.ini
  25. +1 −0 tests/wpt/metadata/workers/semantics/run-a-worker/003.html.ini
  26. +2 −0 tests/wpt/mozilla/meta/css/transition_calc_implicit.html.ini
  27. +8 −0 tests/wpt/web-platform-tests/WebIDL/ecmascript-binding/constructors-support.html
  28. +96 −0 tests/wpt/web-platform-tests/WebIDL/ecmascript-binding/constructors.html
  29. +1 −0 tests/wpt/web-platform-tests/css/CSS2/text/text-indent-wrap-001-notref-block-margin.xht
  30. +1 −1 tests/wpt/web-platform-tests/css/CSS2/text/text-indent-wrap-001-ref-float.xht
  31. +1 −2 tests/wpt/web-platform-tests/css/CSS2/text/text-indent-wrap-001.xht
  32. +0 −64 tests/wpt/web-platform-tests/css/css-backgrounds/border-bottom-left-radius-003.xht
  33. +23 −0 tests/wpt/web-platform-tests/css/css-backgrounds/border-bottom-left-radius-004-ref.xht
  34. +22 −61 tests/wpt/web-platform-tests/css/css-backgrounds/border-bottom-left-radius-004.xht
  35. +22 −0 tests/wpt/web-platform-tests/css/css-backgrounds/border-bottom-left-radius-005-ref.xht
  36. +22 −61 tests/wpt/web-platform-tests/css/css-backgrounds/border-bottom-left-radius-005.xht
  37. +0 −63 tests/wpt/web-platform-tests/css/css-backgrounds/border-bottom-left-radius-006.xht
  38. +0 −63 tests/wpt/web-platform-tests/css/css-backgrounds/border-bottom-left-radius-007.xht
  39. +0 −62 tests/wpt/web-platform-tests/css/css-backgrounds/border-bottom-left-radius-008.xht
  40. +0 −67 tests/wpt/web-platform-tests/css/css-backgrounds/border-bottom-left-radius-009.xht
  41. +0 −63 tests/wpt/web-platform-tests/css/css-backgrounds/border-bottom-right-radius-003.xht
  42. +23 −0 tests/wpt/web-platform-tests/css/css-backgrounds/border-bottom-right-radius-004-ref.xht
  43. +22 −60 tests/wpt/web-platform-tests/css/css-backgrounds/border-bottom-right-radius-004.xht
  44. +22 −0 tests/wpt/web-platform-tests/css/css-backgrounds/border-bottom-right-radius-005-ref.xht
  45. +22 −61 tests/wpt/web-platform-tests/css/css-backgrounds/border-bottom-right-radius-005.xht
  46. +0 −63 tests/wpt/web-platform-tests/css/css-backgrounds/border-bottom-right-radius-006.xht
  47. +0 −63 tests/wpt/web-platform-tests/css/css-backgrounds/border-bottom-right-radius-007.xht
  48. +0 −62 tests/wpt/web-platform-tests/css/css-backgrounds/border-bottom-right-radius-008.xht
  49. +0 −67 tests/wpt/web-platform-tests/css/css-backgrounds/border-bottom-right-radius-009.xht
  50. +0 −47 tests/wpt/web-platform-tests/css/css-backgrounds/border-image-5.html
  51. +69 −0 tests/wpt/web-platform-tests/css/css-backgrounds/border-image-6-ref.html
  52. +1 −1 tests/wpt/web-platform-tests/css/css-backgrounds/border-image-6.html
  53. +0 −62 tests/wpt/web-platform-tests/css/css-backgrounds/border-top-left-radius-003.xht
  54. +23 −0 tests/wpt/web-platform-tests/css/css-backgrounds/border-top-left-radius-004-ref.xht
  55. +21 −58 tests/wpt/web-platform-tests/css/css-backgrounds/border-top-left-radius-004.xht
  56. +22 −0 tests/wpt/web-platform-tests/css/css-backgrounds/border-top-left-radius-005-ref.xht
  57. +21 −59 tests/wpt/web-platform-tests/css/css-backgrounds/border-top-left-radius-005.xht
  58. +0 −62 tests/wpt/web-platform-tests/css/css-backgrounds/border-top-left-radius-006.xht
  59. +0 −62 tests/wpt/web-platform-tests/css/css-backgrounds/border-top-left-radius-007.xht
  60. +0 −59 tests/wpt/web-platform-tests/css/css-backgrounds/border-top-left-radius-008.xht
  61. +0 −66 tests/wpt/web-platform-tests/css/css-backgrounds/border-top-left-radius-009.xht
  62. +0 −62 tests/wpt/web-platform-tests/css/css-backgrounds/border-top-right-radius-003.xht
  63. +22 −0 tests/wpt/web-platform-tests/css/css-backgrounds/border-top-right-radius-004-ref.xht
  64. +21 −59 tests/wpt/web-platform-tests/css/css-backgrounds/border-top-right-radius-004.xht
  65. +22 −0 tests/wpt/web-platform-tests/css/css-backgrounds/border-top-right-radius-005-ref.xht
  66. +21 −59 tests/wpt/web-platform-tests/css/css-backgrounds/border-top-right-radius-005.xht
  67. +0 −62 tests/wpt/web-platform-tests/css/css-backgrounds/border-top-right-radius-006.xht
  68. +0 −62 tests/wpt/web-platform-tests/css/css-backgrounds/border-top-right-radius-007.xht
  69. +0 −59 tests/wpt/web-platform-tests/css/css-backgrounds/border-top-right-radius-008.xht
  70. +0 −66 tests/wpt/web-platform-tests/css/css-backgrounds/border-top-right-radius-009.xht
  71. +2 −0 tests/wpt/web-platform-tests/css/css-backgrounds/parsing/border-image-slice-invalid.html
  72. BIN tests/wpt/web-platform-tests/css/css-backgrounds/support/reftest-border-image-5.png
  73. +1 −1 tests/wpt/web-platform-tests/css/css-flexbox/flex-wrap-003.html
  74. +25 −0 tests/wpt/web-platform-tests/css/css-flexbox/flex-wrap-004.html
  75. +1 −1 tests/wpt/web-platform-tests/css/css-images/multiple-position-color-stop-conic.html
  76. +1 −1 tests/wpt/web-platform-tests/css/css-images/multiple-position-color-stop-linear.html
  77. +1 −1 tests/wpt/web-platform-tests/css/css-images/multiple-position-color-stop-radial.html
  78. 0 tests/wpt/web-platform-tests/css/css-images/{support → reference}/100x100-blue-green.html
  79. +1 −1 tests/wpt/web-platform-tests/css/css-namespaces/prefix-001.xml
  80. +1 −1 tests/wpt/web-platform-tests/css/css-namespaces/prefix-002.xml
  81. +1 −1 tests/wpt/web-platform-tests/css/css-namespaces/prefix-003.xml
  82. +1 −1 tests/wpt/web-platform-tests/css/css-namespaces/prefix-004.xml
  83. +1 −1 tests/wpt/web-platform-tests/css/css-namespaces/prefix-005.xml
  84. +1 −1 tests/wpt/web-platform-tests/css/css-namespaces/prefix-006.xml
  85. 0 tests/wpt/web-platform-tests/css/css-namespaces/{reftest → reference}/ref-lime-1-block.xml
  86. 0 tests/wpt/web-platform-tests/css/css-namespaces/{reftest → reference}/ref-lime-1-generic.xml
  87. 0 tests/wpt/web-platform-tests/css/css-namespaces/{reftest → reference}/ref-lime-1.xml
  88. 0 tests/wpt/web-platform-tests/css/css-namespaces/{reftest → reference}/ref-lime-2-generic.xml
  89. 0 tests/wpt/web-platform-tests/css/css-namespaces/{reftest → reference}/ref-lime-2.xml
  90. 0 tests/wpt/web-platform-tests/css/css-namespaces/{reftest → reference}/ref-lime-3.xml
  91. 0 tests/wpt/web-platform-tests/css/css-namespaces/{reftest → reference}/ref-lime-5.xml
  92. 0 tests/wpt/web-platform-tests/css/css-namespaces/{reftest → reference}/ref-lime-6.xml
  93. +1 −1 tests/wpt/web-platform-tests/css/css-namespaces/scope-001.xml
  94. +1 −1 tests/wpt/web-platform-tests/css/css-namespaces/scope-002.xml
  95. +1 −1 tests/wpt/web-platform-tests/css/css-namespaces/syntax-001.xml
  96. +1 −1 tests/wpt/web-platform-tests/css/css-namespaces/syntax-002.xml
  97. +1 −1 tests/wpt/web-platform-tests/css/css-namespaces/syntax-003.xml
  98. +1 −1 tests/wpt/web-platform-tests/css/css-namespaces/syntax-004.xml
  99. +1 −1 tests/wpt/web-platform-tests/css/css-namespaces/syntax-005.xml
  100. +1 −1 tests/wpt/web-platform-tests/css/css-namespaces/syntax-006.xml
  101. +1 −1 tests/wpt/web-platform-tests/css/css-namespaces/syntax-007.xml
  102. +1 −1 tests/wpt/web-platform-tests/css/css-namespaces/syntax-008.xml
  103. +1 −1 tests/wpt/web-platform-tests/css/css-namespaces/syntax-009.xml
  104. +1 −1 tests/wpt/web-platform-tests/css/css-namespaces/syntax-010.xml
  105. +1 −1 tests/wpt/web-platform-tests/css/css-namespaces/syntax-011.xml
  106. +1 −1 tests/wpt/web-platform-tests/css/css-namespaces/syntax-012.xml
  107. +1 −1 tests/wpt/web-platform-tests/css/css-namespaces/syntax-013.xml
  108. +1 −1 tests/wpt/web-platform-tests/css/css-namespaces/syntax-014.xml
  109. +1 −1 tests/wpt/web-platform-tests/css/css-namespaces/syntax-015.xml
  110. +30 −0 .../web-platform-tests/css/css-text/white-space/reference/white-space-wrap-after-nowrap-001-ref.html
  111. +41 −0 tests/wpt/web-platform-tests/css/css-text/white-space/white-space-wrap-after-nowrap-001.html
  112. 0 ...tform-tests/css/css-transforms/{reftest → reference}/transform-3d-rotateY-stair-above-ref-001.xht
  113. 0 .../wpt/web-platform-tests/css/css-transforms/{reftest → reference}/transform-applies-to-001-ref.xht
  114. 0 .../wpt/web-platform-tests/css/css-transforms/{reftest → reference}/transform-applies-to-002-ref.xht
  115. 0 tests/wpt/web-platform-tests/css/css-transforms/{reftest → reference}/transform-origin-01-ref.html
  116. +1 −1 tests/wpt/web-platform-tests/css/css-transforms/transform-3d-rotateY-stair-above-001.xht
  117. +1 −1 tests/wpt/web-platform-tests/css/css-transforms/transform-3d-rotateY-stair-below-001.xht
  118. +1 −1 tests/wpt/web-platform-tests/css/css-transforms/transform-applies-to-001.xht
  119. +1 −1 tests/wpt/web-platform-tests/css/css-transforms/transform-applies-to-002.xht
  120. +1 −1 tests/wpt/web-platform-tests/css/css-transforms/transform-box/fill-box-mutation.html
  121. +1 −1 tests/wpt/web-platform-tests/css/css-transforms/transform-box/fill-box.html
  122. 0 ...web-platform-tests/css/css-transforms/transform-box/{support → reference}/greensquare200x200.html
  123. +1 −1 tests/wpt/web-platform-tests/css/css-transforms/transform-box/value-changed.html
  124. +1 −1 tests/wpt/web-platform-tests/css/css-transforms/transform-box/view-box-mutation.html
  125. +1 −1 tests/wpt/web-platform-tests/css/css-transforms/transform-box/view-box-nested.html
  126. +1 −1 tests/wpt/web-platform-tests/css/css-transforms/transform-box/view-box-viewbox-nested.html
  127. +1 −1 tests/wpt/web-platform-tests/css/css-transforms/transform-box/view-box-viewbox.html
  128. +1 −1 tests/wpt/web-platform-tests/css/css-transforms/transform-box/view-box.html
  129. +1 −1 tests/wpt/web-platform-tests/css/css-transforms/transform-origin-01.html
  130. +0 −3 tests/wpt/web-platform-tests/css/css-transforms/transform3d-perspective-origin-001.html
  131. +1 −0 tests/wpt/web-platform-tests/css/css-transforms/transform3d-perspective-origin-ref.html
  132. +0 −1 tests/wpt/web-platform-tests/css/css-transforms/transform3d-rotate3d-001.html
  133. +0 −1 tests/wpt/web-platform-tests/css/css-transforms/transform3d-rotatex-001.html
  134. +0 −1 tests/wpt/web-platform-tests/css/css-transforms/transform3d-rotatex-perspective-002.html
  135. 0 ...b-platform-tests/css/css-writing-modes/{reftest → reference}/writing-mode-vertical-lr-002-ref.xht
  136. 0 ...b-platform-tests/css/css-writing-modes/{reftest → reference}/writing-mode-vertical-rl-001-ref.xht
  137. 0 ...b-platform-tests/css/css-writing-modes/{reftest → reference}/writing-mode-vertical-rl-002-ref.xht
  138. +1 −1 tests/wpt/web-platform-tests/css/css-writing-modes/writing-mode-vertical-lr-002.xht
  139. +1 −1 tests/wpt/web-platform-tests/css/css-writing-modes/writing-mode-vertical-rl-001.xht
  140. +1 −1 tests/wpt/web-platform-tests/css/css-writing-modes/writing-mode-vertical-rl-002.xht
  141. +1 −1 tests/wpt/web-platform-tests/svg/embedded/image-embedding-svg-with-viewport-units-inline-style.svg
  142. +1 −1 tests/wpt/web-platform-tests/svg/embedded/image-embedding-svg-with-viewport-units.svg
  143. 0 tests/wpt/web-platform-tests/svg/embedded/{support → reference}/green-rect-100x100.svg
  144. +1 −1 tests/wpt/web-platform-tests/svg/shapes/reftests/disabled-shapes-01.svg
  145. 0 tests/wpt/web-platform-tests/svg/shapes/reftests/{support → reference}/empty.svg
  146. +1 −1 tests/wpt/web-platform-tests/tools/manifest/sourcefile.py
  147. +1 −1 tests/wpt/web-platform-tests/tools/requirements_flake8.txt
  148. +1 −1 tests/wpt/web-platform-tests/tools/webdriver/webdriver/client.py
  149. +33 −0 tests/wpt/web-platform-tests/web-animations/interfaces/Animatable/animate.html
  150. +28 −0 tests/wpt/web-platform-tests/web-animations/interfaces/Animatable/getAnimations.html
  151. +307 −0 tests/wpt/web-platform-tests/web-animations/interfaces/Animation/style-change-events.html
  152. +45 −15 tests/wpt/web-platform-tests/web-animations/interfaces/Document/getAnimations.html
  153. +92 −0 tests/wpt/web-platform-tests/web-animations/interfaces/DocumentTimeline/style-change-events.html
  154. +233 −0 tests/wpt/web-platform-tests/web-animations/interfaces/KeyframeEffect/style-change-events.html
  155. +30 −27 tests/wpt/web-platform-tests/webdriver/tests/get_current_url/get.py
  156. +15 −0 tests/wpt/web-platform-tests/webdriver/tests/navigate_to/navigate.py
  157. +9 −1 tests/wpt/web-platform-tests/webdriver/tests/send_alert_text/send.py
  158. +28 −0 tests/wpt/web-platform-tests/webdriver/tests/support/authentication.py
  159. +1 −1 tests/wpt/web-platform-tests/webrtc/RTCPeerConnection-helper.js
  160. +11 −2 tests/wpt/web-platform-tests/webrtc/RTCPeerConnection-remote-track-mute.https.html
  161. +5 −0 tests/wpt/web-platform-tests/webrtc/RTCPeerConnection-removeTrack.https.html
  162. +30 −9 tests/wpt/web-platform-tests/webrtc/RTCPeerConnection-setRemoteDescription-tracks.https.html
  163. +18 −0 tests/wpt/web-platform-tests/webrtc/RTCPeerConnection-track-stats.https.html
  164. +1 −0 tests/wpt/web-platform-tests/webrtc/RTCPeerConnection-transceivers.https.html
  165. +36 −36 tests/wpt/web-platform-tests/webrtc/RTCRtpTransceiver.https.html

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -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

@@ -0,0 +1,2 @@
[text-indent-wrap-001.xht]
expected: FAIL

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.
@@ -107,9 +107,6 @@
[Matching font-style: 'oblique 10deg' should prefer 'oblique 0deg' over 'oblique -50deg -20deg']
expected: FAIL

[Matching font-style: 'oblique 10deg' should prefer 'oblique -50deg -20deg' over 'oblique -40deg -30deg']
expected: FAIL

[Matching font-style: 'oblique 0deg' should prefer 'oblique 0deg' over 'oblique 5deg']
expected: FAIL

@@ -134,9 +131,6 @@
[Matching font-style: 'oblique -10deg' should prefer 'oblique -60deg -30deg' over 'oblique -50deg -40deg']
expected: FAIL

[Matching font-style: 'oblique -10deg' should prefer 'oblique -50deg -40deg' over 'italic']
expected: FAIL

[Matching font-style: 'oblique -10deg' should prefer 'italic' over 'oblique 0deg 10deg']
expected: FAIL

@@ -317,12 +311,6 @@
[Matching font-style: 'oblique 0deg' should prefer 'oblique 5deg' over 'oblique 15deg 20deg']
expected: FAIL

[Matching font-weight: '399' should prefer '500 501' over '502 510']
expected: FAIL

[Matching font-stretch: '100%' should prefer '100%' over '110% 120%']
expected: FAIL

[Matching font-style: 'oblique 0deg' should prefer 'oblique 40deg 50deg' over 'italic']
expected: FAIL

@@ -0,0 +1,2 @@
[white-space-wrap-after-nowrap-001.html]
expected: FAIL
@@ -32,7 +32,7 @@


[single-byte-decoder.html?XMLHttpRequest]
expected: TIMEOUT
expected: CRASH
[ISO-8859-2: iso_8859-2:1987 (XMLHttpRequest)]
expected: FAIL

@@ -0,0 +1,4 @@
[javascript-url-abort-return-value-string.tentative.html]
[Aborting fetch for javascript:string navigation]
expected: FAIL

This file was deleted.

Oops, something went wrong.
@@ -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

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.
@@ -0,0 +1,4 @@
[activation-behavior.window.html]
[<a> that is not connected should be followed]
expected: FAIL

@@ -0,0 +1,2 @@
[script-onerror-insertion-point-2.html]
expected: TIMEOUT
@@ -1,5 +1,4 @@
[realtimeanalyser-fft-scaling.html]
expected: TIMEOUT
[X 2048-point FFT peak position is not equal to 64. Got 0.]
expected: FAIL

@@ -1,5 +1,6 @@
[003.html]
type: testharness
expected: ERROR
[shared]
expected: FAIL

@@ -0,0 +1,2 @@
[transition_calc_implicit.html]
expected: TIMEOUT
@@ -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>
@@ -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>
@@ -2,6 +2,7 @@
<title>CSS Reftest Reference</title>
<link rel="author" title="L. David Baron" href="https://dbaron.org/" />
<link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" />
<link rel="mismatch" href="text-indent-wrap-001-ref-inline-margin.xht"/>
<meta name="flags" content="" />
<style type="text/css">
p { margin-left: 100px }
@@ -2,7 +2,7 @@
<title>CSS Reftest Reference</title>
<link rel="author" title="L. David Baron" href="https://dbaron.org/" />
<link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" />
<link rel="match" href="text-indent-wrap-001-ref-inline-margin.xht"/>
<link rel="mismatch" href="text-indent-wrap-001-notref-block-margin.xht"/>
<meta name="flags" content="" />
<style type="text/css">
i { float: left; height: 0.3em; width: 100px; }
@@ -4,7 +4,6 @@
<link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#indentation-prop" />
<link rel="match" href="text-indent-wrap-001-ref-inline-margin.xht"/>
<link rel="mismatch" href="text-indent-wrap-001-notref-block-margin.xht"/>
<meta name="flags" content="" />
<style type="text/css">
p { text-indent: 100px }
@@ -15,4 +14,4 @@ span { background: yellow }
<p><span>This is a long piece of text that will wrap to multiple lines. This is a long piece of text that will wrap to multiple lines. This is a long piece of text that will wrap to multiple lines. This is a long piece of text that will wrap to multiple lines. This is a long piece of text that will wrap to multiple lines. This is a long piece of text that will wrap to multiple lines. This is a long piece of text that will wrap to multiple lines. This is a long piece of text that will wrap to multiple lines. This is a long piece of text that will wrap to multiple lines. This is a long piece of text that will wrap to multiple lines. This is a long piece of text that will wrap to multiple lines. This is a long piece of text that will wrap to multiple lines.</span></p>


</body></html>
</body></html>

This file was deleted.

Oops, something went wrong.
@@ -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.

0 comments on commit 85fe63f

Please sign in to comment.
You can’t perform that action at this time.