зеркало из https://github.com/mozilla/gecko-dev.git
Make click-to-select work on nodes that are more than one level down the frame
hierarchy. Bug 240892, r=timeless, sr=peterv
This commit is contained in:
Родитель
f4cdda904d
Коммит
a353bff199
|
@ -770,6 +770,8 @@ DOMViewer.prototype =
|
|||
for (var i = 0; i < aKids.length; ++i) {
|
||||
try {
|
||||
aArray.push(aKids[i].contentDocument);
|
||||
// Now recurse down into the kid and look for documents there
|
||||
this.findDocuments(aKids[i].contentDocument, aArray);
|
||||
} catch (ex) {
|
||||
// if we can't access the content document, skip it
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче