Pass | Highlight iteration is not modified when a new range is added after starting the iteration | Asserts runPass | assert_true(true, "The iteration ends although we added a new range after starting the iteration")
at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration-with-modifications.html:19:5) | Pass | assert_equals(undefined, undefined, "A range added after starting the iteration is not found during the current iteration")
at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration-with-modifications.html:20:5) |
|
Pass | Highlight iteration is not modified when a new range is added after starting the iteration with one range in the Highlight | Asserts runPass | assert_false(false, "The iteration doesn't end although there was a second range added to the Highlight after starting the iteration")
at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration-with-modifications.html:28:5) | Pass | assert_equals(object "[object StaticRange]", object "[object StaticRange]", "The range that was pointed to by the iterator is returned although a second range was added after starting the iteration")
at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration-with-modifications.html:29:5) | Pass | assert_true(true, "The iteration ends after going through all the ranges that were in the Highlight when the iteration started although there was a range addition after starting the iteration")
at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration-with-modifications.html:31:5) | Pass | assert_equals(undefined, undefined, ".next() returns undefined when the iteration ends")
at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration-with-modifications.html:32:5) |
|
Pass | Highlight iteration is not modified when the range that was pointed to by the iterator was deleted after starting the iteration | Asserts runPass | assert_false(false, "The iteration doesn't end although the range that was pointed to by the iterator was deleted")
at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration-with-modifications.html:41:5) | Pass | assert_equals(object "[object StaticRange]", object "[object StaticRange]", "The range that was pointed to by the iterator is returned although it was deleted after starting the iteration")
at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration-with-modifications.html:42:5) | Pass | assert_true(true, "The iteration ends after going through all the ranges although the range that was pointed to by the iterator was deleted after starting the iteration")
at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration-with-modifications.html:44:5) | Pass | assert_equals(undefined, undefined, ".next() returns undefined when the iteration ends")
at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration-with-modifications.html:45:5) |
|
Pass | Highlight iteration is not modified when the range that was immediately after the one pointed to by the iterator was deleted after starting the iteration | Asserts runPass | assert_false(false, "The iteration doesn't end when the range following to the one that was pointed to by the iterator was deleted")
at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration-with-modifications.html:53:5) | Pass | assert_equals(object "[object StaticRange]", object "[object StaticRange]", "The range that was pointed to by the iterator is returned as it should although the next range was deleted immediately after starting the iteration")
at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration-with-modifications.html:54:5) | Pass | assert_false(false, "The iteration doesn't end when you call .next twice since the beginning of the iteration although the second range was deleted")
at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration-with-modifications.html:56:5) | Pass | assert_equals(object "", object "", "The range that was pointed to by the iterator is returned as it should although the next range was deleted immediately after starting the iteration")
at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration-with-modifications.html:57:5) | Pass | assert_true(true, "The iteration ends after going through all the ranges although the second range was deleted immediately after starting the iteration")
at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration-with-modifications.html:59:5) | Pass | assert_equals(undefined, undefined, ".next() returns undefined when the iteration ends")
at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration-with-modifications.html:60:5) |
|
Pass | Highlight iteration is not modified when a range that was already visited is deleted and there are still ranges to visit | Asserts runPass | assert_false(false, "The iteration doesn't end when there are still two ranges to visit")
at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration-with-modifications.html:67:5) | Pass | assert_equals(object "[object StaticRange]", object "[object StaticRange]", "The range that was pointed to by the iterator is returned as it should")
at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration-with-modifications.html:68:5) | Pass | assert_false(false, "The iteration doesn't end when the range previously visited is deleted and there is still a range to visit")
at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration-with-modifications.html:71:5) | Pass | assert_equals(object "", object "", "The range that was pointed to by the iterator is returned as it should although the previous range was deleted after calling .next")
at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration-with-modifications.html:72:5) | Pass | assert_true(true, "The iteration ends after going through all the ranges although the first range was deleted after the first call to .next")
at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration-with-modifications.html:74:5) | Pass | assert_equals(undefined, undefined, ".next() returns undefined when the iteration ends")
at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration-with-modifications.html:75:5) |
|
Pass | Highlight iteration is not modified when the range that was pointed to by the iterator was deleted using .clear() after starting the iteration | Asserts runPass | assert_false(false, "The iteration doesn't end although the range that was pointed to by the iterator was deleted using .clear()")
at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration-with-modifications.html:84:5) | Pass | assert_equals(object "[object StaticRange]", object "[object StaticRange]", "The range that was pointed to by the iterator is returned although it was deleted using .clear() after starting the iteration")
at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration-with-modifications.html:85:5) | Pass | assert_true(true, "The iteration ends after going through all the ranges although the range that was pointed to by the iterator was deleted using .clear() after starting the iteration")
at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration-with-modifications.html:87:5) | Pass | assert_equals(undefined, undefined, ".next() returns undefined when the iteration ends")
at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration-with-modifications.html:88:5) |
|