browser_bug321000.js File Reference

Go to the source code of this file.

Functions

function test ()
 
function poll_clipboard ()
 
function next_test ()
 
function test_paste (aCurrentTest)
 

Variables

const Ci = Components.interfaces
 
const Cc = Components.classes
 
const kTestString = " hello hello \n world\nworld "
 
var gTests
 
var runCount = 0
 

Function Documentation

function next_test ( )

Definition at line 109 of file browser_bug321000.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function poll_clipboard ( )

Definition at line 77 of file browser_bug321000.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function test ( )

Definition at line 63 of file browser_bug321000.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function test_paste (   aCurrentTest)

Definition at line 124 of file browser_bug321000.js.

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

const Cc = Components.classes

Definition at line 42 of file browser_bug321000.js.

Definition at line 41 of file browser_bug321000.js.

var gTests
Initial value:
= [
{ desc: "Urlbar strips newlines and surrounding whitespace",
element: gURLBar,
expected: kTestString.replace(/\s*\n\s*/g,'')
},
{ desc: "Searchbar replaces newlines with spaces",
element: document.getElementById('searchbar'),
expected: kTestString.replace('\n',' ','g')
},
]
var expected
const kTestString

Definition at line 46 of file browser_bug321000.js.

const kTestString = " hello hello \n world\nworld "

Definition at line 44 of file browser_bug321000.js.

var runCount = 0

Definition at line 76 of file browser_bug321000.js.