Closed Bug 1195357 Opened 9 years ago Closed 9 years ago

make TextProperty.stringifyProperty correctly escape comments

Categories

(DevTools :: Inspector, defect)

defect
Not set
normal

Tracking

(firefox44 fixed)

RESOLVED FIXED
Firefox 44
Tracking Status
firefox44 --- fixed

People

(Reporter: tromey, Assigned: tromey)

References

Details

Attachments

(1 file, 1 obsolete file)

While working on bug 984880, I noticed that TextProperty.stringifyProperty
will do the wrong thing when stringifying a disabled property that
appears to include a comment end.  This can happen in a situation like:

div {
  --var: "*/";
}
Attachment #8648769 - Flags: review?(pbrosset)
Attachment #8648769 - Flags: review?(pbrosset) → review+
Updated for the devtools renaming.
Attachment #8648769 - Attachment is obsolete: true
Attachment #8666786 - Flags: review+
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/a22bad103d69
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 44
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: