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

Issue 729453003: DevTools: Fix crash when setting invalid outer XML for an XML document (Closed)

Created:
6 years, 1 month ago by apavlov
Modified:
6 years, 1 month ago
Reviewers:
vsevik, aandrey, pfeldman
CC:
blink-reviews, caseq+blink_chromium.org, loislo+blink_chromium.org, eustas+blink_chromium.org, malch+blink_chromium.org, yurys+blink_chromium.org, lushnikov+blink_chromium.org, vsevik+blink_chromium.org, pfeldman+blink_chromium.org, paulirish+reviews_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, sergeyv+blink_chromium.org, aandrey+blink_chromium.org
Project:
blink
Visibility:
Public.

Description

DevTools: Fix crash when setting invalid outer XML for an XML document R=pfeldman, vsevik BUG=431519 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=185454

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fix the way documents are parsed, address comments #

Total comments: 2

Patch Set 3 : Revert to ASSERT, detach parser() after finish() #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -11 lines) Patch
M LayoutTests/inspector/elements/set-outer-html-for-xhtml.xhtml View 1 2 chunks +13 lines, -1 line 0 comments Download
M LayoutTests/inspector/elements/set-outer-html-for-xhtml-expected.txt View 1 1 chunk +3 lines, -0 lines 0 comments Download
M Source/core/inspector/DOMPatchSupport.cpp View 1 2 2 chunks +14 lines, -10 lines 5 comments Download

Messages

Total messages: 23 (8 generated)
apavlov
6 years, 1 month ago (2014-11-14 12:56:01 UTC) #1
pfeldman
lgtm
6 years, 1 month ago (2014-11-14 12:57:42 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/729453003/1
6 years, 1 month ago (2014-11-14 12:59:34 UTC) #4
commit-bot: I haz the power
Try jobs failed on following builders: linux_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/linux_blink_rel/builds/33641)
6 years, 1 month ago (2014-11-14 13:57:08 UTC) #6
aandrey
https://codereview.chromium.org/729453003/diff/1/LayoutTests/inspector/elements/set-outer-html-for-xhtml.xhtml File LayoutTests/inspector/elements/set-outer-html-for-xhtml.xhtml (right): https://codereview.chromium.org/729453003/diff/1/LayoutTests/inspector/elements/set-outer-html-for-xhtml.xhtml#newcode56 LayoutTests/inspector/elements/set-outer-html-for-xhtml.xhtml:56: InspectorTest.addResult("No crash"); nit: "PASS: No crash" https://codereview.chromium.org/729453003/diff/1/Source/core/inspector/DOMPatchSupport.cpp File Source/core/inspector/DOMPatchSupport.cpp ...
6 years, 1 month ago (2014-11-14 16:30:53 UTC) #8
apavlov
https://codereview.chromium.org/729453003/diff/1/LayoutTests/inspector/elements/set-outer-html-for-xhtml.xhtml File LayoutTests/inspector/elements/set-outer-html-for-xhtml.xhtml (right): https://codereview.chromium.org/729453003/diff/1/LayoutTests/inspector/elements/set-outer-html-for-xhtml.xhtml#newcode56 LayoutTests/inspector/elements/set-outer-html-for-xhtml.xhtml:56: InspectorTest.addResult("No crash"); On 2014/11/14 16:30:53, aandrey wrote: > nit: ...
6 years, 1 month ago (2014-11-17 13:37:18 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/729453003/40001
6 years, 1 month ago (2014-11-17 13:39:53 UTC) #12
pfeldman
https://codereview.chromium.org/729453003/diff/40001/Source/core/inspector/DOMPatchSupport.cpp File Source/core/inspector/DOMPatchSupport.cpp (right): https://codereview.chromium.org/729453003/diff/40001/Source/core/inspector/DOMPatchSupport.cpp#newcode95 Source/core/inspector/DOMPatchSupport.cpp:95: RELEASE_ASSERT(newDocument); ASSERT?
6 years, 1 month ago (2014-11-17 14:10:04 UTC) #13
apavlov
https://codereview.chromium.org/729453003/diff/40001/Source/core/inspector/DOMPatchSupport.cpp File Source/core/inspector/DOMPatchSupport.cpp (right): https://codereview.chromium.org/729453003/diff/40001/Source/core/inspector/DOMPatchSupport.cpp#newcode95 Source/core/inspector/DOMPatchSupport.cpp:95: RELEASE_ASSERT(newDocument); On 2014/11/17 14:10:04, pfeldman wrote: > ASSERT? Done.
6 years, 1 month ago (2014-11-17 15:28:28 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/729453003/80001
6 years, 1 month ago (2014-11-17 15:29:19 UTC) #18
aandrey
https://codereview.chromium.org/729453003/diff/80001/Source/core/inspector/DOMPatchSupport.cpp File Source/core/inspector/DOMPatchSupport.cpp (right): https://codereview.chromium.org/729453003/diff/80001/Source/core/inspector/DOMPatchSupport.cpp#newcode96 Source/core/inspector/DOMPatchSupport.cpp:96: newDocument->setContextFeatures(document().contextFeatures()); if a new document type will be added, ...
6 years, 1 month ago (2014-11-17 15:47:53 UTC) #19
apavlov
https://codereview.chromium.org/729453003/diff/80001/Source/core/inspector/DOMPatchSupport.cpp File Source/core/inspector/DOMPatchSupport.cpp (right): https://codereview.chromium.org/729453003/diff/80001/Source/core/inspector/DOMPatchSupport.cpp#newcode96 Source/core/inspector/DOMPatchSupport.cpp:96: newDocument->setContextFeatures(document().contextFeatures()); On 2014/11/17 15:47:53, aandrey wrote: > if a ...
6 years, 1 month ago (2014-11-17 16:04:37 UTC) #20
apavlov
https://codereview.chromium.org/729453003/diff/80001/Source/core/inspector/DOMPatchSupport.cpp File Source/core/inspector/DOMPatchSupport.cpp (right): https://codereview.chromium.org/729453003/diff/80001/Source/core/inspector/DOMPatchSupport.cpp#newcode96 Source/core/inspector/DOMPatchSupport.cpp:96: newDocument->setContextFeatures(document().contextFeatures()); On 2014/11/17 15:47:53, aandrey wrote: > if a ...
6 years, 1 month ago (2014-11-17 16:04:39 UTC) #21
apavlov
https://codereview.chromium.org/729453003/diff/80001/Source/core/inspector/DOMPatchSupport.cpp File Source/core/inspector/DOMPatchSupport.cpp (right): https://codereview.chromium.org/729453003/diff/80001/Source/core/inspector/DOMPatchSupport.cpp#newcode96 Source/core/inspector/DOMPatchSupport.cpp:96: newDocument->setContextFeatures(document().contextFeatures()); On 2014/11/17 16:04:39, apavlov wrote: > On 2014/11/17 ...
6 years, 1 month ago (2014-11-17 16:05:55 UTC) #22
commit-bot: I haz the power
6 years, 1 month ago (2014-11-17 17:08:38 UTC) #23
Message was sent while issue was closed.
Committed patchset #3 (id:80001) as 185454

Powered by Google App Engine
This is Rietveld 408576698