Closed Bug 908912 Opened 11 years ago Closed 11 years ago

Rewrite test_permission_basics.html to make it working for b2g

Categories

(Core :: DOM: Device Interfaces, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla26

People

(Reporter: martijn.martijn, Assigned: martijn.martijn)

References

()

Details

Attachments

(2 files)

This test was written in bug 770731.

I changed it to use SpecialPowers.pushPermissions and wrapped the Cu.utils.import call inside a " if (SpecialPowers.isMainProcess())".

This test can't be turned on for b2g yet, because it uses https and that doesn't work yet for b2g mochitest, see bug 907770.
Attachment #794919 - Flags: review?(jmaher)
Summary: Rewrite test_permission_basics.html to make it workin for b2g → Rewrite test_permission_basics.html to make it working for b2g
Comment on attachment 794919 [details] [diff] [review]
test_permission_basics.diff

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

so much churn to make it work in b2g.
Attachment #794919 - Flags: review?(jmaher) → review+
This is on top of the patch for bug 909012 and bug 907995.
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/79dca9da372d
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: