Closed Bug 1534827 Opened 2 years ago Closed 2 years ago

Page.jsm: Ci.nsIWebNavigation.LOAD_FLAG_IS_REFRESH/Ci.nsIWebNavigation.LOAD_FLAG_IS_LINK are undefined

Categories

(Remote Protocol :: Page, enhancement, P1)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: standard8, Assigned: ato)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

I just picked this up with a script I run locally occasionally.

remote/domains/content/Page.jsm references:

  • Ci.nsIWebNavigation.LOAD_FLAG_IS_REFRESH
  • Ci.nsIWebNavigation.LOAD_FLAG_IS_LINK

Both of which are undefined, as it should be FLAGS.

Well spotted again.

Assignee: nobody → ato
Status: NEW → ASSIGNED
Component: Agent → Page
Priority: -- → P1

The transitionType is converted into undefined because there is a typo
in the constants. These should be "FLAGS" rather than "FLAG".

Thanks-to: Mark Banner <standard8@mozilla.com>

Pushed by atolfsen@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/95f4b83aed87
remote: fix constants in transitionToLoadFlag; r=yulia
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.