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

Issue 2381163003: Handle cross origin with src attribution for descendants (Closed)

Created:
4 years, 2 months ago by panicker
Modified:
4 years, 2 months ago
Reviewers:
skobes
CC:
apavlov+blink_chromium.org, blink-reviews, caseq+blink_chromium.org, chromium-reviews, devtools-reviews_chromium.org, igrigorik, kozyatinskiy+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Handle cross origin with src attribution for descendants BUG=635596

Patch Set 1 #

Patch Set 2 : check for document() in addition to DOMWindow #

Total comments: 14
Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -3 lines) Patch
M third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.cpp View 1 3 chunks +31 lines, -3 lines 11 comments Download
M third_party/WebKit/Source/core/inspector/InspectorWebPerfAgentTest.cpp View 1 chunk +12 lines, -0 lines 3 comments Download

Messages

Total messages: 16 (4 generated)
panicker
An alternative version of handling cross origin with "src" (while we investigate alternatives)
4 years, 2 months ago (2016-09-30 21:08:04 UTC) #2
skobes
https://codereview.chromium.org/2381163003/diff/20001/third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.cpp File third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.cpp (right): https://codereview.chromium.org/2381163003/diff/20001/third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.cpp#newcode144 third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.cpp:144: return localOwner->getAttribute(HTMLNames::srcAttr); Is the src attribute updated on navigation? ...
4 years, 2 months ago (2016-09-30 21:26:31 UTC) #3
skobes
https://codereview.chromium.org/2381163003/diff/20001/third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.cpp File third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.cpp (right): https://codereview.chromium.org/2381163003/diff/20001/third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.cpp#newcode144 third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.cpp:144: return localOwner->getAttribute(HTMLNames::srcAttr); On 2016/09/30 21:26:31, skobes wrote: > Is ...
4 years, 2 months ago (2016-09-30 21:45:01 UTC) #4
panicker
https://codereview.chromium.org/2381163003/diff/20001/third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.cpp File third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.cpp (right): https://codereview.chromium.org/2381163003/diff/20001/third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.cpp#newcode144 third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.cpp:144: return localOwner->getAttribute(HTMLNames::srcAttr); On 2016/09/30 21:45:01, skobes wrote: > On ...
4 years, 2 months ago (2016-09-30 22:57:16 UTC) #5
skobes
lgtm https://codereview.chromium.org/2381163003/diff/20001/third_party/WebKit/Source/core/inspector/InspectorWebPerfAgentTest.cpp File third_party/WebKit/Source/core/inspector/InspectorWebPerfAgentTest.cpp (right): https://codereview.chromium.org/2381163003/diff/20001/third_party/WebKit/Source/core/inspector/InspectorWebPerfAgentTest.cpp#newcode144 third_party/WebKit/Source/core/inspector/InspectorWebPerfAgentTest.cpp:144: TEST_F(InspectorWebPerfAgentTest, SanitizedLongTaskName_CrossOrigin) On 2016/09/30 22:57:15, Shubhie wrote: > ...
4 years, 2 months ago (2016-09-30 23:00:16 UTC) #6
pfeldman
https://codereview.chromium.org/2381163003/diff/20001/third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.cpp File third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.cpp (right): https://codereview.chromium.org/2381163003/diff/20001/third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.cpp#newcode27 third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.cpp:27: static const char* crossOriginAttribution = "cross-origin"; style: here, above ...
4 years, 2 months ago (2016-09-30 23:38:50 UTC) #8
panicker
Responded to some review comments, code updates are coming. https://codereview.chromium.org/2381163003/diff/20001/third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.cpp File third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.cpp (right): https://codereview.chromium.org/2381163003/diff/20001/third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.cpp#newcode75 third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.cpp:75: ...
4 years, 2 months ago (2016-10-01 00:05:21 UTC) #9
panicker
https://codereview.chromium.org/2381163003/diff/20001/third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.cpp File third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.cpp (right): https://codereview.chromium.org/2381163003/diff/20001/third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.cpp#newcode27 third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.cpp:27: static const char* crossOriginAttribution = "cross-origin"; On 2016/09/30 23:38:50, ...
4 years, 2 months ago (2016-10-01 00:25:28 UTC) #10
pfeldman
https://codereview.chromium.org/2381163003/diff/20001/third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.cpp File third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.cpp (right): https://codereview.chromium.org/2381163003/diff/20001/third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.cpp#newcode105 third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.cpp:105: performance->addLongTaskTiming(startTime, endTime, sanitizedLongTaskName( Ah, you should not use InspectedFrames ...
4 years, 2 months ago (2016-10-01 00:27:27 UTC) #11
panicker
On 2016/10/01 00:27:27, pfeldman wrote: > https://codereview.chromium.org/2381163003/diff/20001/third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.cpp > File third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.cpp (right): > > https://codereview.chromium.org/2381163003/diff/20001/third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.cpp#newcode105 > ...
4 years, 2 months ago (2016-10-03 21:24:34 UTC) #12
panicker
On 2016/10/03 21:24:34, Shubhie wrote: > On 2016/10/01 00:27:27, pfeldman wrote: > > > https://codereview.chromium.org/2381163003/diff/20001/third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.cpp ...
4 years, 2 months ago (2016-10-03 22:05:30 UTC) #13
panicker
4 years, 2 months ago (2016-10-17 22:35:13 UTC) #15
Withdrawing this CL

Powered by Google App Engine
This is Rietveld 408576698