Title: [283657] trunk/LayoutTests
- Revision
- 283657
- Author
- [email protected]
- Date
- 2021-10-06 13:47:13 -0700 (Wed, 06 Oct 2021)
Log Message
Rewrite plugins/object-onfocus-mutation-crash.html to stop relying on autofocus
https://bugs.webkit.org/show_bug.cgi?id=231327
Reviewed by Chris Dumez.
This test mostly tests onfocus and <object>, we don't need it to use autofocus.
The new autofocus timing will be async so we don't want this test to break with the new
behavior implemented. Use input.focus() instead.
* plugins/object-onfocus-mutation-crash.html:
Modified Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (283656 => 283657)
--- trunk/LayoutTests/ChangeLog 2021-10-06 20:46:52 UTC (rev 283656)
+++ trunk/LayoutTests/ChangeLog 2021-10-06 20:47:13 UTC (rev 283657)
@@ -1,3 +1,16 @@
+2021-10-06 Tim Nguyen <[email protected]>
+
+ Rewrite plugins/object-onfocus-mutation-crash.html to stop relying on autofocus
+ https://bugs.webkit.org/show_bug.cgi?id=231327
+
+ Reviewed by Chris Dumez.
+
+ This test mostly tests onfocus and <object>, we don't need it to use autofocus.
+ The new autofocus timing will be async so we don't want this test to break with the new
+ behavior implemented. Use input.focus() instead.
+
+ * plugins/object-onfocus-mutation-crash.html:
+
2021-10-06 Ayumi Kojima <[email protected]>
[ iOS macOS wk2 ] http/tests/preload/onload_event.html is flaky failing.
Modified: trunk/LayoutTests/plugins/object-onfocus-mutation-crash.html (283656 => 283657)
--- trunk/LayoutTests/plugins/object-onfocus-mutation-crash.html 2021-10-06 20:46:52 UTC (rev 283656)
+++ trunk/LayoutTests/plugins/object-onfocus-mutation-crash.html 2021-10-06 20:47:13 UTC (rev 283657)
@@ -1,6 +1,9 @@
<!DOCTYPE html>
<html>
<body>
+<object data=""
+ <input id="input" _onfocus_="crash()">
+</object>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
@@ -7,6 +10,8 @@
testRunner.waitUntilDone();
}
+input.focus();
+
function finish() {
if (window.testRunner)
testRunner.notifyDone();
@@ -17,8 +22,5 @@
setTimeout("finish()", 0);
}
</script>
-<object data=""
-<input autofocus="" _onfocus_="crash()">
-</object>
</body>
</html>
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes