WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
186856
[Fullscreen] Suspend page (and pause video) while phishing warining is presented
https://bugs.webkit.org/show_bug.cgi?id=186856
Summary
[Fullscreen] Suspend page (and pause video) while phishing warining is presented
Jer Noble
Reported
2018-06-20 10:56:58 PDT
[Fullscreen] Suspend page (and pause video) while phishing warining is presented
Attachments
Patch
(5.41 KB, patch)
2018-06-20 10:59 PDT
,
Jer Noble
no flags
Details
Formatted Diff
Diff
Patch for landing
(5.50 KB, patch)
2018-06-21 11:05 PDT
,
Jer Noble
no flags
Details
Formatted Diff
Diff
Patch for landing
(5.50 KB, patch)
2018-06-21 11:09 PDT
,
Jer Noble
no flags
Details
Formatted Diff
Diff
Patch
(36.58 KB, patch)
2018-12-18 13:50 PST
,
Jer Noble
no flags
Details
Formatted Diff
Diff
Show Obsolete
(4)
View All
Add attachment
proposed patch, testcase, etc.
Jer Noble
Comment 1
2018-06-20 10:57:53 PDT
<
rdar://problem/41212444
>
Jer Noble
Comment 2
2018-06-20 10:59:01 PDT
Created
attachment 343164
[details]
Patch
Tim Horton
Comment 3
2018-06-21 00:47:07 PDT
Comment on
attachment 343164
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=343164&action=review
> Source/WebKit/ChangeLog:3 > + [Fullscreen] Suspend page (and pause video) while phishing warining is presented
warining?
> Source/WebCore/html/HTMLMediaElement.cpp:5603 > + m_shouldUnpauseInternalOnResume = true; > + setPausedInternal(true);
This could use an explanation in the changelog.
> Source/WebKit/UIProcess/ios/fullscreen/WKFullScreenViewController.mm:453 > + page->suspendActiveDOMObjectsAndAnimations();
Should we also suspend/defer layer tree commits? Is this enough to actually stop painting? Do you even care?
Jer Noble
Comment 4
2018-06-21 11:05:55 PDT
Created
attachment 343249
[details]
Patch for landing
Jer Noble
Comment 5
2018-06-21 11:07:13 PDT
(In reply to Tim Horton from
comment #3
)
> Comment on
attachment 343164
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=343164&action=review
> > > Source/WebKit/ChangeLog:3 > > + [Fullscreen] Suspend page (and pause video) while phishing warining is presented > > warining?
Changed.
> > Source/WebCore/html/HTMLMediaElement.cpp:5603 > > + m_shouldUnpauseInternalOnResume = true; > > + setPausedInternal(true); > > This could use an explanation in the changelog.
Added.
> > Source/WebKit/UIProcess/ios/fullscreen/WKFullScreenViewController.mm:453 > > + page->suspendActiveDOMObjectsAndAnimations(); > > Should we also suspend/defer layer tree commits? Is this enough to actually > stop painting? Do you even care?
No, this should be sufficient; JS stops running as a result of this call, so between that and video playback pausing, that should be keep anything from painting.
Jer Noble
Comment 6
2018-06-21 11:09:01 PDT
Created
attachment 343250
[details]
Patch for landing
WebKit Commit Bot
Comment 7
2018-06-21 11:47:53 PDT
Comment on
attachment 343250
[details]
Patch for landing Clearing flags on attachment: 343250 Committed
r233049
: <
https://trac.webkit.org/changeset/233049
>
WebKit Commit Bot
Comment 8
2018-06-21 11:47:54 PDT
All reviewed patches have been landed. Closing bug.
Jer Noble
Comment 9
2018-12-18 13:50:05 PST
Reopening to attach new patch.
Jer Noble
Comment 10
2018-12-18 13:50:06 PST
Created
attachment 357608
[details]
Patch
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