Title: [283708] trunk/LayoutTests
- Revision
- 283708
- Author
- n...@apple.com
- Date
- 2021-10-07 07:11:48 -0700 (Thu, 07 Oct 2021)
Log Message
Stop relying on autofocus for deleteFromDocument-crash.html
https://bugs.webkit.org/show_bug.cgi?id=231357
Reviewed by Antti Koivisto.
Stop relying on current autofocus sync timing which will become async.
* imported/blink/editing/selection/deleteFromDocument-crash-expected.html:
* imported/blink/editing/selection/deleteFromDocument-crash.html:
Modified Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (283707 => 283708)
--- trunk/LayoutTests/ChangeLog 2021-10-07 13:41:03 UTC (rev 283707)
+++ trunk/LayoutTests/ChangeLog 2021-10-07 14:11:48 UTC (rev 283708)
@@ -1,3 +1,15 @@
+2021-10-07 Tim Nguyen <n...@apple.com>
+
+ Stop relying on autofocus for deleteFromDocument-crash.html
+ https://bugs.webkit.org/show_bug.cgi?id=231357
+
+ Reviewed by Antti Koivisto.
+
+ Stop relying on current autofocus sync timing which will become async.
+
+ * imported/blink/editing/selection/deleteFromDocument-crash-expected.html:
+ * imported/blink/editing/selection/deleteFromDocument-crash.html:
+
2021-10-07 Rob Buis <rb...@igalia.com>
Resync the-img-element WPT tests from upstream
Modified: trunk/LayoutTests/imported/blink/editing/selection/deleteFromDocument-crash-expected.html (283707 => 283708)
--- trunk/LayoutTests/imported/blink/editing/selection/deleteFromDocument-crash-expected.html 2021-10-07 13:41:03 UTC (rev 283707)
+++ trunk/LayoutTests/imported/blink/editing/selection/deleteFromDocument-crash-expected.html 2021-10-07 14:11:48 UTC (rev 283708)
@@ -1,10 +1,11 @@
+<textarea id="textarea">
+text
+text2
+text3</textarea>
+<iframe srcdoc="foo"></iframe>
<script>
+textarea.focus();
_onload_ = function() {
document.execCommand('selectAll');
}
</script>
-<textarea autofocus >
-text
-text2
-text3</textarea>
-<iframe srcdoc="foo"></iframe>
Modified: trunk/LayoutTests/imported/blink/editing/selection/deleteFromDocument-crash.html (283707 => 283708)
--- trunk/LayoutTests/imported/blink/editing/selection/deleteFromDocument-crash.html 2021-10-07 13:41:03 UTC (rev 283707)
+++ trunk/LayoutTests/imported/blink/editing/selection/deleteFromDocument-crash.html 2021-10-07 14:11:48 UTC (rev 283708)
@@ -1,4 +1,10 @@
+<textarea id="textarea">
+text
+text2
+text3</textarea>
+<iframe srcdoc="foo"></iframe>
<script>
+textarea.focus();
_onload_ = function() {
document.execCommand('selectAll');
selection = document.getSelection();
@@ -5,8 +11,3 @@
selection.deleteFromDocument();
}
</script>
-<textarea autofocus >
-text
-text2
-text3</textarea>
-<iframe srcdoc="foo"></iframe>
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes