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

Issue 2126763002: Remove the prototype from all V8 functions that aren't constructors (Closed)

Created:
4 years, 5 months ago by jochen (gone - plz use gerrit)
Modified:
4 years, 5 months ago
Reviewers:
haraken, eroman, yzshen1
CC:
blink-reviews, blink-reviews-bindings_chromium.org, cbentzel+watch_chromium.org, chromium-apps-reviews_chromium.org, chromium-reviews, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove the prototype from all V8 functions that aren't constructors BUG=625823 R=haraken@chromium.org TBR=eroman@chromium.org,yzshen@chromium.org Committed: https://crrev.com/596fd5ed32fdcce384a3a5f6453582919bef6528 Cr-Commit-Position: refs/heads/master@{#403888}

Patch Set 1 #

Patch Set 2 : updates #

Patch Set 3 : updates #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -14 lines) Patch
M chrome/test/base/v8_unit_test.cc View 1 2 chunks +9 lines, -4 lines 0 comments Download
M extensions/renderer/console.cc View 1 chunk +1 line, -0 lines 0 comments Download
M extensions/renderer/module_system.cc View 1 chunk +1 line, -0 lines 0 comments Download
M extensions/renderer/object_backed_native_handler.cc View 1 chunk +1 line, -0 lines 0 comments Download
M gin/function_template.h View 1 chunk +6 lines, -5 lines 0 comments Download
M gin/modules/module_registry.cc View 1 chunk +1 line, -0 lines 0 comments Download
M mojo/public/js/validation_unittests.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
M net/proxy/proxy_resolver_v8.cc View 3 chunks +8 lines, -0 lines 0 comments Download
A + third_party/WebKit/LayoutTests/fast/dom/Window/window-methods-construct.html View 1 chunk +3 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/DocumentWriteEvaluator.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/PrivateScriptRunner.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/V8PerIsolateData.cpp View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 21 (7 generated)
jochen (gone - plz use gerrit)
ptal
4 years, 5 months ago (2016-07-06 08:50:39 UTC) #1
haraken
LGTM Can we add some assert to check that non-constructor functions don't have prototypes?
4 years, 5 months ago (2016-07-06 08:55:37 UTC) #2
jochen (gone - plz use gerrit)
where would you add that?
4 years, 5 months ago (2016-07-06 08:56:32 UTC) #3
haraken
On 2016/07/06 08:56:32, jochen wrote: > where would you add that? I have no concrete ...
4 years, 5 months ago (2016-07-06 08:57:15 UTC) #4
jochen (gone - plz use gerrit)
On 2016/07/06 at 08:57:15, haraken wrote: > On 2016/07/06 08:56:32, jochen wrote: > > where ...
4 years, 5 months ago (2016-07-06 08:57:38 UTC) #5
haraken
On 2016/07/06 08:57:38, jochen wrote: > On 2016/07/06 at 08:57:15, haraken wrote: > > On ...
4 years, 5 months ago (2016-07-06 08:58:37 UTC) #6
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/2126763002/20001
4 years, 5 months ago (2016-07-06 09:01:35 UTC) #8
jochen (gone - plz use gerrit)
4 years, 5 months ago (2016-07-06 11:08:44 UTC) #10
jochen (gone - plz use gerrit)
tbr'ing eroman@ for net/ and yzshen@ for mojo/
4 years, 5 months ago (2016-07-06 11:09:26 UTC) #13
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/2126763002/40001
4 years, 5 months ago (2016-07-06 11:09:59 UTC) #16
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 5 months ago (2016-07-06 12:30:05 UTC) #17
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/596fd5ed32fdcce384a3a5f6453582919bef6528 Cr-Commit-Position: refs/heads/master@{#403888}
4 years, 5 months ago (2016-07-06 12:31:24 UTC) #19
yzshen1
On 2016/07/06 12:31:24, commit-bot: I haz the power wrote: > Patchset 3 (id:??) landed as ...
4 years, 5 months ago (2016-07-06 16:59:50 UTC) #20
eroman
4 years, 5 months ago (2016-07-06 18:01:58 UTC) #21
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698