mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
Merge fx-team to central, a=merge
This commit is contained in:
commit
f6145cfb05
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user