aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/css-tests/css-grid-1_dev/xhtml1/reference/support/testing-utils.js
diff options
context:
space:
mode:
authorSebastian C <sebsebmc@gmail.com>2025-05-14 23:06:57 -0500
committerGitHub <noreply@github.com>2025-05-15 04:06:57 +0000
commit103cbed928b0b9ecd7084b5e9dcab135eca19327 (patch)
tree679e9fd5ab2233531215a6dd3e97afd81b97c139 /tests/wpt/css-tests/css-grid-1_dev/xhtml1/reference/support/testing-utils.js
parentc26877a79df0ff1c80ea0e80635be86eb1d6fcd9 (diff)
downloadservo-103cbed928b0b9ecd7084b5e9dcab135eca19327.tar.gz
servo-103cbed928b0b9ecd7084b5e9dcab135eca19327.zip
HSTS list memory reduction and fixes (#37000)
Combines the 2 time values in the HSTS entry with a single timestamp for expiration. (9MB savings per list) The previous time representations were based on system boot time which meant that the `hsts_list.json` round trip across boots resulted in completely erroneous expiration times. The preload list is now initialized separately from the public and private lists and shared by both, cutting memory use in half. Overall takes memory use from 64MB for HSTS to 24MB. Expired HSTS entries are now removed from the list when updating an entry and subdomains can be added to a list if the superdomain does not already include them. Testing: New unit tests added Related to #25929 but the next step would be to attempt to use https://github.com/BurntSushi/fst Which will be explored in a follow-up. --------- Signed-off-by: Sebastian C <sebsebmc@gmail.com>
Diffstat (limited to 'tests/wpt/css-tests/css-grid-1_dev/xhtml1/reference/support/testing-utils.js')
0 files changed, 0 insertions, 0 deletions