Test |
Duration |
Result |
GIVEN a autoplayAudible permission WHEN saving THEN the permission is saved in the gecko storage and set to the default value on the disk storage |
0.006s |
passed |
GIVEN a autoplayInaudible permission WHEN saving THEN the permission is saved in the gecko storage and set to the default value on the disk storage |
0.005s |
passed |
GIVEN a crossOriginStorageAccess permission WHEN saving THEN the permission is saved in the gecko storage and set to the default value on the disk storage |
0.005s |
passed |
GIVEN a gecko and on disk permissions WHEN merging values THEN both should be combined into one |
0.004s |
passed |
GIVEN a localStorage permission WHEN saving THEN the permission is saved in the gecko storage and set to the default value on the disk storage |
0.006s |
passed |
GIVEN a localStorage permission WHEN updating THEN the permission is updated in the gecko storage and set to the default value on the disk storage |
0.006s |
passed |
GIVEN a location permission WHEN saving THEN the permission is saved in the gecko storage and set to the default value on the disk storage |
0.026s |
passed |
GIVEN a mediaKeySystemAccess permission WHEN saving THEN the permission is saved in the gecko storage and set to the default value on the disk storage |
0.006s |
passed |
GIVEN a notification permission WHEN saving THEN the permission is saved in the gecko storage and set to the default value on the disk storage |
0.006s |
passed |
GIVEN a temporary permission WHEN saving THEN the permission is saved in memory |
0.004s |
passed |
GIVEN different cross_origin_storage_access permissions WHEN mergePermissions is called THEN they are filtered by origin url |
0.001s |
passed |
GIVEN media type temporary permission WHEN saving THEN the permission is NOT saved in memory |
0.004s |
passed |
GIVEN multiple saved temporary permissions WHEN clearing all temporary permission THEN all permissions are cleared |
0.007s |
passed |
GIVEN permissions that are not present on the gecko storage WHEN merging THEN favor the values on disk permissions |
0.004s |
passed |
WHEN compering two gecko ContentPermissions THEN they are the same when host, mode and permissions are the same |
0.307s |
passed |
WHEN converting a sitePermissions status to gecko status THEN they get converted to the equivalent one |
0.003s |
passed |
WHEN converting from autoplay sitePermissions to gecko status THEN they get converted to the equivalent one |
0.008s |
passed |
WHEN converting from gecko status to autoplay sitePermissions status THEN they get converted to the equivalent one |
0.003s |
passed |
WHEN converting from gecko status to sitePermissions status THEN they get converted to the equivalent one |
0.003s |
passed |
WHEN filtering temporary permissions THEN all temporary permissions should be removed |
0.004s |
passed |
WHEN querying all permission THEN the gecko and the on disk storage are queried and results are combined |
0.007s |
passed |
WHEN querying the store by origin THEN the gecko and the on disk storage are queried and results are combined |
0.007s |
passed |
WHEN removing a site permissions THEN permissions should be removed from the on disk and gecko storage |
0.005s |
passed |
WHEN removing a temporary permissions THEN the permissions should be remove from memory |
0.009s |
passed |
WHEN removing all THEN all permissions should be removed from the on disk and gecko storage |
0.005s |
passed |
WHEN removing all gecko permissions THEN remove all permissions on gecko and clear the site permissions info |
0.008s |
passed |
WHEN removing gecko permissions THEN permissions should be set to the default values in the gecko storage |
0.013s |
passed |
WHEN saving a site permission THEN the permission is saved in the gecko storage and in disk storage |
0.005s |
passed |
WHEN updating THEN the permission is updated in the gecko storage and set to the default value on the disk storage |
0.010s |
passed |
WHEN updating a permission THEN the permission is updated in the gecko storage and on the disk storage |
0.005s |
passed |