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

Issue 12287011: Move the chromeHidden.toJSON paranoia out of event.js and into json.js, a new (Closed)

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

Description

Move the chromeHidden.toJSON paranoia out of event.js and into json.js, a new and much smaller file. Having it in event.js means the heavyweight Event class needs to be eagerly required on extension startup. Now, only json.js does. R=koz@chromium.org TBR=ben@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=183365

Patch Set 1 #

Patch Set 2 : add to dispatcher.cc #

Total comments: 5

Patch Set 3 : test fixup #

Unified diffs Side-by-side diffs Delta from patch set Stats (+118 lines, -45 lines) Patch
M chrome/chrome_renderer.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/extensions/dispatcher.cc View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
A chrome/renderer/extensions/json_js_unittest.cc View 1 2 1 chunk +64 lines, -0 lines 0 comments Download
M chrome/renderer/resources/extensions/event.js View 1 chunk +0 lines, -38 lines 0 comments Download
A chrome/renderer/resources/extensions/json.js View 1 chunk +41 lines, -0 lines 0 comments Download
M chrome/renderer/resources/extensions/miscellaneous_bindings.js View 4 chunks +5 lines, -4 lines 0 comments Download
M chrome/renderer/resources/extensions/send_request.js View 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/renderer/resources/renderer_resources.grd View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
not at google - send to devlin
This is really for https://codereview.chromium.org/11571014/.
7 years, 10 months ago (2013-02-15 21:23:34 UTC) #1
not at google - send to devlin
ping
7 years, 10 months ago (2013-02-19 17:48:25 UTC) #2
koz (OOO until 15th September)
Sorry for the delay! Awesome change. lgtm https://codereview.chromium.org/12287011/diff/2001/chrome/renderer/extensions/json_js_unittest.cc File chrome/renderer/extensions/json_js_unittest.cc (right): https://codereview.chromium.org/12287011/diff/2001/chrome/renderer/extensions/json_js_unittest.cc#newcode21 chrome/renderer/extensions/json_js_unittest.cc:21: "var assert ...
7 years, 10 months ago (2013-02-19 23:19:08 UTC) #3
not at google - send to devlin
https://codereview.chromium.org/12287011/diff/2001/chrome/renderer/extensions/json_js_unittest.cc File chrome/renderer/extensions/json_js_unittest.cc (right): https://codereview.chromium.org/12287011/diff/2001/chrome/renderer/extensions/json_js_unittest.cc#newcode21 chrome/renderer/extensions/json_js_unittest.cc:21: "var assert = requireNative('assert');" On 2013/02/19 23:19:08, koz wrote: ...
7 years, 10 months ago (2013-02-19 23:52:12 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kalman@chromium.org/12287011/8001
7 years, 10 months ago (2013-02-19 23:56:47 UTC) #5
commit-bot: I haz the power
7 years, 10 months ago (2013-02-20 01:55:02 UTC) #6
Message was sent while issue was closed.
Change committed as 183365

Powered by Google App Engine
This is Rietveld 408576698