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

Issue 2565183002: Add a nextLocalAncestor helper for Fullscreen (Closed)

Created:
4 years ago by foolip
Modified:
4 years ago
CC:
blink-reviews, blink-reviews-dom_chromium.org, chromium-reviews, dglazkov+blink, eae+blinkwatch, rwlbuis, sof
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add a nextLocalAncestor helper for Fullscreen Refactoring only, no observable change intended. A test is added that fails if the continue statement were dropped, as apparently there was no coverage for this. Note: This CL is also a test for the WPT export process. BUG=402376 Committed: https://crrev.com/dd3989c829ddc1d3d36306143261278a20804229 Cr-Commit-Position: refs/heads/master@{#438076}

Patch Set 1 #

Total comments: 2

Patch Set 2 : early return #

Total comments: 3

Patch Set 3 : add continue and test that would break without it #

Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -22 lines) Patch
M third_party/WebKit/LayoutTests/imported/wpt/MANIFEST.json View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/imported/wpt/fullscreen/api/element-request-fullscreen-and-exit-iframe-manual.html View 1 2 1 chunk +38 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Fullscreen.cpp View 1 2 3 chunks +30 lines, -22 lines 0 comments Download

Messages

Total messages: 39 (26 generated)
foolip
PTAL and CQ
4 years ago (2016-12-11 18:33:53 UTC) #5
foolip
mlamouri@, may you could take a look at this too? (https://codereview.chromium.org/2557943002 includes the changes and ...
4 years ago (2016-12-12 12:56:05 UTC) #10
mlamouri (slow - plz ping)
lgtm but would it be reasonable to add the notion of closest parent ancestor to ...
4 years ago (2016-12-12 13:36:56 UTC) #13
foolip
On 2016/12/12 13:36:56, mlamouri wrote: > lgtm but would it be reasonable to add the ...
4 years ago (2016-12-12 16:44:01 UTC) #16
foolip
https://codereview.chromium.org/2565183002/diff/1/third_party/WebKit/Source/core/dom/Fullscreen.cpp File third_party/WebKit/Source/core/dom/Fullscreen.cpp (right): https://codereview.chromium.org/2565183002/diff/1/third_party/WebKit/Source/core/dom/Fullscreen.cpp#newcode216 third_party/WebKit/Source/core/dom/Fullscreen.cpp:216: return nullptr; On 2016/12/12 13:36:56, mlamouri wrote: > Feel ...
4 years ago (2016-12-12 16:56:31 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2565183002/20001
4 years ago (2016-12-12 17:01:11 UTC) #20
alexmos
(stopped CQ for the question below) https://codereview.chromium.org/2565183002/diff/20001/third_party/WebKit/Source/core/dom/Fullscreen.cpp File third_party/WebKit/Source/core/dom/Fullscreen.cpp (right): https://codereview.chromium.org/2565183002/diff/20001/third_party/WebKit/Source/core/dom/Fullscreen.cpp#newcode558 third_party/WebKit/Source/core/dom/Fullscreen.cpp:558: currentDoc = nextLocalAncestor(*currentDoc); ...
4 years ago (2016-12-12 17:18:03 UTC) #21
foolip
https://codereview.chromium.org/2565183002/diff/20001/third_party/WebKit/Source/core/dom/Fullscreen.cpp File third_party/WebKit/Source/core/dom/Fullscreen.cpp (right): https://codereview.chromium.org/2565183002/diff/20001/third_party/WebKit/Source/core/dom/Fullscreen.cpp#newcode558 third_party/WebKit/Source/core/dom/Fullscreen.cpp:558: currentDoc = nextLocalAncestor(*currentDoc); On 2016/12/12 17:18:03, alexmos wrote: > ...
4 years ago (2016-12-12 17:27:44 UTC) #23
foolip
alexmos@, can you take another look and review the test? jeffcarp@, this a test CL ...
4 years ago (2016-12-12 22:34:09 UTC) #28
alexmos
LGTM. The test looks good - thanks for adding it!
4 years ago (2016-12-12 23:24:56 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2565183002/40001
4 years ago (2016-12-13 06:04:27 UTC) #34
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years ago (2016-12-13 06:10:46 UTC) #37
commit-bot: I haz the power
4 years ago (2016-12-13 06:14:41 UTC) #39
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/dd3989c829ddc1d3d36306143261278a20804229
Cr-Commit-Position: refs/heads/master@{#438076}

Powered by Google App Engine
This is Rietveld 408576698