blob: 2feae93c397ef992c4d9fcdb25f47e3c7574ff1a [file] [log] [blame]
NAME = "platform_QuickMemoryPressure"
PURPOSE = "Verify tab discarding occurs."
Test succeeds when one or more tabs are discarded.
AUTHOR="Luigi Semenzato"
TEST_CATEGORY = "Functional"
TEST_CLASS = "platform"
TEST_TYPE = "client"
DOC = """
This test opens a few tabs with large JS object, then increases the
discard margin until a tab discard occurs.
WARNING! The discard margin may be left in an incorrect state if the
test exits before it completes.
job.run_test('platform_MemoryPressure', flavor='quick', timeout_seconds=60)