зеркало из https://github.com/mozilla/gecko-dev.git
Bug 823735 - Port test_cookies_privatebrowsing.js to the per-window PB APIs; r=jdm
This commit is contained in:
Родитель
af1e424ba3
Коммит
827dbb1add
|
@ -27,18 +27,6 @@ function do_run_test() {
|
|||
// Set up a profile.
|
||||
let profile = do_get_profile();
|
||||
|
||||
// Make sure the private browsing service is available.
|
||||
try {
|
||||
Services.pb;
|
||||
} catch (e) {
|
||||
finish_test();
|
||||
return;
|
||||
}
|
||||
|
||||
// Tell the private browsing service to not attempt to restore window state.
|
||||
Services.prefs.setBoolPref("browser.privatebrowsing.keep_current_session",
|
||||
true);
|
||||
|
||||
// Test with cookies enabled.
|
||||
Services.prefs.setIntPref("network.cookie.cookieBehavior", 0);
|
||||
|
||||
|
@ -126,4 +114,3 @@ function do_run_test() {
|
|||
|
||||
finish_test();
|
||||
}
|
||||
|
||||
|
|
|
@ -10,7 +10,6 @@ skip-if = perwindowprivatebrowsing
|
|||
[test_cookies_async_failure.js]
|
||||
[test_cookies_persistence.js]
|
||||
[test_cookies_privatebrowsing.js]
|
||||
skip-if = perwindowprivatebrowsing
|
||||
[test_cookies_profile_close.js]
|
||||
[test_cookies_read.js]
|
||||
[test_cookies_sync_failure.js]
|
||||
|
|
Загрузка…
Ссылка в новой задаче