Truly independent web browser
Harness status: OK
Found 29 tests
29 Pass
Pass Highlight initializes empty (if no ranges are provided) and with priority 0.
Pass Highlight add and has methods work as expected (using the following combination of ranges [[object Range], [object Range], [object Range]])
Pass Highlight add method is chainable (using the following combination of ranges [[object Range], [object Range], [object Range]])
Pass Highlight delete method works as expected (using the following combination of ranges [[object Range], [object Range], [object Range]])
Pass Highlight constructor behaves like a set when using equal ranges (using the following combination of ranges [[object Range], [object Range], [object Range]])
Pass Highlight constructor works as expected when called with one range (using the following combination of ranges [[object Range], [object Range], [object Range]])
Pass Highlight constructor works as expected when called with two ranges (using the following combination of ranges [[object Range], [object Range], [object Range]])
Pass Highlight clear method works as expected (using the following combination of ranges [[object Range], [object Range], [object Range]])
Pass Highlight add and has methods work as expected (using the following combination of ranges [[object StaticRange], [object StaticRange], [object StaticRange]])
Pass Highlight add method is chainable (using the following combination of ranges [[object StaticRange], [object StaticRange], [object StaticRange]])
Pass Highlight delete method works as expected (using the following combination of ranges [[object StaticRange], [object StaticRange], [object StaticRange]])
Pass Highlight constructor behaves like a set when using equal ranges (using the following combination of ranges [[object StaticRange], [object StaticRange], [object StaticRange]])
Pass Highlight constructor works as expected when called with one range (using the following combination of ranges [[object StaticRange], [object StaticRange], [object StaticRange]])
Pass Highlight constructor works as expected when called with two ranges (using the following combination of ranges [[object StaticRange], [object StaticRange], [object StaticRange]])
Pass Highlight clear method works as expected (using the following combination of ranges [[object StaticRange], [object StaticRange], [object StaticRange]])
Pass Highlight add and has methods work as expected (using the following combination of ranges [[object Range], [object StaticRange], [object Range]])
Pass Highlight add method is chainable (using the following combination of ranges [[object Range], [object StaticRange], [object Range]])
Pass Highlight delete method works as expected (using the following combination of ranges [[object Range], [object StaticRange], [object Range]])
Pass Highlight constructor behaves like a set when using equal ranges (using the following combination of ranges [[object Range], [object StaticRange], [object Range]])
Pass Highlight constructor works as expected when called with one range (using the following combination of ranges [[object Range], [object StaticRange], [object Range]])
Pass Highlight constructor works as expected when called with two ranges (using the following combination of ranges [[object Range], [object StaticRange], [object Range]])
Pass Highlight clear method works as expected (using the following combination of ranges [[object Range], [object StaticRange], [object Range]])
Pass Highlight add and has methods work as expected (using the following combination of ranges [[object StaticRange], [object Range], [object StaticRange]])
Pass Highlight add method is chainable (using the following combination of ranges [[object StaticRange], [object Range], [object StaticRange]])
Pass Highlight delete method works as expected (using the following combination of ranges [[object StaticRange], [object Range], [object StaticRange]])
Pass Highlight constructor behaves like a set when using equal ranges (using the following combination of ranges [[object StaticRange], [object Range], [object StaticRange]])
Pass Highlight constructor works as expected when called with one range (using the following combination of ranges [[object StaticRange], [object Range], [object StaticRange]])
Pass Highlight constructor works as expected when called with two ranges (using the following combination of ranges [[object StaticRange], [object Range], [object StaticRange]])
Pass Highlight clear method works as expected (using the following combination of ranges [[object StaticRange], [object Range], [object StaticRange]])