Auto-tools/Projects/CrossWeave/Test Format/Tabs

From MozillaWiki
< Auto-tools‎ | Projects‎ | CrossWeave‎ | Test Format
Revision as of 19:30, 28 May 2010 by Jgriffin (talk | contribs) (Created page with 'A tabs asset list is an array of objects with the following keys: * '''uri''': the uri of the tab, required. * '''title''': the title of the tab, optional. For example: "tab…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

A tabs asset list is an array of objects with the following keys:

  • uri: the uri of the tab, required.
  • title: the title of the tab, optional.

For example:

 "tabs1": [
   { "uri": "http://hg.mozilla.org/automation/crossweave/raw-file/2d9aca9585b6/pages/page1.html", "title": "Crossweave Test Page 1" },
   { "uri": "data:text/html,<html><head><title>Hello</title></head><body>Hello</body></html>", "title": "Hello" }
 ]

The only valid actions for tab asset lists are add, which opens the specified tabs in the current browser window, and verify.