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

Issue 2750943004: node-set($x), when $x is empty, should not halt XSLT processing (Closed)

Created:
3 years, 9 months ago by dominicc (has gone to gerrit)
Modified:
3 years, 8 months ago
Reviewers:
yosin_UTC9
CC:
blink-reviews, chromium-reviews, dominicc+watchlist_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

node-set($x), when $x is empty, should not halt XSLT processing node-set is polymorphic; if called with a string, it returns a node-set containing a text node with that content. The libxslt roll in r425586 broke this behavior because Blink's fork of the node-set extension returned a text node without an owner document. Fix that. BUG=689977 Review-Url: https://codereview.chromium.org/2750943004 Cr-Commit-Position: refs/heads/master@{#457692} Committed: https://chromium.googlesource.com/chromium/src/+/3f6e482b7f13c1fc5bd68227321ef6da0ddf9937

Patch Set 1 #

Total comments: 7

Patch Set 2 : Feedback. #

Patch Set 3 : Refine the description. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -7 lines) Patch
A third_party/WebKit/LayoutTests/fast/xsl/xslt-node-set-empty.html View 1 2 1 chunk +27 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/xml/XSLTExtensions.cpp View 1 chunk +14 lines, -7 lines 0 comments Download

Messages

Total messages: 20 (14 generated)
dominicc (has gone to gerrit)
PTAL
3 years, 9 months ago (2017-03-15 07:09:34 UTC) #2
yosin_UTC9
C++ changes are OK because it is the copy of third_party/libxslt/libexslt/common.c I think we can ...
3 years, 9 months ago (2017-03-15 07:47:24 UTC) #5
dominicc (has gone to gerrit)
Thanks for the review, PTAL. https://codereview.chromium.org/2750943004/diff/1/third_party/WebKit/LayoutTests/fast/xsl/xslt-node-set-empty.html File third_party/WebKit/LayoutTests/fast/xsl/xslt-node-set-empty.html (right): https://codereview.chromium.org/2750943004/diff/1/third_party/WebKit/LayoutTests/fast/xsl/xslt-node-set-empty.html#newcode13 third_party/WebKit/LayoutTests/fast/xsl/xslt-node-set-empty.html:13: <xsl:variable name="look" select="exsl:node-set($empty)"/> On ...
3 years, 9 months ago (2017-03-16 09:23:42 UTC) #12
yosin_UTC9
lgtm Thanks for explanation.
3 years, 9 months ago (2017-03-16 09:37:22 UTC) #13
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/2750943004/40001
3 years, 9 months ago (2017-03-17 05:10:54 UTC) #17
commit-bot: I haz the power
3 years, 9 months ago (2017-03-17 05:17:37 UTC) #20
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/3f6e482b7f13c1fc5bd68227321e...

Powered by Google App Engine
This is Rietveld 408576698