browser_history_sidebar_search.js File Reference

Go to the source code of this file.

Functions

function uri (spec)
 
function add_visit (aURI, aDate)
 
function test ()
 
function check_sidebar_tree_order (aExpectedRows)
 

Variables

const Cc = Components.classes
 
const Ci = Components.interfaces
 
const Cr = Components.results
 
var hs
 
var bh = hs.QueryInterface(Ci.nsIBrowserHistory)
 
var ios
 
var sidebar = document.getElementById("sidebar")
 
var pages
 
const FILTERED_COUNT = 1
 

Function Documentation

function add_visit (   aURI,
  aDate 
)

Definition at line 57 of file browser_history_sidebar_search.js.

Here is the caller graph for this function:

function check_sidebar_tree_order (   aExpectedRows)

Definition at line 114 of file browser_history_sidebar_search.js.

Here is the caller graph for this function:

function test ( )

Definition at line 77 of file browser_history_sidebar_search.js.

Here is the call graph for this function:

function uri (   spec)

Definition at line 51 of file browser_history_sidebar_search.js.

Here is the caller graph for this function:

Variable Documentation

const Cc = Components.classes

Bug 392497 - search in history sidebar loses sort

Definition at line 42 of file browser_history_sidebar_search.js.

Definition at line 43 of file browser_history_sidebar_search.js.

const Cr = Components.results

Definition at line 44 of file browser_history_sidebar_search.js.

const FILTERED_COUNT = 1

Definition at line 75 of file browser_history_sidebar_search.js.

var hs
Initial value:
= Cc["@mozilla.org/browser/nav-history-service;1"].
getService(Ci.nsINavHistoryService)
getService(Ci.sbIFaceplateManager)

Definition at line 46 of file browser_history_sidebar_search.js.

var ios
Initial value:
= Cc["@mozilla.org/network/io-service;1"].
getService(Ci.nsIIOService)
getService(Ci.sbIFaceplateManager)

Definition at line 49 of file browser_history_sidebar_search.js.

var pages
Initial value:
= [
"http://sidebar.mozilla.org/a",
"http://sidebar.mozilla.org/b",
"http://sidebar.mozilla.org/c",
"http://www.mozilla.org/d",
]

Definition at line 68 of file browser_history_sidebar_search.js.

var sidebar = document.getElementById("sidebar")

Definition at line 55 of file browser_history_sidebar_search.js.