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

Issue 2088963002: IntersectionObserver constructor: fail on invalid rootMargin syntax. (Closed)

Created:
4 years, 6 months ago by szager1
Modified:
4 years, 5 months ago
Reviewers:
eae, ojan
CC:
chromium-reviews, sof, eae+blinkwatch, blink-reviews-dom_chromium.org, dglazkov+blink, blink-reviews, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/src@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

IntersectionObserver constructor: fail on invalid rootMargin syntax. BUG=618976 R=ojan@chromium.org,eae@chromium.org Committed: https://crrev.com/1f7fb6ab2ddb97b65193d9a12008124096d85c6b Cr-Commit-Position: refs/heads/master@{#401562}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Simplify loop condition #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -5 lines) Patch
M third_party/WebKit/LayoutTests/intersection-observer/observer-exceptions.html View 1 chunk +9 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/intersection-observer/observer-exceptions-expected.txt View 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/intersection-observer/root-margin.html View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/intersection-observer/root-margin-expected.txt View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/IntersectionObserver.cpp View 1 1 chunk +5 lines, -3 lines 0 comments Download

Messages

Total messages: 11 (2 generated)
szager1
4 years, 6 months ago (2016-06-21 22:16:58 UTC) #1
eae
https://codereview.chromium.org/2088963002/diff/1/third_party/WebKit/Source/core/dom/IntersectionObserver.cpp File third_party/WebKit/Source/core/dom/IntersectionObserver.cpp (right): https://codereview.chromium.org/2088963002/diff/1/third_party/WebKit/Source/core/dom/IntersectionObserver.cpp#newcode45 third_party/WebKit/Source/core/dom/IntersectionObserver.cpp:45: if (rootMargin.size() == 4) { According the the comment ...
4 years, 6 months ago (2016-06-22 10:51:04 UTC) #2
szager1
https://codereview.chromium.org/2088963002/diff/1/third_party/WebKit/Source/core/dom/IntersectionObserver.cpp File third_party/WebKit/Source/core/dom/IntersectionObserver.cpp (right): https://codereview.chromium.org/2088963002/diff/1/third_party/WebKit/Source/core/dom/IntersectionObserver.cpp#newcode45 third_party/WebKit/Source/core/dom/IntersectionObserver.cpp:45: if (rootMargin.size() == 4) { On 2016/06/22 10:51:04, eae ...
4 years, 6 months ago (2016-06-22 15:11:45 UTC) #3
eae
https://codereview.chromium.org/2088963002/diff/1/third_party/WebKit/Source/core/dom/IntersectionObserver.cpp File third_party/WebKit/Source/core/dom/IntersectionObserver.cpp (right): https://codereview.chromium.org/2088963002/diff/1/third_party/WebKit/Source/core/dom/IntersectionObserver.cpp#newcode45 third_party/WebKit/Source/core/dom/IntersectionObserver.cpp:45: if (rootMargin.size() == 4) { On 2016/06/22 15:11:45, szager1 ...
4 years, 6 months ago (2016-06-22 16:54:40 UTC) #4
szager1
On 2016/06/22 16:54:40, eae wrote: > https://codereview.chromium.org/2088963002/diff/1/third_party/WebKit/Source/core/dom/IntersectionObserver.cpp > File third_party/WebKit/Source/core/dom/IntersectionObserver.cpp (right): > > https://codereview.chromium.org/2088963002/diff/1/third_party/WebKit/Source/core/dom/IntersectionObserver.cpp#newcode45 > ...
4 years, 6 months ago (2016-06-23 05:07:17 UTC) #5
eae
Much cleaner, thank you! LGTM
4 years, 6 months ago (2016-06-23 07:45:58 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2088963002/20001
4 years, 6 months ago (2016-06-23 07:46:15 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 5 months ago (2016-06-23 08:56:09 UTC) #9
commit-bot: I haz the power
4 years, 5 months ago (2016-06-23 08:58:01 UTC) #11
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/1f7fb6ab2ddb97b65193d9a12008124096d85c6b
Cr-Commit-Position: refs/heads/master@{#401562}

Powered by Google App Engine
This is Rietveld 408576698