| Index: LayoutTests/fast/dom/shadow/compare-treescope-position.html
|
| diff --git a/LayoutTests/fast/dom/shadow/compare-treescope-position.html b/LayoutTests/fast/dom/shadow/compare-treescope-position.html
|
| index 851a4e469ef1801d1a7a6e6a3a7197ebbf646e15..d2db890dff161d0be32e3d9ee01e5a190d4834fa 100644
|
| --- a/LayoutTests/fast/dom/shadow/compare-treescope-position.html
|
| +++ b/LayoutTests/fast/dom/shadow/compare-treescope-position.html
|
| @@ -55,7 +55,10 @@ function testCompareTreeScopePosition()
|
|
|
| getNodeInShadowTreeStack('a3/c1').removeChild(getNodeInShadowTreeStack('a3/c2'));
|
|
|
| - shouldBe('internals.compareTreeScopePosition(sr3, sr2)', 'Node.DOCUMENT_POSITION_DISCONNECTED | Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC');
|
| + shouldBeNonZero('internals.compareTreeScopePosition(sr3, sr2) & Node.DOCUMENT_POSITION_PRECEDING || internals.compareTreeScopePosition(sr3, sr2) & Node.DOCUMENT_POSITION_FOLLOWING');
|
| + shouldBe('internals.compareTreeScopePosition(sr3, sr2) & Node.DOCUMENT_POSITION_DISCONNECTED', 'Node.DOCUMENT_POSITION_DISCONNECTED');
|
| + shouldBe('internals.compareTreeScopePosition(sr3, sr2) & Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC', 'Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC');
|
| + shouldBe('internals.compareTreeScopePosition(sr3, sr2)', 'internals.compareTreeScopePosition(sr3, sr2)');
|
| }
|
|
|
| testCompareTreeScopePosition();
|
|
|