WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
223762
[ macOS wk2 ] media/pip-video-going-into-fullscreen.html is a flakey timeout
https://bugs.webkit.org/show_bug.cgi?id=223762
Summary
[ macOS wk2 ] media/pip-video-going-into-fullscreen.html is a flakey timeout
Robert Jenner
Reported
2021-03-25 13:47:44 PDT
media/pip-video-going-into-fullscreen.html is a flakey timeout in macOS release and debug for Catalina and BigSur in wk2. HISTORY URL:
https://results.webkit.org/?suite=layout-tests&test=media%2Fpip-video-going-into-fullscreen.html
DIFF TEXT: -Tests pip video going into fullscreen should exit pip +#PID UNRESPONSIVE - WebKitTestRunner (pid 90418) +FAIL: Timed out waiting for notifyDone to be called -Going into Picture-in-Picture -EXPECTED (video.webkitPresentationMode == 'picture-in-picture') OK -Going into Full Screen from Picture-in-Picture -EXPECTED (document.webkitCurrentFullScreenElement == '[object HTMLVideoElement]') OK -EXPECTED (video.webkitPresentationMode == 'fullscreen') OK -END OF TEST - +#EOF +#EOF
Attachments
Test list used to reproduce crash.
(301.97 KB, text/plain)
2021-03-25 14:57 PDT
,
Robert Jenner
no flags
Details
Patch
(6.10 KB, patch)
2021-03-31 12:38 PDT
,
Peng Liu
no flags
Details
Formatted Diff
Diff
Rebase the patch
(6.41 KB, patch)
2021-03-31 12:46 PDT
,
Peng Liu
eric.carlson
: review+
Details
Formatted Diff
Diff
Revise the patch based on Eric's comment
(6.34 KB, patch)
2021-03-31 15:14 PDT
,
Peng Liu
ews-feeder
: commit-queue-
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Robert Jenner
Comment 1
2021-03-25 14:56:58 PDT
I was able to reproduce the timeout by generating a test list and running it as the following test: run-webkit-test --test-list <path to test list> --child-process=1 I have attached the test list I used for reproduction to this bug.
Robert Jenner
Comment 2
2021-03-25 14:57:38 PDT
Created
attachment 424283
[details]
Test list used to reproduce crash. Attaching test list used to reproduce crash. Currently working on narrowing down root cause.
Radar WebKit Bug Importer
Comment 3
2021-03-25 14:57:54 PDT
<
rdar://problem/75854906
>
Robert Jenner
Comment 4
2021-03-25 14:59:47 PDT
(In reply to Robert Jenner from
comment #2
)
> Created
attachment 424283
[details]
> Test list used to reproduce crash. > > Attaching test list used to reproduce crash. Currently working on narrowing > down root cause.
And by Crash, I mean Timeout. I was able to reproduce the timeout.
Robert Jenner
Comment 5
2021-03-25 15:23:54 PDT
I was able to bisect it down to a range of revisions, as that was all that was available. Running the test on
r274796
did not produce the timeout. Running at
r274822
did produce the timeout. It does look like changes at
r274810
do deal with media controls and PIP tests. So that may hav caused the timeouts.
https://trac.webkit.org/changeset/274810/webkit
Robert Jenner
Comment 6
2021-03-29 12:21:00 PDT
Updated test expectations to Pass Timeout while test is being reviewed:
https://trac.webkit.org/changeset/275167/webkit
Peng Liu
Comment 7
2021-03-31 12:38:21 PDT
Created
attachment 424802
[details]
Patch
Peng Liu
Comment 8
2021-03-31 12:46:46 PDT
Created
attachment 424805
[details]
Rebase the patch
Eric Carlson
Comment 9
2021-03-31 13:00:22 PDT
Comment on
attachment 424805
[details]
Rebase the patch View in context:
https://bugs.webkit.org/attachment.cgi?id=424805&action=review
> LayoutTests/media/pip-video-going-into-fullscreen.html:44 > + video.addEventListener('webkitfullscreenchange', onbeginfullscreen);
Nit: you use `video.addEventListener('webkitfullscreenchange', onbeginfullscreen, {once: true})` you won't have to remove the listener below.
Peng Liu
Comment 10
2021-03-31 13:19:54 PDT
Comment on
attachment 424805
[details]
Rebase the patch View in context:
https://bugs.webkit.org/attachment.cgi?id=424805&action=review
>> LayoutTests/media/pip-video-going-into-fullscreen.html:44 >> + video.addEventListener('webkitfullscreenchange', onbeginfullscreen); > > Nit: you use `video.addEventListener('webkitfullscreenchange', onbeginfullscreen, {once: true})` you won't have to remove the listener below.
Good idea! Will fix it. Thanks!
Peng Liu
Comment 11
2021-03-31 15:14:16 PDT
Created
attachment 424826
[details]
Revise the patch based on Eric's comment
EWS
Comment 12
2021-03-31 17:47:40 PDT
Committed
r275328
: <
https://commits.webkit.org/r275328
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 424826
[details]
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug