Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(477)

Issue 462103002: Extract "fullscreen element ready check" from requestFullscreen() (Closed)

Created:
6 years, 4 months ago by philipj_slow
Modified:
6 years, 4 months ago
Reviewers:
falken
CC:
blink-reviews, blink-reviews-dom_chromium.org, dglazkov+blink, sof, eae+blinkwatch, rwlbuis
Project:
blink
Visibility:
Public.

Description

Extract "fullscreen element ready check" from requestFullscreen() http://fullscreen.spec.whatwg.org/#fullscreen-element-ready-check This is a change in behavior for what was previously "a descendant browsing context's document has a non-empty fullscreen element stack," now "element has no ancestor element whose local name is iframe and namespace is the HTML namespace." It's now never possible to go fullscreen with a descendant of an iframe, whereas previously it would be possible as long as that iframe's document had an empty fullscreen element stack. Since the difference is very unlikely to affect any real content, the LegacyFullScreenErrorExemption was dropped for this case. There was apparently no test coverage for that exemption. BUG=402376 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=180162

Patch Set 1 #

Total comments: 10

Patch Set 2 : fix test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+148 lines, -48 lines) Patch
A LayoutTests/fullscreen/api/element-ready-check-enabled-flag-not-set.html View 1 chunk +19 lines, -0 lines 0 comments Download
A LayoutTests/fullscreen/api/element-ready-check-fullscreen-element-sibling.html View 1 chunk +23 lines, -0 lines 0 comments Download
A LayoutTests/fullscreen/api/element-ready-check-fullscreen-iframe-child.html View 1 1 chunk +28 lines, -0 lines 0 comments Download
A LayoutTests/fullscreen/api/element-ready-check-iframe-child.html View 1 chunk +17 lines, -0 lines 0 comments Download
A LayoutTests/fullscreen/api/element-ready-check-not-in-document.html View 1 chunk +15 lines, -0 lines 0 comments Download
M LayoutTests/fullscreen/trusted-event.js View 2 chunks +5 lines, -2 lines 0 comments Download
M Source/core/dom/FullscreenElementStack.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/dom/FullscreenElementStack.cpp View 2 chunks +39 lines, -46 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
philipj_slow
PTAL. Since I'm taking small steps the spec comments are now a mix of old ...
6 years, 4 months ago (2014-08-12 19:08:44 UTC) #1
falken
I support following the spec, but also wonder if some real content makes elements in ...
6 years, 4 months ago (2014-08-13 04:26:57 UTC) #2
philipj_slow
https://codereview.chromium.org/462103002/diff/1/LayoutTests/fullscreen/api/element-ready-check-fullscreen-element-sibling.html File LayoutTests/fullscreen/api/element-ready-check-fullscreen-element-sibling.html (right): https://codereview.chromium.org/462103002/diff/1/LayoutTests/fullscreen/api/element-ready-check-fullscreen-element-sibling.html#newcode17 LayoutTests/fullscreen/api/element-ready-check-fullscreen-element-sibling.html:17: trusted_request(b); On 2014/08/13 04:26:57, falken wrote: > Should the ...
6 years, 4 months ago (2014-08-13 07:38:36 UTC) #3
falken
https://codereview.chromium.org/462103002/diff/1/LayoutTests/fullscreen/api/element-ready-check-fullscreen-element-sibling.html File LayoutTests/fullscreen/api/element-ready-check-fullscreen-element-sibling.html (right): https://codereview.chromium.org/462103002/diff/1/LayoutTests/fullscreen/api/element-ready-check-fullscreen-element-sibling.html#newcode17 LayoutTests/fullscreen/api/element-ready-check-fullscreen-element-sibling.html:17: trusted_request(b); On 2014/08/13 07:38:36, philipj wrote: > On 2014/08/13 ...
6 years, 4 months ago (2014-08-13 07:49:40 UTC) #4
philipj_slow
fix test
6 years, 4 months ago (2014-08-13 08:00:15 UTC) #5
philipj_slow
https://codereview.chromium.org/462103002/diff/1/LayoutTests/fullscreen/api/element-ready-check-fullscreen-iframe-child.html File LayoutTests/fullscreen/api/element-ready-check-fullscreen-iframe-child.html (right): https://codereview.chromium.org/462103002/diff/1/LayoutTests/fullscreen/api/element-ready-check-fullscreen-iframe-child.html#newcode18 LayoutTests/fullscreen/api/element-ready-check-fullscreen-iframe-child.html:18: iframe.appendChild(div); On 2014/08/13 07:49:40, falken wrote: > On 2014/08/13 ...
6 years, 4 months ago (2014-08-13 08:12:14 UTC) #6
falken
LGTM! https://codereview.chromium.org/462103002/diff/1/LayoutTests/fullscreen/api/element-ready-check-fullscreen-iframe-child.html File LayoutTests/fullscreen/api/element-ready-check-fullscreen-iframe-child.html (right): https://codereview.chromium.org/462103002/diff/1/LayoutTests/fullscreen/api/element-ready-check-fullscreen-iframe-child.html#newcode18 LayoutTests/fullscreen/api/element-ready-check-fullscreen-iframe-child.html:18: iframe.appendChild(div); On 2014/08/13 08:12:14, philipj wrote: > On ...
6 years, 4 months ago (2014-08-13 08:45:15 UTC) #7
philipj_slow
The CQ bit was checked by philipj@opera.com
6 years, 4 months ago (2014-08-13 08:47:15 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/philipj@opera.com/462103002/20001
6 years, 4 months ago (2014-08-13 08:47:51 UTC) #9
commit-bot: I haz the power
6 years, 4 months ago (2014-08-13 09:49:34 UTC) #10
Message was sent while issue was closed.
Change committed as 180162

Powered by Google App Engine
This is Rietveld 408576698