browser_tabfocus.js File Reference

Go to the source code of this file.

Functions

function test ()
 
function _browser_tabfocus_test_eventOccured (event)
 
function _browser_tabfocus_navigation_test_eventOccured (event)
 
function getId (element)
 
function expectFocusShift (callback, expectedWindow, expectedElement, focusChanged, testid)
 

Variables

let testPage1 = "data:text/html,<html id='tab1'><body><button id='button1'>Tab 1</button></body></html>"
 
let testPage2 = "data:text/html,<html id='tab2'><body><button id='button2'>Tab 2</button></body></html>"
 
let testPage3 = "data:text/html,<html id='tab3'><body><button id='button3'>Tab 3</button></body></html>"
 
var _browser_tabfocus_test_lastfocus
 
var _browser_tabfocus_test_lastfocuswindow = null
 
var _browser_tabfocus_test_events = ""
 

Function Documentation

function _browser_tabfocus_navigation_test_eventOccured (   event)

Definition at line 163 of file browser_tabfocus.js.

Here is the call graph for this function:

function _browser_tabfocus_test_eventOccured (   event)

Definition at line 146 of file browser_tabfocus.js.

Here is the caller graph for this function:

function expectFocusShift (   callback,
  expectedWindow,
  expectedElement,
  focusChanged,
  testid 
)

Definition at line 186 of file browser_tabfocus.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function getId (   element)

Definition at line 181 of file browser_tabfocus.js.

Here is the caller graph for this function:

function test ( )

Definition at line 9 of file browser_tabfocus.js.

Here is the call graph for this function:

Variable Documentation

var _browser_tabfocus_test_events = ""

Definition at line 144 of file browser_tabfocus.js.

var _browser_tabfocus_test_lastfocus

Definition at line 142 of file browser_tabfocus.js.

var _browser_tabfocus_test_lastfocuswindow = null

Definition at line 143 of file browser_tabfocus.js.

let testPage1 = "data:text/html,<html id='tab1'><body><button id='button1'>Tab 1</button></body></html>"

Definition at line 5 of file browser_tabfocus.js.

let testPage2 = "data:text/html,<html id='tab2'><body><button id='button2'>Tab 2</button></body></html>"

Definition at line 6 of file browser_tabfocus.js.

let testPage3 = "data:text/html,<html id='tab3'><body><button id='button3'>Tab 3</button></body></html>"

Definition at line 7 of file browser_tabfocus.js.