Bug 224505

Summary: Make MemoryPressureHandler::isUnderMemoryPressure() return true for 2 seconds after a simulated warning
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: Web Template FrameworkAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: benjamin, cmarcelo, darin, ews-watchlist, ggaren, rniwa, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 224556    
Attachments:
Description Flags
Patch
ews-feeder: commit-queue-
Patch none

Description Chris Dumez 2021-04-13 12:40:59 PDT
Make MemoryPressureHandler::isUnderMemoryPressure() return true for 2 seconds after a simulated warning, to make our simulated warning more realistic.
Comment 1 Chris Dumez 2021-04-13 12:42:38 PDT
Created attachment 425901 [details]
Patch
Comment 2 Chris Dumez 2021-04-13 12:59:16 PDT
Created attachment 425903 [details]
Patch
Comment 3 EWS 2021-04-13 13:55:22 PDT
Committed r275909 (236473@main): <https://commits.webkit.org/236473@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 425903 [details].
Comment 4 Radar WebKit Bug Importer 2021-04-13 13:56:16 PDT
<rdar://problem/76608903>