Bug 206408 - Video sound sometimes keeps playing in page cache
Summary: Video sound sometimes keeps playing in page cache
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: youenn fablet
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-01-17 04:01 PST by youenn fablet
Modified: 2020-01-20 01:23 PST (History)
12 users (show)

See Also:


Attachments
Patch (36.27 KB, patch)
2020-01-17 04:07 PST, youenn fablet
no flags Details | Formatted Diff | Diff
Patch (36.07 KB, patch)
2020-01-20 00:08 PST, youenn fablet
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description youenn fablet 2020-01-17 04:01:05 PST
Video sound sometimes keeps playing in page cache
Comment 1 youenn fablet 2020-01-17 04:01:14 PST
<rdar://problem/58654047>
Comment 2 youenn fablet 2020-01-17 04:07:53 PST
Created attachment 388026 [details]
Patch
Comment 3 Eric Carlson 2020-01-17 09:06:39 PST
Comment on attachment 388026 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=388026&action=review

> LayoutTests/http/tests/navigation/resources/page-cache-video-helper.html:7
> +          localStorage.setItem("pageMediaState", internals.pageMediaState());

This state is never read back from the page cache, should it be?
Comment 4 youenn fablet 2020-01-17 09:15:01 PST
(In reply to Eric Carlson from comment #3)
> Comment on attachment 388026 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=388026&action=review
> 
> > LayoutTests/http/tests/navigation/resources/page-cache-video-helper.html:7
> > +          localStorage.setItem("pageMediaState", internals.pageMediaState());
> 
> This state is never read back from the page cache, should it be?

No, I forgot to remove it.
I initially planned to use that state but this was not testing what I wanted so ended up with currentTime.
Will remove it before landing.
Comment 5 youenn fablet 2020-01-20 00:08:09 PST
Created attachment 388208 [details]
Patch
Comment 6 WebKit Commit Bot 2020-01-20 01:23:14 PST
Comment on attachment 388208 [details]
Patch

Clearing flags on attachment: 388208

Committed r254814: <https://trac.webkit.org/changeset/254814>
Comment 7 WebKit Commit Bot 2020-01-20 01:23:16 PST
All reviewed patches have been landed.  Closing bug.