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

Issue 507583002: XSLImportRule should not be ResourceClient. (Closed)

Created:
6 years, 4 months ago by tasak
Modified:
6 years, 3 months ago
CC:
arv+blink, blink-reviews, blink-reviews-dom_chromium.org, Inactive, dglazkov+blink, eae+blinkwatch, rwlbuis, sof
Project:
blink
Visibility:
Public.

Description

XSLImportRule should not be ResourceClient to make XSLImportRule independent of blink. Instead, it should use synchronous ResourceRequest to obtain imported xsl-stylesheet. TEST=fast/xsl/transform-xhr-doc.xhtml BUG=367689 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181536

Patch Set 1 : #

Total comments: 2

Patch Set 2 : #

Total comments: 2

Patch Set 3 : Use UTF8Encoding().decode() #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -31 lines) Patch
M LayoutTests/fast/xsl/transform-xhr-doc-expected.txt View 1 chunk +1 line, -2 lines 0 comments Download
M LayoutTests/http/tests/misc/xslt-bad-import-expected.txt View 1 1 chunk +12 lines, -0 lines 0 comments Download
M Source/core/dom/Document.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M Source/core/xml/XSLImportRule.h View 3 chunks +2 lines, -4 lines 0 comments Download
M Source/core/xml/XSLImportRule.cpp View 1 2 3 chunks +11 lines, -16 lines 0 comments Download
M Source/core/xml/XSLStyleSheet.h View 3 chunks +4 lines, -2 lines 0 comments Download
M Source/core/xml/XSLStyleSheetLibxslt.cpp View 3 chunks +19 lines, -0 lines 0 comments Download
M Source/core/xml/XSLTProcessor.h View 1 2 2 chunks +6 lines, -3 lines 0 comments Download
M Source/core/xml/XSLTProcessor.idl View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/xml/XSLTProcessorLibxslt.cpp View 2 chunks +5 lines, -3 lines 0 comments Download

Messages

Total messages: 17 (2 generated)
tasak
Patchset #1 (id:1) has been deleted
6 years, 4 months ago (2014-08-26 06:11:09 UTC) #1
tasak
tasak@google.com changed reviewers: + abarth@chromium.org, haraken@chromium.org
6 years, 4 months ago (2014-08-26 06:13:21 UTC) #2
tasak
Would you review this CL?
6 years, 4 months ago (2014-08-26 06:13:22 UTC) #3
abarth-chromium
I don't understand why we want this CL. Don't we want the engine to have ...
6 years, 3 months ago (2014-09-02 20:34:16 UTC) #4
tasak
On 2014/09/02 20:34:16, abarth wrote: > I don't understand why we want this CL. Don't ...
6 years, 3 months ago (2014-09-03 02:29:37 UTC) #5
abarth-chromium
not lgtm We shouldn't add more XML features to the engine. Maybe that means it's ...
6 years, 3 months ago (2014-09-03 05:00:54 UTC) #6
tasak
On 2014/09/03 05:00:54, abarth wrote: > not lgtm > > We shouldn't add more XML ...
6 years, 3 months ago (2014-09-03 05:11:42 UTC) #7
abarth-chromium
You're right. I misunderstood what this CL does. Yes, this is fine. Would you be ...
6 years, 3 months ago (2014-09-03 05:19:48 UTC) #8
tasak
On 2014/09/03 05:19:48, abarth wrote: > You're right. I misunderstood what this CL does. Yes, ...
6 years, 3 months ago (2014-09-03 05:25:12 UTC) #9
tasak
Thank you for reviewing. https://codereview.chromium.org/507583002/diff/20001/Source/core/xml/XSLImportRule.cpp File Source/core/xml/XSLImportRule.cpp (right): https://codereview.chromium.org/507583002/diff/20001/Source/core/xml/XSLImportRule.cpp#newcode108 Source/core/xml/XSLImportRule.cpp:108: setXSLStyleSheet(absHref, parentSheet->baseURL(), String(data->data(), data->size())); On ...
6 years, 3 months ago (2014-09-04 11:14:40 UTC) #10
abarth-chromium
https://codereview.chromium.org/507583002/diff/60001/Source/core/xml/XSLImportRule.cpp File Source/core/xml/XSLImportRule.cpp (right): https://codereview.chromium.org/507583002/diff/60001/Source/core/xml/XSLImportRule.cpp#newcode111 Source/core/xml/XSLImportRule.cpp:111: text = text + decoder->flush(); You should just use ...
6 years, 3 months ago (2014-09-06 23:13:51 UTC) #12
tasak
Thank you for reviewing. https://codereview.chromium.org/507583002/diff/60001/Source/core/xml/XSLImportRule.cpp File Source/core/xml/XSLImportRule.cpp (right): https://codereview.chromium.org/507583002/diff/60001/Source/core/xml/XSLImportRule.cpp#newcode111 Source/core/xml/XSLImportRule.cpp:111: text = text + decoder->flush(); ...
6 years, 3 months ago (2014-09-08 04:22:03 UTC) #13
abarth-chromium
lgtm
6 years, 3 months ago (2014-09-08 05:46:52 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tasak@google.com/507583002/80001
6 years, 3 months ago (2014-09-08 05:46:57 UTC) #16
commit-bot: I haz the power
6 years, 3 months ago (2014-09-08 05:50:08 UTC) #17
Message was sent while issue was closed.
Committed patchset #3 (id:80001) as 181536

Powered by Google App Engine
This is Rietveld 408576698