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

RESOLVED FIXED

Status

enhancement
P1
normal
RESOLVED FIXED
a month ago
a month ago

People

(Reporter: standard8, Assigned: ato)

Tracking

(Blocks 1 bug)

Details

Attachments

(1 attachment)

(Reporter)

Description

a month ago

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.

(Assignee)

Comment 1

a month ago

Well spotted again.

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

Comment 2

a month ago

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>

Comment 3

a month ago
Pushed by atolfsen@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/95f4b83aed87
remote: fix constants in transitionToLoadFlag; r=yulia

Comment 4

a month ago
bugherder
Status: ASSIGNED → RESOLVED
Last Resolved: a month ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.