Bug 227973 - REGRESSION: http/tests/security/frameNavigation/xss-DENIED-plugin-navigation.html is timing out on some bots
Summary: REGRESSION: http/tests/security/frameNavigation/xss-DENIED-plugin-navigation....
Alias: None
Product: WebKit
Classification: Unclassified
Component: Plug-ins (show other bugs)
Version: WebKit Nightly Build
Hardware: Mac (Apple Silicon) Unspecified
: P2 Normal
Assignee: ayumi_kojima
Keywords: InRadar
Depends on:
Reported: 2021-07-14 16:53 PDT by ayumi_kojima
Modified: 2021-09-14 16:57 PDT (History)
4 users (show)

See Also:

Patch (1.53 KB, patch)
2021-07-15 09:30 PDT, ayumi_kojima
no flags Details | Formatted Diff | Diff
Update TestExpectations (1.52 KB, patch)
2021-07-15 09:46 PDT, ayumi_kojima
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description ayumi_kojima 2021-07-14 16:53:40 PDT

Is timing out on Big Sur wk1 arm64

History: https://results.webkit.org/?suite=layout-tests&test=http%2Ftests%2Fsecurity%2FframeNavigation%2Fxss-DENIED-plugin-navigation.html

I was able to reproduce the timeout on my local intel machine using run-webkit-tests http/tests/security/frameNavigation/xss-DENIED-plugin-navigation.html --iterations 500 --exit-after-n-crashes-or-timeouts 2 -1


--- /Volumes/Data/worker/bigsur-release-applesilicon-tests-wk1/build/layout-test-results/http/tests/security/frameNavigation/xss-DENIED-plugin-navigation-expected.txt
+++ /Volumes/Data/worker/bigsur-release-applesilicon-tests-wk1/build/layout-test-results/http/tests/security/frameNavigation/xss-DENIED-plugin-navigation-actual.txt
@@ -1,5 +1,5 @@
-CONSOLE MESSAGE: Unsafe JavaScript attempt to initiate navigation for frame with URL '' from frame with URL 'http://localhost:8000/security/frameNavigation/resources/frame-with-plugin-to-navigate.html'. The frame attempting navigation is neither same-origin with the target, nor is it the target's parent or opener.
+CONSOLE MESSAGE: TypeError: plg.getURL is not a function. (In 'plg.getURL("navigation-happened.html", "toNavigate")', 'plg.getURL' is undefined)
+FAIL: Timed out waiting for notifyDone to be called
@@ -10,7 +10,6 @@
Comment 1 Radar WebKit Bug Importer 2021-07-14 16:54:22 PDT
Comment 2 ayumi_kojima 2021-07-15 09:19:31 PDT
I was able to reproduce the timeout on both intel and arm64 at r278029 but was not able to reproduce at r278010. There are no spades available to test between r278029 and r278010.
Comment 3 ayumi_kojima 2021-07-15 09:30:35 PDT
Created attachment 433591 [details]
Comment 4 ayumi_kojima 2021-07-15 09:46:56 PDT
Created attachment 433593 [details]
Update TestExpectations
Comment 5 Truitt Savell 2021-07-15 09:50:50 PDT
Comment on attachment 433593 [details]
Update TestExpectations

Clearing flags on attachment: 433593

Committed r279952 (239695@main): <https://commits.webkit.org/239695@main>
Comment 6 Alexey Proskuryakov 2021-07-15 17:47:55 PDT
The history of this test is super weird. It times out either consistently or flakily on various bots, and I don't see what determines that (looking at internal bots makes it even more confusing). And it starts at different points in time, but not with an OS upgrade.

More complete history: https://results.webkit.org/?suite=layout-tests&test=http%2Ftests%2Fsecurity%2FframeNavigation%2Fxss-DENIED-plugin-navigation.html&limit=10000&recent=False
Comment 7 Alexey Proskuryakov 2021-07-15 17:56:25 PDT
I was wondering if this was a bot to bot difference, but no - on the flaky queue, we get different results form the same tester bot, even for builds produced by the same builder.
Comment 8 ayumi_kojima 2021-09-14 16:57:27 PDT
This seems fixed. Removing the expectations: https://trac.webkit.org/changeset/282423/webkit