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

Issue 12693008: Prevent ObjectBackedNativeHandler from calling itself once invalid. (Closed)

Created:
7 years, 9 months ago by not at google - send to devlin
Modified:
7 years, 9 months ago
CC:
chromium-reviews, Aaron Boodman, chromium-apps-reviews_chromium.org
Visibility:
Public.

Description

Prevent ObjectBackedNativeHandler from calling itself once invalid. Recommitting: added pesky HandleScopes. BUG=181668 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=187995

Patch Set 1 #

Patch Set 2 : . #

Total comments: 2

Patch Set 3 : add comment, no hiddenvalue #

Patch Set 4 : add handle scopes for reland #

Patch Set 5 : proper upload #

Patch Set 6 : HandleScope not Handle::Scope #

Patch Set 7 : fix more handle scopes #

Patch Set 8 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+145 lines, -35 lines) Patch
A chrome/browser/extensions/crazy_extension_browsertest.cc View 1 chunk +17 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/extensions/object_backed_native_handler.h View 1 2 3 4 5 6 1 chunk +18 lines, -4 lines 0 comments Download
M chrome/renderer/extensions/object_backed_native_handler.cc View 1 2 3 4 5 6 3 chunks +39 lines, -24 lines 0 comments Download
M chrome/renderer/extensions/v8_schema_registry.cc View 1 2 3 4 5 6 3 chunks +9 lines, -7 lines 0 comments Download
A chrome/test/data/extensions/api_test/crazy_extension/background.js View 1 1 chunk +54 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/api_test/crazy_extension/manifest.json View 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
not at google - send to devlin
7 years, 9 months ago (2013-03-13 21:24:39 UTC) #1
koz (OOO until 15th September)
This LGTM, but you might want to get someone more familiar with v8::Persistent stuff to ...
7 years, 9 months ago (2013-03-13 23:08:42 UTC) #2
not at google - send to devlin
Committed patchset #3 manually as r187975 (presubmit successful).
7 years, 9 months ago (2013-03-13 23:45:47 UTC) #3
not at google - send to devlin
Also changed GetHiddenValue to just Get, silly me. https://codereview.chromium.org/12693008/diff/2001/chrome/renderer/extensions/object_backed_native_handler.cc File chrome/renderer/extensions/object_backed_native_handler.cc (right): https://codereview.chromium.org/12693008/diff/2001/chrome/renderer/extensions/object_backed_native_handler.cc#newcode40 chrome/renderer/extensions/object_backed_native_handler.cc:40: if ...
7 years, 9 months ago (2013-03-13 23:49:25 UTC) #4
not at google - send to devlin
Committed patchset #6 manually as r187981.
7 years, 9 months ago (2013-03-14 01:11:39 UTC) #5
not at google - send to devlin
7 years, 9 months ago (2013-03-14 03:40:31 UTC) #6
Message was sent while issue was closed.
Committed patchset #8 manually as r187995.

Powered by Google App Engine
This is Rietveld 408576698