Closed Bug 1479727 Opened Last year Closed Last year

ImageBlockingPolicy.js uses unknown property Ci.nsIContentPolicy.REJECT

Categories

(Firefox for Android :: General, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
Firefox 63
Tracking Status
firefox63 --- fixed

People

(Reporter: standard8, Assigned: standard8)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

In finding properties/constants of idl interfaces that aren't valid I discovered this:

mobile/android/components/ImageBlockingPolicy.js
  79:16  error  Use of unknown property Ci.nsIContentPolicy.REJECT

Looks like the constant name is out of date and should be picked from one of:

https://searchfox.org/mozilla-central/rev/033d45ca70ff32acf04286244644d19308c359d5/dom/base/nsIContentPolicy.idl#358-392
Assignee: nobody → standard8
Status: NEW → ASSIGNED
Comment on attachment 8997872 [details]
Bug 1479727 - Fix the request rejection value in ImageBlockingPolicy to be a valid one.

James Willcox (:snorp) (jwillcox@mozilla.com) has approved the revision.
Attachment #8997872 - Flags: review+
Pushed by mbanner@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f06bcde158d3
Fix the request rejection value in ImageBlockingPolicy to be a valid one. r=snorp
https://hg.mozilla.org/mozilla-central/rev/f06bcde158d3
Status: ASSIGNED → RESOLVED
Closed: Last year
Resolution: --- → FIXED
Target Milestone: --- → Firefox 63
You need to log in before you can comment on or make changes to this bug.