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

Issue 879553002: [V8] Added Script::is_debugger_script flag for embedders (Closed)

Created:
5 years, 11 months ago by kozy
Modified:
5 years, 10 months ago
CC:
v8-dev, Paweł Hajdan Jr.
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[V8] Added Script::is_debugger_script flag for embedders In DevTools we need one more flag for script origin - is debugger script. We already have "is shared origin" flag. The new flag added by analogy with the old but new has accessor in script object. R=yurys@chromium.org Committed: https://crrev.com/eaae397c42d6744153bf8b520077875deab58108 Cr-Commit-Position: refs/heads/master@{#26324}

Patch Set 1 #

Total comments: 9

Patch Set 2 : #

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Total comments: 8

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+178 lines, -98 lines) Patch
M include/v8.h View 1 2 3 4 4 chunks +17 lines, -2 lines 0 comments Download
M src/accessors.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M src/accessors.cc View 1 2 3 4 1 chunk +34 lines, -0 lines 0 comments Download
M src/api.cc View 1 2 3 4 5 chunks +22 lines, -10 lines 0 comments Download
M src/bootstrapper.cc View 1 2 3 4 3 chunks +11 lines, -2 lines 0 comments Download
M src/compilation-cache.h View 1 2 3 4 3 chunks +8 lines, -10 lines 0 comments Download
M src/compilation-cache.cc View 1 2 3 4 6 chunks +21 lines, -29 lines 0 comments Download
M src/compiler.h View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download
M src/compiler.cc View 1 2 3 4 3 chunks +5 lines, -3 lines 0 comments Download
M src/debug.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/objects.h View 1 2 3 4 2 chunks +8 lines, -1 line 0 comments Download
M src/objects-inl.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M test/cctest/compiler/test-linkage.cc View 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/test-api.cc View 1 2 3 4 4 chunks +16 lines, -8 lines 0 comments Download
M test/cctest/test-compiler.cc View 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/test-heap.cc View 1 2 3 4 5 chunks +11 lines, -11 lines 0 comments Download
M test/cctest/test-serialize.cc View 1 2 3 4 16 chunks +16 lines, -16 lines 0 comments Download

Messages

Total messages: 26 (6 generated)
kozy
Yury, ptal.
5 years, 11 months ago (2015-01-26 15:17:02 UTC) #1
yurys
lgtm https://codereview.chromium.org/879553002/diff/1/include/v8.h File include/v8.h (right): https://codereview.chromium.org/879553002/diff/1/include/v8.h#newcode980 include/v8.h:980: Handle<Boolean> resource_is_internal_script = Handle<Boolean>()) The "internal" term is ...
5 years, 11 months ago (2015-01-26 15:41:06 UTC) #2
yurys
https://codereview.chromium.org/879553002/diff/1/include/v8.h File include/v8.h (right): https://codereview.chromium.org/879553002/diff/1/include/v8.h#newcode984 include/v8.h:984: resource_is_internal_script_(resource_is_internal_script), Would it make sense to have something like ...
5 years, 11 months ago (2015-01-26 15:46:43 UTC) #3
kozy
https://codereview.chromium.org/879553002/diff/1/include/v8.h File include/v8.h (right): https://codereview.chromium.org/879553002/diff/1/include/v8.h#newcode980 include/v8.h:980: Handle<Boolean> resource_is_internal_script = Handle<Boolean>()) On 2015/01/26 15:41:06, yurys wrote: ...
5 years, 11 months ago (2015-01-26 16:42:13 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/879553002/20001
5 years, 11 months ago (2015-01-26 16:42:50 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: v8_presubmit on tryserver.v8 (http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/201)
5 years, 11 months ago (2015-01-26 16:45:33 UTC) #8
kozy
On 2015/01/26 16:45:33, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
5 years, 11 months ago (2015-01-26 17:09:40 UTC) #10
noordhuis
https://codereview.chromium.org/879553002/diff/40001/include/v8.h File include/v8.h (right): https://codereview.chromium.org/879553002/diff/40001/include/v8.h#newcode991 include/v8.h:991: * Returns true for embdedder's debugger scripts Typo: s/embdedder/embedder/ ...
5 years, 11 months ago (2015-01-26 23:51:17 UTC) #12
kozy
https://codereview.chromium.org/879553002/diff/40001/include/v8.h File include/v8.h (right): https://codereview.chromium.org/879553002/diff/40001/include/v8.h#newcode991 include/v8.h:991: * Returns true for embdedder's debugger scripts On 2015/01/26 ...
5 years, 11 months ago (2015-01-27 10:02:15 UTC) #13
kozy
Jochen or Yang, please take a look.
5 years, 11 months ago (2015-01-27 15:16:44 UTC) #15
Yang
I will need some more convincing. Why is this change necessary? The way I see ...
5 years, 10 months ago (2015-01-28 09:47:30 UTC) #16
Yang
On 2015/01/28 09:47:30, Yang wrote: > I will need some more convincing. > > Why ...
5 years, 10 months ago (2015-01-28 10:52:56 UTC) #17
Yang
On 2015/01/28 10:52:56, Yang wrote: > On 2015/01/28 09:47:30, Yang wrote: > > I will ...
5 years, 10 months ago (2015-01-28 11:28:30 UTC) #18
yurys
On 2015/01/28 10:52:56, Yang wrote: > On 2015/01/28 09:47:30, Yang wrote: > > I will ...
5 years, 10 months ago (2015-01-28 12:14:10 UTC) #19
Yang
We should rework this API, but this is not something for today, and I don't ...
5 years, 10 months ago (2015-01-28 14:02:05 UTC) #20
kozy
Thanks! https://codereview.chromium.org/879553002/diff/60001/include/v8.h File include/v8.h (right): https://codereview.chromium.org/879553002/diff/60001/include/v8.h#newcode980 include/v8.h:980: Handle<Boolean> resource_is_debugger_script = Handle<Boolean>()) On 2015/01/28 14:02:04, Yang ...
5 years, 10 months ago (2015-01-29 10:52:56 UTC) #21
Yang
On 2015/01/29 10:52:56, kozyatinskiy wrote: > Thanks! > > https://codereview.chromium.org/879553002/diff/60001/include/v8.h > File include/v8.h (right): > ...
5 years, 10 months ago (2015-01-29 13:58:04 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/879553002/80001
5 years, 10 months ago (2015-01-29 13:59:27 UTC) #24
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 10 months ago (2015-01-29 14:01:22 UTC) #25
commit-bot: I haz the power
5 years, 10 months ago (2015-01-29 14:01:44 UTC) #26
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/eaae397c42d6744153bf8b520077875deab58108
Cr-Commit-Position: refs/heads/master@{#26324}

Powered by Google App Engine
This is Rietveld 408576698