gecko-dev/browser/base/content/test/permissions/browser.ini
Johann Hofmann a01a4f8ec3 Bug 1334842 - Fix intermittent browser_temporary_permissions.js. r=Nihanth
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
2017-03-29 16:15:56 +02:00

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]