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

Issue 2742713004: Check for invalid element id when deserializing CompositorProxyTag (Closed)

Created:
3 years, 9 months ago by smcgruer
Modified:
3 years, 9 months ago
Reviewers:
haraken, jbroman
CC:
blink-reviews, blink-reviews-bindings_chromium.org, chromium-reviews, jbroman+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Check for invalid element id when deserializing CompositorProxyTag The element id is created from WeakIdentifierMap::next() and should never be '0'. BUG=699484 Review-Url: https://codereview.chromium.org/2742713004 Cr-Commit-Position: refs/heads/master@{#455901} Committed: https://chromium.googlesource.com/chromium/src/+/e5e975b33027b19dc96bfbab42f09c9c7839c63e

Patch Set 1 #

Patch Set 2 : Add unittest #

Patch Set 3 : Fix unittest #

Total comments: 2

Patch Set 4 : Address nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -2 lines) Patch
M third_party/WebKit/Source/bindings/core/v8/serialization/V8ScriptValueDeserializer.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/serialization/V8ScriptValueSerializerTest.cpp View 1 2 3 1 chunk +16 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (9 generated)
smcgruer
3 years, 9 months ago (2017-03-09 16:37:59 UTC) #2
haraken
LGTM
3 years, 9 months ago (2017-03-09 17:35:41 UTC) #3
jbroman
Sure, LGTM. Ultimately (cf. before shipping) we should probably actually make whether compositor proxies are ...
3 years, 9 months ago (2017-03-09 18:13:28 UTC) #5
smcgruer
Added a unittest, PTAL.
3 years, 9 months ago (2017-03-09 18:49:42 UTC) #6
jbroman
lgtm
3 years, 9 months ago (2017-03-09 19:06:15 UTC) #7
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/2742713004/20001
3 years, 9 months ago (2017-03-09 19:14:33 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/405945)
3 years, 9 months ago (2017-03-09 20:29:58 UTC) #12
smcgruer
On 2017/03/09 20:29:58, commit-bot: I haz the power wrote: > Try jobs failed on following ...
3 years, 9 months ago (2017-03-09 20:32:59 UTC) #13
jbroman
still lgtm (bots-willing) https://codereview.chromium.org/2742713004/diff/40001/third_party/WebKit/Source/bindings/core/v8/serialization/V8ScriptValueSerializerTest.cpp File third_party/WebKit/Source/bindings/core/v8/serialization/V8ScriptValueSerializerTest.cpp (right): https://codereview.chromium.org/2742713004/diff/40001/third_party/WebKit/Source/bindings/core/v8/serialization/V8ScriptValueSerializerTest.cpp#newcode1046 third_party/WebKit/Source/bindings/core/v8/serialization/V8ScriptValueSerializerTest.cpp:1046: {0xff, 0x04, 0x3f, 0x00, 0x43, elementId, ...
3 years, 9 months ago (2017-03-09 21:36:16 UTC) #14
smcgruer
https://codereview.chromium.org/2742713004/diff/40001/third_party/WebKit/Source/bindings/core/v8/serialization/V8ScriptValueSerializerTest.cpp File third_party/WebKit/Source/bindings/core/v8/serialization/V8ScriptValueSerializerTest.cpp (right): https://codereview.chromium.org/2742713004/diff/40001/third_party/WebKit/Source/bindings/core/v8/serialization/V8ScriptValueSerializerTest.cpp#newcode1046 third_party/WebKit/Source/bindings/core/v8/serialization/V8ScriptValueSerializerTest.cpp:1046: {0xff, 0x04, 0x3f, 0x00, 0x43, elementId, mutableProperties, 0xff}); On ...
3 years, 9 months ago (2017-03-09 21:43:16 UTC) #15
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/2742713004/60001
3 years, 9 months ago (2017-03-09 21:44:12 UTC) #18
commit-bot: I haz the power
3 years, 9 months ago (2017-03-09 23:45:05 UTC) #21
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/e5e975b33027b19dc96bfbab42f0...

Powered by Google App Engine
This is Rietveld 408576698