Closed
Bug 1491035
Opened 6 years ago
Closed 6 years ago
[wpt-sync] Sync PR 12989 - Insert an error message block when parsing was stopped after an error
Categories
(Core :: DOM: Core & HTML, enhancement, P4)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla65
Tracking | Status | |
---|---|---|
firefox65 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 12989 into mozilla-central (this bug is closed when the sync is complete). PR: https://github.com/web-platform-tests/wpt/pull/12989 Details from upstream follow. Fredrik Söderquist <fs@opera.com> wrote: > Insert an error message block when parsing was stopped after an error > > The <parsererror> element was not being added to the parsed document in > certain cases involving attribute parsing. For example, if an undeclared > namespace prefix was used in the document, then parsing would stop, but > a <parsererror> element would not be inserted into the document to > indicate that a parsing error occurred. > > When XMLDocumentParser::StopParsing() is called to stop parsing, call > InsertErrorMessageBlock() to insert the <parsererror> element if an > error occurred. > > Based on https://codereview.chromium.org/771493002/ by dtrebbien@gmail.com > > Bug: 295809 > Change-Id: Ic67a3ab885fae4b01ca92f6d927b3f523f7423ed > Reviewed-on: https://chromium-review.googlesource.com/1224791 > WPT-Export-Revision: 29df271dce4a48780eaceffeb4c2c908acb04d06
Assignee | ||
Updated•6 years ago
|
Component: web-platform-tests → DOM
Product: Testing → Core
Assignee | ||
Comment 1•6 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=48bf8bc171ae7c9f615f1dd570f2b9d5fa926bc0
Assignee | ||
Comment 2•6 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=79f5f157bb98e917eb9e04bca686bdc7603c9211
Assignee | ||
Comment 3•6 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=b18a6b26231fab949f756d6997f3d19da4c8acae
Assignee | ||
Comment 4•6 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=74d6d6fcf975164d97edbbef5ca7d71dcd59f4f0
Assignee | ||
Comment 5•6 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=c6991dc096e6e6dbb9b2b6822f7f6a59987e2823
Assignee | ||
Comment 6•6 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=1afb808af60bebeeffd40a0895c40abce7cf2847
Assignee | ||
Comment 7•6 years ago
|
||
Ran 1 tests and 17 subtests OK : 1 PASS : 17
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/f8c0ba663cd4 [wpt PR 12989] - Insert an error message block when parsing was stopped after an error, a=testonly
Comment 9•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/f8c0ba663cd4
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox65:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•