Closed
Bug 769569
Opened 13 years ago
Closed 13 years ago
Check that navigator.id.request was called as a result of user input
Categories
(Core Graveyard :: Identity, defect)
Core Graveyard
Identity
Tracking
(blocking-basecamp:+, firefox18 fixed)
| Tracking | Status | |
|---|---|---|
| firefox18 | --- | fixed |
People
(Reporter: MattN, Assigned: mounir)
References
()
Details
(Keywords: dev-doc-needed, sec-low, Whiteboard: [qa-])
Attachments
(1 file)
|
1.18 KB,
patch
|
benadida
:
review+
|
Details | Diff | Splinter Review |
"#### navigator.id.request(<options>);
…This function must be invoked from within a click handler."
We would need something like nsEventStateManager::IsHandlingUserInput on a scriptable interface (such as DOMWindowUtils).
Updated•13 years ago
|
blocking-basecamp: --- → +
Comment 1•13 years ago
|
||
On b2g, sounds like we want the same protections that are implemented for window.open - to know that it was the result of a touch.
| Assignee | ||
Comment 2•13 years ago
|
||
We can use popup blocker mechanism or nsEventStateManager::IsHandlingUserInput.
| Assignee | ||
Comment 4•13 years ago
|
||
Attachment #668477 -
Flags: review?(benadida)
| Assignee | ||
Updated•13 years ago
|
Whiteboard: [need review]
Comment 5•13 years ago
|
||
Comment on attachment 668477 [details] [diff] [review]
Patch
awesome, looks great, thanks Mounir!
Attachment #668477 -
Flags: review?(benadida) → review+
| Assignee | ||
Comment 6•13 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/b7fa297880c5
(I've added some test fixes)
Status: NEW → ASSIGNED
Flags: in-testsuite?
Whiteboard: [need review]
Target Milestone: --- → mozilla19
Comment 7•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 8•13 years ago
|
||
Pushed to mozilla-aurora because it is blocking basecamp.
https://hg.mozilla.org/releases/mozilla-aurora/rev/dee2eda3a3ec
status-firefox18:
--- → fixed
Target Milestone: mozilla19 → mozilla18
| Assignee | ||
Updated•13 years ago
|
Keywords: dev-doc-needed
Updated•13 years ago
|
Whiteboard: [qa-]
Updated•7 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•