blob: b624c85a3e01f1d008f42323ea50c607a0d48e8e [file] [log] [blame] [edit]
Basic test for the memory warning simulation mechanism.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Verify that we're not running under memory warning from the beginning.
PASS internals.isUnderMemoryWarning is false
Begin simulated memory warning.
PASS internals.isUnderMemoryWarning is true
End simulated memory warning.
PASS internals.isUnderMemoryWarning is false
PASS successfullyParsed is true
TEST COMPLETE