mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 897960 - walker should support mozbrowser iframes. Patch E. r=dcamp
This commit is contained in:
parent
6b89b7aba1
commit
0670a24276
@ -101,7 +101,7 @@ function serverOwnershipSubtree(walker, node) {
|
||||
}
|
||||
|
||||
let children = [];
|
||||
let docwalker = _documentWalker(node);
|
||||
let docwalker = _documentWalker(node, window);
|
||||
let child = docwalker.firstChild();
|
||||
while (child) {
|
||||
let item = serverOwnershipSubtree(walker, child);
|
||||
|
@ -65,7 +65,7 @@ addTest(function testRearrange() {
|
||||
nextNode = response.nodes[13];
|
||||
return gWalker.insertBefore(nodeA, longlist, nextNode);
|
||||
}).then(response => {
|
||||
let sibling = inspector._documentWalker(gInspectee.querySelector("#a")).nextSibling();
|
||||
let sibling = inspector._documentWalker(gInspectee.querySelector("#a"), window).nextSibling();
|
||||
is(sibling, nextNode.rawNode(), "Node should match the expected next node.");
|
||||
return gWalker.children(longlist);
|
||||
}).then(response => {
|
||||
|
Loading…
Reference in New Issue
Block a user