NAME = "platform_QuickMemoryPressure" PURPOSE = "Verify tab discarding occurs." CRITERIA = """ Test succeeds when one or more tabs are discarded. """ AUTHOR="Luigi Semenzato" TIME = "SHORT" 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)