mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-13 06:38:48 +02:00
This intermittent was likely occurring because we set the expiry timeout for temporary permissions to a really low value in the previous test. The failing test was only failing on slow machines, leading me to believe that the time between setting and checking was larger than the 500ms timeout defined in the previous test. Thus, the permission was reset on checking it. The expiry pref was set using pushPrefEnv, which restores prefs only after the entire test was run. To just eradicate this category of problems in the future I moved the test that manipulates the expiry into its own file. MozReview-Commit-ID: 3mc5xHY4XLn --HG-- extra : rebase_source : 40f78258a975da9dca9a47beddcaaeea83649de3
13 lines
329 B
INI
13 lines
329 B
INI
[DEFAULT]
|
|
support-files=
|
|
head.js
|
|
permissions.html
|
|
|
|
[browser_permissions.js]
|
|
[browser_temporary_permissions.js]
|
|
support-files =
|
|
temporary_permissions_subframe.html
|
|
../webrtc/get_user_media.html
|
|
[browser_temporary_permissions_expiry.js]
|
|
[browser_temporary_permissions_navigation.js]
|
|
[browser_temporary_permissions_tabs.js]
|