Bug 1639545 - Also run IndexedDB mochitests in private browsing mode.r=dom-storage-reviewers,janv

Depends on D76670

Differential Revision: https://phabricator.services.mozilla.com/D170597
This commit is contained in:
Jan Varga 2023-04-12 15:49:27 +00:00
Родитель 186bf4eb77
Коммит e7f5160aa8
4 изменённых файлов: 47 добавлений и 5 удалений

Просмотреть файл

@ -9,7 +9,8 @@ with Files("**"):
MOCHITEST_MANIFESTS += [
"test/mochitest-intl-api.ini",
"test/mochitest.ini",
"test/mochitest-private.ini",
"test/mochitest-regular.ini",
]
BROWSER_CHROME_MANIFESTS += ["test/browser.ini"]

Просмотреть файл

@ -83,9 +83,9 @@ support-files =
unit/test_readonly_transactions.js
unit/test_readwriteflush_disabled.js
unit/test_remove_index.js
unit/test_remove_objectStore.js
unit/test_rename_index.js
unit/test_rename_index_errors.js
unit/test_remove_objectStore.js
unit/test_rename_objectStore.js
unit/test_rename_objectStore_errors.js
unit/test_request_readyState.js
@ -136,10 +136,18 @@ skip-if = os == 'win' && os_version == '6.1' # Bug 1342415
skip-if =
(os == 'win' && os_version == '6.1') || (verify && (os == 'win')) # Bug 1342415
http3
socketprocess_networking # Bug 1827221: test is toggled off here rather than in private.ini
# because socketprocess_networking is an un-released feature so we
# do not loose much coverage by disabling it here.
[test_blob_worker_xhr_post_multifile.html]
skip-if =
os == 'win' && os_version == '6.1' # Bug 1342415
http3
socketprocess_networking # Bug 1827221: test is toggled off here rather than in private.ini
# because socketprocess_networking is an un-released feature so we
# do not loose much coverage by disabling it here.
[test_blob_worker_xhr_read.html]
[test_blob_worker_xhr_read_slice.html]
[test_blocked_order.html]
@ -170,7 +178,6 @@ skip-if = verify
[test_file_array.html]
[test_file_cross_database_copying.html]
[test_file_delete.html]
[test_file_os_delete.html]
[test_file_put_deleted.html]
[test_file_put_get_object.html]
[test_file_put_get_values.html]
@ -239,8 +246,6 @@ skip-if = verify
[test_setVersion_events.html]
[test_setVersion_exclusion.html]
[test_setVersion_throw.html]
[test_storage_manager_estimate.html]
scheme=https
[test_success_events_after_abort.html]
[test_table_locks.html]
[test_table_rollback.html]

Просмотреть файл

@ -0,0 +1,20 @@
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
[DEFAULT]
dupe-manifest =
prefs =
browser.privatebrowsing.autostart=true
dom.indexedDB.privateBrowsing.enabled=true
extensions.blocklist.enabled=false
tags = indexedDB indexedDB-private
[include:mochitest-common.ini]
[test_storage_manager_estimate.html]
scheme=https
skip-if =
xorigin
[test_file_os_delete.html]
skip-if = true # Bug 1819284: Run test_file_os_delete only for regular manifest.

Просмотреть файл

@ -0,0 +1,16 @@
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
[DEFAULT]
dupe-manifest =
prefs =
extensions.blocklist.enabled=false
tags = indexedDB indexedDB-regular
[include:mochitest-common.ini]
[test_storage_manager_estimate.html]
scheme=https
[test_file_os_delete.html] # Bug 1819284: Run test_file_os_delete only for regular manifest.
skip-if = xorigin # Bug 1827617: Investigate test_file_os_delete.html failure in xorigin.