Merge fx-team to central, a=merge

This commit is contained in:
Wes Kocher 2016-09-16 13:57:38 -07:00
commit f6145cfb05
2 changed files with 3 additions and 2 deletions

View File

@ -62,7 +62,7 @@ exports.viewSourceInDebugger = Task.async(function* (toolbox, sourceURL, sourceL
yield toolbox.selectTool("jsdebugger");
// TODO: Properly handle case where source will never exist in the
// debugger
dbg.actions.selectSourceURL(sourceURL);
dbg.actions.selectSourceURL(sourceURL, { line: sourceLine });
return true;
}

View File

@ -869,7 +869,8 @@ FinderHighlighter.prototype = {
rectCount != 1);
dict.previousRangeRectsCount = rectCount;
let document = range.startContainer.ownerDocument;
let window = range.startContainer.ownerDocument.defaultView.top;
let document = window.document;
// First see if we need to and can remove the previous outline nodes.
if (rebuildOutline && outlineAnonNode) {
if (kDebug) {