Pass | HighlightRegistry can be iterated when it's empty initializing the iterator with CSS.highlights.keys() | Asserts runPass | assert_true(true, "HighlightRegistry is iterable and .next() returns an element with .done===true when there are no more highlight names to iterate")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-iteration.html:37:5) | Pass | assert_equals(undefined, undefined, "HighlightRegistry is iterable and .next() returns an element with .value undefined when there are no more highlight names to iterate.")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-iteration.html:38:5) |
|
Pass | HighlightRegistry can be iterated over all of its highlight names after adding one of them initializing the iterator with CSS.highlights.keys() | Asserts runPass | assert_false(false, "HighlightRegistry is iterable and .next() returns an element with .done===false when the iteration didn't go past the last highlight name")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-iteration.html:45:5) | Pass | assert_equals("example1", "example1", ".next() returns an element with .value corresponding to the first highlight name added to the HighlightRegistry")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-iteration.html:46:5) | Pass | assert_true(true, "HighlightRegistry is iterable and .next() returns an element with .done===true when there are no more highlight names to iterate")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-iteration.html:48:5) | Pass | assert_equals(undefined, undefined, "HighlightRegistry is iterable and .next() returns an element with .value undefined when there are no more highlight names to iterate.")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-iteration.html:49:5) |
|
Pass | HighlightRegistry can be iterated over all of its highlight names after adding two of them initializing the iterator with CSS.highlights.keys() | Asserts runPass | assert_false(false, "HighlightRegistry is iterable and .next() returns an element with .done===false when the iteration didn't go past the last highlight")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-iteration.html:56:5) | Pass | assert_equals("example1", "example1", ".next() returns an element with .value corresponding to the first highlight name added to the HighlightRegistry")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-iteration.html:57:5) | Pass | assert_false(false, "HighlightRegistry is iterable and .next() returns an element with .done===false when the iteration didn't go past the last highlight")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-iteration.html:59:5) | Pass | assert_equals("example2", "example2", ".next() returns an element with .value corresponding to the second highlight name added to the HighlightRegistry")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-iteration.html:60:5) | Pass | assert_true(true, "HighlightRegistry is iterable and .next() returns an element with .done===true when there are no more highlight names to iterate")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-iteration.html:62:5) | Pass | assert_equals(undefined, undefined, "HighlightRegistry is iterable and .next() returns an element with .value undefined when there are no more highlight names to iterate.")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-iteration.html:63:5) |
|
Pass | HighlightRegistry can be iterated when it's empty initializing the iterator with CSS.highlights.values() | Asserts runPass | assert_true(true, "HighlightRegistry is iterable and .next() returns an element with .done===true when there are no more highlights to iterate")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-iteration.html:75:5) | Pass | assert_equals(undefined, undefined, "HighlightRegistry is iterable and .next() returns an element with .value undefined when there are no more highlights to iterate.")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-iteration.html:76:5) |
|
Pass | HighlightRegistry can be iterated over all of its Highlights after adding one of them initializing the iterator with CSS.highlights.values() | Asserts runPass | assert_false(false, "HighlightRegistry is iterable and .next() returns an element with .done===false when the iteration didn't go past the last highlight")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-iteration.html:83:5) | Pass | assert_equals(object "[object Highlight]", object "[object Highlight]", ".next() returns an element with .value corresponding to the first Highlight added to the HighlightRegistry")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-iteration.html:84:5) | Pass | assert_true(true, "HighlightRegistry is iterable and .next() returns an element with .done===true when there are no more highlights to iterate")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-iteration.html:86:5) | Pass | assert_equals(undefined, undefined, "HighlightRegistry is iterable and .next() returns an element with .value undefined when there are no more highlights to iterate.")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-iteration.html:87:5) |
|
Pass | HighlightRegistry can be iterated over all of its Highlights after adding two of them initializing the iterator with CSS.highlights.values() | Asserts runPass | assert_false(false, "HighlightRegistry is iterable and .next() returns an element with .done===false when the iteration didn't go past the last highlight")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-iteration.html:94:5) | Pass | assert_equals(object "[object Highlight]", object "[object Highlight]", ".next() returns an element with .value corresponding to the first Highlight added to the HighlightRegistry")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-iteration.html:95:5) | Pass | assert_false(false, "HighlightRegistry is iterable and .next() returns an element with .done===false when the iteration didn't go past the last highlight")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-iteration.html:97:5) | Pass | assert_equals(object "[object Highlight]", object "[object Highlight]", ".next() returns an element with .value corresponding to the second Highlight added to the HighlightRegistry")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-iteration.html:98:5) | Pass | assert_true(true, "HighlightRegistry is iterable and .next() returns an element with .done===true when there are no more highlights to iterate")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-iteration.html:100:5) | Pass | assert_equals(undefined, undefined, "HighlightRegistry is iterable and .next() returns an element with .value undefined when there are no more highlights to iterate.")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-iteration.html:101:5) |
|
Pass | HighlightRegistry can be iterated when it's empty initializing the iterator with CSS.highlights[Symbol.iterator]() | Asserts runPass | assert_true(true, "HighlightRegistry is iterable and .next() returns an element with .done===true when there are no more highlights to iterate")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-iteration.html:114:7) | Pass | assert_equals(undefined, undefined, "HighlightRegistry is iterable and .next() returns an element with .value undefined when there are no more highlights to iterate.")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-iteration.html:115:7) |
|
Pass | HighlightRegistry can be iterated over all of its Highlights after adding one of them initializing the iterator with CSS.highlights[Symbol.iterator]() | Asserts runPass | assert_false(false, "HighlightRegistry is iterable and .next() returns an element with .done===false when the iteration didn't go past the last highlight")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-iteration.html:122:7) | Pass | assert_equals("example1", "example1", ".next() returns an element with .value[0] corresponding to the first Highlight name added to the HighlightRegistry")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-iteration.html:123:7) | Pass | assert_equals(object "[object Highlight]", object "[object Highlight]", ".next() returns an element with .value[1] corresponding to the first Highlight added to the HighlightRegistry")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-iteration.html:124:7) | Pass | assert_true(true, "HighlightRegistry is iterable and .next() returns an element with .done===true when there are no more highlights to iterate")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-iteration.html:126:7) | Pass | assert_equals(undefined, undefined, "HighlightRegistry is iterable and .next() returns an element with .value undefined when there are no more highlights to iterate.")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-iteration.html:127:7) |
|
Pass | HighlightRegistry can be iterated over all of its Highlights after adding two of them initializing the iterator with CSS.highlights[Symbol.iterator]() | Asserts runPass | assert_false(false, "HighlightRegistry is iterable and .next() returns an element with .done===false when the iteration didn't go past the last highlight")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-iteration.html:134:7) | Pass | assert_equals("example1", "example1", ".next() returns an element with .value[0] corresponding to the first Highlight name added to the HighlightRegistry")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-iteration.html:135:7) | Pass | assert_equals(object "[object Highlight]", object "[object Highlight]", ".next() returns an element with .value[1] corresponding to the first Highlight added to the HighlightRegistry")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-iteration.html:136:7) | Pass | assert_false(false, "HighlightRegistry is iterable and .next() returns an element with .done===false when the iteration didn't go past the last highlight")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-iteration.html:138:7) | Pass | assert_equals("example2", "example2", ".next() returns an element with .value[0] corresponding to the second Highlight name added to the HighlightRegistry")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-iteration.html:139:7) | Pass | assert_equals(object "[object Highlight]", object "[object Highlight]", ".next() returns an element with .value[1] corresponding to the second Highlight added to the HighlightRegistry")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-iteration.html:140:7) | Pass | assert_true(true, "HighlightRegistry is iterable and .next() returns an element with .done===true when there are no more highlights to iterate")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-iteration.html:142:7) | Pass | assert_equals(undefined, undefined, "HighlightRegistry is iterable and .next() returns an element with .value undefined when there are no more highlights to iterate.")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-iteration.html:143:7) |
|
Pass | HighlightRegistry can be iterated when it's empty initializing the iterator with CSS.highlights.entries() | Asserts runPass | assert_true(true, "HighlightRegistry is iterable and .next() returns an element with .done===true when there are no more highlights to iterate")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-iteration.html:114:7) | Pass | assert_equals(undefined, undefined, "HighlightRegistry is iterable and .next() returns an element with .value undefined when there are no more highlights to iterate.")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-iteration.html:115:7) |
|
Pass | HighlightRegistry can be iterated over all of its Highlights after adding one of them initializing the iterator with CSS.highlights.entries() | Asserts runPass | assert_false(false, "HighlightRegistry is iterable and .next() returns an element with .done===false when the iteration didn't go past the last highlight")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-iteration.html:122:7) | Pass | assert_equals("example1", "example1", ".next() returns an element with .value[0] corresponding to the first Highlight name added to the HighlightRegistry")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-iteration.html:123:7) | Pass | assert_equals(object "[object Highlight]", object "[object Highlight]", ".next() returns an element with .value[1] corresponding to the first Highlight added to the HighlightRegistry")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-iteration.html:124:7) | Pass | assert_true(true, "HighlightRegistry is iterable and .next() returns an element with .done===true when there are no more highlights to iterate")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-iteration.html:126:7) | Pass | assert_equals(undefined, undefined, "HighlightRegistry is iterable and .next() returns an element with .value undefined when there are no more highlights to iterate.")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-iteration.html:127:7) |
|
Pass | HighlightRegistry can be iterated over all of its Highlights after adding two of them initializing the iterator with CSS.highlights.entries() | Asserts runPass | assert_false(false, "HighlightRegistry is iterable and .next() returns an element with .done===false when the iteration didn't go past the last highlight")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-iteration.html:134:7) | Pass | assert_equals("example1", "example1", ".next() returns an element with .value[0] corresponding to the first Highlight name added to the HighlightRegistry")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-iteration.html:135:7) | Pass | assert_equals(object "[object Highlight]", object "[object Highlight]", ".next() returns an element with .value[1] corresponding to the first Highlight added to the HighlightRegistry")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-iteration.html:136:7) | Pass | assert_false(false, "HighlightRegistry is iterable and .next() returns an element with .done===false when the iteration didn't go past the last highlight")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-iteration.html:138:7) | Pass | assert_equals("example2", "example2", ".next() returns an element with .value[0] corresponding to the second Highlight name added to the HighlightRegistry")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-iteration.html:139:7) | Pass | assert_equals(object "[object Highlight]", object "[object Highlight]", ".next() returns an element with .value[1] corresponding to the second Highlight added to the HighlightRegistry")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-iteration.html:140:7) | Pass | assert_true(true, "HighlightRegistry is iterable and .next() returns an element with .done===true when there are no more highlights to iterate")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-iteration.html:142:7) | Pass | assert_equals(undefined, undefined, "HighlightRegistry is iterable and .next() returns an element with .value undefined when there are no more highlights to iterate.")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-iteration.html:143:7) |
|
Pass | HighlightRegistry can be iterated through when it's empty using forEach. | Asserts runPass | assert_true(true, "The highlights seen match the highlights added")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-iteration.html:168:5) |
|
Pass | HighlightRegistry can be iterated through when it has one Highlight using forEach. | Asserts runPass | assert_true(true, "The highlights seen match the highlights added")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-iteration.html:176:5) |
|
Pass | HighlightRegistry can be iterated through when it has two Highlights using forEach. | Asserts runPass | assert_true(true, "The highlights seen match the highlights added")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-iteration.html:184:5) |
|