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

Issue 470723002: Sync "fully exit fullscreen" with the spec (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

Sync "fully exit fullscreen" with the spec http://fullscreen.spec.whatwg.org/#fully-exit-fullscreen https://www.w3.org/Bugs/Public/show_bug.cgi?id=26587 This should not change observable behavior. When to actually invoke "fully exit fullscreen" is not finalized: https://www.w3.org/Bugs/Public/show_bug.cgi?id=26584 TEST=LayoutTests/fullscreen/full-screen-exit-when-popup.html (old) TEST=LayoutTests/fullscreen/model/fully-exit-fullscreen-*.html (new) The old test enters the fullyExitFullscreen() code path, but passes even if fullyExitFullscreen() is made an alias of exitFullscreen(). The new tests will fail if a non-top-level document is used or if more than one element is on the stack when exitFullscreen() is called. BUG=403763 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=180506

Patch Set 1 #

Patch Set 2 : add test #

Patch Set 3 : speculative changes #

Patch Set 4 : more tests #

Patch Set 5 : test with window.open() #

Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -15 lines) Patch
A LayoutTests/fullscreen/model/fully-exit-fullscreen.js View 1 2 3 4 1 chunk +8 lines, -0 lines 0 comments Download
A + LayoutTests/fullscreen/model/fully-exit-fullscreen-nested.html View 1 2 3 4 2 chunks +3 lines, -2 lines 0 comments Download
A LayoutTests/fullscreen/model/fully-exit-fullscreen-nested-iframe.html View 1 2 3 4 1 chunk +40 lines, -0 lines 0 comments Download
A + LayoutTests/fullscreen/model/fully-exit-fullscreen-single.html View 1 2 3 4 1 chunk +4 lines, -3 lines 0 comments Download
M Source/core/dom/Fullscreen.cpp View 1 2 3 4 1 chunk +14 lines, -10 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
philipj_slow
I haven't written the tests for this yet, but the existing ones pass. I'll write ...
6 years, 4 months ago (2014-08-13 21:48:32 UTC) #1
philipj_slow
add test
6 years, 4 months ago (2014-08-14 14:00:05 UTC) #2
philipj_slow
No need to review this quite yet, I found a spec bug that needs to ...
6 years, 4 months ago (2014-08-14 22:15:17 UTC) #3
philipj_slow
speculative changes
6 years, 4 months ago (2014-08-14 22:30:36 UTC) #4
philipj_slow
more tests
6 years, 4 months ago (2014-08-15 13:11:09 UTC) #5
philipj_slow
I'm happy with this now, PTAL. (The tests continue to be a bit ugly, but ...
6 years, 4 months ago (2014-08-15 13:36:19 UTC) #6
falken
I see your CL description, but I'm a bit wary about adding the internals function. ...
6 years, 4 months ago (2014-08-18 02:46:46 UTC) #7
philipj_slow
On 2014/08/18 02:46:46, falken wrote: > I see your CL description, but I'm a bit ...
6 years, 4 months ago (2014-08-18 08:26:29 UTC) #8
falken
On 2014/08/18 08:26:29, philipj wrote: > On 2014/08/18 02:46:46, falken wrote: > > I see ...
6 years, 4 months ago (2014-08-18 08:32:07 UTC) #9
philipj_slow
test with window.open()
6 years, 4 months ago (2014-08-18 11:59:52 UTC) #10
philipj_slow
OK, PTAL and CQ if no nits :)
6 years, 4 months ago (2014-08-18 12:38:51 UTC) #11
falken
lgtm, thanks!
6 years, 4 months ago (2014-08-19 01:11:54 UTC) #12
falken
The CQ bit was checked by falken@chromium.org
6 years, 4 months ago (2014-08-19 01:11:58 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/philipj@opera.com/470723002/80001
6 years, 4 months ago (2014-08-19 01:12:52 UTC) #14
commit-bot: I haz the power
6 years, 4 months ago (2014-08-19 01:18:10 UTC) #15
Message was sent while issue was closed.
Committed patchset #5 (80001) as 180506

Powered by Google App Engine
This is Rietveld 408576698