Closed Bug 1147235 Opened 9 years ago Closed 9 years ago

Use AppConstants in urlbarBindings.xml

Categories

(Firefox :: General, defect)

34 Branch
x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 40
Tracking Status
firefox40 --- fixed

People

(Reporter: billm, Assigned: billm)

References

Details

Attachments

(1 file, 1 obsolete file)

Attached patch patch (obsolete) — Splinter Review
      No description provided.
Attachment #8582793 - Flags: review?(gavin.sharp)
Comment on attachment 8582793 [details] [diff] [review]
patch

>diff --git a/browser/base/content/urlbarBindings.xml b/browser/base/content/urlbarBindings.xml

>             // But open ctrl/cmd clicks on autocomplete items in a new background tab.
>+            let modifier = this.AppConstants.platform == "macosx" ?
>+                           aEvent.metaKey :
>+                           aEvent.ctrlKey;

Did you test this change? This is part of the browser-autocomplete-result-popup binding, not the "urlbar" binding, so I don't think this.AppConstants will be defined here.

The rest of the patch looks fine.
Attachment #8582793 - Flags: review?(gavin.sharp) → review-
Attached patch patch v2Splinter Review
Attachment #8582793 - Attachment is obsolete: true
Attachment #8585761 - Flags: review?(gavin.sharp)
Attachment #8585761 - Flags: review?(gavin.sharp) → review+
https://hg.mozilla.org/mozilla-central/rev/9f2077f19f53
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 40
Depends on: 1350063
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: