Skip to content

Commit

Permalink
Import wpt@ca171c945b0b4baa360d7e7641fc52437b0ce4d1
Browse files Browse the repository at this point in the history
Using wpt-import in Chromium 6121eab.

Note to sheriffs: This CL imports external tests and adds
expectations for those tests; if this CL is large and causes
a few new failures, please fix the failures by adding new
lines to TestExpectations rather than reverting. See:
https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md

Directory owners for changes in this CL:
hbos@chromium.org, hta@chromium.org, guidou@chromium.org, phancke@microsoft.com:
  external/wpt/webrtc

NOAUTOREVERT=true
R=rubber-stamper@appspot.gserviceaccount.com

No-Export: true
Cq-Include-Trybots: luci.chromium.try:linux-wpt-identity-fyi-rel,linux-wpt-input-fyi-rel,linux-blink-rel
Change-Id: I92024e5b9294fb3699ca1ca31ff8a6d812e346eb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4201950
Auto-Submit: WPT Autoroller <wpt-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1098364}
  • Loading branch information
Chromium WPT Sync authored and Chromium LUCI CQ committed Jan 29, 2023
1 parent ef45bff commit 1da8c0d
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 2 deletions.
11 changes: 10 additions & 1 deletion third_party/blink/web_tests/external/WPT_BASE_MANIFEST_8.json
Expand Up @@ -5080,6 +5080,15 @@
{}
]
]
},
"the-textarea-element": {
"textarea-splittext-with-range-crash.html": [
"9d66a4ae05cccd10bdd851205f6312f3cedd28dd",
[
null,
{}
]
]
}
},
"interactive-elements": {
Expand Down Expand Up @@ -630787,7 +630796,7 @@
]
],
"RTCPeerConnection-relay-canvas.https.html": [
"7c3c92bc8de40f608417663844329ed19f61cea0",
"78df2ee82d623403f2a627b99c43051a99c96edb",
[
null,
{
Expand Down
@@ -0,0 +1,24 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<script>
addEventListener("load", () => {
const textarea = document.querySelector("textarea");
const ul = document.createElement('ul');

const textNodeInTextarea = document.createTextNode("");
textarea.appendChild(textNodeInTextarea);
document.documentElement.getBoundingClientRect();

textarea.appendChild(ul);
const range = document.createRange();
range.selectNode(ul);

textNodeInTextarea.data = "ab";
textNodeInTextarea.splitText(1);
});
</script>
</head>
<body><textarea></textarea></body>
</html>
Expand Up @@ -14,7 +14,7 @@
const canvas =
Object.assign(document.createElement('canvas'), {width, height});
const ctx = canvas.getContext('webgl');
if (ctx === null) return;
assert_not_equals(ctx, null, "webgl is a prerequisite for this test");
requestAnimationFrame(function draw () {
ctx.clearColor(0.0, 1.0, 0.0, 1.0);
ctx.clear(ctx.COLOR_BUFFER_BIT);
Expand Down

0 comments on commit 1da8c0d

Please sign in to comment.