RESOLVED FIXED 172518
[iOS Simulator] http/tests/preload/viewport/meta-viewport-link-headers.php is a flaky failure.
https://bugs.webkit.org/show_bug.cgi?id=172518
Summary [iOS Simulator] http/tests/preload/viewport/meta-viewport-link-headers.php is...
Attachments
Patch (4.72 KB, patch)
2017-08-28 06:41 PDT, Yoav Weiss
no flags
Patch (5.19 KB, patch)
2017-09-04 07:45 PDT, Yoav Weiss
no flags
Patch (5.32 KB, patch)
2017-09-04 07:51 PDT, Yoav Weiss
no flags
Matt Lewis
Comment 1 2017-05-23 11:46:52 PDT
diff: --- /Volumes/Data/slave/ios-simulator-10-release-tests-wk2/build/layout-test-results/http/tests/preload/viewport/meta-viewport-link-headers-expected.txt +++ /Volumes/Data/slave/ios-simulator-10-release-tests-wk2/build/layout-test-results/http/tests/preload/viewport/meta-viewport-link-headers-actual.txt @@ -1,3 +1,3 @@ -PASS Makes sure that Link headers support the media attribute and respond to <meta content=viewport> +FAIL Makes sure that Link headers support the media attribute and respond to <meta content=viewport> assert_true: expected true got false
Yoav Weiss
Comment 2 2017-05-24 00:09:21 PDT
I'll look into that. Is it also flaky on ios?
Alexey Proskuryakov
Comment 3 2017-05-25 13:29:47 PDT
We only run the tests on simulator, so if you are asking about device, then I don't have an answer.
Matt Lewis
Comment 4 2017-05-31 11:22:38 PDT
Jonathan Bedard
Comment 5 2017-08-24 09:54:28 PDT
Yoav, we have recently gotten layout tests running on iOS devices internally. This test is behaving the same way on devices as it is in the simulator. Moved the test expectation in <https://trac.webkit.org/changeset/221142/webkit/>
Yoav Weiss
Comment 6 2017-08-25 04:23:48 PDT
Apologies. This has fallen off my radar. I'll take a look
Yoav Weiss
Comment 7 2017-08-28 06:41:52 PDT
Yoav Weiss
Comment 8 2017-09-01 00:14:08 PDT
Hey Youenn :) Care to take a look at this new and improved test patch?
youenn fablet
Comment 9 2017-09-01 15:57:11 PDT
Comment on attachment 319177 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=319177&action=review > LayoutTests/http/tests/preload/viewport/meta-viewport-link-headers.php:32 > + }, 200); 200 might not be large enough. One approach would be to check for controlLoaded/smallLoaded every 50 ms or so. If both are not true after 10 or 20 tries, test would fail. Once both are true, a last check that largeLoaded is false could be done.
Yoav Weiss
Comment 10 2017-09-04 07:45:44 PDT
Yoav Weiss
Comment 11 2017-09-04 07:46:25 PDT
(In reply to youenn fablet from comment #9) > Comment on attachment 319177 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=319177&action=review > > > LayoutTests/http/tests/preload/viewport/meta-viewport-link-headers.php:32 > > + }, 200); > > 200 might not be large enough. > One approach would be to check for controlLoaded/smallLoaded every 50 ms or > so. > If both are not true after 10 or 20 tries, test would fail. > Once both are true, a last check that largeLoaded is false could be done. Changed to iterate over 50 ms intervals. PTAL :)
Yoav Weiss
Comment 12 2017-09-04 07:51:27 PDT
Yoav Weiss
Comment 13 2017-09-04 20:01:16 PDT
Comment on attachment 319853 [details] Patch Thanks for reviewing! :)
WebKit Commit Bot
Comment 14 2017-09-04 20:31:24 PDT
Comment on attachment 319853 [details] Patch Clearing flags on attachment: 319853 Committed r221604: <http://trac.webkit.org/changeset/221604>
WebKit Commit Bot
Comment 15 2017-09-04 20:31:25 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 16 2017-09-27 12:51:02 PDT
Note You need to log in before you can comment on or make changes to this bug.