Pass | assert_equals(0, 0)
at processMessage ( /encrypted-media/scripts/keystatuses.js:32:13) |
Pass | assert_equals(2, 2)
at checkKeyStatusFor2Keys ( /encrypted-media/scripts/keystatuses.js:45:13) |
Pass | assert_in_array("[{\"key\":\"0x558ee541b90ab2f3950d00ade3760d45\",\"value\":\"usable\"},{\"key\":\"0xad13f9ea2be698b875f504a8e3ccea64\",\"value\":\"usable\"}]", ["[{\"key\":\"0x558ee541b90ab2f3950d00ade3760d45\",\"value\":\"usable\"},{\"key\":\"0xad13f9ea2be698b875f504a8e3ccea64\",\"value\":\"usable\"}]", "[{\"key\":\"0x558ee541b90ab2f3950d00ade3760d45\",\"value\":\"status-pending\"},{\"key\":\"0xad13f9ea2be698b875f504a8e3ccea64\",\"value\":\"status-pending\"}]"], "keystatuses should have the two expected keys with keystatus 'usable' or 'status-pending'")
at checkKeyStatusFor2Keys ( /encrypted-media/scripts/keystatuses.js:56:13) |
Pass | assert_array_equals(["0x558ee541b90ab2f3950d00ade3760d45", "0xad13f9ea2be698b875f504a8e3ccea64"], ["0x558ee541b90ab2f3950d00ade3760d45", "0xad13f9ea2be698b875f504a8e3ccea64"], "keyStatuses.keys() should return an iterable over the two expected keys")
at checkKeyStatusFor2Keys ( /encrypted-media/scripts/keystatuses.js:65:13) |
Pass | assert_equals(2, 2, "keyStatuses.values() should have two elements")
at checkKeyStatusFor2Keys ( /encrypted-media/scripts/keystatuses.js:75:13) |
Pass | assert_equals("usable", "usable", "the values in keyStatuses.values() should be equal")
at checkKeyStatusFor2Keys ( /encrypted-media/scripts/keystatuses.js:76:13) |
Pass | assert_in_array("usable", ["usable", "status-pending"])
at checkKeyStatusFor2Keys ( /encrypted-media/scripts/keystatuses.js:77:13) |
Pass | assert_in_array("[{\"key\":\"0x558ee541b90ab2f3950d00ade3760d45\",\"value\":\"usable\"},{\"key\":\"0xad13f9ea2be698b875f504a8e3ccea64\",\"value\":\"usable\"}]", ["[{\"key\":\"0x558ee541b90ab2f3950d00ade3760d45\",\"value\":\"usable\"},{\"key\":\"0xad13f9ea2be698b875f504a8e3ccea64\",\"value\":\"usable\"}]", "[{\"key\":\"0x558ee541b90ab2f3950d00ade3760d45\",\"value\":\"status-pending\"},{\"key\":\"0xad13f9ea2be698b875f504a8e3ccea64\",\"value\":\"status-pending\"}]"], "keyStatuses.entries() should return an iterable over the two expected keys, with keystatus 'usable' or 'status-pending'")
at checkKeyStatusFor2Keys ( /encrypted-media/scripts/keystatuses.js:84:13) |
Pass | assert_in_array("[{\"key\":\"0x558ee541b90ab2f3950d00ade3760d45\",\"value\":\"usable\"},{\"key\":\"0xad13f9ea2be698b875f504a8e3ccea64\",\"value\":\"usable\"}]", ["[{\"key\":\"0x558ee541b90ab2f3950d00ade3760d45\",\"value\":\"usable\"},{\"key\":\"0xad13f9ea2be698b875f504a8e3ccea64\",\"value\":\"usable\"}]", "[{\"key\":\"0x558ee541b90ab2f3950d00ade3760d45\",\"value\":\"status-pending\"},{\"key\":\"0xad13f9ea2be698b875f504a8e3ccea64\",\"value\":\"status-pending\"}]"], "keyStatuses.forEach() should iterate over the two expected keys, with keystatus 'usable' or 'status-pending'")
at checkKeyStatusFor2Keys ( /encrypted-media/scripts/keystatuses.js:93:13) |
Pass | assert_true(true, "keyStatuses should have key1")
at checkKeyStatusFor2Keys ( /encrypted-media/scripts/keystatuses.js:98:13) |
Pass | assert_true(true, "keyStatuses should have key2")
at checkKeyStatusFor2Keys ( /encrypted-media/scripts/keystatuses.js:99:13) |
Pass | assert_in_array("usable", ["usable", "status-pending"], "key1 should have status 'usable' or 'status-pending'")
at checkKeyStatusFor2Keys ( /encrypted-media/scripts/keystatuses.js:100:13) |
Pass | assert_in_array("usable", ["usable", "status-pending"], "key2 should have status 'usable' or 'status-pending'")
at checkKeyStatusFor2Keys ( /encrypted-media/scripts/keystatuses.js:101:13) |
Pass | assert_false(false, "keystatuses should not have invalid key (1)")
at checkKeyStatusFor2Keys ( /encrypted-media/scripts/keystatuses.js:105:13) |
Pass | assert_equals(undefined, undefined, "keystatus value for invalid key should be undefined (1)")
at checkKeyStatusFor2Keys ( /encrypted-media/scripts/keystatuses.js:106:13) |
Pass | assert_false(false, "keystatuses should not have invalid key (2)")
at checkKeyStatusFor2Keys ( /encrypted-media/scripts/keystatuses.js:109:13) |
Pass | assert_equals(undefined, undefined, "keystatus value for invalid key should be undefined (2)")
at checkKeyStatusFor2Keys ( /encrypted-media/scripts/keystatuses.js:110:13) |
Pass | assert_false(false, "keystatuses should not have invalid key (3)")
at checkKeyStatusFor2Keys ( /encrypted-media/scripts/keystatuses.js:114:13) |
Pass | assert_equals(undefined, undefined, "keystatus value for invalid key should be undefined (3)")
at checkKeyStatusFor2Keys ( /encrypted-media/scripts/keystatuses.js:115:13) |
Pass | assert_false(false, "keystatuses should not have invalid key (4)")
at checkKeyStatusFor2Keys ( /encrypted-media/scripts/keystatuses.js:119:13) |
Pass | assert_equals(undefined, undefined, "keystatus value for invalid key should be undefined (4)")
at checkKeyStatusFor2Keys ( /encrypted-media/scripts/keystatuses.js:120:13) |
Pass | assert_false(false, "keystatuses should not have invalid key (5)")
at checkKeyStatusFor2Keys ( /encrypted-media/scripts/keystatuses.js:124:13) |
Pass | assert_equals(undefined, undefined, "keystatus value for invalid key should be undefined (5)")
at checkKeyStatusFor2Keys ( /encrypted-media/scripts/keystatuses.js:125:13) |
Pass | assert_false(false, "keystatuses should not have invalid key (6)")
at checkKeyStatusFor2Keys ( /encrypted-media/scripts/keystatuses.js:129:13) |
Pass | assert_equals(undefined, undefined, "keystatus value for invalid key should be undefined (6)")
at checkKeyStatusFor2Keys ( /encrypted-media/scripts/keystatuses.js:130:13) |
Pass | assert_equals(0, 0)
at processKeyStatusesChange ( /encrypted-media/scripts/keystatuses.js:148:17) |