Closed
Bug 1491035
Opened 8 years ago
Closed 8 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: wpt-sync, 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•8 years ago
|
Component: web-platform-tests → DOM
Product: Testing → Core
| Assignee | ||
Comment 1•8 years ago
|
||
| Assignee | ||
Comment 2•8 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=79f5f157bb98e917eb9e04bca686bdc7603c9211
| Assignee | ||
Comment 3•8 years ago
|
||
| Assignee | ||
Comment 4•8 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=74d6d6fcf975164d97edbbef5ca7d71dcd59f4f0
| Assignee | ||
Comment 5•8 years ago
|
||
| Assignee | ||
Comment 6•8 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=1afb808af60bebeeffd40a0895c40abce7cf2847
| Assignee | ||
Comment 7•8 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•8 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox65:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
Updated•7 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•