Description

This test validates functionality of the interface window.performance.clearMarks.

Summary

Harness status: OK

Found 57 tests

Details

ResultTest NameMessage
PassFirst loop: checking entries after removing "". There should be 2 entries.
Asserts run
Pass
assert_equals(2, 2, "First loop: checking entries after removing \"\". There should be 2 entries.")
    at Test.<anonymous> ( /common/performance-timeline-utils.js:32:25)
PassFirst loop: checking entries after removing "". Entries in entrylist should be in order.
Asserts run
Pass
assert_true(true, "First loop: checking entries after removing \"\". Entries in entrylist should be in order.")
    at Test.<anonymous> ( /common/performance-timeline-utils.js:27:25)
PassFirst loop: checking entries after removing "". Entry_list 0. Entry "1" should be one that we have set.
Asserts run
Pass
assert_in_array("1", ["", "1", "abc"], "First loop: checking entries after removing \"\". Entry_list 0. Entry \"1\" should be one that we have set.")
    at Test.<anonymous> ( /user-timing/resources/webperftestharnessextension.js:101:30)
PassFirst loop: checking entries after removing "". Entry_list 0. entryType should be "mark".
Asserts run
Pass
assert_equals("mark", "mark", "First loop: checking entries after removing \"\". Entry_list 0. entryType should be \"mark\".")
    at Test.<anonymous> ( /common/performance-timeline-utils.js:32:25)
PassFirst loop: checking entries after removing "". Entry_list 0. startTime should greater than 0.
Asserts run
Pass
assert_greater_than(402.80000019073486, 0, "First loop: checking entries after removing \"\". Entry_list 0. startTime should greater than 0.")
    at Test.<anonymous> ( /user-timing/resources/webperftestharness.js:113:27)
PassFirst loop: checking entries after removing "". Entry_list 0. duration of mark should be 0.
Asserts run
Pass
assert_equals(0, 0, "First loop: checking entries after removing \"\". Entry_list 0. duration of mark should be 0.")
    at Test.<anonymous> ( /common/performance-timeline-utils.js:32:25)
PassFirst loop: checking entries after removing "". Entry_list 1. Entry "abc" should be one that we have set.
Asserts run
Pass
assert_in_array("abc", ["", "1", "abc"], "First loop: checking entries after removing \"\". Entry_list 1. Entry \"abc\" should be one that we have set.")
    at Test.<anonymous> ( /user-timing/resources/webperftestharnessextension.js:101:30)
PassFirst loop: checking entries after removing "". Entry_list 1. entryType should be "mark".
Asserts run
Pass
assert_equals("mark", "mark", "First loop: checking entries after removing \"\". Entry_list 1. entryType should be \"mark\".")
    at Test.<anonymous> ( /common/performance-timeline-utils.js:32:25)
PassFirst loop: checking entries after removing "". Entry_list 1. startTime should greater than 0.
Asserts run
Pass
assert_greater_than(402.80000019073486, 0, "First loop: checking entries after removing \"\". Entry_list 1. startTime should greater than 0.")
    at Test.<anonymous> ( /user-timing/resources/webperftestharness.js:113:27)
PassFirst loop: checking entries after removing "". Entry_list 1. duration of mark should be 0.
Asserts run
Pass
assert_equals(0, 0, "First loop: checking entries after removing \"\". Entry_list 1. duration of mark should be 0.")
    at Test.<anonymous> ( /common/performance-timeline-utils.js:32:25)
PassFirst loop: marks that we cleared for "" should not exist anymore.
Asserts run
Pass
assert_equals(0, 0, "First loop: marks that we cleared for \"\" should not exist anymore.")
    at Test.<anonymous> ( /common/performance-timeline-utils.js:32:25)
PassFirst loop: checking entries after removing "1". There should be 1 entries.
Asserts run
Pass
assert_equals(1, 1, "First loop: checking entries after removing \"1\". There should be 1 entries.")
    at Test.<anonymous> ( /common/performance-timeline-utils.js:32:25)
PassFirst loop: checking entries after removing "1". Entries in entrylist should be in order.
Asserts run
Pass
assert_true(true, "First loop: checking entries after removing \"1\". Entries in entrylist should be in order.")
    at Test.<anonymous> ( /common/performance-timeline-utils.js:27:25)
PassFirst loop: checking entries after removing "1". Entry_list 0. Entry "abc" should be one that we have set.
Asserts run
Pass
assert_in_array("abc", ["", "1", "abc"], "First loop: checking entries after removing \"1\". Entry_list 0. Entry \"abc\" should be one that we have set.")
    at Test.<anonymous> ( /user-timing/resources/webperftestharnessextension.js:101:30)
PassFirst loop: checking entries after removing "1". Entry_list 0. entryType should be "mark".
Asserts run
Pass
assert_equals("mark", "mark", "First loop: checking entries after removing \"1\". Entry_list 0. entryType should be \"mark\".")
    at Test.<anonymous> ( /common/performance-timeline-utils.js:32:25)
PassFirst loop: checking entries after removing "1". Entry_list 0. startTime should greater than 0.
Asserts run
Pass
assert_greater_than(402.80000019073486, 0, "First loop: checking entries after removing \"1\". Entry_list 0. startTime should greater than 0.")
    at Test.<anonymous> ( /user-timing/resources/webperftestharness.js:113:27)
PassFirst loop: checking entries after removing "1". Entry_list 0. duration of mark should be 0.
Asserts run
Pass
assert_equals(0, 0, "First loop: checking entries after removing \"1\". Entry_list 0. duration of mark should be 0.")
    at Test.<anonymous> ( /common/performance-timeline-utils.js:32:25)
PassFirst loop: marks that we cleared for "1" should not exist anymore.
Asserts run
Pass
assert_equals(0, 0, "First loop: marks that we cleared for \"1\" should not exist anymore.")
    at Test.<anonymous> ( /common/performance-timeline-utils.js:32:25)
PassFirst loop: checking entries after removing "abc". There should be 0 entries.
Asserts run
Pass
assert_equals(0, 0, "First loop: checking entries after removing \"abc\". There should be 0 entries.")
    at Test.<anonymous> ( /common/performance-timeline-utils.js:32:25)
PassFirst loop: checking entries after removing "abc". Entries in entrylist should be in order.
Asserts run
Pass
assert_true(true, "First loop: checking entries after removing \"abc\". Entries in entrylist should be in order.")
    at Test.<anonymous> ( /common/performance-timeline-utils.js:27:25)
PassFirst loop: marks that we cleared for "abc" should not exist anymore.
Asserts run
Pass
assert_equals(0, 0, "First loop: marks that we cleared for \"abc\" should not exist anymore.")
    at Test.<anonymous> ( /common/performance-timeline-utils.js:32:25)
PassNo marks should exist after we clear all.
Asserts run
Pass
assert_equals(0, 0, "No marks should exist after we clear all.")
    at Test.<anonymous> ( /common/performance-timeline-utils.js:32:25)
PassSecond loop: checking entries after removing "". There should be 4 entries.
Asserts run
Pass
assert_equals(4, 4, "Second loop: checking entries after removing \"\". There should be 4 entries.")
    at Test.<anonymous> ( /common/performance-timeline-utils.js:32:25)
PassSecond loop: checking entries after removing "". Entries in entrylist should be in order.
Asserts run
Pass
assert_true(true, "Second loop: checking entries after removing \"\". Entries in entrylist should be in order.")
    at Test.<anonymous> ( /common/performance-timeline-utils.js:27:25)
PassSecond loop: checking entries after removing "". Entry_list 0. Entry "1" should be one that we have set.
Asserts run
Pass
assert_in_array("1", ["", "1", "abc"], "Second loop: checking entries after removing \"\". Entry_list 0. Entry \"1\" should be one that we have set.")
    at Test.<anonymous> ( /user-timing/resources/webperftestharnessextension.js:101:30)
PassSecond loop: checking entries after removing "". Entry_list 0. entryType should be "mark".
Asserts run
Pass
assert_equals("mark", "mark", "Second loop: checking entries after removing \"\". Entry_list 0. entryType should be \"mark\".")
    at Test.<anonymous> ( /common/performance-timeline-utils.js:32:25)
PassSecond loop: checking entries after removing "". Entry_list 0. startTime should greater than 0.
Asserts run
Pass
assert_greater_than(409.19999980926514, 0, "Second loop: checking entries after removing \"\". Entry_list 0. startTime should greater than 0.")
    at Test.<anonymous> ( /user-timing/resources/webperftestharness.js:113:27)
PassSecond loop: checking entries after removing "". Entry_list 0. duration of mark should be 0.
Asserts run
Pass
assert_equals(0, 0, "Second loop: checking entries after removing \"\". Entry_list 0. duration of mark should be 0.")
    at Test.<anonymous> ( /common/performance-timeline-utils.js:32:25)
PassSecond loop: checking entries after removing "". Entry_list 1. Entry "abc" should be one that we have set.
Asserts run
Pass
assert_in_array("abc", ["", "1", "abc"], "Second loop: checking entries after removing \"\". Entry_list 1. Entry \"abc\" should be one that we have set.")
    at Test.<anonymous> ( /user-timing/resources/webperftestharnessextension.js:101:30)
PassSecond loop: checking entries after removing "". Entry_list 1. entryType should be "mark".
Asserts run
Pass
assert_equals("mark", "mark", "Second loop: checking entries after removing \"\". Entry_list 1. entryType should be \"mark\".")
    at Test.<anonymous> ( /common/performance-timeline-utils.js:32:25)
PassSecond loop: checking entries after removing "". Entry_list 1. startTime should greater than 0.
Asserts run
Pass
assert_greater_than(409.19999980926514, 0, "Second loop: checking entries after removing \"\". Entry_list 1. startTime should greater than 0.")
    at Test.<anonymous> ( /user-timing/resources/webperftestharness.js:113:27)
PassSecond loop: checking entries after removing "". Entry_list 1. duration of mark should be 0.
Asserts run
Pass
assert_equals(0, 0, "Second loop: checking entries after removing \"\". Entry_list 1. duration of mark should be 0.")
    at Test.<anonymous> ( /common/performance-timeline-utils.js:32:25)
PassSecond loop: checking entries after removing "". Entry_list 2. Entry "1" should be one that we have set.
Asserts run
Pass
assert_in_array("1", ["", "1", "abc"], "Second loop: checking entries after removing \"\". Entry_list 2. Entry \"1\" should be one that we have set.")
    at Test.<anonymous> ( /user-timing/resources/webperftestharnessextension.js:101:30)
PassSecond loop: checking entries after removing "". Entry_list 2. entryType should be "mark".
Asserts run
Pass
assert_equals("mark", "mark", "Second loop: checking entries after removing \"\". Entry_list 2. entryType should be \"mark\".")
    at Test.<anonymous> ( /common/performance-timeline-utils.js:32:25)
PassSecond loop: checking entries after removing "". Entry_list 2. startTime should greater than 0.
Asserts run
Pass
assert_greater_than(409.19999980926514, 0, "Second loop: checking entries after removing \"\". Entry_list 2. startTime should greater than 0.")
    at Test.<anonymous> ( /user-timing/resources/webperftestharness.js:113:27)
PassSecond loop: checking entries after removing "". Entry_list 2. duration of mark should be 0.
Asserts run
Pass
assert_equals(0, 0, "Second loop: checking entries after removing \"\". Entry_list 2. duration of mark should be 0.")
    at Test.<anonymous> ( /common/performance-timeline-utils.js:32:25)
PassSecond loop: checking entries after removing "". Entry_list 3. Entry "abc" should be one that we have set.
Asserts run
Pass
assert_in_array("abc", ["", "1", "abc"], "Second loop: checking entries after removing \"\". Entry_list 3. Entry \"abc\" should be one that we have set.")
    at Test.<anonymous> ( /user-timing/resources/webperftestharnessextension.js:101:30)
PassSecond loop: checking entries after removing "". Entry_list 3. entryType should be "mark".
Asserts run
Pass
assert_equals("mark", "mark", "Second loop: checking entries after removing \"\". Entry_list 3. entryType should be \"mark\".")
    at Test.<anonymous> ( /common/performance-timeline-utils.js:32:25)
PassSecond loop: checking entries after removing "". Entry_list 3. startTime should greater than 0.
Asserts run
Pass
assert_greater_than(409.19999980926514, 0, "Second loop: checking entries after removing \"\". Entry_list 3. startTime should greater than 0.")
    at Test.<anonymous> ( /user-timing/resources/webperftestharness.js:113:27)
PassSecond loop: checking entries after removing "". Entry_list 3. duration of mark should be 0.
Asserts run
Pass
assert_equals(0, 0, "Second loop: checking entries after removing \"\". Entry_list 3. duration of mark should be 0.")
    at Test.<anonymous> ( /common/performance-timeline-utils.js:32:25)
PassSecond loop: marks that we cleared for "" should not exist anymore.
Asserts run
Pass
assert_equals(0, 0, "Second loop: marks that we cleared for \"\" should not exist anymore.")
    at Test.<anonymous> ( /common/performance-timeline-utils.js:32:25)
PassSecond loop: checking entries after removing "1". There should be 2 entries.
Asserts run
Pass
assert_equals(2, 2, "Second loop: checking entries after removing \"1\". There should be 2 entries.")
    at Test.<anonymous> ( /common/performance-timeline-utils.js:32:25)
PassSecond loop: checking entries after removing "1". Entries in entrylist should be in order.
Asserts run
Pass
assert_true(true, "Second loop: checking entries after removing \"1\". Entries in entrylist should be in order.")
    at Test.<anonymous> ( /common/performance-timeline-utils.js:27:25)
PassSecond loop: checking entries after removing "1". Entry_list 0. Entry "abc" should be one that we have set.
Asserts run
Pass
assert_in_array("abc", ["", "1", "abc"], "Second loop: checking entries after removing \"1\". Entry_list 0. Entry \"abc\" should be one that we have set.")
    at Test.<anonymous> ( /user-timing/resources/webperftestharnessextension.js:101:30)
PassSecond loop: checking entries after removing "1". Entry_list 0. entryType should be "mark".
Asserts run
Pass
assert_equals("mark", "mark", "Second loop: checking entries after removing \"1\". Entry_list 0. entryType should be \"mark\".")
    at Test.<anonymous> ( /common/performance-timeline-utils.js:32:25)
PassSecond loop: checking entries after removing "1". Entry_list 0. startTime should greater than 0.
Asserts run
Pass
assert_greater_than(409.19999980926514, 0, "Second loop: checking entries after removing \"1\". Entry_list 0. startTime should greater than 0.")
    at Test.<anonymous> ( /user-timing/resources/webperftestharness.js:113:27)
PassSecond loop: checking entries after removing "1". Entry_list 0. duration of mark should be 0.
Asserts run
Pass
assert_equals(0, 0, "Second loop: checking entries after removing \"1\". Entry_list 0. duration of mark should be 0.")
    at Test.<anonymous> ( /common/performance-timeline-utils.js:32:25)
PassSecond loop: checking entries after removing "1". Entry_list 1. Entry "abc" should be one that we have set.
Asserts run
Pass
assert_in_array("abc", ["", "1", "abc"], "Second loop: checking entries after removing \"1\". Entry_list 1. Entry \"abc\" should be one that we have set.")
    at Test.<anonymous> ( /user-timing/resources/webperftestharnessextension.js:101:30)
PassSecond loop: checking entries after removing "1". Entry_list 1. entryType should be "mark".
Asserts run
Pass
assert_equals("mark", "mark", "Second loop: checking entries after removing \"1\". Entry_list 1. entryType should be \"mark\".")
    at Test.<anonymous> ( /common/performance-timeline-utils.js:32:25)
PassSecond loop: checking entries after removing "1". Entry_list 1. startTime should greater than 0.
Asserts run
Pass
assert_greater_than(409.19999980926514, 0, "Second loop: checking entries after removing \"1\". Entry_list 1. startTime should greater than 0.")
    at Test.<anonymous> ( /user-timing/resources/webperftestharness.js:113:27)
PassSecond loop: checking entries after removing "1". Entry_list 1. duration of mark should be 0.
Asserts run
Pass
assert_equals(0, 0, "Second loop: checking entries after removing \"1\". Entry_list 1. duration of mark should be 0.")
    at Test.<anonymous> ( /common/performance-timeline-utils.js:32:25)
PassSecond loop: marks that we cleared for "1" should not exist anymore.
Asserts run
Pass
assert_equals(0, 0, "Second loop: marks that we cleared for \"1\" should not exist anymore.")
    at Test.<anonymous> ( /common/performance-timeline-utils.js:32:25)
PassSecond loop: checking entries after removing "abc". There should be 0 entries.
Asserts run
Pass
assert_equals(0, 0, "Second loop: checking entries after removing \"abc\". There should be 0 entries.")
    at Test.<anonymous> ( /common/performance-timeline-utils.js:32:25)
PassSecond loop: checking entries after removing "abc". Entries in entrylist should be in order.
Asserts run
Pass
assert_true(true, "Second loop: checking entries after removing \"abc\". Entries in entrylist should be in order.")
    at Test.<anonymous> ( /common/performance-timeline-utils.js:27:25)
PassSecond loop: marks that we cleared for "abc" should not exist anymore.
Asserts run
Pass
assert_equals(0, 0, "Second loop: marks that we cleared for \"abc\" should not exist anymore.")
    at Test.<anonymous> ( /common/performance-timeline-utils.js:32:25)
PassNothing should happen if we clear a non-exist mark.
Asserts run
Pass
assert_equals(0, 0, "Nothing should happen if we clear a non-exist mark.")
    at Test.<anonymous> ( /common/performance-timeline-utils.js:32:25)
PassNo marks should exist when we clear all.
Asserts run
Pass
assert_equals(0, 0, "No marks should exist when we clear all.")
    at Test.<anonymous> ( /common/performance-timeline-utils.js:32:25)