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

Issue 1995423002: [DevTools] Set vanilla object as console prototype (Closed)

Created:
4 years, 7 months ago by kozy
Modified:
4 years, 7 months ago
Reviewers:
dgozman
CC:
chromium-reviews, caseq+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, blink-reviews, sergeyv+blink_chromium.org, kinuko+watch, kozyatinskiy+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[DevTools] Set vanilla object as console prototype Without this CL when user sets someting on console prototype: console.__proto__.p = 42; Then this property is observable on every object in for in loop. This is a temporary fix, while discussion about proper solution continue in https://github.com/whatwg/console/issues/3 . BUG=613631 R=dgozman@chromium.org Committed: https://crrev.com/13837c1b636160af20007454d677abda33833da9 Cr-Commit-Position: refs/heads/master@{#395149}

Patch Set 1 #

Total comments: 3

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -0 lines) Patch
A third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-property-on-console-proto.html View 1 chunk +33 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-property-on-console-proto-expected.txt View 1 chunk +13 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/v8_inspector/V8Console.cpp View 1 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (6 generated)
kozy
Dmitry, please take a look!
4 years, 7 months ago (2016-05-20 18:04:13 UTC) #2
dgozman
lgtm https://codereview.chromium.org/1995423002/diff/1/third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-property-on-console-proto.html File third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-property-on-console-proto.html (right): https://codereview.chromium.org/1995423002/diff/1/third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-property-on-console-proto.html#newcode19 third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-property-on-console-proto.html:19: InspectorTest.sendCommand("Runtime.evaluate", { "expression": "testFunction()" }, dumpResult); There is ...
4 years, 7 months ago (2016-05-20 18:26:36 UTC) #4
kozy
All done. https://codereview.chromium.org/1995423002/diff/1/third_party/WebKit/Source/platform/v8_inspector/V8Console.cpp File third_party/WebKit/Source/platform/v8_inspector/V8Console.cpp (right): https://codereview.chromium.org/1995423002/diff/1/third_party/WebKit/Source/platform/v8_inspector/V8Console.cpp#newcode661 third_party/WebKit/Source/platform/v8_inspector/V8Console.cpp:661: suppressBoolUnused(console->SetPrototype(context, v8::Object::New(isolate)).FromMaybe(false)); On 2016/05/20 18:26:36, dgozman wrote: ...
4 years, 7 months ago (2016-05-20 18:32:52 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1995423002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1995423002/20001
4 years, 7 months ago (2016-05-20 18:33:19 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 7 months ago (2016-05-20 20:13:02 UTC) #10
commit-bot: I haz the power
4 years, 7 months ago (2016-05-20 20:15:00 UTC) #12
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/13837c1b636160af20007454d677abda33833da9
Cr-Commit-Position: refs/heads/master@{#395149}

Powered by Google App Engine
This is Rietveld 408576698