NEW287997
[macOS] 4X imported/w3c/web-platform-tests/editing/other/insertparagraph-in-child-of-html.tentative.html?designMode=on&white-space= are flaky text failures
https://bugs.webkit.org/show_bug.cgi?id=287997
Summary [macOS] 4X imported/w3c/web-platform-tests/editing/other/insertparagraph-in-c...
Robert Jenner
Reported 2025-02-19 13:30:58 PST
The following four tests are are flaky text failures on macOS: imported/w3c/web-platform-tests/editing/other/insertparagraph-in-child-of-html.tentative.html?designMode=on&white-space=normal imported/w3c/web-platform-tests/editing/other/insertparagraph-in-child-of-html.tentative.html?designMode=on&white-space=pre imported/w3c/web-platform-tests/editing/other/insertparagraph-in-child-of-html.tentative.html?designMode=on&white-space=pre-line imported/w3c/web-platform-tests/editing/other/insertparagraph-in-child-of-html.tentative.html?designMode=on&white-space=pre-wrap At the filing of this bug these were occurring on wk1, wk2, Intel, and Apple Silicon Macs on Ventura and higher, and according to the history they have been flakes for a long time > 5000 commits back. Filing all of these together as they seem to be slightly different versions of the same test. HISTORY: https://results.webkit.org/?suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&test=imported%2Fw3c%2Fweb-platform-tests%2Fediting%2Fother%2Finsertparagraph-in-child-of-html.tentative.html%3FdesignMode%3Don%26white-space%3Dnormal&test=imported%2Fw3c%2Fweb-platform-tests%2Fediting%2Fother%2Finsertparagraph-in-child-of-html.tentative.html%3FdesignMode%3Don%26white-space%3Dpre&test=imported%2Fw3c%2Fweb-platform-tests%2Fediting%2Fother%2Finsertparagraph-in-child-of-html.tentative.html%3FdesignMode%3Don%26white-space%3Dpre-line&test=imported%2Fw3c%2Fweb-platform-tests%2Fediting%2Fother%2Finsertparagraph-in-child-of-html.tentative.html%3FdesignMode%3Don%26white-space%3Dpre-wrap&architecture=arm64 NORMAL DIFF: https://build.webkit.org/results/Apple-Sequoia-Release-AppleSilicon-WK2-Tests/290604@main%20(1694)/imported/w3c/web-platform-tests/editing/other/insertparagraph-in-child-of-html.tentative_designMode=on&white-space=normal-pretty-diff.html -FAIL insertParagraph in empty <div style="white-space:normal"> after <body> should split the <div> assert_equals: The <div> should be split expected "<head><title>iframe</title></head><body><br></body><div style=\"white-space:normal\"><br></div><div style=\"white-space:normal\"><br></div>" but got "<head><title>iframe</title></head><body><br><div><br></div></body><div style=\"white-space:normal\"></div>" +FAIL insertParagraph in empty <div style="white-space:normal"> after <body> should split the <div> assert_equals: The <div> should be split expected "<head><title>iframe</title></head><body><br></body><div style=\"white-space:normal\"><br></div><div style=\"white-space:normal\"><br></div>" but got "<head><title>iframe</title></head><body><br></body><div style=\"white-space:normal\"></div>" PASS insertParagraph in <div style="white-space:normal"> (containing only a <br>) after <body> should split the <div> PASS insertParagraph in <div style="white-space:normal"> (containing text) after <body> should not create another <div> element FAIL insertParagraph in empty <div style="white-space:normal"> before <body> should split the <div> assert_equals: The <div> should be split expected "<head><title>iframe</title></head><div style=\"white-space:normal\"><br></div><div style=\"white-space:normal\"><br></div><body><br></body>" but got "<head><title>iframe</title></head><div style=\"white-space:normal\"></div><body><br><div><br></div></body>" PRE DIFF: https://build.webkit.org/results/Apple-Sequoia-Release-AppleSilicon-WK2-Tests/290618@main%20(1697)/imported/w3c/web-platform-tests/editing/other/insertparagraph-in-child-of-html.tentative_designMode=on&white-space=pre-pretty-diff.html -FAIL insertParagraph in empty <div style="white-space:pre"> after <body> should split the <div> assert_in_array: The <div> should be split value "<head><title>iframe</title></head><body><br><div><br></div></body><div style=\"white-space:pre\"></div>" not in array ["<head><title>iframe</title></head><body><br></body><div style=\"white-space:pre\">\n</div><div style=\"white-space:pre\">\n</div>", "<head><title>iframe</title></head><body><br></body><div style=\"white-space:pre\"><br></div><div style=\"white-space:pre\"><br></div>"] +FAIL insertParagraph in empty <div style="white-space:pre"> after <body> should split the <div> assert_in_array: The <div> should be split value "<head><title>iframe</title></head><body><br></body><div style=\"white-space:pre\"></div>" not in array ["<head><title>iframe</title></head><body><br></body><div style=\"white-space:pre\">\n</div><div style=\"white-space:pre\">\n</div>", "<head><title>iframe</title></head><body><br></body><div style=\"white-space:pre\"><br></div><div style=\"white-space:pre\"><br></div>"] PASS insertParagraph in <div style="white-space:pre"> (containing only a <br>) after <body> should split the <div> PASS insertParagraph in <div style="white-space:pre"> (containing text) after <body> should not create another <div> element FAIL insertParagraph in empty <div style="white-space:pre"> before <body> should split the <div> assert_in_array: The <div> should be split value "<head><title>iframe</title></head><div style=\"white-space:pre\"></div><body><br><div><br></div></body>" not in array ["<head><title>iframe</title></head><div style=\"white-space:pre\">\n</div><div style=\"white-space:pre\">\n</div><body><br></body>", "<head><title>iframe</title></head><div style=\"white-space:pre\"><br></div><div style=\"white-space:pre\"><br></div><body><br></body>"] PRE-LINE DIFF https://build.webkit.org/results/Apple-Sequoia-Release-AppleSilicon-WK2-Tests/290618@main%20(1697)/imported/w3c/web-platform-tests/editing/other/insertparagraph-in-child-of-html.tentative_designMode=on&white-space=pre-line-pretty-diff.html -FAIL insertParagraph in empty <div style="white-space:pre-line"> after <body> should split the <div> assert_in_array: The <div> should be split value "<head><title>iframe</title></head><body><br><div><br></div></body><div style=\"white-space:pre-line\"></div>" not in array ["<head><title>iframe</title></head><body><br></body><div style=\"white-space:pre-line\">\n</div><div style=\"white-space:pre-line\">\n</div>", "<head><title>iframe</title></head><body><br></body><div style=\"white-space:pre-line\"><br></div><div style=\"white-space:pre-line\"><br></div>"] +FAIL insertParagraph in empty <div style="white-space:pre-line"> after <body> should split the <div> assert_in_array: The <div> should be split value "<head><title>iframe</title></head><body><br></body><div style=\"white-space:pre-line\"></div>" not in array ["<head><title>iframe</title></head><body><br></body><div style=\"white-space:pre-line\">\n</div><div style=\"white-space:pre-line\">\n</div>", "<head><title>iframe</title></head><body><br></body><div style=\"white-space:pre-line\"><br></div><div style=\"white-space:pre-line\"><br></div>"] PASS insertParagraph in <div style="white-space:pre-line"> (containing only a <br>) after <body> should split the <div> PASS insertParagraph in <div style="white-space:pre-line"> (containing text) after <body> should not create another <div> element FAIL insertParagraph in empty <div style="white-space:pre-line"> before <body> should split the <div> assert_in_array: The <div> should be split value "<head><title>iframe</title></head><div style=\"white-space:pre-line\"></div><body><br><div><br></div></body>" not in array ["<head><title>iframe</title></head><div style=\"white-space:pre-line\">\n</div><div style=\"white-space:pre-line\">\n</div><body><br></body>", "<head><title>iframe</title></head><div style=\"white-space:pre-line\"><br></div><div style=\"white-space:pre-line\"><br></div><body><br></body>"] PRE-WRAP DIFF: https://build.webkit.org/results/Apple-Sequoia-Release-AppleSilicon-WK2-Tests/290618@main%20(1697)/imported/w3c/web-platform-tests/editing/other/insertparagraph-in-child-of-html.tentative_designMode=on&white-space=pre-wrap-pretty-diff.html -FAIL insertParagraph in empty <div style="white-space:pre-wrap"> after <body> should split the <div> assert_in_array: The <div> should be split value "<head><title>iframe</title></head><body><br><div><br></div></body><div style=\"white-space:pre-wrap\"></div>" not in array ["<head><title>iframe</title></head><body><br></body><div style=\"white-space:pre-wrap\">\n</div><div style=\"white-space:pre-wrap\">\n</div>", "<head><title>iframe</title></head><body><br></body><div style=\"white-space:pre-wrap\"><br></div><div style=\"white-space:pre-wrap\"><br></div>"] +FAIL insertParagraph in empty <div style="white-space:pre-wrap"> after <body> should split the <div> assert_in_array: The <div> should be split value "<head><title>iframe</title></head><body><br></body><div style=\"white-space:pre-wrap\"></div>" not in array ["<head><title>iframe</title></head><body><br></body><div style=\"white-space:pre-wrap\">\n</div><div style=\"white-space:pre-wrap\">\n</div>", "<head><title>iframe</title></head><body><br></body><div style=\"white-space:pre-wrap\"><br></div><div style=\"white-space:pre-wrap\"><br></div>"] PASS insertParagraph in <div style="white-space:pre-wrap"> (containing only a <br>) after <body> should split the <div> PASS insertParagraph in <div style="white-space:pre-wrap"> (containing text) after <body> should not create another <div> element FAIL insertParagraph in empty <div style="white-space:pre-wrap"> before <body> should split the <div> assert_in_array: The <div> should be split value "<head><title>iframe</title></head><div style=\"white-space:pre-wrap\"></div><body><br><div><br></div></body>" not in array ["<head><title>iframe</title></head><div style=\"white-space:pre-wrap\">\n</div><div style=\"white-space:pre-wrap\">\n</div><body><br></body>", "<head><title>iframe</title></head><div style=\"white-space:pre-wrap\"><br></div><div style=\"white-space:pre-wrap\"><br></div><body><br></body>"]
Attachments
Radar WebKit Bug Importer
Comment 1 2025-02-19 13:37:15 PST
Robert Jenner
Comment 2 2025-02-19 13:43:57 PST
I have been trivially been able to reproduce each of these test failures on macOS Sequoia Production ToT running the test as follows: run-webkit-tests <Insert_Test_Here> --iterations 1000 I was able to reproduce the failures on average 3 times with each test running per 1000 iterations.
EWS
Comment 3 2025-02-19 13:58:39 PST
Test gardening commit 290642@main (dd6605004457): <https://commits.webkit.org/290642@main> Reviewed commits have been landed. Closing PR #40894 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.