browser_discovery.js File Reference

Go to the source code of this file.

Functions

function doc () browser.contentDocument
 
function setHandlerFunc (aResultFunc)
 
function test ()
 
function runIconDiscoveryTest ()
 
function iconDiscovery ()
 
function runSearchDiscoveryTest ()
 
function runMultipleEnginesTestAndFinalize ()
 
function searchDiscovery ()
 

Variables

var gBrowserHandler
 
var browser
 
var iconDiscoveryTests
 
var searchDiscoveryTests
 
var ranOnce = false
 

Function Documentation

function doc ( )

Here is the caller graph for this function:

function iconDiscovery ( )

Definition at line 53 of file browser_discovery.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function runIconDiscoveryTest ( )

Definition at line 39 of file browser_discovery.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function runMultipleEnginesTestAndFinalize ( )

Definition at line 113 of file browser_discovery.js.

Here is the caller graph for this function:

function runSearchDiscoveryTest ( )

Definition at line 93 of file browser_discovery.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function searchDiscovery ( )

Definition at line 130 of file browser_discovery.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function setHandlerFunc (   aResultFunc)

Definition at line 6 of file browser_discovery.js.

Here is the caller graph for this function:

function test ( )

Definition at line 13 of file browser_discovery.js.

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

var browser

Definition at line 2 of file browser_discovery.js.

var gBrowserHandler

Definition at line 1 of file browser_discovery.js.

var iconDiscoveryTests
Initial value:
= [
{ text: "rel icon discovered" },
{ rel: "abcdefg icon qwerty", text: "rel may contain additional rels separated by spaces" },
{ rel: "ICON", text: "rel is case insensitive" },
{ rel: "shortcut-icon", pass: false, text: "rel shortcut-icon not discovered" },
{ href: "moz.png", text: "relative href works" },
{ href: "notthere.png", text: "404'd icon is removed properly" },
{ href: "data:image/x-icon,%00", type: "image/x-icon", text: "data: URIs work" },
{ type: "image/png; charset=utf-8", text: "type may have optional parameters (RFC2046)" }
]
Element Properties href

Definition at line 28 of file browser_discovery.js.

var ranOnce = false

Definition at line 112 of file browser_discovery.js.

var searchDiscoveryTests
Initial value:
= [
{ text: "rel search discovered" },
{ rel: "SEARCH", text: "rel is case insensitive" },
{ rel: "-search-", pass: false, text: "rel -search- not discovered" },
{ rel: "foo bar baz search quux", text: "rel may contain additional rels separated by spaces" },
{ href: "https://not.mozilla.com", text: "HTTPS ok" },
{ href: "ftp://not.mozilla.com", text: "FTP ok" },
{ href: "data:text/foo,foo", pass: false, text: "data URI not permitted" },
{ href: "javascript:alert(0)", pass: false, text: "JS URI not permitted" },
{ type: "APPLICATION/OPENSEARCHDESCRIPTION+XML", text: "type is case insensitve" },
{ type: " application/opensearchdescription+xml ", text: "type may contain extra whitespace" },
{ type: "application/opensearchdescription+xml; charset=utf-8", text: "type may have optional parameters (RFC2046)" },
{ type: "aapplication/opensearchdescription+xml", pass: false, text: "type should not be loosely matched" },
{ rel: "search search search", count: 1, text: "only one engine should be added" }
]
var count
Definition: test_bug7406.js:32
Element Properties href

Definition at line 77 of file browser_discovery.js.