Closed Bug 982460 Opened 10 years ago Closed 10 years ago

Allow privileged apps to call navigator.mozId.request() outside of a user event handler

Categories

(Core Graveyard :: Identity, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla31

People

(Reporter: jedp, Assigned: jedp)

References

Details

Attachments

(1 file)

      No description provided.
Assignee: nobody → jparsons
Blocks: 974121
Status: NEW → ASSIGNED
Allows privileged apps to call request() whenever they want.

To run unit tests:

  ./mach mochitest-chrome dom/identity
Attachment #8410526 - Flags: review?(spenrose)
Comment on attachment 8410526 [details] [diff] [review]
Privileged apps can call request() when not handling user input

Review of attachment 8410526 [details] [diff] [review]:
-----------------------------------------------------------------

Clean code, tests pass. Thanks Jed!
Attachment #8410526 - Flags: review?(spenrose) → review+
https://hg.mozilla.org/mozilla-central/rev/4f69b95c714f
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla31
No longer blocks: 996101
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.