Closed
Bug 1248022
Opened 8 years ago
Closed 8 years ago
ConsoleEvent.styles can be a sequence of nullable strings.
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
FIXED
mozilla47
Tracking | Status | |
---|---|---|
firefox47 | --- | fixed |
People
(Reporter: baku, Assigned: baku)
Details
Attachments
(1 file)
3.56 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Attachment #8718947 -
Flags: review?(bzbarsky)
Comment 1•8 years ago
|
||
Comment on attachment 8718947 [details] [diff] [review] console1.patch >+ if (!aStyles.AppendElement(EmptyString(), fallible)) { You mean NullString(), right? Please add a test, since apparently we have no test coverage for this.... >+ if (!aStyles.AppendElement(string, fallible)) { So this is going to make a copy out of the autostring. I guess in practice this is not a big deal, and all our APIs around this suck a bit, sadly... r=me with the NullString() fixed.
Attachment #8718947 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Comment 2•8 years ago
|
||
> You mean NullString(), right? Please add a test, since apparently we have
> no test coverage for this....
We have some tests here: shared/webconsole/test/test_console_styling.html
Comment 4•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/db0f2e9327af
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox47:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla47
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
•