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

Issue 22911020: Block "]]>" in createCDataSection (Closed)

Created:
7 years, 4 months ago by Daniel Bratell
Modified:
7 years, 4 months ago
CC:
blink-reviews, dglazkov+blink, eae+blinkwatch, adamk+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Block "]]>" in createCDataSection It's not possible to serialize a CData section with ]]> in it so disallow that already in xmldoc.createCDataSection. This is compatible with MSIE and Gecko. BUG=268762 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=156640

Patch Set 1 #

Patch Set 2 : Now with tests #

Total comments: 4

Patch Set 3 : Simpler tests #

Total comments: 3

Patch Set 4 : Simpler test. #

Patch Set 5 : Added trailing whitespace to "expected". #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -0 lines) Patch
A LayoutTests/fast/dom/Document/createCDATASection.html View 1 2 3 1 chunk +16 lines, -0 lines 0 comments Download
A LayoutTests/fast/dom/Document/createCDATASection-expected.txt View 1 2 3 4 1 chunk +8 lines, -0 lines 0 comments Download
M Source/core/dom/Document.cpp View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
Daniel Bratell
leviw and dominicc, can you please review this 4 line patch for a minor compatibility ...
7 years, 4 months ago (2013-08-19 15:04:44 UTC) #1
leviw_travelin_and_unemployed
You'll definitely want to add a test for this. I'm not the best reviewer for ...
7 years, 4 months ago (2013-08-19 17:22:47 UTC) #2
abarth-chromium
Yeah, this definitely needs a test. Does the spec say to do this?
7 years, 4 months ago (2013-08-19 17:30:14 UTC) #3
Daniel Bratell
On 2013/08/19 17:30:14, abarth wrote: > Yeah, this definitely needs a test. Does the spec ...
7 years, 4 months ago (2013-08-20 06:40:30 UTC) #4
abarth-chromium
Ok. I'm happy to approve this CL once you've added some tests.
7 years, 4 months ago (2013-08-20 07:16:21 UTC) #5
Daniel Bratell
On 2013/08/20 07:16:21, abarth wrote: > Ok. I'm happy to approve this CL once you've ...
7 years, 4 months ago (2013-08-20 09:24:45 UTC) #6
arv (Not doing code reviews)
https://codereview.chromium.org/22911020/diff/7001/LayoutTests/fast/dom/Document/createCDATASection.html File LayoutTests/fast/dom/Document/createCDATASection.html (right): https://codereview.chromium.org/22911020/diff/7001/LayoutTests/fast/dom/Document/createCDATASection.html#newcode16 LayoutTests/fast/dom/Document/createCDATASection.html:16: assert("createCDATASection" in xmlDoc, "createCDATASection exists") shouldBe('"createCDATASection" in xmlDoc', 'true'); ...
7 years, 4 months ago (2013-08-20 14:09:53 UTC) #7
Daniel Bratell
Better now I think. https://codereview.chromium.org/22911020/diff/7001/LayoutTests/fast/dom/Document/createCDATASection.html File LayoutTests/fast/dom/Document/createCDATASection.html (right): https://codereview.chromium.org/22911020/diff/7001/LayoutTests/fast/dom/Document/createCDATASection.html#newcode16 LayoutTests/fast/dom/Document/createCDATASection.html:16: assert("createCDATASection" in xmlDoc, "createCDATASection exists") ...
7 years, 4 months ago (2013-08-20 15:37:57 UTC) #8
arv (Not doing code reviews)
LGTM with nits https://codereview.chromium.org/22911020/diff/12001/LayoutTests/fast/dom/Document/createCDATASection.html File LayoutTests/fast/dom/Document/createCDATASection.html (right): https://codereview.chromium.org/22911020/diff/12001/LayoutTests/fast/dom/Document/createCDATASection.html#newcode9 LayoutTests/fast/dom/Document/createCDATASection.html:9: window.xmlDoc = domParser.parseFromString("<example></example>", "text/xml"); xmlDoc is ...
7 years, 4 months ago (2013-08-20 17:47:06 UTC) #9
Daniel Bratell
On 2013/08/20 17:47:06, arv wrote: > LGTM with nits > > https://codereview.chromium.org/22911020/diff/12001/LayoutTests/fast/dom/Document/createCDATASection.html > File LayoutTests/fast/dom/Document/createCDATASection.html ...
7 years, 4 months ago (2013-08-20 20:58:35 UTC) #10
Daniel Bratell
arv, can you LGTM the last patch? Or is the "LGTM with nits" on the ...
7 years, 4 months ago (2013-08-22 08:41:39 UTC) #11
arv (Not doing code reviews)
Still LGTM
7 years, 4 months ago (2013-08-22 13:26:50 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bratell@opera.com/22911020/17001
7 years, 4 months ago (2013-08-22 14:12:32 UTC) #13
commit-bot: I haz the power
Retried try job too often on linux_blink_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_blink_rel&number=2840
7 years, 4 months ago (2013-08-22 15:35:03 UTC) #14
Daniel Bratell
On 2013/08/22 15:35:03, I haz the power (commit-bot) wrote: > Retried try job too often ...
7 years, 4 months ago (2013-08-23 11:33:31 UTC) #15
arv (Not doing code reviews)
LGTM
7 years, 4 months ago (2013-08-23 14:51:45 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bratell@opera.com/22911020/30001
7 years, 4 months ago (2013-08-23 14:51:56 UTC) #17
commit-bot: I haz the power
7 years, 4 months ago (2013-08-23 17:47:53 UTC) #18
Message was sent while issue was closed.
Change committed as 156640

Powered by Google App Engine
This is Rietveld 408576698