webkit_layout_tests failing on chromium.webkit/WebKit Linux Trusty MSAN |
||||||
Issue descriptionFiled by sheriff-o-matic@appspot.gserviceaccount.com on behalf of jdoerrie@chromium.org webkit_layout_tests failing on chromium.webkit/WebKit Linux Trusty MSAN Builders failed on: - WebKit Linux Trusty MSAN: https://ci.chromium.org/buildbot/chromium.webkit/WebKit%20Linux%20Trusty%20MSAN Suspecting r588301, will revert.
,
Sep 3
,
Sep 3
Explicitly adding sattlerf@ and verwaest@ who have worked on v8/src/parsing recently. Please take a look.
,
Sep 3
,
Sep 3
Can we pinpoint the culprit and revert it, so that we can re-open roll?
,
Sep 3
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/29e1d39966c7f9d7ca450519fa3224d7ceb1605e commit 29e1d39966c7f9d7ca450519fa3224d7ceb1605e Author: Yang Guo <yangguo@chromium.org> Date: Mon Sep 03 14:30:55 2018 Revert "[scanner] Inlining ScanIdentifier and Token check" This reverts commit 5bbd19219a57574d0ccfcc935605764382b032cb. Reason for revert: Tentative revert for crbug.com/879988 TBR=sattlerf@chromium.org,verwaest@chromium.org Original change's description: > [scanner] Inlining ScanIdentifier and Token check > > This improves parse time for code-load and other benchmarks. > > Bug: v8:7926 > Change-Id: I9c8017f2e7f73dd952c025db5abe8e4062e6ef9b > Reviewed-on: https://chromium-review.googlesource.com/1196506 > Commit-Queue: Florian Sattler <sattlerf@google.com> > Reviewed-by: Toon Verwaest <verwaest@chromium.org> > Cr-Commit-Position: refs/heads/master@{#55521} TBR=marja@chromium.org,verwaest@chromium.org,sattlerf@google.com # Not skipping CQ checks because original CL landed > 1 day ago. Bug: v8:7926, chromium:879988 Change-Id: Ic71d9cf63b69c0f9560851259f434b02cc082417 Reviewed-on: https://chromium-review.googlesource.com/1202086 Commit-Queue: Yang Guo <yangguo@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#55592} [modify] https://crrev.com/29e1d39966c7f9d7ca450519fa3224d7ceb1605e/src/parsing/scanner-inl.h [modify] https://crrev.com/29e1d39966c7f9d7ca450519fa3224d7ceb1605e/src/parsing/scanner.cc [modify] https://crrev.com/29e1d39966c7f9d7ca450519fa3224d7ceb1605e/src/parsing/scanner.h
,
Sep 3
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/4a96850aeb8e8b670a58c76d2cba11a36bd67c74 commit 4a96850aeb8e8b670a58c76d2cba11a36bd67c74 Author: Yang Guo <yangguo@chromium.org> Date: Mon Sep 03 18:42:28 2018 Revert "inspector: find magic comment using V8 scanner" This reverts commit 1b3b808a5452cb53512b3e76505533c61e020b98. Reason for revert: crbug/879988 TBR=kozy@chromium.org Original change's description: > inspector: find magic comment using V8 scanner > > Inspector tries to provide sourceURL and sourceMappingURL for scripts > with parser errors. Without this CL we convert source of each script > to inspector string and search for magic comment there. Some web sites > use pattern when they get some data from network and constantly try to > parse this data as JSON, in this case we do a lot of useless work. > > So we can parse magic comments on V8 side only for compilation errors > (excluding parse JSON errors), to do it we can reuse scanner by running > it on each potential comment. > > R=alph@chromium.org,verwaest@chromium.org,yangguo@chromium.org > > Bug: chromium:873865,v8:7731 > Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel > Change-Id: I77c270fd0e95cd7b2c9ee4b7f72ef344bc1fa104 > Reviewed-on: https://chromium-review.googlesource.com/1182446 > Reviewed-by: Toon Verwaest <verwaest@chromium.org> > Reviewed-by: Alexei Filippov <alph@chromium.org> > Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> > Cr-Commit-Position: refs/heads/master@{#55280} TBR=alph@chromium.org,yangguo@chromium.org,kozyatinskiy@chromium.org,verwaest@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: chromium:873865, v8:7731, chromium:879988 Change-Id: Ia7ac766e19f9b58562d9430811f10b25c4556a46 Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel Reviewed-on: https://chromium-review.googlesource.com/1202583 Commit-Queue: Yang Guo <yangguo@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#55594} [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/v8-debugger-agent-impl.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/json-parser.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile-expected.txt [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile.js
,
Sep 3
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/4a96850aeb8e8b670a58c76d2cba11a36bd67c74 commit 4a96850aeb8e8b670a58c76d2cba11a36bd67c74 Author: Yang Guo <yangguo@chromium.org> Date: Mon Sep 03 18:42:28 2018 Revert "inspector: find magic comment using V8 scanner" This reverts commit 1b3b808a5452cb53512b3e76505533c61e020b98. Reason for revert: crbug/879988 TBR=kozy@chromium.org Original change's description: > inspector: find magic comment using V8 scanner > > Inspector tries to provide sourceURL and sourceMappingURL for scripts > with parser errors. Without this CL we convert source of each script > to inspector string and search for magic comment there. Some web sites > use pattern when they get some data from network and constantly try to > parse this data as JSON, in this case we do a lot of useless work. > > So we can parse magic comments on V8 side only for compilation errors > (excluding parse JSON errors), to do it we can reuse scanner by running > it on each potential comment. > > R=alph@chromium.org,verwaest@chromium.org,yangguo@chromium.org > > Bug: chromium:873865,v8:7731 > Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel > Change-Id: I77c270fd0e95cd7b2c9ee4b7f72ef344bc1fa104 > Reviewed-on: https://chromium-review.googlesource.com/1182446 > Reviewed-by: Toon Verwaest <verwaest@chromium.org> > Reviewed-by: Alexei Filippov <alph@chromium.org> > Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> > Cr-Commit-Position: refs/heads/master@{#55280} TBR=alph@chromium.org,yangguo@chromium.org,kozyatinskiy@chromium.org,verwaest@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: chromium:873865, v8:7731, chromium:879988 Change-Id: Ia7ac766e19f9b58562d9430811f10b25c4556a46 Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel Reviewed-on: https://chromium-review.googlesource.com/1202583 Commit-Queue: Yang Guo <yangguo@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#55594} [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/v8-debugger-agent-impl.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/json-parser.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile-expected.txt [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile.js
,
Sep 3
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/4a96850aeb8e8b670a58c76d2cba11a36bd67c74 commit 4a96850aeb8e8b670a58c76d2cba11a36bd67c74 Author: Yang Guo <yangguo@chromium.org> Date: Mon Sep 03 18:42:28 2018 Revert "inspector: find magic comment using V8 scanner" This reverts commit 1b3b808a5452cb53512b3e76505533c61e020b98. Reason for revert: crbug/879988 TBR=kozy@chromium.org Original change's description: > inspector: find magic comment using V8 scanner > > Inspector tries to provide sourceURL and sourceMappingURL for scripts > with parser errors. Without this CL we convert source of each script > to inspector string and search for magic comment there. Some web sites > use pattern when they get some data from network and constantly try to > parse this data as JSON, in this case we do a lot of useless work. > > So we can parse magic comments on V8 side only for compilation errors > (excluding parse JSON errors), to do it we can reuse scanner by running > it on each potential comment. > > R=alph@chromium.org,verwaest@chromium.org,yangguo@chromium.org > > Bug: chromium:873865,v8:7731 > Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel > Change-Id: I77c270fd0e95cd7b2c9ee4b7f72ef344bc1fa104 > Reviewed-on: https://chromium-review.googlesource.com/1182446 > Reviewed-by: Toon Verwaest <verwaest@chromium.org> > Reviewed-by: Alexei Filippov <alph@chromium.org> > Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> > Cr-Commit-Position: refs/heads/master@{#55280} TBR=alph@chromium.org,yangguo@chromium.org,kozyatinskiy@chromium.org,verwaest@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: chromium:873865, v8:7731, chromium:879988 Change-Id: Ia7ac766e19f9b58562d9430811f10b25c4556a46 Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel Reviewed-on: https://chromium-review.googlesource.com/1202583 Commit-Queue: Yang Guo <yangguo@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#55594} [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/v8-debugger-agent-impl.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/json-parser.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile-expected.txt [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile.js
,
Sep 3
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/4a96850aeb8e8b670a58c76d2cba11a36bd67c74 commit 4a96850aeb8e8b670a58c76d2cba11a36bd67c74 Author: Yang Guo <yangguo@chromium.org> Date: Mon Sep 03 18:42:28 2018 Revert "inspector: find magic comment using V8 scanner" This reverts commit 1b3b808a5452cb53512b3e76505533c61e020b98. Reason for revert: crbug/879988 TBR=kozy@chromium.org Original change's description: > inspector: find magic comment using V8 scanner > > Inspector tries to provide sourceURL and sourceMappingURL for scripts > with parser errors. Without this CL we convert source of each script > to inspector string and search for magic comment there. Some web sites > use pattern when they get some data from network and constantly try to > parse this data as JSON, in this case we do a lot of useless work. > > So we can parse magic comments on V8 side only for compilation errors > (excluding parse JSON errors), to do it we can reuse scanner by running > it on each potential comment. > > R=alph@chromium.org,verwaest@chromium.org,yangguo@chromium.org > > Bug: chromium:873865,v8:7731 > Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel > Change-Id: I77c270fd0e95cd7b2c9ee4b7f72ef344bc1fa104 > Reviewed-on: https://chromium-review.googlesource.com/1182446 > Reviewed-by: Toon Verwaest <verwaest@chromium.org> > Reviewed-by: Alexei Filippov <alph@chromium.org> > Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> > Cr-Commit-Position: refs/heads/master@{#55280} TBR=alph@chromium.org,yangguo@chromium.org,kozyatinskiy@chromium.org,verwaest@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: chromium:873865, v8:7731, chromium:879988 Change-Id: Ia7ac766e19f9b58562d9430811f10b25c4556a46 Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel Reviewed-on: https://chromium-review.googlesource.com/1202583 Commit-Queue: Yang Guo <yangguo@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#55594} [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/v8-debugger-agent-impl.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/json-parser.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile-expected.txt [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile.js
,
Sep 3
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/4a96850aeb8e8b670a58c76d2cba11a36bd67c74 commit 4a96850aeb8e8b670a58c76d2cba11a36bd67c74 Author: Yang Guo <yangguo@chromium.org> Date: Mon Sep 03 18:42:28 2018 Revert "inspector: find magic comment using V8 scanner" This reverts commit 1b3b808a5452cb53512b3e76505533c61e020b98. Reason for revert: crbug/879988 TBR=kozy@chromium.org Original change's description: > inspector: find magic comment using V8 scanner > > Inspector tries to provide sourceURL and sourceMappingURL for scripts > with parser errors. Without this CL we convert source of each script > to inspector string and search for magic comment there. Some web sites > use pattern when they get some data from network and constantly try to > parse this data as JSON, in this case we do a lot of useless work. > > So we can parse magic comments on V8 side only for compilation errors > (excluding parse JSON errors), to do it we can reuse scanner by running > it on each potential comment. > > R=alph@chromium.org,verwaest@chromium.org,yangguo@chromium.org > > Bug: chromium:873865,v8:7731 > Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel > Change-Id: I77c270fd0e95cd7b2c9ee4b7f72ef344bc1fa104 > Reviewed-on: https://chromium-review.googlesource.com/1182446 > Reviewed-by: Toon Verwaest <verwaest@chromium.org> > Reviewed-by: Alexei Filippov <alph@chromium.org> > Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> > Cr-Commit-Position: refs/heads/master@{#55280} TBR=alph@chromium.org,yangguo@chromium.org,kozyatinskiy@chromium.org,verwaest@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: chromium:873865, v8:7731, chromium:879988 Change-Id: Ia7ac766e19f9b58562d9430811f10b25c4556a46 Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel Reviewed-on: https://chromium-review.googlesource.com/1202583 Commit-Queue: Yang Guo <yangguo@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#55594} [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/v8-debugger-agent-impl.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/json-parser.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile-expected.txt [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile.js
,
Sep 3
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/4a96850aeb8e8b670a58c76d2cba11a36bd67c74 commit 4a96850aeb8e8b670a58c76d2cba11a36bd67c74 Author: Yang Guo <yangguo@chromium.org> Date: Mon Sep 03 18:42:28 2018 Revert "inspector: find magic comment using V8 scanner" This reverts commit 1b3b808a5452cb53512b3e76505533c61e020b98. Reason for revert: crbug/879988 TBR=kozy@chromium.org Original change's description: > inspector: find magic comment using V8 scanner > > Inspector tries to provide sourceURL and sourceMappingURL for scripts > with parser errors. Without this CL we convert source of each script > to inspector string and search for magic comment there. Some web sites > use pattern when they get some data from network and constantly try to > parse this data as JSON, in this case we do a lot of useless work. > > So we can parse magic comments on V8 side only for compilation errors > (excluding parse JSON errors), to do it we can reuse scanner by running > it on each potential comment. > > R=alph@chromium.org,verwaest@chromium.org,yangguo@chromium.org > > Bug: chromium:873865,v8:7731 > Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel > Change-Id: I77c270fd0e95cd7b2c9ee4b7f72ef344bc1fa104 > Reviewed-on: https://chromium-review.googlesource.com/1182446 > Reviewed-by: Toon Verwaest <verwaest@chromium.org> > Reviewed-by: Alexei Filippov <alph@chromium.org> > Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> > Cr-Commit-Position: refs/heads/master@{#55280} TBR=alph@chromium.org,yangguo@chromium.org,kozyatinskiy@chromium.org,verwaest@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: chromium:873865, v8:7731, chromium:879988 Change-Id: Ia7ac766e19f9b58562d9430811f10b25c4556a46 Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel Reviewed-on: https://chromium-review.googlesource.com/1202583 Commit-Queue: Yang Guo <yangguo@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#55594} [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/v8-debugger-agent-impl.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/json-parser.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile-expected.txt [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile.js
,
Sep 3
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/4a96850aeb8e8b670a58c76d2cba11a36bd67c74 commit 4a96850aeb8e8b670a58c76d2cba11a36bd67c74 Author: Yang Guo <yangguo@chromium.org> Date: Mon Sep 03 18:42:28 2018 Revert "inspector: find magic comment using V8 scanner" This reverts commit 1b3b808a5452cb53512b3e76505533c61e020b98. Reason for revert: crbug/879988 TBR=kozy@chromium.org Original change's description: > inspector: find magic comment using V8 scanner > > Inspector tries to provide sourceURL and sourceMappingURL for scripts > with parser errors. Without this CL we convert source of each script > to inspector string and search for magic comment there. Some web sites > use pattern when they get some data from network and constantly try to > parse this data as JSON, in this case we do a lot of useless work. > > So we can parse magic comments on V8 side only for compilation errors > (excluding parse JSON errors), to do it we can reuse scanner by running > it on each potential comment. > > R=alph@chromium.org,verwaest@chromium.org,yangguo@chromium.org > > Bug: chromium:873865,v8:7731 > Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel > Change-Id: I77c270fd0e95cd7b2c9ee4b7f72ef344bc1fa104 > Reviewed-on: https://chromium-review.googlesource.com/1182446 > Reviewed-by: Toon Verwaest <verwaest@chromium.org> > Reviewed-by: Alexei Filippov <alph@chromium.org> > Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> > Cr-Commit-Position: refs/heads/master@{#55280} TBR=alph@chromium.org,yangguo@chromium.org,kozyatinskiy@chromium.org,verwaest@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: chromium:873865, v8:7731, chromium:879988 Change-Id: Ia7ac766e19f9b58562d9430811f10b25c4556a46 Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel Reviewed-on: https://chromium-review.googlesource.com/1202583 Commit-Queue: Yang Guo <yangguo@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#55594} [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/v8-debugger-agent-impl.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/json-parser.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile-expected.txt [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile.js
,
Sep 3
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/4a96850aeb8e8b670a58c76d2cba11a36bd67c74 commit 4a96850aeb8e8b670a58c76d2cba11a36bd67c74 Author: Yang Guo <yangguo@chromium.org> Date: Mon Sep 03 18:42:28 2018 Revert "inspector: find magic comment using V8 scanner" This reverts commit 1b3b808a5452cb53512b3e76505533c61e020b98. Reason for revert: crbug/879988 TBR=kozy@chromium.org Original change's description: > inspector: find magic comment using V8 scanner > > Inspector tries to provide sourceURL and sourceMappingURL for scripts > with parser errors. Without this CL we convert source of each script > to inspector string and search for magic comment there. Some web sites > use pattern when they get some data from network and constantly try to > parse this data as JSON, in this case we do a lot of useless work. > > So we can parse magic comments on V8 side only for compilation errors > (excluding parse JSON errors), to do it we can reuse scanner by running > it on each potential comment. > > R=alph@chromium.org,verwaest@chromium.org,yangguo@chromium.org > > Bug: chromium:873865,v8:7731 > Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel > Change-Id: I77c270fd0e95cd7b2c9ee4b7f72ef344bc1fa104 > Reviewed-on: https://chromium-review.googlesource.com/1182446 > Reviewed-by: Toon Verwaest <verwaest@chromium.org> > Reviewed-by: Alexei Filippov <alph@chromium.org> > Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> > Cr-Commit-Position: refs/heads/master@{#55280} TBR=alph@chromium.org,yangguo@chromium.org,kozyatinskiy@chromium.org,verwaest@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: chromium:873865, v8:7731, chromium:879988 Change-Id: Ia7ac766e19f9b58562d9430811f10b25c4556a46 Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel Reviewed-on: https://chromium-review.googlesource.com/1202583 Commit-Queue: Yang Guo <yangguo@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#55594} [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/v8-debugger-agent-impl.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/json-parser.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile-expected.txt [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile.js
,
Sep 3
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/4a96850aeb8e8b670a58c76d2cba11a36bd67c74 commit 4a96850aeb8e8b670a58c76d2cba11a36bd67c74 Author: Yang Guo <yangguo@chromium.org> Date: Mon Sep 03 18:42:28 2018 Revert "inspector: find magic comment using V8 scanner" This reverts commit 1b3b808a5452cb53512b3e76505533c61e020b98. Reason for revert: crbug/879988 TBR=kozy@chromium.org Original change's description: > inspector: find magic comment using V8 scanner > > Inspector tries to provide sourceURL and sourceMappingURL for scripts > with parser errors. Without this CL we convert source of each script > to inspector string and search for magic comment there. Some web sites > use pattern when they get some data from network and constantly try to > parse this data as JSON, in this case we do a lot of useless work. > > So we can parse magic comments on V8 side only for compilation errors > (excluding parse JSON errors), to do it we can reuse scanner by running > it on each potential comment. > > R=alph@chromium.org,verwaest@chromium.org,yangguo@chromium.org > > Bug: chromium:873865,v8:7731 > Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel > Change-Id: I77c270fd0e95cd7b2c9ee4b7f72ef344bc1fa104 > Reviewed-on: https://chromium-review.googlesource.com/1182446 > Reviewed-by: Toon Verwaest <verwaest@chromium.org> > Reviewed-by: Alexei Filippov <alph@chromium.org> > Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> > Cr-Commit-Position: refs/heads/master@{#55280} TBR=alph@chromium.org,yangguo@chromium.org,kozyatinskiy@chromium.org,verwaest@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: chromium:873865, v8:7731, chromium:879988 Change-Id: Ia7ac766e19f9b58562d9430811f10b25c4556a46 Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel Reviewed-on: https://chromium-review.googlesource.com/1202583 Commit-Queue: Yang Guo <yangguo@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#55594} [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/v8-debugger-agent-impl.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/json-parser.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile-expected.txt [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile.js
,
Sep 3
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/4a96850aeb8e8b670a58c76d2cba11a36bd67c74 commit 4a96850aeb8e8b670a58c76d2cba11a36bd67c74 Author: Yang Guo <yangguo@chromium.org> Date: Mon Sep 03 18:42:28 2018 Revert "inspector: find magic comment using V8 scanner" This reverts commit 1b3b808a5452cb53512b3e76505533c61e020b98. Reason for revert: crbug/879988 TBR=kozy@chromium.org Original change's description: > inspector: find magic comment using V8 scanner > > Inspector tries to provide sourceURL and sourceMappingURL for scripts > with parser errors. Without this CL we convert source of each script > to inspector string and search for magic comment there. Some web sites > use pattern when they get some data from network and constantly try to > parse this data as JSON, in this case we do a lot of useless work. > > So we can parse magic comments on V8 side only for compilation errors > (excluding parse JSON errors), to do it we can reuse scanner by running > it on each potential comment. > > R=alph@chromium.org,verwaest@chromium.org,yangguo@chromium.org > > Bug: chromium:873865,v8:7731 > Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel > Change-Id: I77c270fd0e95cd7b2c9ee4b7f72ef344bc1fa104 > Reviewed-on: https://chromium-review.googlesource.com/1182446 > Reviewed-by: Toon Verwaest <verwaest@chromium.org> > Reviewed-by: Alexei Filippov <alph@chromium.org> > Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> > Cr-Commit-Position: refs/heads/master@{#55280} TBR=alph@chromium.org,yangguo@chromium.org,kozyatinskiy@chromium.org,verwaest@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: chromium:873865, v8:7731, chromium:879988 Change-Id: Ia7ac766e19f9b58562d9430811f10b25c4556a46 Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel Reviewed-on: https://chromium-review.googlesource.com/1202583 Commit-Queue: Yang Guo <yangguo@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#55594} [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/v8-debugger-agent-impl.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/json-parser.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile-expected.txt [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile.js
,
Sep 3
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/4a96850aeb8e8b670a58c76d2cba11a36bd67c74 commit 4a96850aeb8e8b670a58c76d2cba11a36bd67c74 Author: Yang Guo <yangguo@chromium.org> Date: Mon Sep 03 18:42:28 2018 Revert "inspector: find magic comment using V8 scanner" This reverts commit 1b3b808a5452cb53512b3e76505533c61e020b98. Reason for revert: crbug/879988 TBR=kozy@chromium.org Original change's description: > inspector: find magic comment using V8 scanner > > Inspector tries to provide sourceURL and sourceMappingURL for scripts > with parser errors. Without this CL we convert source of each script > to inspector string and search for magic comment there. Some web sites > use pattern when they get some data from network and constantly try to > parse this data as JSON, in this case we do a lot of useless work. > > So we can parse magic comments on V8 side only for compilation errors > (excluding parse JSON errors), to do it we can reuse scanner by running > it on each potential comment. > > R=alph@chromium.org,verwaest@chromium.org,yangguo@chromium.org > > Bug: chromium:873865,v8:7731 > Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel > Change-Id: I77c270fd0e95cd7b2c9ee4b7f72ef344bc1fa104 > Reviewed-on: https://chromium-review.googlesource.com/1182446 > Reviewed-by: Toon Verwaest <verwaest@chromium.org> > Reviewed-by: Alexei Filippov <alph@chromium.org> > Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> > Cr-Commit-Position: refs/heads/master@{#55280} TBR=alph@chromium.org,yangguo@chromium.org,kozyatinskiy@chromium.org,verwaest@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: chromium:873865, v8:7731, chromium:879988 Change-Id: Ia7ac766e19f9b58562d9430811f10b25c4556a46 Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel Reviewed-on: https://chromium-review.googlesource.com/1202583 Commit-Queue: Yang Guo <yangguo@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#55594} [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/v8-debugger-agent-impl.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/json-parser.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile-expected.txt [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile.js
,
Sep 3
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/4a96850aeb8e8b670a58c76d2cba11a36bd67c74 commit 4a96850aeb8e8b670a58c76d2cba11a36bd67c74 Author: Yang Guo <yangguo@chromium.org> Date: Mon Sep 03 18:42:28 2018 Revert "inspector: find magic comment using V8 scanner" This reverts commit 1b3b808a5452cb53512b3e76505533c61e020b98. Reason for revert: crbug/879988 TBR=kozy@chromium.org Original change's description: > inspector: find magic comment using V8 scanner > > Inspector tries to provide sourceURL and sourceMappingURL for scripts > with parser errors. Without this CL we convert source of each script > to inspector string and search for magic comment there. Some web sites > use pattern when they get some data from network and constantly try to > parse this data as JSON, in this case we do a lot of useless work. > > So we can parse magic comments on V8 side only for compilation errors > (excluding parse JSON errors), to do it we can reuse scanner by running > it on each potential comment. > > R=alph@chromium.org,verwaest@chromium.org,yangguo@chromium.org > > Bug: chromium:873865,v8:7731 > Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel > Change-Id: I77c270fd0e95cd7b2c9ee4b7f72ef344bc1fa104 > Reviewed-on: https://chromium-review.googlesource.com/1182446 > Reviewed-by: Toon Verwaest <verwaest@chromium.org> > Reviewed-by: Alexei Filippov <alph@chromium.org> > Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> > Cr-Commit-Position: refs/heads/master@{#55280} TBR=alph@chromium.org,yangguo@chromium.org,kozyatinskiy@chromium.org,verwaest@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: chromium:873865, v8:7731, chromium:879988 Change-Id: Ia7ac766e19f9b58562d9430811f10b25c4556a46 Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel Reviewed-on: https://chromium-review.googlesource.com/1202583 Commit-Queue: Yang Guo <yangguo@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#55594} [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/v8-debugger-agent-impl.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/json-parser.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile-expected.txt [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile.js
,
Sep 3
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/4a96850aeb8e8b670a58c76d2cba11a36bd67c74 commit 4a96850aeb8e8b670a58c76d2cba11a36bd67c74 Author: Yang Guo <yangguo@chromium.org> Date: Mon Sep 03 18:42:28 2018 Revert "inspector: find magic comment using V8 scanner" This reverts commit 1b3b808a5452cb53512b3e76505533c61e020b98. Reason for revert: crbug/879988 TBR=kozy@chromium.org Original change's description: > inspector: find magic comment using V8 scanner > > Inspector tries to provide sourceURL and sourceMappingURL for scripts > with parser errors. Without this CL we convert source of each script > to inspector string and search for magic comment there. Some web sites > use pattern when they get some data from network and constantly try to > parse this data as JSON, in this case we do a lot of useless work. > > So we can parse magic comments on V8 side only for compilation errors > (excluding parse JSON errors), to do it we can reuse scanner by running > it on each potential comment. > > R=alph@chromium.org,verwaest@chromium.org,yangguo@chromium.org > > Bug: chromium:873865,v8:7731 > Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel > Change-Id: I77c270fd0e95cd7b2c9ee4b7f72ef344bc1fa104 > Reviewed-on: https://chromium-review.googlesource.com/1182446 > Reviewed-by: Toon Verwaest <verwaest@chromium.org> > Reviewed-by: Alexei Filippov <alph@chromium.org> > Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> > Cr-Commit-Position: refs/heads/master@{#55280} TBR=alph@chromium.org,yangguo@chromium.org,kozyatinskiy@chromium.org,verwaest@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: chromium:873865, v8:7731, chromium:879988 Change-Id: Ia7ac766e19f9b58562d9430811f10b25c4556a46 Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel Reviewed-on: https://chromium-review.googlesource.com/1202583 Commit-Queue: Yang Guo <yangguo@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#55594} [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/v8-debugger-agent-impl.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/json-parser.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile-expected.txt [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile.js
,
Sep 3
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/4a96850aeb8e8b670a58c76d2cba11a36bd67c74 commit 4a96850aeb8e8b670a58c76d2cba11a36bd67c74 Author: Yang Guo <yangguo@chromium.org> Date: Mon Sep 03 18:42:28 2018 Revert "inspector: find magic comment using V8 scanner" This reverts commit 1b3b808a5452cb53512b3e76505533c61e020b98. Reason for revert: crbug/879988 TBR=kozy@chromium.org Original change's description: > inspector: find magic comment using V8 scanner > > Inspector tries to provide sourceURL and sourceMappingURL for scripts > with parser errors. Without this CL we convert source of each script > to inspector string and search for magic comment there. Some web sites > use pattern when they get some data from network and constantly try to > parse this data as JSON, in this case we do a lot of useless work. > > So we can parse magic comments on V8 side only for compilation errors > (excluding parse JSON errors), to do it we can reuse scanner by running > it on each potential comment. > > R=alph@chromium.org,verwaest@chromium.org,yangguo@chromium.org > > Bug: chromium:873865,v8:7731 > Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel > Change-Id: I77c270fd0e95cd7b2c9ee4b7f72ef344bc1fa104 > Reviewed-on: https://chromium-review.googlesource.com/1182446 > Reviewed-by: Toon Verwaest <verwaest@chromium.org> > Reviewed-by: Alexei Filippov <alph@chromium.org> > Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> > Cr-Commit-Position: refs/heads/master@{#55280} TBR=alph@chromium.org,yangguo@chromium.org,kozyatinskiy@chromium.org,verwaest@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: chromium:873865, v8:7731, chromium:879988 Change-Id: Ia7ac766e19f9b58562d9430811f10b25c4556a46 Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel Reviewed-on: https://chromium-review.googlesource.com/1202583 Commit-Queue: Yang Guo <yangguo@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#55594} [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/v8-debugger-agent-impl.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/json-parser.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile-expected.txt [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile.js
,
Sep 3
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/4a96850aeb8e8b670a58c76d2cba11a36bd67c74 commit 4a96850aeb8e8b670a58c76d2cba11a36bd67c74 Author: Yang Guo <yangguo@chromium.org> Date: Mon Sep 03 18:42:28 2018 Revert "inspector: find magic comment using V8 scanner" This reverts commit 1b3b808a5452cb53512b3e76505533c61e020b98. Reason for revert: crbug/879988 TBR=kozy@chromium.org Original change's description: > inspector: find magic comment using V8 scanner > > Inspector tries to provide sourceURL and sourceMappingURL for scripts > with parser errors. Without this CL we convert source of each script > to inspector string and search for magic comment there. Some web sites > use pattern when they get some data from network and constantly try to > parse this data as JSON, in this case we do a lot of useless work. > > So we can parse magic comments on V8 side only for compilation errors > (excluding parse JSON errors), to do it we can reuse scanner by running > it on each potential comment. > > R=alph@chromium.org,verwaest@chromium.org,yangguo@chromium.org > > Bug: chromium:873865,v8:7731 > Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel > Change-Id: I77c270fd0e95cd7b2c9ee4b7f72ef344bc1fa104 > Reviewed-on: https://chromium-review.googlesource.com/1182446 > Reviewed-by: Toon Verwaest <verwaest@chromium.org> > Reviewed-by: Alexei Filippov <alph@chromium.org> > Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> > Cr-Commit-Position: refs/heads/master@{#55280} TBR=alph@chromium.org,yangguo@chromium.org,kozyatinskiy@chromium.org,verwaest@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: chromium:873865, v8:7731, chromium:879988 Change-Id: Ia7ac766e19f9b58562d9430811f10b25c4556a46 Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel Reviewed-on: https://chromium-review.googlesource.com/1202583 Commit-Queue: Yang Guo <yangguo@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#55594} [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/v8-debugger-agent-impl.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/json-parser.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile-expected.txt [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile.js
,
Sep 3
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/4a96850aeb8e8b670a58c76d2cba11a36bd67c74 commit 4a96850aeb8e8b670a58c76d2cba11a36bd67c74 Author: Yang Guo <yangguo@chromium.org> Date: Mon Sep 03 18:42:28 2018 Revert "inspector: find magic comment using V8 scanner" This reverts commit 1b3b808a5452cb53512b3e76505533c61e020b98. Reason for revert: crbug/879988 TBR=kozy@chromium.org Original change's description: > inspector: find magic comment using V8 scanner > > Inspector tries to provide sourceURL and sourceMappingURL for scripts > with parser errors. Without this CL we convert source of each script > to inspector string and search for magic comment there. Some web sites > use pattern when they get some data from network and constantly try to > parse this data as JSON, in this case we do a lot of useless work. > > So we can parse magic comments on V8 side only for compilation errors > (excluding parse JSON errors), to do it we can reuse scanner by running > it on each potential comment. > > R=alph@chromium.org,verwaest@chromium.org,yangguo@chromium.org > > Bug: chromium:873865,v8:7731 > Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel > Change-Id: I77c270fd0e95cd7b2c9ee4b7f72ef344bc1fa104 > Reviewed-on: https://chromium-review.googlesource.com/1182446 > Reviewed-by: Toon Verwaest <verwaest@chromium.org> > Reviewed-by: Alexei Filippov <alph@chromium.org> > Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> > Cr-Commit-Position: refs/heads/master@{#55280} TBR=alph@chromium.org,yangguo@chromium.org,kozyatinskiy@chromium.org,verwaest@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: chromium:873865, v8:7731, chromium:879988 Change-Id: Ia7ac766e19f9b58562d9430811f10b25c4556a46 Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel Reviewed-on: https://chromium-review.googlesource.com/1202583 Commit-Queue: Yang Guo <yangguo@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#55594} [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/v8-debugger-agent-impl.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/json-parser.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile-expected.txt [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile.js
,
Sep 3
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/4a96850aeb8e8b670a58c76d2cba11a36bd67c74 commit 4a96850aeb8e8b670a58c76d2cba11a36bd67c74 Author: Yang Guo <yangguo@chromium.org> Date: Mon Sep 03 18:42:28 2018 Revert "inspector: find magic comment using V8 scanner" This reverts commit 1b3b808a5452cb53512b3e76505533c61e020b98. Reason for revert: crbug/879988 TBR=kozy@chromium.org Original change's description: > inspector: find magic comment using V8 scanner > > Inspector tries to provide sourceURL and sourceMappingURL for scripts > with parser errors. Without this CL we convert source of each script > to inspector string and search for magic comment there. Some web sites > use pattern when they get some data from network and constantly try to > parse this data as JSON, in this case we do a lot of useless work. > > So we can parse magic comments on V8 side only for compilation errors > (excluding parse JSON errors), to do it we can reuse scanner by running > it on each potential comment. > > R=alph@chromium.org,verwaest@chromium.org,yangguo@chromium.org > > Bug: chromium:873865,v8:7731 > Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel > Change-Id: I77c270fd0e95cd7b2c9ee4b7f72ef344bc1fa104 > Reviewed-on: https://chromium-review.googlesource.com/1182446 > Reviewed-by: Toon Verwaest <verwaest@chromium.org> > Reviewed-by: Alexei Filippov <alph@chromium.org> > Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> > Cr-Commit-Position: refs/heads/master@{#55280} TBR=alph@chromium.org,yangguo@chromium.org,kozyatinskiy@chromium.org,verwaest@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: chromium:873865, v8:7731, chromium:879988 Change-Id: Ia7ac766e19f9b58562d9430811f10b25c4556a46 Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel Reviewed-on: https://chromium-review.googlesource.com/1202583 Commit-Queue: Yang Guo <yangguo@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#55594} [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/v8-debugger-agent-impl.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/json-parser.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile-expected.txt [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile.js
,
Sep 3
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/4a96850aeb8e8b670a58c76d2cba11a36bd67c74 commit 4a96850aeb8e8b670a58c76d2cba11a36bd67c74 Author: Yang Guo <yangguo@chromium.org> Date: Mon Sep 03 18:42:28 2018 Revert "inspector: find magic comment using V8 scanner" This reverts commit 1b3b808a5452cb53512b3e76505533c61e020b98. Reason for revert: crbug/879988 TBR=kozy@chromium.org Original change's description: > inspector: find magic comment using V8 scanner > > Inspector tries to provide sourceURL and sourceMappingURL for scripts > with parser errors. Without this CL we convert source of each script > to inspector string and search for magic comment there. Some web sites > use pattern when they get some data from network and constantly try to > parse this data as JSON, in this case we do a lot of useless work. > > So we can parse magic comments on V8 side only for compilation errors > (excluding parse JSON errors), to do it we can reuse scanner by running > it on each potential comment. > > R=alph@chromium.org,verwaest@chromium.org,yangguo@chromium.org > > Bug: chromium:873865,v8:7731 > Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel > Change-Id: I77c270fd0e95cd7b2c9ee4b7f72ef344bc1fa104 > Reviewed-on: https://chromium-review.googlesource.com/1182446 > Reviewed-by: Toon Verwaest <verwaest@chromium.org> > Reviewed-by: Alexei Filippov <alph@chromium.org> > Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> > Cr-Commit-Position: refs/heads/master@{#55280} TBR=alph@chromium.org,yangguo@chromium.org,kozyatinskiy@chromium.org,verwaest@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: chromium:873865, v8:7731, chromium:879988 Change-Id: Ia7ac766e19f9b58562d9430811f10b25c4556a46 Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel Reviewed-on: https://chromium-review.googlesource.com/1202583 Commit-Queue: Yang Guo <yangguo@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#55594} [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/v8-debugger-agent-impl.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/json-parser.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile-expected.txt [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile.js
,
Sep 3
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/4a96850aeb8e8b670a58c76d2cba11a36bd67c74 commit 4a96850aeb8e8b670a58c76d2cba11a36bd67c74 Author: Yang Guo <yangguo@chromium.org> Date: Mon Sep 03 18:42:28 2018 Revert "inspector: find magic comment using V8 scanner" This reverts commit 1b3b808a5452cb53512b3e76505533c61e020b98. Reason for revert: crbug/879988 TBR=kozy@chromium.org Original change's description: > inspector: find magic comment using V8 scanner > > Inspector tries to provide sourceURL and sourceMappingURL for scripts > with parser errors. Without this CL we convert source of each script > to inspector string and search for magic comment there. Some web sites > use pattern when they get some data from network and constantly try to > parse this data as JSON, in this case we do a lot of useless work. > > So we can parse magic comments on V8 side only for compilation errors > (excluding parse JSON errors), to do it we can reuse scanner by running > it on each potential comment. > > R=alph@chromium.org,verwaest@chromium.org,yangguo@chromium.org > > Bug: chromium:873865,v8:7731 > Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel > Change-Id: I77c270fd0e95cd7b2c9ee4b7f72ef344bc1fa104 > Reviewed-on: https://chromium-review.googlesource.com/1182446 > Reviewed-by: Toon Verwaest <verwaest@chromium.org> > Reviewed-by: Alexei Filippov <alph@chromium.org> > Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> > Cr-Commit-Position: refs/heads/master@{#55280} TBR=alph@chromium.org,yangguo@chromium.org,kozyatinskiy@chromium.org,verwaest@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: chromium:873865, v8:7731, chromium:879988 Change-Id: Ia7ac766e19f9b58562d9430811f10b25c4556a46 Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel Reviewed-on: https://chromium-review.googlesource.com/1202583 Commit-Queue: Yang Guo <yangguo@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#55594} [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/v8-debugger-agent-impl.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/json-parser.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile-expected.txt [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile.js
,
Sep 3
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/4a96850aeb8e8b670a58c76d2cba11a36bd67c74 commit 4a96850aeb8e8b670a58c76d2cba11a36bd67c74 Author: Yang Guo <yangguo@chromium.org> Date: Mon Sep 03 18:42:28 2018 Revert "inspector: find magic comment using V8 scanner" This reverts commit 1b3b808a5452cb53512b3e76505533c61e020b98. Reason for revert: crbug/879988 TBR=kozy@chromium.org Original change's description: > inspector: find magic comment using V8 scanner > > Inspector tries to provide sourceURL and sourceMappingURL for scripts > with parser errors. Without this CL we convert source of each script > to inspector string and search for magic comment there. Some web sites > use pattern when they get some data from network and constantly try to > parse this data as JSON, in this case we do a lot of useless work. > > So we can parse magic comments on V8 side only for compilation errors > (excluding parse JSON errors), to do it we can reuse scanner by running > it on each potential comment. > > R=alph@chromium.org,verwaest@chromium.org,yangguo@chromium.org > > Bug: chromium:873865,v8:7731 > Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel > Change-Id: I77c270fd0e95cd7b2c9ee4b7f72ef344bc1fa104 > Reviewed-on: https://chromium-review.googlesource.com/1182446 > Reviewed-by: Toon Verwaest <verwaest@chromium.org> > Reviewed-by: Alexei Filippov <alph@chromium.org> > Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> > Cr-Commit-Position: refs/heads/master@{#55280} TBR=alph@chromium.org,yangguo@chromium.org,kozyatinskiy@chromium.org,verwaest@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: chromium:873865, v8:7731, chromium:879988 Change-Id: Ia7ac766e19f9b58562d9430811f10b25c4556a46 Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel Reviewed-on: https://chromium-review.googlesource.com/1202583 Commit-Queue: Yang Guo <yangguo@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#55594} [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/v8-debugger-agent-impl.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/json-parser.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile-expected.txt [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile.js
,
Sep 3
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/4a96850aeb8e8b670a58c76d2cba11a36bd67c74 commit 4a96850aeb8e8b670a58c76d2cba11a36bd67c74 Author: Yang Guo <yangguo@chromium.org> Date: Mon Sep 03 18:42:28 2018 Revert "inspector: find magic comment using V8 scanner" This reverts commit 1b3b808a5452cb53512b3e76505533c61e020b98. Reason for revert: crbug/879988 TBR=kozy@chromium.org Original change's description: > inspector: find magic comment using V8 scanner > > Inspector tries to provide sourceURL and sourceMappingURL for scripts > with parser errors. Without this CL we convert source of each script > to inspector string and search for magic comment there. Some web sites > use pattern when they get some data from network and constantly try to > parse this data as JSON, in this case we do a lot of useless work. > > So we can parse magic comments on V8 side only for compilation errors > (excluding parse JSON errors), to do it we can reuse scanner by running > it on each potential comment. > > R=alph@chromium.org,verwaest@chromium.org,yangguo@chromium.org > > Bug: chromium:873865,v8:7731 > Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel > Change-Id: I77c270fd0e95cd7b2c9ee4b7f72ef344bc1fa104 > Reviewed-on: https://chromium-review.googlesource.com/1182446 > Reviewed-by: Toon Verwaest <verwaest@chromium.org> > Reviewed-by: Alexei Filippov <alph@chromium.org> > Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> > Cr-Commit-Position: refs/heads/master@{#55280} TBR=alph@chromium.org,yangguo@chromium.org,kozyatinskiy@chromium.org,verwaest@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: chromium:873865, v8:7731, chromium:879988 Change-Id: Ia7ac766e19f9b58562d9430811f10b25c4556a46 Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel Reviewed-on: https://chromium-review.googlesource.com/1202583 Commit-Queue: Yang Guo <yangguo@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#55594} [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/v8-debugger-agent-impl.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/json-parser.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile-expected.txt [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile.js
,
Sep 3
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/4a96850aeb8e8b670a58c76d2cba11a36bd67c74 commit 4a96850aeb8e8b670a58c76d2cba11a36bd67c74 Author: Yang Guo <yangguo@chromium.org> Date: Mon Sep 03 18:42:28 2018 Revert "inspector: find magic comment using V8 scanner" This reverts commit 1b3b808a5452cb53512b3e76505533c61e020b98. Reason for revert: crbug/879988 TBR=kozy@chromium.org Original change's description: > inspector: find magic comment using V8 scanner > > Inspector tries to provide sourceURL and sourceMappingURL for scripts > with parser errors. Without this CL we convert source of each script > to inspector string and search for magic comment there. Some web sites > use pattern when they get some data from network and constantly try to > parse this data as JSON, in this case we do a lot of useless work. > > So we can parse magic comments on V8 side only for compilation errors > (excluding parse JSON errors), to do it we can reuse scanner by running > it on each potential comment. > > R=alph@chromium.org,verwaest@chromium.org,yangguo@chromium.org > > Bug: chromium:873865,v8:7731 > Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel > Change-Id: I77c270fd0e95cd7b2c9ee4b7f72ef344bc1fa104 > Reviewed-on: https://chromium-review.googlesource.com/1182446 > Reviewed-by: Toon Verwaest <verwaest@chromium.org> > Reviewed-by: Alexei Filippov <alph@chromium.org> > Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> > Cr-Commit-Position: refs/heads/master@{#55280} TBR=alph@chromium.org,yangguo@chromium.org,kozyatinskiy@chromium.org,verwaest@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: chromium:873865, v8:7731, chromium:879988 Change-Id: Ia7ac766e19f9b58562d9430811f10b25c4556a46 Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel Reviewed-on: https://chromium-review.googlesource.com/1202583 Commit-Queue: Yang Guo <yangguo@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#55594} [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/v8-debugger-agent-impl.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/json-parser.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile-expected.txt [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile.js
,
Sep 3
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/4a96850aeb8e8b670a58c76d2cba11a36bd67c74 commit 4a96850aeb8e8b670a58c76d2cba11a36bd67c74 Author: Yang Guo <yangguo@chromium.org> Date: Mon Sep 03 18:42:28 2018 Revert "inspector: find magic comment using V8 scanner" This reverts commit 1b3b808a5452cb53512b3e76505533c61e020b98. Reason for revert: crbug/879988 TBR=kozy@chromium.org Original change's description: > inspector: find magic comment using V8 scanner > > Inspector tries to provide sourceURL and sourceMappingURL for scripts > with parser errors. Without this CL we convert source of each script > to inspector string and search for magic comment there. Some web sites > use pattern when they get some data from network and constantly try to > parse this data as JSON, in this case we do a lot of useless work. > > So we can parse magic comments on V8 side only for compilation errors > (excluding parse JSON errors), to do it we can reuse scanner by running > it on each potential comment. > > R=alph@chromium.org,verwaest@chromium.org,yangguo@chromium.org > > Bug: chromium:873865,v8:7731 > Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel > Change-Id: I77c270fd0e95cd7b2c9ee4b7f72ef344bc1fa104 > Reviewed-on: https://chromium-review.googlesource.com/1182446 > Reviewed-by: Toon Verwaest <verwaest@chromium.org> > Reviewed-by: Alexei Filippov <alph@chromium.org> > Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> > Cr-Commit-Position: refs/heads/master@{#55280} TBR=alph@chromium.org,yangguo@chromium.org,kozyatinskiy@chromium.org,verwaest@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: chromium:873865, v8:7731, chromium:879988 Change-Id: Ia7ac766e19f9b58562d9430811f10b25c4556a46 Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel Reviewed-on: https://chromium-review.googlesource.com/1202583 Commit-Queue: Yang Guo <yangguo@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#55594} [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/v8-debugger-agent-impl.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/json-parser.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile-expected.txt [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile.js
,
Sep 3
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/4a96850aeb8e8b670a58c76d2cba11a36bd67c74 commit 4a96850aeb8e8b670a58c76d2cba11a36bd67c74 Author: Yang Guo <yangguo@chromium.org> Date: Mon Sep 03 18:42:28 2018 Revert "inspector: find magic comment using V8 scanner" This reverts commit 1b3b808a5452cb53512b3e76505533c61e020b98. Reason for revert: crbug/879988 TBR=kozy@chromium.org Original change's description: > inspector: find magic comment using V8 scanner > > Inspector tries to provide sourceURL and sourceMappingURL for scripts > with parser errors. Without this CL we convert source of each script > to inspector string and search for magic comment there. Some web sites > use pattern when they get some data from network and constantly try to > parse this data as JSON, in this case we do a lot of useless work. > > So we can parse magic comments on V8 side only for compilation errors > (excluding parse JSON errors), to do it we can reuse scanner by running > it on each potential comment. > > R=alph@chromium.org,verwaest@chromium.org,yangguo@chromium.org > > Bug: chromium:873865,v8:7731 > Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel > Change-Id: I77c270fd0e95cd7b2c9ee4b7f72ef344bc1fa104 > Reviewed-on: https://chromium-review.googlesource.com/1182446 > Reviewed-by: Toon Verwaest <verwaest@chromium.org> > Reviewed-by: Alexei Filippov <alph@chromium.org> > Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> > Cr-Commit-Position: refs/heads/master@{#55280} TBR=alph@chromium.org,yangguo@chromium.org,kozyatinskiy@chromium.org,verwaest@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: chromium:873865, v8:7731, chromium:879988 Change-Id: Ia7ac766e19f9b58562d9430811f10b25c4556a46 Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel Reviewed-on: https://chromium-review.googlesource.com/1202583 Commit-Queue: Yang Guo <yangguo@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#55594} [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/v8-debugger-agent-impl.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/json-parser.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile-expected.txt [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile.js
,
Sep 3
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/4a96850aeb8e8b670a58c76d2cba11a36bd67c74 commit 4a96850aeb8e8b670a58c76d2cba11a36bd67c74 Author: Yang Guo <yangguo@chromium.org> Date: Mon Sep 03 18:42:28 2018 Revert "inspector: find magic comment using V8 scanner" This reverts commit 1b3b808a5452cb53512b3e76505533c61e020b98. Reason for revert: crbug/879988 TBR=kozy@chromium.org Original change's description: > inspector: find magic comment using V8 scanner > > Inspector tries to provide sourceURL and sourceMappingURL for scripts > with parser errors. Without this CL we convert source of each script > to inspector string and search for magic comment there. Some web sites > use pattern when they get some data from network and constantly try to > parse this data as JSON, in this case we do a lot of useless work. > > So we can parse magic comments on V8 side only for compilation errors > (excluding parse JSON errors), to do it we can reuse scanner by running > it on each potential comment. > > R=alph@chromium.org,verwaest@chromium.org,yangguo@chromium.org > > Bug: chromium:873865,v8:7731 > Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel > Change-Id: I77c270fd0e95cd7b2c9ee4b7f72ef344bc1fa104 > Reviewed-on: https://chromium-review.googlesource.com/1182446 > Reviewed-by: Toon Verwaest <verwaest@chromium.org> > Reviewed-by: Alexei Filippov <alph@chromium.org> > Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> > Cr-Commit-Position: refs/heads/master@{#55280} TBR=alph@chromium.org,yangguo@chromium.org,kozyatinskiy@chromium.org,verwaest@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: chromium:873865, v8:7731, chromium:879988 Change-Id: Ia7ac766e19f9b58562d9430811f10b25c4556a46 Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel Reviewed-on: https://chromium-review.googlesource.com/1202583 Commit-Queue: Yang Guo <yangguo@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#55594} [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/v8-debugger-agent-impl.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/json-parser.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile-expected.txt [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile.js
,
Sep 3
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/4a96850aeb8e8b670a58c76d2cba11a36bd67c74 commit 4a96850aeb8e8b670a58c76d2cba11a36bd67c74 Author: Yang Guo <yangguo@chromium.org> Date: Mon Sep 03 18:42:28 2018 Revert "inspector: find magic comment using V8 scanner" This reverts commit 1b3b808a5452cb53512b3e76505533c61e020b98. Reason for revert: crbug/879988 TBR=kozy@chromium.org Original change's description: > inspector: find magic comment using V8 scanner > > Inspector tries to provide sourceURL and sourceMappingURL for scripts > with parser errors. Without this CL we convert source of each script > to inspector string and search for magic comment there. Some web sites > use pattern when they get some data from network and constantly try to > parse this data as JSON, in this case we do a lot of useless work. > > So we can parse magic comments on V8 side only for compilation errors > (excluding parse JSON errors), to do it we can reuse scanner by running > it on each potential comment. > > R=alph@chromium.org,verwaest@chromium.org,yangguo@chromium.org > > Bug: chromium:873865,v8:7731 > Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel > Change-Id: I77c270fd0e95cd7b2c9ee4b7f72ef344bc1fa104 > Reviewed-on: https://chromium-review.googlesource.com/1182446 > Reviewed-by: Toon Verwaest <verwaest@chromium.org> > Reviewed-by: Alexei Filippov <alph@chromium.org> > Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> > Cr-Commit-Position: refs/heads/master@{#55280} TBR=alph@chromium.org,yangguo@chromium.org,kozyatinskiy@chromium.org,verwaest@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: chromium:873865, v8:7731, chromium:879988 Change-Id: Ia7ac766e19f9b58562d9430811f10b25c4556a46 Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel Reviewed-on: https://chromium-review.googlesource.com/1202583 Commit-Queue: Yang Guo <yangguo@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#55594} [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/v8-debugger-agent-impl.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/json-parser.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile-expected.txt [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile.js
,
Sep 3
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/4a96850aeb8e8b670a58c76d2cba11a36bd67c74 commit 4a96850aeb8e8b670a58c76d2cba11a36bd67c74 Author: Yang Guo <yangguo@chromium.org> Date: Mon Sep 03 18:42:28 2018 Revert "inspector: find magic comment using V8 scanner" This reverts commit 1b3b808a5452cb53512b3e76505533c61e020b98. Reason for revert: crbug/879988 TBR=kozy@chromium.org Original change's description: > inspector: find magic comment using V8 scanner > > Inspector tries to provide sourceURL and sourceMappingURL for scripts > with parser errors. Without this CL we convert source of each script > to inspector string and search for magic comment there. Some web sites > use pattern when they get some data from network and constantly try to > parse this data as JSON, in this case we do a lot of useless work. > > So we can parse magic comments on V8 side only for compilation errors > (excluding parse JSON errors), to do it we can reuse scanner by running > it on each potential comment. > > R=alph@chromium.org,verwaest@chromium.org,yangguo@chromium.org > > Bug: chromium:873865,v8:7731 > Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel > Change-Id: I77c270fd0e95cd7b2c9ee4b7f72ef344bc1fa104 > Reviewed-on: https://chromium-review.googlesource.com/1182446 > Reviewed-by: Toon Verwaest <verwaest@chromium.org> > Reviewed-by: Alexei Filippov <alph@chromium.org> > Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> > Cr-Commit-Position: refs/heads/master@{#55280} TBR=alph@chromium.org,yangguo@chromium.org,kozyatinskiy@chromium.org,verwaest@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: chromium:873865, v8:7731, chromium:879988 Change-Id: Ia7ac766e19f9b58562d9430811f10b25c4556a46 Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel Reviewed-on: https://chromium-review.googlesource.com/1202583 Commit-Queue: Yang Guo <yangguo@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#55594} [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/v8-debugger-agent-impl.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/json-parser.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile-expected.txt [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile.js
,
Sep 3
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/4a96850aeb8e8b670a58c76d2cba11a36bd67c74 commit 4a96850aeb8e8b670a58c76d2cba11a36bd67c74 Author: Yang Guo <yangguo@chromium.org> Date: Mon Sep 03 18:42:28 2018 Revert "inspector: find magic comment using V8 scanner" This reverts commit 1b3b808a5452cb53512b3e76505533c61e020b98. Reason for revert: crbug/879988 TBR=kozy@chromium.org Original change's description: > inspector: find magic comment using V8 scanner > > Inspector tries to provide sourceURL and sourceMappingURL for scripts > with parser errors. Without this CL we convert source of each script > to inspector string and search for magic comment there. Some web sites > use pattern when they get some data from network and constantly try to > parse this data as JSON, in this case we do a lot of useless work. > > So we can parse magic comments on V8 side only for compilation errors > (excluding parse JSON errors), to do it we can reuse scanner by running > it on each potential comment. > > R=alph@chromium.org,verwaest@chromium.org,yangguo@chromium.org > > Bug: chromium:873865,v8:7731 > Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel > Change-Id: I77c270fd0e95cd7b2c9ee4b7f72ef344bc1fa104 > Reviewed-on: https://chromium-review.googlesource.com/1182446 > Reviewed-by: Toon Verwaest <verwaest@chromium.org> > Reviewed-by: Alexei Filippov <alph@chromium.org> > Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> > Cr-Commit-Position: refs/heads/master@{#55280} TBR=alph@chromium.org,yangguo@chromium.org,kozyatinskiy@chromium.org,verwaest@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: chromium:873865, v8:7731, chromium:879988 Change-Id: Ia7ac766e19f9b58562d9430811f10b25c4556a46 Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel Reviewed-on: https://chromium-review.googlesource.com/1202583 Commit-Queue: Yang Guo <yangguo@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#55594} [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/v8-debugger-agent-impl.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/json-parser.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile-expected.txt [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile.js
,
Sep 3
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/4a96850aeb8e8b670a58c76d2cba11a36bd67c74 commit 4a96850aeb8e8b670a58c76d2cba11a36bd67c74 Author: Yang Guo <yangguo@chromium.org> Date: Mon Sep 03 18:42:28 2018 Revert "inspector: find magic comment using V8 scanner" This reverts commit 1b3b808a5452cb53512b3e76505533c61e020b98. Reason for revert: crbug/879988 TBR=kozy@chromium.org Original change's description: > inspector: find magic comment using V8 scanner > > Inspector tries to provide sourceURL and sourceMappingURL for scripts > with parser errors. Without this CL we convert source of each script > to inspector string and search for magic comment there. Some web sites > use pattern when they get some data from network and constantly try to > parse this data as JSON, in this case we do a lot of useless work. > > So we can parse magic comments on V8 side only for compilation errors > (excluding parse JSON errors), to do it we can reuse scanner by running > it on each potential comment. > > R=alph@chromium.org,verwaest@chromium.org,yangguo@chromium.org > > Bug: chromium:873865,v8:7731 > Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel > Change-Id: I77c270fd0e95cd7b2c9ee4b7f72ef344bc1fa104 > Reviewed-on: https://chromium-review.googlesource.com/1182446 > Reviewed-by: Toon Verwaest <verwaest@chromium.org> > Reviewed-by: Alexei Filippov <alph@chromium.org> > Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> > Cr-Commit-Position: refs/heads/master@{#55280} TBR=alph@chromium.org,yangguo@chromium.org,kozyatinskiy@chromium.org,verwaest@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: chromium:873865, v8:7731, chromium:879988 Change-Id: Ia7ac766e19f9b58562d9430811f10b25c4556a46 Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel Reviewed-on: https://chromium-review.googlesource.com/1202583 Commit-Queue: Yang Guo <yangguo@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#55594} [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/v8-debugger-agent-impl.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/json-parser.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile-expected.txt [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile.js
,
Sep 3
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/4a96850aeb8e8b670a58c76d2cba11a36bd67c74 commit 4a96850aeb8e8b670a58c76d2cba11a36bd67c74 Author: Yang Guo <yangguo@chromium.org> Date: Mon Sep 03 18:42:28 2018 Revert "inspector: find magic comment using V8 scanner" This reverts commit 1b3b808a5452cb53512b3e76505533c61e020b98. Reason for revert: crbug/879988 TBR=kozy@chromium.org Original change's description: > inspector: find magic comment using V8 scanner > > Inspector tries to provide sourceURL and sourceMappingURL for scripts > with parser errors. Without this CL we convert source of each script > to inspector string and search for magic comment there. Some web sites > use pattern when they get some data from network and constantly try to > parse this data as JSON, in this case we do a lot of useless work. > > So we can parse magic comments on V8 side only for compilation errors > (excluding parse JSON errors), to do it we can reuse scanner by running > it on each potential comment. > > R=alph@chromium.org,verwaest@chromium.org,yangguo@chromium.org > > Bug: chromium:873865,v8:7731 > Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel > Change-Id: I77c270fd0e95cd7b2c9ee4b7f72ef344bc1fa104 > Reviewed-on: https://chromium-review.googlesource.com/1182446 > Reviewed-by: Toon Verwaest <verwaest@chromium.org> > Reviewed-by: Alexei Filippov <alph@chromium.org> > Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> > Cr-Commit-Position: refs/heads/master@{#55280} TBR=alph@chromium.org,yangguo@chromium.org,kozyatinskiy@chromium.org,verwaest@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: chromium:873865, v8:7731, chromium:879988 Change-Id: Ia7ac766e19f9b58562d9430811f10b25c4556a46 Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel Reviewed-on: https://chromium-review.googlesource.com/1202583 Commit-Queue: Yang Guo <yangguo@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#55594} [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/v8-debugger-agent-impl.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/json-parser.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile-expected.txt [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile.js
,
Sep 3
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/4a96850aeb8e8b670a58c76d2cba11a36bd67c74 commit 4a96850aeb8e8b670a58c76d2cba11a36bd67c74 Author: Yang Guo <yangguo@chromium.org> Date: Mon Sep 03 18:42:28 2018 Revert "inspector: find magic comment using V8 scanner" This reverts commit 1b3b808a5452cb53512b3e76505533c61e020b98. Reason for revert: crbug/879988 TBR=kozy@chromium.org Original change's description: > inspector: find magic comment using V8 scanner > > Inspector tries to provide sourceURL and sourceMappingURL for scripts > with parser errors. Without this CL we convert source of each script > to inspector string and search for magic comment there. Some web sites > use pattern when they get some data from network and constantly try to > parse this data as JSON, in this case we do a lot of useless work. > > So we can parse magic comments on V8 side only for compilation errors > (excluding parse JSON errors), to do it we can reuse scanner by running > it on each potential comment. > > R=alph@chromium.org,verwaest@chromium.org,yangguo@chromium.org > > Bug: chromium:873865,v8:7731 > Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel > Change-Id: I77c270fd0e95cd7b2c9ee4b7f72ef344bc1fa104 > Reviewed-on: https://chromium-review.googlesource.com/1182446 > Reviewed-by: Toon Verwaest <verwaest@chromium.org> > Reviewed-by: Alexei Filippov <alph@chromium.org> > Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> > Cr-Commit-Position: refs/heads/master@{#55280} TBR=alph@chromium.org,yangguo@chromium.org,kozyatinskiy@chromium.org,verwaest@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: chromium:873865, v8:7731, chromium:879988 Change-Id: Ia7ac766e19f9b58562d9430811f10b25c4556a46 Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel Reviewed-on: https://chromium-review.googlesource.com/1202583 Commit-Queue: Yang Guo <yangguo@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#55594} [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/v8-debugger-agent-impl.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/json-parser.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile-expected.txt [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile.js
,
Sep 3
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/4a96850aeb8e8b670a58c76d2cba11a36bd67c74 commit 4a96850aeb8e8b670a58c76d2cba11a36bd67c74 Author: Yang Guo <yangguo@chromium.org> Date: Mon Sep 03 18:42:28 2018 Revert "inspector: find magic comment using V8 scanner" This reverts commit 1b3b808a5452cb53512b3e76505533c61e020b98. Reason for revert: crbug/879988 TBR=kozy@chromium.org Original change's description: > inspector: find magic comment using V8 scanner > > Inspector tries to provide sourceURL and sourceMappingURL for scripts > with parser errors. Without this CL we convert source of each script > to inspector string and search for magic comment there. Some web sites > use pattern when they get some data from network and constantly try to > parse this data as JSON, in this case we do a lot of useless work. > > So we can parse magic comments on V8 side only for compilation errors > (excluding parse JSON errors), to do it we can reuse scanner by running > it on each potential comment. > > R=alph@chromium.org,verwaest@chromium.org,yangguo@chromium.org > > Bug: chromium:873865,v8:7731 > Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel > Change-Id: I77c270fd0e95cd7b2c9ee4b7f72ef344bc1fa104 > Reviewed-on: https://chromium-review.googlesource.com/1182446 > Reviewed-by: Toon Verwaest <verwaest@chromium.org> > Reviewed-by: Alexei Filippov <alph@chromium.org> > Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> > Cr-Commit-Position: refs/heads/master@{#55280} TBR=alph@chromium.org,yangguo@chromium.org,kozyatinskiy@chromium.org,verwaest@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: chromium:873865, v8:7731, chromium:879988 Change-Id: Ia7ac766e19f9b58562d9430811f10b25c4556a46 Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel Reviewed-on: https://chromium-review.googlesource.com/1202583 Commit-Queue: Yang Guo <yangguo@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#55594} [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/v8-debugger-agent-impl.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/json-parser.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile-expected.txt [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile.js
,
Sep 3
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/4a96850aeb8e8b670a58c76d2cba11a36bd67c74 commit 4a96850aeb8e8b670a58c76d2cba11a36bd67c74 Author: Yang Guo <yangguo@chromium.org> Date: Mon Sep 03 18:42:28 2018 Revert "inspector: find magic comment using V8 scanner" This reverts commit 1b3b808a5452cb53512b3e76505533c61e020b98. Reason for revert: crbug/879988 TBR=kozy@chromium.org Original change's description: > inspector: find magic comment using V8 scanner > > Inspector tries to provide sourceURL and sourceMappingURL for scripts > with parser errors. Without this CL we convert source of each script > to inspector string and search for magic comment there. Some web sites > use pattern when they get some data from network and constantly try to > parse this data as JSON, in this case we do a lot of useless work. > > So we can parse magic comments on V8 side only for compilation errors > (excluding parse JSON errors), to do it we can reuse scanner by running > it on each potential comment. > > R=alph@chromium.org,verwaest@chromium.org,yangguo@chromium.org > > Bug: chromium:873865,v8:7731 > Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel > Change-Id: I77c270fd0e95cd7b2c9ee4b7f72ef344bc1fa104 > Reviewed-on: https://chromium-review.googlesource.com/1182446 > Reviewed-by: Toon Verwaest <verwaest@chromium.org> > Reviewed-by: Alexei Filippov <alph@chromium.org> > Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> > Cr-Commit-Position: refs/heads/master@{#55280} TBR=alph@chromium.org,yangguo@chromium.org,kozyatinskiy@chromium.org,verwaest@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: chromium:873865, v8:7731, chromium:879988 Change-Id: Ia7ac766e19f9b58562d9430811f10b25c4556a46 Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel Reviewed-on: https://chromium-review.googlesource.com/1202583 Commit-Queue: Yang Guo <yangguo@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#55594} [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/v8-debugger-agent-impl.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/json-parser.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile-expected.txt [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile.js
,
Sep 3
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/4a96850aeb8e8b670a58c76d2cba11a36bd67c74 commit 4a96850aeb8e8b670a58c76d2cba11a36bd67c74 Author: Yang Guo <yangguo@chromium.org> Date: Mon Sep 03 18:42:28 2018 Revert "inspector: find magic comment using V8 scanner" This reverts commit 1b3b808a5452cb53512b3e76505533c61e020b98. Reason for revert: crbug/879988 TBR=kozy@chromium.org Original change's description: > inspector: find magic comment using V8 scanner > > Inspector tries to provide sourceURL and sourceMappingURL for scripts > with parser errors. Without this CL we convert source of each script > to inspector string and search for magic comment there. Some web sites > use pattern when they get some data from network and constantly try to > parse this data as JSON, in this case we do a lot of useless work. > > So we can parse magic comments on V8 side only for compilation errors > (excluding parse JSON errors), to do it we can reuse scanner by running > it on each potential comment. > > R=alph@chromium.org,verwaest@chromium.org,yangguo@chromium.org > > Bug: chromium:873865,v8:7731 > Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel > Change-Id: I77c270fd0e95cd7b2c9ee4b7f72ef344bc1fa104 > Reviewed-on: https://chromium-review.googlesource.com/1182446 > Reviewed-by: Toon Verwaest <verwaest@chromium.org> > Reviewed-by: Alexei Filippov <alph@chromium.org> > Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> > Cr-Commit-Position: refs/heads/master@{#55280} TBR=alph@chromium.org,yangguo@chromium.org,kozyatinskiy@chromium.org,verwaest@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: chromium:873865, v8:7731, chromium:879988 Change-Id: Ia7ac766e19f9b58562d9430811f10b25c4556a46 Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel Reviewed-on: https://chromium-review.googlesource.com/1202583 Commit-Queue: Yang Guo <yangguo@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#55594} [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/v8-debugger-agent-impl.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/json-parser.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile-expected.txt [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile.js
,
Sep 4
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/4a96850aeb8e8b670a58c76d2cba11a36bd67c74 commit 4a96850aeb8e8b670a58c76d2cba11a36bd67c74 Author: Yang Guo <yangguo@chromium.org> Date: Mon Sep 03 18:42:28 2018 Revert "inspector: find magic comment using V8 scanner" This reverts commit 1b3b808a5452cb53512b3e76505533c61e020b98. Reason for revert: crbug/879988 TBR=kozy@chromium.org Original change's description: > inspector: find magic comment using V8 scanner > > Inspector tries to provide sourceURL and sourceMappingURL for scripts > with parser errors. Without this CL we convert source of each script > to inspector string and search for magic comment there. Some web sites > use pattern when they get some data from network and constantly try to > parse this data as JSON, in this case we do a lot of useless work. > > So we can parse magic comments on V8 side only for compilation errors > (excluding parse JSON errors), to do it we can reuse scanner by running > it on each potential comment. > > R=alph@chromium.org,verwaest@chromium.org,yangguo@chromium.org > > Bug: chromium:873865,v8:7731 > Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel > Change-Id: I77c270fd0e95cd7b2c9ee4b7f72ef344bc1fa104 > Reviewed-on: https://chromium-review.googlesource.com/1182446 > Reviewed-by: Toon Verwaest <verwaest@chromium.org> > Reviewed-by: Alexei Filippov <alph@chromium.org> > Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> > Cr-Commit-Position: refs/heads/master@{#55280} TBR=alph@chromium.org,yangguo@chromium.org,kozyatinskiy@chromium.org,verwaest@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: chromium:873865, v8:7731, chromium:879988 Change-Id: Ia7ac766e19f9b58562d9430811f10b25c4556a46 Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel Reviewed-on: https://chromium-review.googlesource.com/1202583 Commit-Queue: Yang Guo <yangguo@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#55594} [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/v8-debugger-agent-impl.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/json-parser.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile-expected.txt [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile.js
,
Sep 4
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/4a96850aeb8e8b670a58c76d2cba11a36bd67c74 commit 4a96850aeb8e8b670a58c76d2cba11a36bd67c74 Author: Yang Guo <yangguo@chromium.org> Date: Mon Sep 03 18:42:28 2018 Revert "inspector: find magic comment using V8 scanner" This reverts commit 1b3b808a5452cb53512b3e76505533c61e020b98. Reason for revert: crbug/879988 TBR=kozy@chromium.org Original change's description: > inspector: find magic comment using V8 scanner > > Inspector tries to provide sourceURL and sourceMappingURL for scripts > with parser errors. Without this CL we convert source of each script > to inspector string and search for magic comment there. Some web sites > use pattern when they get some data from network and constantly try to > parse this data as JSON, in this case we do a lot of useless work. > > So we can parse magic comments on V8 side only for compilation errors > (excluding parse JSON errors), to do it we can reuse scanner by running > it on each potential comment. > > R=alph@chromium.org,verwaest@chromium.org,yangguo@chromium.org > > Bug: chromium:873865,v8:7731 > Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel > Change-Id: I77c270fd0e95cd7b2c9ee4b7f72ef344bc1fa104 > Reviewed-on: https://chromium-review.googlesource.com/1182446 > Reviewed-by: Toon Verwaest <verwaest@chromium.org> > Reviewed-by: Alexei Filippov <alph@chromium.org> > Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> > Cr-Commit-Position: refs/heads/master@{#55280} TBR=alph@chromium.org,yangguo@chromium.org,kozyatinskiy@chromium.org,verwaest@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: chromium:873865, v8:7731, chromium:879988 Change-Id: Ia7ac766e19f9b58562d9430811f10b25c4556a46 Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel Reviewed-on: https://chromium-review.googlesource.com/1202583 Commit-Queue: Yang Guo <yangguo@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#55594} [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/v8-debugger-agent-impl.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/json-parser.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile-expected.txt [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile.js
,
Sep 4
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/4a96850aeb8e8b670a58c76d2cba11a36bd67c74 commit 4a96850aeb8e8b670a58c76d2cba11a36bd67c74 Author: Yang Guo <yangguo@chromium.org> Date: Mon Sep 03 18:42:28 2018 Revert "inspector: find magic comment using V8 scanner" This reverts commit 1b3b808a5452cb53512b3e76505533c61e020b98. Reason for revert: crbug/879988 TBR=kozy@chromium.org Original change's description: > inspector: find magic comment using V8 scanner > > Inspector tries to provide sourceURL and sourceMappingURL for scripts > with parser errors. Without this CL we convert source of each script > to inspector string and search for magic comment there. Some web sites > use pattern when they get some data from network and constantly try to > parse this data as JSON, in this case we do a lot of useless work. > > So we can parse magic comments on V8 side only for compilation errors > (excluding parse JSON errors), to do it we can reuse scanner by running > it on each potential comment. > > R=alph@chromium.org,verwaest@chromium.org,yangguo@chromium.org > > Bug: chromium:873865,v8:7731 > Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel > Change-Id: I77c270fd0e95cd7b2c9ee4b7f72ef344bc1fa104 > Reviewed-on: https://chromium-review.googlesource.com/1182446 > Reviewed-by: Toon Verwaest <verwaest@chromium.org> > Reviewed-by: Alexei Filippov <alph@chromium.org> > Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> > Cr-Commit-Position: refs/heads/master@{#55280} TBR=alph@chromium.org,yangguo@chromium.org,kozyatinskiy@chromium.org,verwaest@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: chromium:873865, v8:7731, chromium:879988 Change-Id: Ia7ac766e19f9b58562d9430811f10b25c4556a46 Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel Reviewed-on: https://chromium-review.googlesource.com/1202583 Commit-Queue: Yang Guo <yangguo@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#55594} [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/v8-debugger-agent-impl.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/json-parser.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile-expected.txt [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile.js
,
Sep 4
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/4a96850aeb8e8b670a58c76d2cba11a36bd67c74 commit 4a96850aeb8e8b670a58c76d2cba11a36bd67c74 Author: Yang Guo <yangguo@chromium.org> Date: Mon Sep 03 18:42:28 2018 Revert "inspector: find magic comment using V8 scanner" This reverts commit 1b3b808a5452cb53512b3e76505533c61e020b98. Reason for revert: crbug/879988 TBR=kozy@chromium.org Original change's description: > inspector: find magic comment using V8 scanner > > Inspector tries to provide sourceURL and sourceMappingURL for scripts > with parser errors. Without this CL we convert source of each script > to inspector string and search for magic comment there. Some web sites > use pattern when they get some data from network and constantly try to > parse this data as JSON, in this case we do a lot of useless work. > > So we can parse magic comments on V8 side only for compilation errors > (excluding parse JSON errors), to do it we can reuse scanner by running > it on each potential comment. > > R=alph@chromium.org,verwaest@chromium.org,yangguo@chromium.org > > Bug: chromium:873865,v8:7731 > Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel > Change-Id: I77c270fd0e95cd7b2c9ee4b7f72ef344bc1fa104 > Reviewed-on: https://chromium-review.googlesource.com/1182446 > Reviewed-by: Toon Verwaest <verwaest@chromium.org> > Reviewed-by: Alexei Filippov <alph@chromium.org> > Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> > Cr-Commit-Position: refs/heads/master@{#55280} TBR=alph@chromium.org,yangguo@chromium.org,kozyatinskiy@chromium.org,verwaest@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: chromium:873865, v8:7731, chromium:879988 Change-Id: Ia7ac766e19f9b58562d9430811f10b25c4556a46 Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel Reviewed-on: https://chromium-review.googlesource.com/1202583 Commit-Queue: Yang Guo <yangguo@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#55594} [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/v8-debugger-agent-impl.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/json-parser.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile-expected.txt [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile.js
,
Sep 4
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/4a96850aeb8e8b670a58c76d2cba11a36bd67c74 commit 4a96850aeb8e8b670a58c76d2cba11a36bd67c74 Author: Yang Guo <yangguo@chromium.org> Date: Mon Sep 03 18:42:28 2018 Revert "inspector: find magic comment using V8 scanner" This reverts commit 1b3b808a5452cb53512b3e76505533c61e020b98. Reason for revert: crbug/879988 TBR=kozy@chromium.org Original change's description: > inspector: find magic comment using V8 scanner > > Inspector tries to provide sourceURL and sourceMappingURL for scripts > with parser errors. Without this CL we convert source of each script > to inspector string and search for magic comment there. Some web sites > use pattern when they get some data from network and constantly try to > parse this data as JSON, in this case we do a lot of useless work. > > So we can parse magic comments on V8 side only for compilation errors > (excluding parse JSON errors), to do it we can reuse scanner by running > it on each potential comment. > > R=alph@chromium.org,verwaest@chromium.org,yangguo@chromium.org > > Bug: chromium:873865,v8:7731 > Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel > Change-Id: I77c270fd0e95cd7b2c9ee4b7f72ef344bc1fa104 > Reviewed-on: https://chromium-review.googlesource.com/1182446 > Reviewed-by: Toon Verwaest <verwaest@chromium.org> > Reviewed-by: Alexei Filippov <alph@chromium.org> > Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> > Cr-Commit-Position: refs/heads/master@{#55280} TBR=alph@chromium.org,yangguo@chromium.org,kozyatinskiy@chromium.org,verwaest@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: chromium:873865, v8:7731, chromium:879988 Change-Id: Ia7ac766e19f9b58562d9430811f10b25c4556a46 Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel Reviewed-on: https://chromium-review.googlesource.com/1202583 Commit-Queue: Yang Guo <yangguo@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#55594} [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/v8-debugger-agent-impl.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/json-parser.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile-expected.txt [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile.js
,
Sep 4
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/4a96850aeb8e8b670a58c76d2cba11a36bd67c74 commit 4a96850aeb8e8b670a58c76d2cba11a36bd67c74 Author: Yang Guo <yangguo@chromium.org> Date: Mon Sep 03 18:42:28 2018 Revert "inspector: find magic comment using V8 scanner" This reverts commit 1b3b808a5452cb53512b3e76505533c61e020b98. Reason for revert: crbug/879988 TBR=kozy@chromium.org Original change's description: > inspector: find magic comment using V8 scanner > > Inspector tries to provide sourceURL and sourceMappingURL for scripts > with parser errors. Without this CL we convert source of each script > to inspector string and search for magic comment there. Some web sites > use pattern when they get some data from network and constantly try to > parse this data as JSON, in this case we do a lot of useless work. > > So we can parse magic comments on V8 side only for compilation errors > (excluding parse JSON errors), to do it we can reuse scanner by running > it on each potential comment. > > R=alph@chromium.org,verwaest@chromium.org,yangguo@chromium.org > > Bug: chromium:873865,v8:7731 > Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel > Change-Id: I77c270fd0e95cd7b2c9ee4b7f72ef344bc1fa104 > Reviewed-on: https://chromium-review.googlesource.com/1182446 > Reviewed-by: Toon Verwaest <verwaest@chromium.org> > Reviewed-by: Alexei Filippov <alph@chromium.org> > Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> > Cr-Commit-Position: refs/heads/master@{#55280} TBR=alph@chromium.org,yangguo@chromium.org,kozyatinskiy@chromium.org,verwaest@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: chromium:873865, v8:7731, chromium:879988 Change-Id: Ia7ac766e19f9b58562d9430811f10b25c4556a46 Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel Reviewed-on: https://chromium-review.googlesource.com/1202583 Commit-Queue: Yang Guo <yangguo@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#55594} [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/v8-debugger-agent-impl.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/json-parser.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile-expected.txt [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile.js
,
Sep 4
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/4a96850aeb8e8b670a58c76d2cba11a36bd67c74 commit 4a96850aeb8e8b670a58c76d2cba11a36bd67c74 Author: Yang Guo <yangguo@chromium.org> Date: Mon Sep 03 18:42:28 2018 Revert "inspector: find magic comment using V8 scanner" This reverts commit 1b3b808a5452cb53512b3e76505533c61e020b98. Reason for revert: crbug/879988 TBR=kozy@chromium.org Original change's description: > inspector: find magic comment using V8 scanner > > Inspector tries to provide sourceURL and sourceMappingURL for scripts > with parser errors. Without this CL we convert source of each script > to inspector string and search for magic comment there. Some web sites > use pattern when they get some data from network and constantly try to > parse this data as JSON, in this case we do a lot of useless work. > > So we can parse magic comments on V8 side only for compilation errors > (excluding parse JSON errors), to do it we can reuse scanner by running > it on each potential comment. > > R=alph@chromium.org,verwaest@chromium.org,yangguo@chromium.org > > Bug: chromium:873865,v8:7731 > Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel > Change-Id: I77c270fd0e95cd7b2c9ee4b7f72ef344bc1fa104 > Reviewed-on: https://chromium-review.googlesource.com/1182446 > Reviewed-by: Toon Verwaest <verwaest@chromium.org> > Reviewed-by: Alexei Filippov <alph@chromium.org> > Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> > Cr-Commit-Position: refs/heads/master@{#55280} TBR=alph@chromium.org,yangguo@chromium.org,kozyatinskiy@chromium.org,verwaest@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: chromium:873865, v8:7731, chromium:879988 Change-Id: Ia7ac766e19f9b58562d9430811f10b25c4556a46 Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel Reviewed-on: https://chromium-review.googlesource.com/1202583 Commit-Queue: Yang Guo <yangguo@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#55594} [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/v8-debugger-agent-impl.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/json-parser.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile-expected.txt [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile.js
,
Sep 4
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/4a96850aeb8e8b670a58c76d2cba11a36bd67c74 commit 4a96850aeb8e8b670a58c76d2cba11a36bd67c74 Author: Yang Guo <yangguo@chromium.org> Date: Mon Sep 03 18:42:28 2018 Revert "inspector: find magic comment using V8 scanner" This reverts commit 1b3b808a5452cb53512b3e76505533c61e020b98. Reason for revert: crbug/879988 TBR=kozy@chromium.org Original change's description: > inspector: find magic comment using V8 scanner > > Inspector tries to provide sourceURL and sourceMappingURL for scripts > with parser errors. Without this CL we convert source of each script > to inspector string and search for magic comment there. Some web sites > use pattern when they get some data from network and constantly try to > parse this data as JSON, in this case we do a lot of useless work. > > So we can parse magic comments on V8 side only for compilation errors > (excluding parse JSON errors), to do it we can reuse scanner by running > it on each potential comment. > > R=alph@chromium.org,verwaest@chromium.org,yangguo@chromium.org > > Bug: chromium:873865,v8:7731 > Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel > Change-Id: I77c270fd0e95cd7b2c9ee4b7f72ef344bc1fa104 > Reviewed-on: https://chromium-review.googlesource.com/1182446 > Reviewed-by: Toon Verwaest <verwaest@chromium.org> > Reviewed-by: Alexei Filippov <alph@chromium.org> > Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> > Cr-Commit-Position: refs/heads/master@{#55280} TBR=alph@chromium.org,yangguo@chromium.org,kozyatinskiy@chromium.org,verwaest@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: chromium:873865, v8:7731, chromium:879988 Change-Id: Ia7ac766e19f9b58562d9430811f10b25c4556a46 Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel Reviewed-on: https://chromium-review.googlesource.com/1202583 Commit-Queue: Yang Guo <yangguo@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#55594} [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/v8-debugger-agent-impl.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/json-parser.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile-expected.txt [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile.js
,
Sep 4
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/4a96850aeb8e8b670a58c76d2cba11a36bd67c74 commit 4a96850aeb8e8b670a58c76d2cba11a36bd67c74 Author: Yang Guo <yangguo@chromium.org> Date: Mon Sep 03 18:42:28 2018 Revert "inspector: find magic comment using V8 scanner" This reverts commit 1b3b808a5452cb53512b3e76505533c61e020b98. Reason for revert: crbug/879988 TBR=kozy@chromium.org Original change's description: > inspector: find magic comment using V8 scanner > > Inspector tries to provide sourceURL and sourceMappingURL for scripts > with parser errors. Without this CL we convert source of each script > to inspector string and search for magic comment there. Some web sites > use pattern when they get some data from network and constantly try to > parse this data as JSON, in this case we do a lot of useless work. > > So we can parse magic comments on V8 side only for compilation errors > (excluding parse JSON errors), to do it we can reuse scanner by running > it on each potential comment. > > R=alph@chromium.org,verwaest@chromium.org,yangguo@chromium.org > > Bug: chromium:873865,v8:7731 > Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel > Change-Id: I77c270fd0e95cd7b2c9ee4b7f72ef344bc1fa104 > Reviewed-on: https://chromium-review.googlesource.com/1182446 > Reviewed-by: Toon Verwaest <verwaest@chromium.org> > Reviewed-by: Alexei Filippov <alph@chromium.org> > Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> > Cr-Commit-Position: refs/heads/master@{#55280} TBR=alph@chromium.org,yangguo@chromium.org,kozyatinskiy@chromium.org,verwaest@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: chromium:873865, v8:7731, chromium:879988 Change-Id: Ia7ac766e19f9b58562d9430811f10b25c4556a46 Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel Reviewed-on: https://chromium-review.googlesource.com/1202583 Commit-Queue: Yang Guo <yangguo@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#55594} [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/v8-debugger-agent-impl.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/json-parser.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile-expected.txt [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile.js
,
Sep 4
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/4a96850aeb8e8b670a58c76d2cba11a36bd67c74 commit 4a96850aeb8e8b670a58c76d2cba11a36bd67c74 Author: Yang Guo <yangguo@chromium.org> Date: Mon Sep 03 18:42:28 2018 Revert "inspector: find magic comment using V8 scanner" This reverts commit 1b3b808a5452cb53512b3e76505533c61e020b98. Reason for revert: crbug/879988 TBR=kozy@chromium.org Original change's description: > inspector: find magic comment using V8 scanner > > Inspector tries to provide sourceURL and sourceMappingURL for scripts > with parser errors. Without this CL we convert source of each script > to inspector string and search for magic comment there. Some web sites > use pattern when they get some data from network and constantly try to > parse this data as JSON, in this case we do a lot of useless work. > > So we can parse magic comments on V8 side only for compilation errors > (excluding parse JSON errors), to do it we can reuse scanner by running > it on each potential comment. > > R=alph@chromium.org,verwaest@chromium.org,yangguo@chromium.org > > Bug: chromium:873865,v8:7731 > Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel > Change-Id: I77c270fd0e95cd7b2c9ee4b7f72ef344bc1fa104 > Reviewed-on: https://chromium-review.googlesource.com/1182446 > Reviewed-by: Toon Verwaest <verwaest@chromium.org> > Reviewed-by: Alexei Filippov <alph@chromium.org> > Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> > Cr-Commit-Position: refs/heads/master@{#55280} TBR=alph@chromium.org,yangguo@chromium.org,kozyatinskiy@chromium.org,verwaest@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: chromium:873865, v8:7731, chromium:879988 Change-Id: Ia7ac766e19f9b58562d9430811f10b25c4556a46 Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel Reviewed-on: https://chromium-review.googlesource.com/1202583 Commit-Queue: Yang Guo <yangguo@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#55594} [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/v8-debugger-agent-impl.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/json-parser.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile-expected.txt [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile.js
,
Sep 4
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/4a96850aeb8e8b670a58c76d2cba11a36bd67c74 commit 4a96850aeb8e8b670a58c76d2cba11a36bd67c74 Author: Yang Guo <yangguo@chromium.org> Date: Mon Sep 03 18:42:28 2018 Revert "inspector: find magic comment using V8 scanner" This reverts commit 1b3b808a5452cb53512b3e76505533c61e020b98. Reason for revert: crbug/879988 TBR=kozy@chromium.org Original change's description: > inspector: find magic comment using V8 scanner > > Inspector tries to provide sourceURL and sourceMappingURL for scripts > with parser errors. Without this CL we convert source of each script > to inspector string and search for magic comment there. Some web sites > use pattern when they get some data from network and constantly try to > parse this data as JSON, in this case we do a lot of useless work. > > So we can parse magic comments on V8 side only for compilation errors > (excluding parse JSON errors), to do it we can reuse scanner by running > it on each potential comment. > > R=alph@chromium.org,verwaest@chromium.org,yangguo@chromium.org > > Bug: chromium:873865,v8:7731 > Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel > Change-Id: I77c270fd0e95cd7b2c9ee4b7f72ef344bc1fa104 > Reviewed-on: https://chromium-review.googlesource.com/1182446 > Reviewed-by: Toon Verwaest <verwaest@chromium.org> > Reviewed-by: Alexei Filippov <alph@chromium.org> > Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> > Cr-Commit-Position: refs/heads/master@{#55280} TBR=alph@chromium.org,yangguo@chromium.org,kozyatinskiy@chromium.org,verwaest@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: chromium:873865, v8:7731, chromium:879988 Change-Id: Ia7ac766e19f9b58562d9430811f10b25c4556a46 Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel Reviewed-on: https://chromium-review.googlesource.com/1202583 Commit-Queue: Yang Guo <yangguo@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#55594} [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/v8-debugger-agent-impl.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/json-parser.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile-expected.txt [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile.js
,
Sep 4
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/4a96850aeb8e8b670a58c76d2cba11a36bd67c74 commit 4a96850aeb8e8b670a58c76d2cba11a36bd67c74 Author: Yang Guo <yangguo@chromium.org> Date: Mon Sep 03 18:42:28 2018 Revert "inspector: find magic comment using V8 scanner" This reverts commit 1b3b808a5452cb53512b3e76505533c61e020b98. Reason for revert: crbug/879988 TBR=kozy@chromium.org Original change's description: > inspector: find magic comment using V8 scanner > > Inspector tries to provide sourceURL and sourceMappingURL for scripts > with parser errors. Without this CL we convert source of each script > to inspector string and search for magic comment there. Some web sites > use pattern when they get some data from network and constantly try to > parse this data as JSON, in this case we do a lot of useless work. > > So we can parse magic comments on V8 side only for compilation errors > (excluding parse JSON errors), to do it we can reuse scanner by running > it on each potential comment. > > R=alph@chromium.org,verwaest@chromium.org,yangguo@chromium.org > > Bug: chromium:873865,v8:7731 > Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel > Change-Id: I77c270fd0e95cd7b2c9ee4b7f72ef344bc1fa104 > Reviewed-on: https://chromium-review.googlesource.com/1182446 > Reviewed-by: Toon Verwaest <verwaest@chromium.org> > Reviewed-by: Alexei Filippov <alph@chromium.org> > Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> > Cr-Commit-Position: refs/heads/master@{#55280} TBR=alph@chromium.org,yangguo@chromium.org,kozyatinskiy@chromium.org,verwaest@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: chromium:873865, v8:7731, chromium:879988 Change-Id: Ia7ac766e19f9b58562d9430811f10b25c4556a46 Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel Reviewed-on: https://chromium-review.googlesource.com/1202583 Commit-Queue: Yang Guo <yangguo@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#55594} [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/v8-debugger-agent-impl.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/json-parser.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile-expected.txt [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile.js
,
Sep 4
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/4a96850aeb8e8b670a58c76d2cba11a36bd67c74 commit 4a96850aeb8e8b670a58c76d2cba11a36bd67c74 Author: Yang Guo <yangguo@chromium.org> Date: Mon Sep 03 18:42:28 2018 Revert "inspector: find magic comment using V8 scanner" This reverts commit 1b3b808a5452cb53512b3e76505533c61e020b98. Reason for revert: crbug/879988 TBR=kozy@chromium.org Original change's description: > inspector: find magic comment using V8 scanner > > Inspector tries to provide sourceURL and sourceMappingURL for scripts > with parser errors. Without this CL we convert source of each script > to inspector string and search for magic comment there. Some web sites > use pattern when they get some data from network and constantly try to > parse this data as JSON, in this case we do a lot of useless work. > > So we can parse magic comments on V8 side only for compilation errors > (excluding parse JSON errors), to do it we can reuse scanner by running > it on each potential comment. > > R=alph@chromium.org,verwaest@chromium.org,yangguo@chromium.org > > Bug: chromium:873865,v8:7731 > Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel > Change-Id: I77c270fd0e95cd7b2c9ee4b7f72ef344bc1fa104 > Reviewed-on: https://chromium-review.googlesource.com/1182446 > Reviewed-by: Toon Verwaest <verwaest@chromium.org> > Reviewed-by: Alexei Filippov <alph@chromium.org> > Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> > Cr-Commit-Position: refs/heads/master@{#55280} TBR=alph@chromium.org,yangguo@chromium.org,kozyatinskiy@chromium.org,verwaest@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: chromium:873865, v8:7731, chromium:879988 Change-Id: Ia7ac766e19f9b58562d9430811f10b25c4556a46 Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel Reviewed-on: https://chromium-review.googlesource.com/1202583 Commit-Queue: Yang Guo <yangguo@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#55594} [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/v8-debugger-agent-impl.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/json-parser.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile-expected.txt [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile.js
,
Sep 4
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/4a96850aeb8e8b670a58c76d2cba11a36bd67c74 commit 4a96850aeb8e8b670a58c76d2cba11a36bd67c74 Author: Yang Guo <yangguo@chromium.org> Date: Mon Sep 03 18:42:28 2018 Revert "inspector: find magic comment using V8 scanner" This reverts commit 1b3b808a5452cb53512b3e76505533c61e020b98. Reason for revert: crbug/879988 TBR=kozy@chromium.org Original change's description: > inspector: find magic comment using V8 scanner > > Inspector tries to provide sourceURL and sourceMappingURL for scripts > with parser errors. Without this CL we convert source of each script > to inspector string and search for magic comment there. Some web sites > use pattern when they get some data from network and constantly try to > parse this data as JSON, in this case we do a lot of useless work. > > So we can parse magic comments on V8 side only for compilation errors > (excluding parse JSON errors), to do it we can reuse scanner by running > it on each potential comment. > > R=alph@chromium.org,verwaest@chromium.org,yangguo@chromium.org > > Bug: chromium:873865,v8:7731 > Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel > Change-Id: I77c270fd0e95cd7b2c9ee4b7f72ef344bc1fa104 > Reviewed-on: https://chromium-review.googlesource.com/1182446 > Reviewed-by: Toon Verwaest <verwaest@chromium.org> > Reviewed-by: Alexei Filippov <alph@chromium.org> > Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> > Cr-Commit-Position: refs/heads/master@{#55280} TBR=alph@chromium.org,yangguo@chromium.org,kozyatinskiy@chromium.org,verwaest@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: chromium:873865, v8:7731, chromium:879988 Change-Id: Ia7ac766e19f9b58562d9430811f10b25c4556a46 Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel Reviewed-on: https://chromium-review.googlesource.com/1202583 Commit-Queue: Yang Guo <yangguo@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#55594} [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/v8-debugger-agent-impl.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/json-parser.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile-expected.txt [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile.js
,
Sep 4
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/4a96850aeb8e8b670a58c76d2cba11a36bd67c74 commit 4a96850aeb8e8b670a58c76d2cba11a36bd67c74 Author: Yang Guo <yangguo@chromium.org> Date: Mon Sep 03 18:42:28 2018 Revert "inspector: find magic comment using V8 scanner" This reverts commit 1b3b808a5452cb53512b3e76505533c61e020b98. Reason for revert: crbug/879988 TBR=kozy@chromium.org Original change's description: > inspector: find magic comment using V8 scanner > > Inspector tries to provide sourceURL and sourceMappingURL for scripts > with parser errors. Without this CL we convert source of each script > to inspector string and search for magic comment there. Some web sites > use pattern when they get some data from network and constantly try to > parse this data as JSON, in this case we do a lot of useless work. > > So we can parse magic comments on V8 side only for compilation errors > (excluding parse JSON errors), to do it we can reuse scanner by running > it on each potential comment. > > R=alph@chromium.org,verwaest@chromium.org,yangguo@chromium.org > > Bug: chromium:873865,v8:7731 > Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel > Change-Id: I77c270fd0e95cd7b2c9ee4b7f72ef344bc1fa104 > Reviewed-on: https://chromium-review.googlesource.com/1182446 > Reviewed-by: Toon Verwaest <verwaest@chromium.org> > Reviewed-by: Alexei Filippov <alph@chromium.org> > Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> > Cr-Commit-Position: refs/heads/master@{#55280} TBR=alph@chromium.org,yangguo@chromium.org,kozyatinskiy@chromium.org,verwaest@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: chromium:873865, v8:7731, chromium:879988 Change-Id: Ia7ac766e19f9b58562d9430811f10b25c4556a46 Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel Reviewed-on: https://chromium-review.googlesource.com/1202583 Commit-Queue: Yang Guo <yangguo@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#55594} [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/v8-debugger-agent-impl.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/json-parser.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile-expected.txt [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile.js
,
Sep 4
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/4a96850aeb8e8b670a58c76d2cba11a36bd67c74 commit 4a96850aeb8e8b670a58c76d2cba11a36bd67c74 Author: Yang Guo <yangguo@chromium.org> Date: Mon Sep 03 18:42:28 2018 Revert "inspector: find magic comment using V8 scanner" This reverts commit 1b3b808a5452cb53512b3e76505533c61e020b98. Reason for revert: crbug/879988 TBR=kozy@chromium.org Original change's description: > inspector: find magic comment using V8 scanner > > Inspector tries to provide sourceURL and sourceMappingURL for scripts > with parser errors. Without this CL we convert source of each script > to inspector string and search for magic comment there. Some web sites > use pattern when they get some data from network and constantly try to > parse this data as JSON, in this case we do a lot of useless work. > > So we can parse magic comments on V8 side only for compilation errors > (excluding parse JSON errors), to do it we can reuse scanner by running > it on each potential comment. > > R=alph@chromium.org,verwaest@chromium.org,yangguo@chromium.org > > Bug: chromium:873865,v8:7731 > Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel > Change-Id: I77c270fd0e95cd7b2c9ee4b7f72ef344bc1fa104 > Reviewed-on: https://chromium-review.googlesource.com/1182446 > Reviewed-by: Toon Verwaest <verwaest@chromium.org> > Reviewed-by: Alexei Filippov <alph@chromium.org> > Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> > Cr-Commit-Position: refs/heads/master@{#55280} TBR=alph@chromium.org,yangguo@chromium.org,kozyatinskiy@chromium.org,verwaest@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: chromium:873865, v8:7731, chromium:879988 Change-Id: Ia7ac766e19f9b58562d9430811f10b25c4556a46 Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel Reviewed-on: https://chromium-review.googlesource.com/1202583 Commit-Queue: Yang Guo <yangguo@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#55594} [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/v8-debugger-agent-impl.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/json-parser.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile-expected.txt [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile.js
,
Sep 4
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/4a96850aeb8e8b670a58c76d2cba11a36bd67c74 commit 4a96850aeb8e8b670a58c76d2cba11a36bd67c74 Author: Yang Guo <yangguo@chromium.org> Date: Mon Sep 03 18:42:28 2018 Revert "inspector: find magic comment using V8 scanner" This reverts commit 1b3b808a5452cb53512b3e76505533c61e020b98. Reason for revert: crbug/879988 TBR=kozy@chromium.org Original change's description: > inspector: find magic comment using V8 scanner > > Inspector tries to provide sourceURL and sourceMappingURL for scripts > with parser errors. Without this CL we convert source of each script > to inspector string and search for magic comment there. Some web sites > use pattern when they get some data from network and constantly try to > parse this data as JSON, in this case we do a lot of useless work. > > So we can parse magic comments on V8 side only for compilation errors > (excluding parse JSON errors), to do it we can reuse scanner by running > it on each potential comment. > > R=alph@chromium.org,verwaest@chromium.org,yangguo@chromium.org > > Bug: chromium:873865,v8:7731 > Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel > Change-Id: I77c270fd0e95cd7b2c9ee4b7f72ef344bc1fa104 > Reviewed-on: https://chromium-review.googlesource.com/1182446 > Reviewed-by: Toon Verwaest <verwaest@chromium.org> > Reviewed-by: Alexei Filippov <alph@chromium.org> > Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> > Cr-Commit-Position: refs/heads/master@{#55280} TBR=alph@chromium.org,yangguo@chromium.org,kozyatinskiy@chromium.org,verwaest@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: chromium:873865, v8:7731, chromium:879988 Change-Id: Ia7ac766e19f9b58562d9430811f10b25c4556a46 Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel Reviewed-on: https://chromium-review.googlesource.com/1202583 Commit-Queue: Yang Guo <yangguo@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#55594} [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/v8-debugger-agent-impl.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/json-parser.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile-expected.txt [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile.js
,
Sep 4
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/4a96850aeb8e8b670a58c76d2cba11a36bd67c74 commit 4a96850aeb8e8b670a58c76d2cba11a36bd67c74 Author: Yang Guo <yangguo@chromium.org> Date: Mon Sep 03 18:42:28 2018 Revert "inspector: find magic comment using V8 scanner" This reverts commit 1b3b808a5452cb53512b3e76505533c61e020b98. Reason for revert: crbug/879988 TBR=kozy@chromium.org Original change's description: > inspector: find magic comment using V8 scanner > > Inspector tries to provide sourceURL and sourceMappingURL for scripts > with parser errors. Without this CL we convert source of each script > to inspector string and search for magic comment there. Some web sites > use pattern when they get some data from network and constantly try to > parse this data as JSON, in this case we do a lot of useless work. > > So we can parse magic comments on V8 side only for compilation errors > (excluding parse JSON errors), to do it we can reuse scanner by running > it on each potential comment. > > R=alph@chromium.org,verwaest@chromium.org,yangguo@chromium.org > > Bug: chromium:873865,v8:7731 > Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel > Change-Id: I77c270fd0e95cd7b2c9ee4b7f72ef344bc1fa104 > Reviewed-on: https://chromium-review.googlesource.com/1182446 > Reviewed-by: Toon Verwaest <verwaest@chromium.org> > Reviewed-by: Alexei Filippov <alph@chromium.org> > Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> > Cr-Commit-Position: refs/heads/master@{#55280} TBR=alph@chromium.org,yangguo@chromium.org,kozyatinskiy@chromium.org,verwaest@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: chromium:873865, v8:7731, chromium:879988 Change-Id: Ia7ac766e19f9b58562d9430811f10b25c4556a46 Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel Reviewed-on: https://chromium-review.googlesource.com/1202583 Commit-Queue: Yang Guo <yangguo@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#55594} [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/v8-debugger-agent-impl.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/json-parser.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile-expected.txt [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile.js
,
Sep 4
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/4a96850aeb8e8b670a58c76d2cba11a36bd67c74 commit 4a96850aeb8e8b670a58c76d2cba11a36bd67c74 Author: Yang Guo <yangguo@chromium.org> Date: Mon Sep 03 18:42:28 2018 Revert "inspector: find magic comment using V8 scanner" This reverts commit 1b3b808a5452cb53512b3e76505533c61e020b98. Reason for revert: crbug/879988 TBR=kozy@chromium.org Original change's description: > inspector: find magic comment using V8 scanner > > Inspector tries to provide sourceURL and sourceMappingURL for scripts > with parser errors. Without this CL we convert source of each script > to inspector string and search for magic comment there. Some web sites > use pattern when they get some data from network and constantly try to > parse this data as JSON, in this case we do a lot of useless work. > > So we can parse magic comments on V8 side only for compilation errors > (excluding parse JSON errors), to do it we can reuse scanner by running > it on each potential comment. > > R=alph@chromium.org,verwaest@chromium.org,yangguo@chromium.org > > Bug: chromium:873865,v8:7731 > Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel > Change-Id: I77c270fd0e95cd7b2c9ee4b7f72ef344bc1fa104 > Reviewed-on: https://chromium-review.googlesource.com/1182446 > Reviewed-by: Toon Verwaest <verwaest@chromium.org> > Reviewed-by: Alexei Filippov <alph@chromium.org> > Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> > Cr-Commit-Position: refs/heads/master@{#55280} TBR=alph@chromium.org,yangguo@chromium.org,kozyatinskiy@chromium.org,verwaest@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: chromium:873865, v8:7731, chromium:879988 Change-Id: Ia7ac766e19f9b58562d9430811f10b25c4556a46 Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel Reviewed-on: https://chromium-review.googlesource.com/1202583 Commit-Queue: Yang Guo <yangguo@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#55594} [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/v8-debugger-agent-impl.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/json-parser.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile-expected.txt [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile.js
,
Sep 4
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/4a96850aeb8e8b670a58c76d2cba11a36bd67c74 commit 4a96850aeb8e8b670a58c76d2cba11a36bd67c74 Author: Yang Guo <yangguo@chromium.org> Date: Mon Sep 03 18:42:28 2018 Revert "inspector: find magic comment using V8 scanner" This reverts commit 1b3b808a5452cb53512b3e76505533c61e020b98. Reason for revert: crbug/879988 TBR=kozy@chromium.org Original change's description: > inspector: find magic comment using V8 scanner > > Inspector tries to provide sourceURL and sourceMappingURL for scripts > with parser errors. Without this CL we convert source of each script > to inspector string and search for magic comment there. Some web sites > use pattern when they get some data from network and constantly try to > parse this data as JSON, in this case we do a lot of useless work. > > So we can parse magic comments on V8 side only for compilation errors > (excluding parse JSON errors), to do it we can reuse scanner by running > it on each potential comment. > > R=alph@chromium.org,verwaest@chromium.org,yangguo@chromium.org > > Bug: chromium:873865,v8:7731 > Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel > Change-Id: I77c270fd0e95cd7b2c9ee4b7f72ef344bc1fa104 > Reviewed-on: https://chromium-review.googlesource.com/1182446 > Reviewed-by: Toon Verwaest <verwaest@chromium.org> > Reviewed-by: Alexei Filippov <alph@chromium.org> > Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> > Cr-Commit-Position: refs/heads/master@{#55280} TBR=alph@chromium.org,yangguo@chromium.org,kozyatinskiy@chromium.org,verwaest@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: chromium:873865, v8:7731, chromium:879988 Change-Id: Ia7ac766e19f9b58562d9430811f10b25c4556a46 Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel Reviewed-on: https://chromium-review.googlesource.com/1202583 Commit-Queue: Yang Guo <yangguo@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#55594} [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/v8-debugger-agent-impl.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/json-parser.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile-expected.txt [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile.js
,
Sep 4
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/4a96850aeb8e8b670a58c76d2cba11a36bd67c74 commit 4a96850aeb8e8b670a58c76d2cba11a36bd67c74 Author: Yang Guo <yangguo@chromium.org> Date: Mon Sep 03 18:42:28 2018 Revert "inspector: find magic comment using V8 scanner" This reverts commit 1b3b808a5452cb53512b3e76505533c61e020b98. Reason for revert: crbug/879988 TBR=kozy@chromium.org Original change's description: > inspector: find magic comment using V8 scanner > > Inspector tries to provide sourceURL and sourceMappingURL for scripts > with parser errors. Without this CL we convert source of each script > to inspector string and search for magic comment there. Some web sites > use pattern when they get some data from network and constantly try to > parse this data as JSON, in this case we do a lot of useless work. > > So we can parse magic comments on V8 side only for compilation errors > (excluding parse JSON errors), to do it we can reuse scanner by running > it on each potential comment. > > R=alph@chromium.org,verwaest@chromium.org,yangguo@chromium.org > > Bug: chromium:873865,v8:7731 > Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel > Change-Id: I77c270fd0e95cd7b2c9ee4b7f72ef344bc1fa104 > Reviewed-on: https://chromium-review.googlesource.com/1182446 > Reviewed-by: Toon Verwaest <verwaest@chromium.org> > Reviewed-by: Alexei Filippov <alph@chromium.org> > Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> > Cr-Commit-Position: refs/heads/master@{#55280} TBR=alph@chromium.org,yangguo@chromium.org,kozyatinskiy@chromium.org,verwaest@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: chromium:873865, v8:7731, chromium:879988 Change-Id: Ia7ac766e19f9b58562d9430811f10b25c4556a46 Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel Reviewed-on: https://chromium-review.googlesource.com/1202583 Commit-Queue: Yang Guo <yangguo@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#55594} [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/v8-debugger-agent-impl.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/json-parser.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile-expected.txt [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile.js
,
Sep 4
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/4a96850aeb8e8b670a58c76d2cba11a36bd67c74 commit 4a96850aeb8e8b670a58c76d2cba11a36bd67c74 Author: Yang Guo <yangguo@chromium.org> Date: Mon Sep 03 18:42:28 2018 Revert "inspector: find magic comment using V8 scanner" This reverts commit 1b3b808a5452cb53512b3e76505533c61e020b98. Reason for revert: crbug/879988 TBR=kozy@chromium.org Original change's description: > inspector: find magic comment using V8 scanner > > Inspector tries to provide sourceURL and sourceMappingURL for scripts > with parser errors. Without this CL we convert source of each script > to inspector string and search for magic comment there. Some web sites > use pattern when they get some data from network and constantly try to > parse this data as JSON, in this case we do a lot of useless work. > > So we can parse magic comments on V8 side only for compilation errors > (excluding parse JSON errors), to do it we can reuse scanner by running > it on each potential comment. > > R=alph@chromium.org,verwaest@chromium.org,yangguo@chromium.org > > Bug: chromium:873865,v8:7731 > Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel > Change-Id: I77c270fd0e95cd7b2c9ee4b7f72ef344bc1fa104 > Reviewed-on: https://chromium-review.googlesource.com/1182446 > Reviewed-by: Toon Verwaest <verwaest@chromium.org> > Reviewed-by: Alexei Filippov <alph@chromium.org> > Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> > Cr-Commit-Position: refs/heads/master@{#55280} TBR=alph@chromium.org,yangguo@chromium.org,kozyatinskiy@chromium.org,verwaest@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: chromium:873865, v8:7731, chromium:879988 Change-Id: Ia7ac766e19f9b58562d9430811f10b25c4556a46 Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel Reviewed-on: https://chromium-review.googlesource.com/1202583 Commit-Queue: Yang Guo <yangguo@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#55594} [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/v8-debugger-agent-impl.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/json-parser.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile-expected.txt [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile.js
,
Sep 4
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/4a96850aeb8e8b670a58c76d2cba11a36bd67c74 commit 4a96850aeb8e8b670a58c76d2cba11a36bd67c74 Author: Yang Guo <yangguo@chromium.org> Date: Mon Sep 03 18:42:28 2018 Revert "inspector: find magic comment using V8 scanner" This reverts commit 1b3b808a5452cb53512b3e76505533c61e020b98. Reason for revert: crbug/879988 TBR=kozy@chromium.org Original change's description: > inspector: find magic comment using V8 scanner > > Inspector tries to provide sourceURL and sourceMappingURL for scripts > with parser errors. Without this CL we convert source of each script > to inspector string and search for magic comment there. Some web sites > use pattern when they get some data from network and constantly try to > parse this data as JSON, in this case we do a lot of useless work. > > So we can parse magic comments on V8 side only for compilation errors > (excluding parse JSON errors), to do it we can reuse scanner by running > it on each potential comment. > > R=alph@chromium.org,verwaest@chromium.org,yangguo@chromium.org > > Bug: chromium:873865,v8:7731 > Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel > Change-Id: I77c270fd0e95cd7b2c9ee4b7f72ef344bc1fa104 > Reviewed-on: https://chromium-review.googlesource.com/1182446 > Reviewed-by: Toon Verwaest <verwaest@chromium.org> > Reviewed-by: Alexei Filippov <alph@chromium.org> > Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> > Cr-Commit-Position: refs/heads/master@{#55280} TBR=alph@chromium.org,yangguo@chromium.org,kozyatinskiy@chromium.org,verwaest@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: chromium:873865, v8:7731, chromium:879988 Change-Id: Ia7ac766e19f9b58562d9430811f10b25c4556a46 Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel Reviewed-on: https://chromium-review.googlesource.com/1202583 Commit-Queue: Yang Guo <yangguo@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#55594} [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/v8-debugger-agent-impl.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/json-parser.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile-expected.txt [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile.js
,
Sep 4
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/4a96850aeb8e8b670a58c76d2cba11a36bd67c74 commit 4a96850aeb8e8b670a58c76d2cba11a36bd67c74 Author: Yang Guo <yangguo@chromium.org> Date: Mon Sep 03 18:42:28 2018 Revert "inspector: find magic comment using V8 scanner" This reverts commit 1b3b808a5452cb53512b3e76505533c61e020b98. Reason for revert: crbug/879988 TBR=kozy@chromium.org Original change's description: > inspector: find magic comment using V8 scanner > > Inspector tries to provide sourceURL and sourceMappingURL for scripts > with parser errors. Without this CL we convert source of each script > to inspector string and search for magic comment there. Some web sites > use pattern when they get some data from network and constantly try to > parse this data as JSON, in this case we do a lot of useless work. > > So we can parse magic comments on V8 side only for compilation errors > (excluding parse JSON errors), to do it we can reuse scanner by running > it on each potential comment. > > R=alph@chromium.org,verwaest@chromium.org,yangguo@chromium.org > > Bug: chromium:873865,v8:7731 > Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel > Change-Id: I77c270fd0e95cd7b2c9ee4b7f72ef344bc1fa104 > Reviewed-on: https://chromium-review.googlesource.com/1182446 > Reviewed-by: Toon Verwaest <verwaest@chromium.org> > Reviewed-by: Alexei Filippov <alph@chromium.org> > Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> > Cr-Commit-Position: refs/heads/master@{#55280} TBR=alph@chromium.org,yangguo@chromium.org,kozyatinskiy@chromium.org,verwaest@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: chromium:873865, v8:7731, chromium:879988 Change-Id: Ia7ac766e19f9b58562d9430811f10b25c4556a46 Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel Reviewed-on: https://chromium-review.googlesource.com/1202583 Commit-Queue: Yang Guo <yangguo@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#55594} [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/v8-debugger-agent-impl.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/json-parser.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile-expected.txt [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile.js
,
Sep 4
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/4a96850aeb8e8b670a58c76d2cba11a36bd67c74 commit 4a96850aeb8e8b670a58c76d2cba11a36bd67c74 Author: Yang Guo <yangguo@chromium.org> Date: Mon Sep 03 18:42:28 2018 Revert "inspector: find magic comment using V8 scanner" This reverts commit 1b3b808a5452cb53512b3e76505533c61e020b98. Reason for revert: crbug/879988 TBR=kozy@chromium.org Original change's description: > inspector: find magic comment using V8 scanner > > Inspector tries to provide sourceURL and sourceMappingURL for scripts > with parser errors. Without this CL we convert source of each script > to inspector string and search for magic comment there. Some web sites > use pattern when they get some data from network and constantly try to > parse this data as JSON, in this case we do a lot of useless work. > > So we can parse magic comments on V8 side only for compilation errors > (excluding parse JSON errors), to do it we can reuse scanner by running > it on each potential comment. > > R=alph@chromium.org,verwaest@chromium.org,yangguo@chromium.org > > Bug: chromium:873865,v8:7731 > Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel > Change-Id: I77c270fd0e95cd7b2c9ee4b7f72ef344bc1fa104 > Reviewed-on: https://chromium-review.googlesource.com/1182446 > Reviewed-by: Toon Verwaest <verwaest@chromium.org> > Reviewed-by: Alexei Filippov <alph@chromium.org> > Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> > Cr-Commit-Position: refs/heads/master@{#55280} TBR=alph@chromium.org,yangguo@chromium.org,kozyatinskiy@chromium.org,verwaest@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: chromium:873865, v8:7731, chromium:879988 Change-Id: Ia7ac766e19f9b58562d9430811f10b25c4556a46 Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel Reviewed-on: https://chromium-review.googlesource.com/1202583 Commit-Queue: Yang Guo <yangguo@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#55594} [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/v8-debugger-agent-impl.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/json-parser.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile-expected.txt [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile.js
,
Sep 4
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/4a96850aeb8e8b670a58c76d2cba11a36bd67c74 commit 4a96850aeb8e8b670a58c76d2cba11a36bd67c74 Author: Yang Guo <yangguo@chromium.org> Date: Mon Sep 03 18:42:28 2018 Revert "inspector: find magic comment using V8 scanner" This reverts commit 1b3b808a5452cb53512b3e76505533c61e020b98. Reason for revert: crbug/879988 TBR=kozy@chromium.org Original change's description: > inspector: find magic comment using V8 scanner > > Inspector tries to provide sourceURL and sourceMappingURL for scripts > with parser errors. Without this CL we convert source of each script > to inspector string and search for magic comment there. Some web sites > use pattern when they get some data from network and constantly try to > parse this data as JSON, in this case we do a lot of useless work. > > So we can parse magic comments on V8 side only for compilation errors > (excluding parse JSON errors), to do it we can reuse scanner by running > it on each potential comment. > > R=alph@chromium.org,verwaest@chromium.org,yangguo@chromium.org > > Bug: chromium:873865,v8:7731 > Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel > Change-Id: I77c270fd0e95cd7b2c9ee4b7f72ef344bc1fa104 > Reviewed-on: https://chromium-review.googlesource.com/1182446 > Reviewed-by: Toon Verwaest <verwaest@chromium.org> > Reviewed-by: Alexei Filippov <alph@chromium.org> > Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> > Cr-Commit-Position: refs/heads/master@{#55280} TBR=alph@chromium.org,yangguo@chromium.org,kozyatinskiy@chromium.org,verwaest@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: chromium:873865, v8:7731, chromium:879988 Change-Id: Ia7ac766e19f9b58562d9430811f10b25c4556a46 Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel Reviewed-on: https://chromium-review.googlesource.com/1202583 Commit-Queue: Yang Guo <yangguo@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#55594} [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/v8-debugger-agent-impl.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/json-parser.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile-expected.txt [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile.js
,
Sep 4
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/4a96850aeb8e8b670a58c76d2cba11a36bd67c74 commit 4a96850aeb8e8b670a58c76d2cba11a36bd67c74 Author: Yang Guo <yangguo@chromium.org> Date: Mon Sep 03 18:42:28 2018 Revert "inspector: find magic comment using V8 scanner" This reverts commit 1b3b808a5452cb53512b3e76505533c61e020b98. Reason for revert: crbug/879988 TBR=kozy@chromium.org Original change's description: > inspector: find magic comment using V8 scanner > > Inspector tries to provide sourceURL and sourceMappingURL for scripts > with parser errors. Without this CL we convert source of each script > to inspector string and search for magic comment there. Some web sites > use pattern when they get some data from network and constantly try to > parse this data as JSON, in this case we do a lot of useless work. > > So we can parse magic comments on V8 side only for compilation errors > (excluding parse JSON errors), to do it we can reuse scanner by running > it on each potential comment. > > R=alph@chromium.org,verwaest@chromium.org,yangguo@chromium.org > > Bug: chromium:873865,v8:7731 > Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel > Change-Id: I77c270fd0e95cd7b2c9ee4b7f72ef344bc1fa104 > Reviewed-on: https://chromium-review.googlesource.com/1182446 > Reviewed-by: Toon Verwaest <verwaest@chromium.org> > Reviewed-by: Alexei Filippov <alph@chromium.org> > Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> > Cr-Commit-Position: refs/heads/master@{#55280} TBR=alph@chromium.org,yangguo@chromium.org,kozyatinskiy@chromium.org,verwaest@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: chromium:873865, v8:7731, chromium:879988 Change-Id: Ia7ac766e19f9b58562d9430811f10b25c4556a46 Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel Reviewed-on: https://chromium-review.googlesource.com/1202583 Commit-Queue: Yang Guo <yangguo@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#55594} [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/v8-debugger-agent-impl.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/json-parser.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile-expected.txt [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile.js
,
Sep 4
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/4a96850aeb8e8b670a58c76d2cba11a36bd67c74 commit 4a96850aeb8e8b670a58c76d2cba11a36bd67c74 Author: Yang Guo <yangguo@chromium.org> Date: Mon Sep 03 18:42:28 2018 Revert "inspector: find magic comment using V8 scanner" This reverts commit 1b3b808a5452cb53512b3e76505533c61e020b98. Reason for revert: crbug/879988 TBR=kozy@chromium.org Original change's description: > inspector: find magic comment using V8 scanner > > Inspector tries to provide sourceURL and sourceMappingURL for scripts > with parser errors. Without this CL we convert source of each script > to inspector string and search for magic comment there. Some web sites > use pattern when they get some data from network and constantly try to > parse this data as JSON, in this case we do a lot of useless work. > > So we can parse magic comments on V8 side only for compilation errors > (excluding parse JSON errors), to do it we can reuse scanner by running > it on each potential comment. > > R=alph@chromium.org,verwaest@chromium.org,yangguo@chromium.org > > Bug: chromium:873865,v8:7731 > Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel > Change-Id: I77c270fd0e95cd7b2c9ee4b7f72ef344bc1fa104 > Reviewed-on: https://chromium-review.googlesource.com/1182446 > Reviewed-by: Toon Verwaest <verwaest@chromium.org> > Reviewed-by: Alexei Filippov <alph@chromium.org> > Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> > Cr-Commit-Position: refs/heads/master@{#55280} TBR=alph@chromium.org,yangguo@chromium.org,kozyatinskiy@chromium.org,verwaest@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: chromium:873865, v8:7731, chromium:879988 Change-Id: Ia7ac766e19f9b58562d9430811f10b25c4556a46 Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel Reviewed-on: https://chromium-review.googlesource.com/1202583 Commit-Queue: Yang Guo <yangguo@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#55594} [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/v8-debugger-agent-impl.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/json-parser.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile-expected.txt [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile.js
,
Sep 4
I'm trying to reland https://crrev.com/c/1203731. It moved code from a .cc file to a header so it can be inlined, could still be that this accidentally broke something.
,
Sep 4
I talked to yang in the morning, does not look like that this patch caused the problem.
,
Sep 4
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/4a96850aeb8e8b670a58c76d2cba11a36bd67c74 commit 4a96850aeb8e8b670a58c76d2cba11a36bd67c74 Author: Yang Guo <yangguo@chromium.org> Date: Mon Sep 03 18:42:28 2018 Revert "inspector: find magic comment using V8 scanner" This reverts commit 1b3b808a5452cb53512b3e76505533c61e020b98. Reason for revert: crbug/879988 TBR=kozy@chromium.org Original change's description: > inspector: find magic comment using V8 scanner > > Inspector tries to provide sourceURL and sourceMappingURL for scripts > with parser errors. Without this CL we convert source of each script > to inspector string and search for magic comment there. Some web sites > use pattern when they get some data from network and constantly try to > parse this data as JSON, in this case we do a lot of useless work. > > So we can parse magic comments on V8 side only for compilation errors > (excluding parse JSON errors), to do it we can reuse scanner by running > it on each potential comment. > > R=alph@chromium.org,verwaest@chromium.org,yangguo@chromium.org > > Bug: chromium:873865,v8:7731 > Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel > Change-Id: I77c270fd0e95cd7b2c9ee4b7f72ef344bc1fa104 > Reviewed-on: https://chromium-review.googlesource.com/1182446 > Reviewed-by: Toon Verwaest <verwaest@chromium.org> > Reviewed-by: Alexei Filippov <alph@chromium.org> > Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> > Cr-Commit-Position: refs/heads/master@{#55280} TBR=alph@chromium.org,yangguo@chromium.org,kozyatinskiy@chromium.org,verwaest@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: chromium:873865, v8:7731, chromium:879988 Change-Id: Ia7ac766e19f9b58562d9430811f10b25c4556a46 Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel Reviewed-on: https://chromium-review.googlesource.com/1202583 Commit-Queue: Yang Guo <yangguo@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#55594} [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/v8-debugger-agent-impl.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/json-parser.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile-expected.txt [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile.js
,
Sep 4
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/4a96850aeb8e8b670a58c76d2cba11a36bd67c74 commit 4a96850aeb8e8b670a58c76d2cba11a36bd67c74 Author: Yang Guo <yangguo@chromium.org> Date: Mon Sep 03 18:42:28 2018 Revert "inspector: find magic comment using V8 scanner" This reverts commit 1b3b808a5452cb53512b3e76505533c61e020b98. Reason for revert: crbug/879988 TBR=kozy@chromium.org Original change's description: > inspector: find magic comment using V8 scanner > > Inspector tries to provide sourceURL and sourceMappingURL for scripts > with parser errors. Without this CL we convert source of each script > to inspector string and search for magic comment there. Some web sites > use pattern when they get some data from network and constantly try to > parse this data as JSON, in this case we do a lot of useless work. > > So we can parse magic comments on V8 side only for compilation errors > (excluding parse JSON errors), to do it we can reuse scanner by running > it on each potential comment. > > R=alph@chromium.org,verwaest@chromium.org,yangguo@chromium.org > > Bug: chromium:873865,v8:7731 > Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel > Change-Id: I77c270fd0e95cd7b2c9ee4b7f72ef344bc1fa104 > Reviewed-on: https://chromium-review.googlesource.com/1182446 > Reviewed-by: Toon Verwaest <verwaest@chromium.org> > Reviewed-by: Alexei Filippov <alph@chromium.org> > Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> > Cr-Commit-Position: refs/heads/master@{#55280} TBR=alph@chromium.org,yangguo@chromium.org,kozyatinskiy@chromium.org,verwaest@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: chromium:873865, v8:7731, chromium:879988 Change-Id: Ia7ac766e19f9b58562d9430811f10b25c4556a46 Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel Reviewed-on: https://chromium-review.googlesource.com/1202583 Commit-Queue: Yang Guo <yangguo@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#55594} [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/v8-debugger-agent-impl.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/json-parser.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile-expected.txt [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile.js
,
Sep 4
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/4a96850aeb8e8b670a58c76d2cba11a36bd67c74 commit 4a96850aeb8e8b670a58c76d2cba11a36bd67c74 Author: Yang Guo <yangguo@chromium.org> Date: Mon Sep 03 18:42:28 2018 Revert "inspector: find magic comment using V8 scanner" This reverts commit 1b3b808a5452cb53512b3e76505533c61e020b98. Reason for revert: crbug/879988 TBR=kozy@chromium.org Original change's description: > inspector: find magic comment using V8 scanner > > Inspector tries to provide sourceURL and sourceMappingURL for scripts > with parser errors. Without this CL we convert source of each script > to inspector string and search for magic comment there. Some web sites > use pattern when they get some data from network and constantly try to > parse this data as JSON, in this case we do a lot of useless work. > > So we can parse magic comments on V8 side only for compilation errors > (excluding parse JSON errors), to do it we can reuse scanner by running > it on each potential comment. > > R=alph@chromium.org,verwaest@chromium.org,yangguo@chromium.org > > Bug: chromium:873865,v8:7731 > Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel > Change-Id: I77c270fd0e95cd7b2c9ee4b7f72ef344bc1fa104 > Reviewed-on: https://chromium-review.googlesource.com/1182446 > Reviewed-by: Toon Verwaest <verwaest@chromium.org> > Reviewed-by: Alexei Filippov <alph@chromium.org> > Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> > Cr-Commit-Position: refs/heads/master@{#55280} TBR=alph@chromium.org,yangguo@chromium.org,kozyatinskiy@chromium.org,verwaest@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: chromium:873865, v8:7731, chromium:879988 Change-Id: Ia7ac766e19f9b58562d9430811f10b25c4556a46 Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel Reviewed-on: https://chromium-review.googlesource.com/1202583 Commit-Queue: Yang Guo <yangguo@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#55594} [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/debug/debug.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/search-util.h [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/inspector/v8-debugger-agent-impl.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/src/json-parser.cc [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile-expected.txt [modify] https://crrev.com/4a96850aeb8e8b670a58c76d2cba11a36bd67c74/test/inspector/debugger/script-on-after-compile.js
,
Sep 13
I guess this one is fixed? |
||||||
►
Sign in to add a comment |
||||||
Comment 1 by jdoerrie@chromium.org
, Sep 3