Closed Bug 1549283 Opened 7 years ago Closed 7 years ago

Add missing calls to `SerializeNodeEnd` in `nsDocumentEncoder`

Categories

(Core :: DOM: Serializers, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla68
Tracking Status
firefox68 --- fixed

People

(Reporter: mbrodesser, Assigned: mbrodesser)

Details

Attachments

(1 file)

In order to have one call of SerializeEndNode for every SerializeStartNode call. This make it simpler to reason about the program and potentially prevents future bugs.

Assignee: nobody → mbrodesser

In order to have one call of SerializeNodeEnd for every SerializeNodeStart
call. In the current state of the code, the absence of these calls doesn't
cause bugs, but this can change anytime SerializeNodeEnd is changed. Moreover,
it makes it simpler to reason about the code.

Pushed by dluca@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/59306f187449
add missing calls to SerializeNodeEnd r=hsivonen

Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: