Closed Bug 773052 Opened 14 years ago Closed 14 years ago

Mention the valid inputs for require("xul-app").is() method

Categories

(Add-on SDK Graveyard :: Documentation, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: evold, Assigned: evold)

Details

Attachments

(1 file)

It's not clear what application names require("xul-app").is() accepts, and it throws an error when a value is provided that is not acceptable.
Attachment #641226 - Flags: review?(wbamberg)
Assignee: nobody → evold
Comment on attachment 641226 [details] Pointer to Github pull request: https://github.com/mozilla/addon-sdk/pull/485# Looks good! I think that practically the only values you will see are "Firefox" and "Fennec", and it might be worth mentioning that too.
Attachment #641226 - Flags: review?(wbamberg) → review+
(In reply to Will Bamberg [:wbamberg] from comment #2) > Comment on attachment 641226 [details] > Pointer to Github pull request: > https://github.com/mozilla/addon-sdk/pull/485# > > Looks good! I think that practically the only values you will see are > "Firefox" and "Fennec", and it might be worth mentioning that too. Alright I'll make this addition.
(In reply to Will Bamberg [:wbamberg] from comment #2) k I added a commit to mention the two more popular xul apps.
Commits pushed to master at https://github.com/mozilla/addon-sdk https://github.com/mozilla/addon-sdk/commit/1fc90c9c684333703403972511e3233578dcb8f0 Bug 773052: listing the acceptable values for require('xul-app').name https://github.com/mozilla/addon-sdk/commit/d07e635db99529b51bcf6cf1c6260c58edf02e37 Merge pull request #485 from erikvold/bug-773052 fix Bug 773052 listing the acceptable values for require('xul-app').name r=@gozala
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Commits pushed to stabilization at https://github.com/mozilla/addon-sdk https://github.com/mozilla/addon-sdk/commit/1fc90c9c684333703403972511e3233578dcb8f0 Bug 773052: listing the acceptable values for require('xul-app').name https://github.com/mozilla/addon-sdk/commit/d07e635db99529b51bcf6cf1c6260c58edf02e37 Merge pull request #485 from erikvold/bug-773052
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: