Bug 105954 - [WK2] http/tests/navigation/reload-subframe-object.html fails
Summary: [WK2] http/tests/navigation/reload-subframe-object.html fails
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-02 15:04 PST by Ryosuke Niwa
Modified: 2023-10-18 14:48 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryosuke Niwa 2013-01-02 15:04:23 PST
http/tests/navigation/reload-subframe-object.html has been failing on Mac WebKit2 bots:
http://test-results.appspot.com/dashboards/flakiness_dashboard.html#group=%40ToT%20-%20webkit.org&showExpectations=true&tests=http%2Ftests%2Fnavigation%2Freload-subframe-object.html

--- /Volumes/Data/slave/mountainlion-release-tests-wk2/build/layout-test-results/http/tests/navigation/reload-subframe-object-expected.txt
+++ /Volumes/Data/slave/mountainlion-release-tests-wk2/build/layout-test-results/http/tests/navigation/reload-subframe-object-actual.txt
@@ -1,6 +1 @@
 
-
---------
-Frame: '<!--framePath //<!--frame0-->-->'
---------
-Pass

It appears that WTR isn’t waiting for subframes to load. There’s a line in platform/wk2/TestExpectations that says "# testRunner.queueLoad should consider given target." but I don’t know what that means.
Comment 1 Ryosuke Niwa 2013-01-02 15:13:52 PST
Added a test expectation in http://trac.webkit.org/changeset/138659.
Comment 2 Carlos Garcia Campos 2017-03-24 09:49:26 PDT
This is no longer mac specific, it has started to happen in GTK+ now that we have improved our MIME type registry.
Comment 3 Fujii Hironori 2023-10-18 14:02:02 PDT
(In reply to Ryosuke Niwa from comment #0)
> There’s a line in
> platform/wk2/TestExpectations that says "# testRunner.queueLoad should
> consider given target." but I don’t know what that means.

testRunner.queueLoad takes the second arguemnt 'target'. But, WebKitTestRunner doesn't support it yet.
https://github.com/WebKit/WebKit/blob/3d4708a97aa0fa3ab228eba63a8dbd1b30ad8f7b/Tools/WebKitTestRunner/WorkQueueManager.cpp#L144

However, this is irrevant for this test case because it doesn't use the second arguemnt.
Comment 4 Fujii Hironori 2023-10-18 14:48:51 PDT Comment hidden (obsolete)