• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1NAME = "platform_QuickMemoryPressure"
2PURPOSE = "Verify tab discarding occurs."
3CRITERIA = """
4Test succeeds when one or more tabs are discarded.
5"""
6
7AUTHOR="Luigi Semenzato"
8TIME = "SHORT"
9TEST_CATEGORY = "Functional"
10TEST_CLASS = "platform"
11TEST_TYPE = "client"
12DOC = """
13  This test opens a few tabs with large JS object, then increases the
14  discard margin until a tab discard occurs.
15
16  WARNING! The discard margin may be left in an incorrect state if the
17  test exits before it completes.
18"""
19
20job.run_test('platform_MemoryPressure', flavor='quick', timeout_seconds=60)
21