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

Issue 2562093002: Move DocumentXMLTreeViewer off of private script (Closed)

Created:
4 years ago by adithyas
Modified:
4 years ago
Reviewers:
haraken, esprehn, jbroman
CC:
blink-reviews, blink-reviews-bindings_chromium.org, chromium-reviews, dominicc+watchlist_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move DocumentXMLTreeViewer off of private script - Execute DocumentXMLTreeViewer.js in an isolated world - Remove all private script hooks - Delete idl file BUG=672500 Committed: https://crrev.com/e2ebe3280b99674d33fc8f3c4c006080168afa51 Cr-Commit-Position: refs/heads/master@{#438224}

Patch Set 1 #

Patch Set 2 : More clean up #

Patch Set 3 : Change resource names #

Patch Set 4 : Removed the wrong include #

Total comments: 6

Patch Set 5 : Code review changes #

Total comments: 8

Patch Set 6 : Add nullptr check #

Patch Set 7 : Use V8PerIsolateData::mainThreadIsolate() #

Unified diffs Side-by-side diffs Delta from patch set Stats (+410 lines, -378 lines) Patch
M content/child/blink_platform_impl.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/DOMWrapperWorld.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/BUILD.gn View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/core_idl_files.gni View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/xml/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/xml/DocumentXMLTreeViewer.h View 1 2 3 4 5 1 chunk +16 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/xml/DocumentXMLTreeViewer.cpp View 1 2 3 4 5 6 1 chunk +35 lines, -0 lines 0 comments Download
D third_party/WebKit/Source/core/xml/DocumentXMLTreeViewer.idl View 1 chunk +0 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/core/xml/DocumentXMLTreeViewer.js View 1 1 chunk +350 lines, -357 lines 0 comments Download
M third_party/WebKit/Source/core/xml/parser/XMLDocumentParser.cpp View 1 2 3 4 5 3 chunks +2 lines, -6 lines 0 comments Download
M third_party/WebKit/public/blink_resources.grd View 1 2 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 25 (13 generated)
adithyas
4 years ago (2016-12-09 21:09:44 UTC) #4
jbroman
lgtm Seems straightforward enough to me. https://codereview.chromium.org/2562093002/diff/60001/third_party/WebKit/Source/core/xml/DocumentXMLTreeViewer.cpp File third_party/WebKit/Source/core/xml/DocumentXMLTreeViewer.cpp (right): https://codereview.chromium.org/2562093002/diff/60001/third_party/WebKit/Source/core/xml/DocumentXMLTreeViewer.cpp#newcode23 third_party/WebKit/Source/core/xml/DocumentXMLTreeViewer.cpp:23: String scriptString(DocumentXMLTreeViewerJs.data(), Nit: ...
4 years ago (2016-12-10 20:35:31 UTC) #7
haraken
LGTM https://codereview.chromium.org/2562093002/diff/60001/third_party/WebKit/Source/core/xml/DocumentXMLTreeViewer.cpp File third_party/WebKit/Source/core/xml/DocumentXMLTreeViewer.cpp (right): https://codereview.chromium.org/2562093002/diff/60001/third_party/WebKit/Source/core/xml/DocumentXMLTreeViewer.cpp#newcode33 third_party/WebKit/Source/core/xml/DocumentXMLTreeViewer.cpp:33: WorldIdConstants::DocumentXMLTreeViewerWorldId, sources, 0, nullptr); Does this need to ...
4 years ago (2016-12-12 01:09:57 UTC) #10
adithyas
https://codereview.chromium.org/2562093002/diff/60001/third_party/WebKit/Source/core/xml/DocumentXMLTreeViewer.cpp File third_party/WebKit/Source/core/xml/DocumentXMLTreeViewer.cpp (right): https://codereview.chromium.org/2562093002/diff/60001/third_party/WebKit/Source/core/xml/DocumentXMLTreeViewer.cpp#newcode23 third_party/WebKit/Source/core/xml/DocumentXMLTreeViewer.cpp:23: String scriptString(DocumentXMLTreeViewerJs.data(), On 2016/12/10 at 20:35:31, jbroman wrote: > ...
4 years ago (2016-12-12 16:13:50 UTC) #11
haraken
On 2016/12/12 16:13:50, adithyas wrote: > https://codereview.chromium.org/2562093002/diff/60001/third_party/WebKit/Source/core/xml/DocumentXMLTreeViewer.cpp > File third_party/WebKit/Source/core/xml/DocumentXMLTreeViewer.cpp (right): > > https://codereview.chromium.org/2562093002/diff/60001/third_party/WebKit/Source/core/xml/DocumentXMLTreeViewer.cpp#newcode23 > ...
4 years ago (2016-12-12 16:15:56 UTC) #12
adithyas
+esprehn@ for content/child review
4 years ago (2016-12-12 16:32:59 UTC) #14
esprehn
You need a null check in there I think. lgtm w/ that fixed. https://codereview.chromium.org/2562093002/diff/80001/third_party/WebKit/Source/core/xml/DocumentXMLTreeViewer.cpp File ...
4 years ago (2016-12-12 22:21:57 UTC) #15
jbroman
two trivial nits, since you're going to have to update this for esprehn's comments anyhow ...
4 years ago (2016-12-13 15:41:05 UTC) #16
adithyas
https://codereview.chromium.org/2562093002/diff/80001/third_party/WebKit/Source/core/xml/DocumentXMLTreeViewer.cpp File third_party/WebKit/Source/core/xml/DocumentXMLTreeViewer.cpp (right): https://codereview.chromium.org/2562093002/diff/80001/third_party/WebKit/Source/core/xml/DocumentXMLTreeViewer.cpp#newcode14 third_party/WebKit/Source/core/xml/DocumentXMLTreeViewer.cpp:14: #include "public/platform/Platform.h" On 2016/12/13 at 15:41:05, jbroman wrote: > ...
4 years ago (2016-12-13 16:18:17 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2562093002/120001
4 years ago (2016-12-13 16:20:34 UTC) #20
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years ago (2016-12-13 18:11:35 UTC) #23
commit-bot: I haz the power
4 years ago (2016-12-13 18:15:08 UTC) #25
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/e2ebe3280b99674d33fc8f3c4c006080168afa51
Cr-Commit-Position: refs/heads/master@{#438224}

Powered by Google App Engine
This is Rietveld 408576698