Closed
Bug 1578149
Opened 6 years ago
Closed 6 years ago
Group `nsPlainTextSerializer`'s indentation members in common struct
Categories
(Core :: DOM: Serializers, enhancement)
Core
DOM: Serializers
Tracking
()
RESOLVED
FIXED
mozilla71
| Tracking | Status | |
|---|---|---|
| firefox71 | --- | fixed |
People
(Reporter: mbrodesser, Assigned: mbrodesser)
Details
Attachments
(5 files)
No description provided.
| Assignee | ||
Updated•6 years ago
|
Assignee: nobody → mbrodesser
| Assignee | ||
Comment 1•6 years ago
|
||
In order to encapsulate the indentation related members.
| Assignee | ||
Comment 2•6 years ago
|
||
Depends on D44346
| Assignee | ||
Comment 3•6 years ago
|
||
Whitespace triming was used by only one caller, so it deserves to live
outside. Additionally, this defines the method name more precisely.
Depends on D44347
| Assignee | ||
Comment 4•6 years ago
|
||
Makes the method name more accurate.
Depends on D44348
| Assignee | ||
Comment 5•6 years ago
|
||
Depends on D44349
Pushed by mbrodesser@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/73bbd2dfec98
part 1) Add `nsPlainTextSerializer::Indentation`. r=hsivonen
https://hg.mozilla.org/integration/autoland/rev/e6a2035efc36
part 2) Simplify code in `nsPlainTextSerializer::Write`. r=hsivonen
https://hg.mozilla.org/integration/autoland/rev/ebdf7c03ad58
part 3) Move whitespace triming out of `OutputQuotesAndIndent`. r=hsivonen
https://hg.mozilla.org/integration/autoland/rev/5712af8379c5
part 4) Move truncating `mIndentation.mHeader` out of `CreateQuotesAndIndent`. r=hsivonen
https://hg.mozilla.org/integration/autoland/rev/bb67417b6f51
part 5) Bundle resetting `mIndentation.mHeader` and `mCurrentLineContent`. r=hsivonen
Comment 7•6 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/73bbd2dfec98
https://hg.mozilla.org/mozilla-central/rev/e6a2035efc36
https://hg.mozilla.org/mozilla-central/rev/ebdf7c03ad58
https://hg.mozilla.org/mozilla-central/rev/5712af8379c5
https://hg.mozilla.org/mozilla-central/rev/bb67417b6f51
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox71:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
You need to log in
before you can comment on or make changes to this bug.
Description
•