mirror of
https://github.com/servo/servo.git
synced 2025-09-30 00:29:14 +01:00
net: use saturating_sub when substracting durations to prevent underflows (#33341)
* net: use saturating_sub when substracting durations to prevent underflows Signed-off-by: webbeef <me@webbeef.org> * Add regression test. (#1) * Add regression test. Signed-off-by: Josh Matthews <josh@joshmatthews.net> --------- Signed-off-by: webbeef <me@webbeef.org> Signed-off-by: Josh Matthews <josh@joshmatthews.net> Co-authored-by: Josh Matthews <josh@joshmatthews.net>
This commit is contained in:
parent
85823edd01
commit
f6ae050077
4 changed files with 39 additions and 5 deletions
15
tests/wpt/mozilla/meta/MANIFEST.json
vendored
15
tests/wpt/mozilla/meta/MANIFEST.json
vendored
|
@ -1,5 +1,16 @@
|
|||
{
|
||||
"items": {
|
||||
"crashtest": {
|
||||
"mozilla": {
|
||||
"cache_old_response-crash.html": [
|
||||
"d14e7c830f52bb77e81d91b533e0ce6d4a1ede82",
|
||||
[
|
||||
null,
|
||||
{}
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"reftest": {
|
||||
"css": {
|
||||
"abs-overflow-stackingcontext.html": [
|
||||
|
@ -10507,6 +10518,10 @@
|
|||
"59562a8c9c39130cad411815059513c4ce0a7c04",
|
||||
[]
|
||||
],
|
||||
"old_page.py": [
|
||||
"3f096b6f5a6611f97f625d8a0420aaa96f2e2b01",
|
||||
[]
|
||||
],
|
||||
"partial_shadow_dom_layout_style_ref.html": [
|
||||
"bf40d2cc35b6b2c1e32afffa0651cb1b26e41fe8",
|
||||
[]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue