diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-02-03 04:52:44 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-04-14 12:28:00 +0200 |
commit | 68d3bc54fbc9b99310197c51dfd84b6f72b7fb01 (patch) | |
tree | 2927417784fafdca735cae1ecc00619cf3ed6254 /netwerk/cookie/nsICookieManager.idl | |
parent | 2109f36dd4a1e04d80ee151b8d5b9c215dfca99a (diff) | |
download | UXP-68d3bc54fbc9b99310197c51dfd84b6f72b7fb01.tar UXP-68d3bc54fbc9b99310197c51dfd84b6f72b7fb01.tar.gz UXP-68d3bc54fbc9b99310197c51dfd84b6f72b7fb01.tar.lz UXP-68d3bc54fbc9b99310197c51dfd84b6f72b7fb01.tar.xz UXP-68d3bc54fbc9b99310197c51dfd84b6f72b7fb01.zip |
Issue #1382 - Remove invalid assertion.
There is flexibility in exactly the value the initialized length must
hold, i.e. if an array is completely empty, it is valid for the
initialized length to be any value between zero and the length of the
array, as long as the in-memory values below the initialized length have
been initialized with a hole value.
In the case of 0, the array is packed and the move operation would be a
nop, so simply convert the assert to a condition to save some cycles.
Diffstat (limited to 'netwerk/cookie/nsICookieManager.idl')
0 files changed, 0 insertions, 0 deletions