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

Issue 2234983002: [DevTools] Removed wasThrown from evaluate-like protocol methods (Closed)

Created:
4 years, 4 months ago by kozy
Modified:
4 years, 4 months ago
Reviewers:
dgozman
CC:
chromium-reviews, extensions-reviews_chromium.org, caseq+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, blink-reviews, chromium-apps-reviews_chromium.org, pfeldman, 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] Removed wasThrown from evaluate-like protocol methods I'll remove this flag from frontend in followup. Clients can emulate wasThrown flag with !!exceptionDetails check. BUG=635947 R=dgozman@chromium.org Committed: https://crrev.com/edd943d7d9ff10541153e7021ea4645cf35bdd8a Cr-Commit-Position: refs/heads/master@{#411814}

Patch Set 1 #

Total comments: 40

Patch Set 2 : addressed comments #

Patch Set 3 : a #

Patch Set 4 : a #

Unified diffs Side-by-side diffs Delta from patch set Stats (+86 lines, -142 lines) Patch
M content/browser/devtools/protocol/devtools_protocol_browsertest.cc View 1 2 2 chunks +2 lines, -6 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/inspector-enabled/injected-script-discard.html View 1 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/inspector-enabled/reattach-after-editing-styles.html View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/inspector-enabled/shadow-dom-rules-restart.html View 1 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/inspector-protocol/access-inspected-object.html View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/inspector/inspector-test.js View 2 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector-protocol/console/console-let-const-with-api.html View 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector-protocol/console/console-let-const-with-api-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/inspector-protocol/console/console-memory-setter-in-strict-mode-expected.txt View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/inspector-protocol/json-parse-expected.txt View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-await-promise-expected.txt View 2 chunks +0 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-callFunctionOn-async-expected.txt View 4 chunks +0 lines, -4 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-clear-of-command-line-api-expected.txt View 17 chunks +0 lines, -17 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-evaluate-async-expected.txt View 2 chunks +0 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-evaluate-in-default-context-expected.txt View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-get-properties-on-proxy-expected.txt View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-property-on-console-proto-expected.txt View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-runScript-async-expected.txt View 4 chunks +0 lines, -4 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/console/console-save-to-temp-var.html View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/console/console-tainted-globals.html View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/console/inspect-html-all-collection.html View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/domdebugger/domdebugger-getEventListeners.html View 1 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/elements/resolve-alien-node.html View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/inspector/elements/resolve-node-blocked.html View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/inspector/local-object.html View 2 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/runtime/runtime-callFunctionOn.html View 1 4 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/runtime/runtime-es6-setSymbolPropertyValue.html View 1 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/runtime/runtime-getProperties.html View 1 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/runtime/runtime-localStorage-getProperties.html View 1 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/runtime/runtime-setPropertyValue.html View 1 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/debugger-save-to-temp-var.html View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/script-snippet-model.html View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/show-function-definition.html View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/sources/debugger/debugger-compile-and-run.html View 2 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/extensions/ExtensionServer.js View 1 chunk +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sdk/DebuggerModel.js View 1 1 chunk +3 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sdk/RemoteObject.js View 5 chunks +15 lines, -15 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sdk/RuntimeModel.js View 3 chunks +6 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/platform/v8_inspector/InjectedScript.h View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/v8_inspector/InjectedScript.cpp View 2 chunks +2 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/platform/v8_inspector/V8DebuggerAgentImpl.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/v8_inspector/V8DebuggerAgentImpl.cpp View 1 2 chunks +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/v8_inspector/V8RuntimeAgentImpl.cpp View 1 4 chunks +3 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/platform/v8_inspector/js_protocol.json View 1 5 chunks +0 lines, -5 lines 0 comments Download

Messages

Total messages: 23 (16 generated)
kozy
Dmitry, please take a look!
4 years, 4 months ago (2016-08-10 17:49:23 UTC) #1
dgozman
https://codereview.chromium.org/2234983002/diff/1/third_party/WebKit/LayoutTests/http/tests/inspector-enabled/injected-script-discard.html File third_party/WebKit/LayoutTests/http/tests/inspector-enabled/injected-script-discard.html (left): https://codereview.chromium.org/2234983002/diff/1/third_party/WebKit/LayoutTests/http/tests/inspector-enabled/injected-script-discard.html#oldcode30 third_party/WebKit/LayoutTests/http/tests/inspector-enabled/injected-script-discard.html:30: function dispatch(error, result, wasThrown) While you are here, let's ...
4 years, 4 months ago (2016-08-11 01:54:36 UTC) #3
kozy
All done. Please take a look! https://codereview.chromium.org/2234983002/diff/1/third_party/WebKit/LayoutTests/http/tests/inspector-enabled/injected-script-discard.html File third_party/WebKit/LayoutTests/http/tests/inspector-enabled/injected-script-discard.html (left): https://codereview.chromium.org/2234983002/diff/1/third_party/WebKit/LayoutTests/http/tests/inspector-enabled/injected-script-discard.html#oldcode30 third_party/WebKit/LayoutTests/http/tests/inspector-enabled/injected-script-discard.html:30: function dispatch(error, result, ...
4 years, 4 months ago (2016-08-11 21:04:22 UTC) #5
dgozman
lgtm
4 years, 4 months ago (2016-08-12 04:58:03 UTC) #17
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/2234983002/60001
4 years, 4 months ago (2016-08-12 21:48:05 UTC) #19
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 4 months ago (2016-08-12 23:26:22 UTC) #21
commit-bot: I haz the power
4 years, 4 months ago (2016-08-12 23:35:04 UTC) #23
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/edd943d7d9ff10541153e7021ea4645cf35bdd8a
Cr-Commit-Position: refs/heads/master@{#411814}

Powered by Google App Engine
This is Rietveld 408576698