WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
185676
[WPE] Implement and enable FULLSCREEN_API
https://bugs.webkit.org/show_bug.cgi?id=185676
Summary
[WPE] Implement and enable FULLSCREEN_API
Carlos Alberto Lopez Perez
Reported
2018-05-16 03:24:52 PDT
Yesterday I discovered doing tests with WPE on video sites (e.g: youtube) that WPE doesn't implement FULLSCREEN_API. This HTML5 API is needed for any website that wants to show content full-screen. Is mostly useful for playing videos, although it can be used to show any content full-screen. It looks enabling this on WPE is not difficult (I think I already have it working) ... so I'll submit a patch.
Attachments
Patch
(11.64 KB, patch)
2018-05-16 03:41 PDT
,
Carlos Alberto Lopez Perez
no flags
Details
Formatted Diff
Diff
Archive of layout-test-results from ews125 for ios-simulator-wk2
(2.19 MB, application/zip)
2018-05-16 05:23 PDT
,
EWS Watchlist
no flags
Details
Archive of layout-test-results from ews202 for win-future
(12.83 MB, application/zip)
2018-05-16 16:07 PDT
,
EWS Watchlist
no flags
Details
Patch
(11.72 KB, patch)
2018-05-17 10:29 PDT
,
Carlos Alberto Lopez Perez
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Carlos Alberto Lopez Perez
Comment 1
2018-05-16 03:41:12 PDT
Created
attachment 340483
[details]
Patch
Zan Dobersek
Comment 2
2018-05-16 04:00:37 PDT
Comment on
attachment 340483
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=340483&action=review
> Source/WebKit/UIProcess/API/wpe/PageClientImpl.cpp:347 > + WebFullScreenManagerProxy* fullScreenManagerProxy = m_view.page().fullScreenManager(); > + fullScreenManagerProxy->willEnterFullScreen(); > + fullScreenManagerProxy->didEnterFullScreen();
Guaranteed to be non-null?
> Source/WebKit/UIProcess/API/wpe/PageClientImpl.cpp:358 > + WebFullScreenManagerProxy* fullScreenManagerProxy = m_view.page().fullScreenManager(); > + fullScreenManagerProxy->willExitFullScreen(); > + fullScreenManagerProxy->didExitFullScreen();
Guaranteed to be non-null?
Carlos Alberto Lopez Perez
Comment 3
2018-05-16 04:30:05 PDT
(In reply to Zan Dobersek from
comment #2
)
> Comment on
attachment 340483
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=340483&action=review
> > > Source/WebKit/UIProcess/API/wpe/PageClientImpl.cpp:347 > > + WebFullScreenManagerProxy* fullScreenManagerProxy = m_view.page().fullScreenManager(); > > + fullScreenManagerProxy->willEnterFullScreen(); > > + fullScreenManagerProxy->didEnterFullScreen(); > > Guaranteed to be non-null? > > > Source/WebKit/UIProcess/API/wpe/PageClientImpl.cpp:358 > > + WebFullScreenManagerProxy* fullScreenManagerProxy = m_view.page().fullScreenManager(); > > + fullScreenManagerProxy->willExitFullScreen(); > > + fullScreenManagerProxy->didExitFullScreen(); > > Guaranteed to be non-null?
I think so, its a RefPtr. And I see how other callers of this code are not null checking for it, for example in the WebKitGTK+ impl at
https://trac.webkit.org/browser/trunk/Source/WebKit/UIProcess/API/gtk/WebKitWebViewBase.cpp?rev=225900#L1239
EWS Watchlist
Comment 4
2018-05-16 05:23:49 PDT
Comment on
attachment 340483
[details]
Patch
Attachment 340483
[details]
did not pass ios-sim-ews (ios-simulator-wk2): Output:
http://webkit-queues.webkit.org/results/7697389
New failing tests: transitions/interrupted-transition-hardware.html
EWS Watchlist
Comment 5
2018-05-16 05:23:50 PDT
Created
attachment 340485
[details]
Archive of layout-test-results from ews125 for ios-simulator-wk2 The attached test failures were seen while running run-webkit-tests on the ios-sim-ews. Bot: ews125 Port: ios-simulator-wk2 Platform: Mac OS X 10.13.4
EWS Watchlist
Comment 6
2018-05-16 16:07:45 PDT
Comment on
attachment 340483
[details]
Patch
Attachment 340483
[details]
did not pass win-ews (win): Output:
http://webkit-queues.webkit.org/results/7702816
New failing tests: http/tests/security/canvas-remote-read-remote-video-blocked-no-crossorigin.html
EWS Watchlist
Comment 7
2018-05-16 16:07:56 PDT
Created
attachment 340538
[details]
Archive of layout-test-results from ews202 for win-future The attached test failures were seen while running run-webkit-tests on the win-ews. Bot: ews202 Port: win-future Platform: CYGWIN_NT-6.1-2.9.0-0.318-5-3-x86_64-64bit
Carlos Alberto Lopez Perez
Comment 8
2018-05-17 10:29:49 PDT
Created
attachment 340595
[details]
Patch Patch v2, nullcheck fullScreenManagerProxy
Carlos Alberto Lopez Perez
Comment 9
2018-05-17 12:30:52 PDT
Comment on
attachment 340595
[details]
Patch Clearing flags on attachment: 340595 Committed
r231917
: <
https://trac.webkit.org/changeset/231917
>
Carlos Alberto Lopez Perez
Comment 10
2018-05-17 12:30:57 PDT
All reviewed patches have been landed. Closing bug.
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