Closed Bug 1165306 Opened 9 years ago Closed 9 years ago

Clean up ContentPermissionPrompt.prototype._showPrompt by removing pointerLock-specific code

Categories

(Firefox :: General, defect)

defect
Not set
normal
Points:
2

Tracking

()

RESOLVED FIXED
Firefox 41
Iteration:
41.1 - May 25
Tracking Status
firefox41 --- fixed

People

(Reporter: dao, Assigned: dao)

References

Details

Attachments

(1 file)

Attached patch patchSplinter Review
      No description provided.
Attachment #8606267 - Flags: review?(paolo.mozmail)
Flags: qe-verify-
Flags: firefox-backlog+
Blocks: 737100
Comment on attachment 8606267 [details] [diff] [review]
patch

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

Looks straightforward. Thanks for the cleanup!

::: browser/components/nsBrowserGlue.js
@@ +2391,5 @@
>      var mainAction = popupNotificationActions.length ?
>                         popupNotificationActions[0] : null;
>      var secondaryActions = popupNotificationActions.splice(1);
>  
> +    // Only allow exactly one permission request here.

nit: There's the same typo in the "prompt" function, you may fix it while you're here.
Attachment #8606267 - Flags: review?(paolo.mozmail) → review+
Summary: Cleanup ContentPermissionPrompt.prototype._showPrompt by removing pointerLock-specific code → Clean up ContentPermissionPrompt.prototype._showPrompt by removing pointerLock-specific code
https://hg.mozilla.org/mozilla-central/rev/be648d3499bf
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 41
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: