Closed Bug 1370732 Opened 7 years ago Closed 7 years ago

Define Cc and Ci in sanitize.js

Categories

(Firefox :: General, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 55
Tracking Status
firefox55 --- fixed

People

(Reporter: mccr8, Assigned: mccr8)

References

Details

Attachments

(1 file)

      No description provided.
Comment on attachment 8875350 [details]
Bug 1370732 - Define Cc and Ci in sanitize.js.

https://reviewboard.mozilla.org/r/146760/#review150860

::: browser/base/content/sanitize.js:31
(Diff revision 1)
> +var Cc = Components.classes;
> +var Ci = Components.interfaces;

Nit: you could use a destructuring assignment as we do elsewhere.
Attachment #8875350 - Flags: review?(gijskruitbosch+bugs) → review+
(In reply to :Gijs from comment #3)
> Nit: you could use a destructuring assignment as we do elsewhere.

Sounds good. I'll do that.
Pushed by amccreight@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4ae5d273a149
Define Cc and Ci in sanitize.js. r=Gijs
Oops, I did the destructuring assignment backwards...
I guess I have to file a new bug for this because of MozReview?
Blocks: 1371042
https://hg.mozilla.org/mozilla-central/rev/4ae5d273a149
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 55
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: