Closed Bug 855192 Opened 8 years ago Closed 8 years ago
Powers .Mock Permission Prompt doesn't work on B2G builds
This is likely a result of bug 798491 which is enabled on b2g builds. The fix is to change the "var" to "this" at http://mxr.mozilla.org/mozilla-central/source/testing/specialpowers/content/MockPermissionPrompt.jsm#33 I'll attach a testcase and patch tomorrow.
try push here https://tbpl.mozilla.org/?tree=Try&rev=8447a2a7b7a9 The change should only affect b2g builds, but I can run a full try run if needed too.
Attachment #730316 - Flags: review?(jgriffin)
Comment on attachment 730316 [details] [diff] [review] change var to this Looks good.
Attachment #730316 - Flags: review?(jgriffin) → review+
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla22
You need to log in before you can comment on or make changes to this bug.