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

Issue 1981013002: Make sure ScriptWrappables have a wrapper before calling setReference() (Closed)

Created:
4 years, 7 months ago by adamk
Modified:
4 years, 7 months ago
Reviewers:
haraken
CC:
chromium-reviews, blink-reviews, blink-reviews-bindings_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make sure ScriptWrappables have a wrapper before calling setReference() Failure to check for a valid wrapper before calling setReference (and then into v8::Isolate::SetReference) results in NULL handles being visited (and crashing) during V8 GC. BUG=610340, 612206 Committed: https://crrev.com/eb23b41351d08e79e222870c70d05151585fed26 Cr-Commit-Position: refs/heads/master@{#393986}

Patch Set 1 #

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

Messages

Total messages: 8 (3 generated)
adamk
I haven't been able to reproduce this crash, but it's a top crasher on Canary. ...
4 years, 7 months ago (2016-05-16 19:12:07 UTC) #2
haraken
Thanks, LGTM
4 years, 7 months ago (2016-05-16 22:30:48 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1981013002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1981013002/1
4 years, 7 months ago (2016-05-16 22:34:13 UTC) #5
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 7 months ago (2016-05-16 23:59:46 UTC) #6
commit-bot: I haz the power
4 years, 7 months ago (2016-05-17 00:01:14 UTC) #8
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/eb23b41351d08e79e222870c70d05151585fed26
Cr-Commit-Position: refs/heads/master@{#393986}

Powered by Google App Engine
This is Rietveld 408576698