Closed
Bug 1047268
Opened 10 years ago
Closed 10 years ago
test_dirs.html should use SpecialPowers.pushPermissions instead of SpecialPowers.addPermission
Categories
(Core :: DOM: Device Interfaces, defect)
Tracking
()
RESOLVED
FIXED
mozilla34
People
(Reporter: jwwang, Assigned: jwwang)
Details
Attachments
(1 file)
2.23 KB,
patch
|
dhylands
:
review+
|
Details | Diff | Splinter Review |
I was trying to enable content/media/test/* on B2G emulator debug and found out it resulted in perma-failure of test_dirs.html. We should call SpecialPowers.pushPermissions which accepts a function callback so that we can ensure permission change is complete before we continue the rest of the tests.
Assignee | ||
Comment 1•10 years ago
|
||
Call SpecialPowers.pushPermissions() to ensure permission change is completed before continuing the rest of the tests.
Comment 2•10 years ago
|
||
Comment on attachment 8466060 [details] [diff] [review] fix_test_dirs_html_permission.patch Review of attachment 8466060 [details] [diff] [review]: ----------------------------------------------------------------- Looks good - thanks for finding and fixing this.
Attachment #8466060 -
Flags: review?(dhylands) → review+
Assignee | ||
Comment 3•10 years ago
|
||
try most green: https://tbpl.mozilla.org/?tree=Try&rev=89b406c70b87
Keywords: checkin-needed
Comment 4•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/ab3e0e1385cf
Flags: in-testsuite+
Keywords: checkin-needed
Comment 5•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/ab3e0e1385cf
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla34
You need to log in
before you can comment on or make changes to this bug.
Description
•