├── mutt ├── mutt │ ├── tests │ │ ├── python │ │ │ ├── js-modules │ │ │ │ ├── manifest-empty.ini │ │ │ │ ├── test_shutdownAfterRestart │ │ │ │ │ ├── manifest.ini │ │ │ │ │ ├── test2.js │ │ │ │ │ └── test1.js │ │ │ │ ├── testThrowGlobalException.js │ │ │ │ ├── newEmptyFunction.js │ │ │ │ ├── testAddons.js │ │ │ │ ├── testPersisted.js │ │ │ │ ├── testShutdown_sleep.js │ │ │ │ ├── testScreenshotPath.js │ │ │ │ ├── testPersistedShutdown.js │ │ │ │ ├── useMozmill │ │ │ │ │ ├── testTeardownModuleFails.js │ │ │ │ │ ├── testSetupModuleFails.js │ │ │ │ │ ├── testTeardownTestFails.js │ │ │ │ │ ├── testSetupTestFails.js │ │ │ │ │ ├── testTeardownModuleAndTeardownTestFails.js │ │ │ │ │ ├── testSetupModuleAndSetupTestFails.js │ │ │ │ │ ├── testTestFails.js │ │ │ │ │ └── testTestPass.js │ │ │ │ ├── testShutdown_waitFor.js │ │ │ │ ├── testMessageFlooding.js │ │ │ │ ├── testPageLoadOnStartup.js │ │ │ │ ├── testPageLoad.js │ │ │ │ ├── testExpectStack.js │ │ │ │ ├── testWaitForPassFrame.js │ │ │ │ ├── testFailureBackgroundThread.js │ │ │ │ ├── restartTests │ │ │ │ │ ├── testStateMachine.js │ │ │ │ │ ├── testCountTestSkipped.js │ │ │ │ │ ├── testCountTestPasses.js │ │ │ │ │ └── testCountTestFailures.js │ │ │ │ └── testUTF-8.js │ │ │ ├── cli │ │ │ │ ├── manifest.ini │ │ │ │ ├── test_manifest_and_tests_exclusive.py │ │ │ │ └── test_profile_relative_path.py │ │ │ ├── manifest.ini │ │ │ ├── test_multiple_run.py │ │ │ ├── test_framework_sanity.py │ │ │ ├── test_slow_pageload_on_startup.py │ │ │ ├── test_waitfor_pass_frame.py │ │ │ ├── test_console_messages.py │ │ │ ├── test_api.py │ │ │ ├── test_persisted_object.py │ │ │ ├── test_references.py │ │ │ ├── test_throw_global_exception.py │ │ │ ├── test_page_load.py │ │ │ ├── test_logger_listener.py │ │ │ ├── test_addons.py │ │ │ ├── test_shutdown.py │ │ │ ├── test_expect_stack.py │ │ │ ├── test_use_mozmill.py │ │ │ ├── test_screenshot_path.py │ │ │ └── test_restart.py │ │ ├── manifest.ini │ │ ├── data │ │ │ ├── favicon.ico │ │ │ ├── singlediv.html │ │ │ ├── link.html │ │ │ ├── radio_button.html │ │ │ ├── no_bfcache.html │ │ │ ├── iframe.html │ │ │ ├── complex.html │ │ │ └── form.html │ │ └── js │ │ │ ├── testDriver │ │ │ ├── manifest.ini │ │ │ └── testOpenBrowserWindow.js │ │ │ ├── testLiveWeb │ │ │ ├── manifest.ini │ │ │ └── testFlashProtectedMode.js │ │ │ ├── testL10n │ │ │ ├── manifest.ini │ │ │ ├── testGetEntity.js │ │ │ └── testGetProperty.js │ │ │ ├── testAssertions │ │ │ ├── manifest.ini │ │ │ └── testWaitFor.js │ │ │ ├── testFrame │ │ │ ├── testSandbox │ │ │ │ ├── manifest.ini │ │ │ │ ├── testSandboxA.js │ │ │ │ └── testSandboxB.js │ │ │ ├── testHttpd │ │ │ │ ├── manifest.ini │ │ │ │ └── testRestartAvailability.js │ │ │ ├── testRequire │ │ │ │ ├── manifest.ini │ │ │ │ ├── moduleC.js │ │ │ │ ├── moduleB.js │ │ │ │ ├── moduleD.js │ │ │ │ ├── testRequireDefaultModules.js │ │ │ │ ├── sub │ │ │ │ │ └── moduleA.js │ │ │ │ └── testRequire.js │ │ │ ├── testRestart │ │ │ │ ├── testApplicationDisconnect │ │ │ │ │ ├── manifest.ini │ │ │ │ │ ├── test2.js │ │ │ │ │ └── test1.js │ │ │ │ ├── testStates │ │ │ │ │ ├── manifest.ini │ │ │ │ │ ├── testSetupTestSkip.js │ │ │ │ │ └── testSetupTestPass.js │ │ │ │ ├── manifest.ini │ │ │ │ └── testRestartFlags.js │ │ │ ├── testGlobalTimeout │ │ │ │ ├── manifest.ini │ │ │ │ ├── testTimeoutAfter.js │ │ │ │ └── testTimeout.js │ │ │ ├── testUserShutdown │ │ │ │ ├── testTimeoutRestartApplication │ │ │ │ │ ├── manifest.ini │ │ │ │ │ ├── test2.js │ │ │ │ │ └── test1.js │ │ │ │ ├── manifest.ini │ │ │ │ └── testMultiple │ │ │ │ │ ├── manifest.ini │ │ │ │ │ ├── test5.js │ │ │ │ │ ├── test1.js │ │ │ │ │ ├── test2.js │ │ │ │ │ ├── test3.js │ │ │ │ │ ├── test7.js │ │ │ │ │ ├── test4.js │ │ │ │ │ └── test6.js │ │ │ ├── python_callback.py │ │ │ ├── testStopRunner.js │ │ │ ├── manifest.ini │ │ │ ├── testSyntaxError.js │ │ │ ├── testPythonCallback.js │ │ │ ├── testPersistedData.js │ │ │ └── testInvalidInterface.js │ │ │ ├── testMetro │ │ │ ├── manifest.ini │ │ │ └── testTabs.js │ │ │ ├── metro │ │ │ └── testTouchEvents │ │ │ │ ├── manifest.ini │ │ │ │ ├── testTap.js │ │ │ │ ├── testWaitThenTap.js │ │ │ │ └── testDoubleTap.js │ │ │ ├── testUtils │ │ │ ├── manifest.ini │ │ │ ├── testPageLoadBfCache.js │ │ │ ├── testReloadPage.js │ │ │ └── testSaveScreenshot.js │ │ │ ├── testElementsLib │ │ │ ├── manifest.ini │ │ │ ├── testSelector.js │ │ │ ├── testStaleElement.js │ │ │ ├── testRadioButtons.js │ │ │ ├── testMozElementWindow.js │ │ │ ├── testLookup.js │ │ │ └── testMenuList.js │ │ │ ├── manifest.ini │ │ │ └── testController │ │ │ ├── manifest.ini │ │ │ ├── testDndChrome.js │ │ │ ├── testDndContent.js │ │ │ ├── testNativeEvents.js │ │ │ ├── testDndContentChrome.js │ │ │ ├── testDynamicMenuEntries.js │ │ │ ├── testContextMenu.js │ │ │ ├── testSynthesizeEvents.js │ │ │ ├── testScreenshot.js │ │ │ ├── testExpectedEvents.js │ │ │ └── testWindowFocus.js │ └── __init__.py ├── setup.py └── README.md ├── mozmill ├── MANIFEST.in ├── mozmill │ ├── extension │ │ ├── content │ │ │ └── test │ │ │ │ ├── test.css │ │ │ │ ├── test.html │ │ │ │ ├── test.js │ │ │ │ ├── test.xul │ │ │ │ ├── radio_buttons.xul │ │ │ │ └── chrome_elements.xul │ │ ├── chrome.manifest │ │ ├── resource │ │ │ ├── stdlib │ │ │ │ ├── dom.js │ │ │ │ ├── strings.js │ │ │ │ ├── objects.js │ │ │ │ ├── os.js │ │ │ │ └── arrays.js │ │ │ ├── modules │ │ │ │ ├── stack.js │ │ │ │ ├── l10n.js │ │ │ │ └── errors.js │ │ │ └── driver │ │ │ │ └── msgbroker.js │ │ ├── build.xml │ │ ├── install.rdf │ │ └── components │ │ │ └── handlers.js │ ├── python_callbacks.py │ └── handlers.py ├── scripts │ └── sync_dependencies.py ├── docs │ ├── api_example.py │ └── architecture.txt ├── setup.py └── patches │ └── eventUtils.patch ├── jsbridge ├── MANIFEST.in ├── jsbridge │ ├── extension │ │ ├── chrome.manifest │ │ ├── install.rdf │ │ ├── resource │ │ │ └── modules │ │ │ │ ├── Events.jsm │ │ │ │ ├── Log.jsm │ │ │ │ └── Server.jsm │ │ └── components │ │ │ └── jsbridge.js │ └── __init__.py ├── History.md ├── README.md └── setup.py ├── .gitignore ├── docs.manifest ├── carton-mozmill.py └── README.md /mutt/mutt/tests/python/js-modules/manifest-empty.ini: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /mozmill/MANIFEST.in: -------------------------------------------------------------------------------- 1 | recursive-include docs * 2 | recursive-include mozmill/extension * 3 | -------------------------------------------------------------------------------- /mutt/mutt/tests/manifest.ini: -------------------------------------------------------------------------------- 1 | [include:python/manifest.ini] 2 | [include:js/manifest.ini] 3 | -------------------------------------------------------------------------------- /jsbridge/MANIFEST.in: -------------------------------------------------------------------------------- 1 | recursive-include jsbridge/extension * 2 | recursive-include jsbridge/xpi * 3 | -------------------------------------------------------------------------------- /mutt/mutt/tests/python/js-modules/test_shutdownAfterRestart/manifest.ini: -------------------------------------------------------------------------------- 1 | [test1.js] 2 | [test2.js] 3 | -------------------------------------------------------------------------------- /mutt/mutt/tests/data/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apm/mozmill/master/mutt/mutt/tests/data/favicon.ico -------------------------------------------------------------------------------- /mutt/mutt/tests/js/testDriver/manifest.ini: -------------------------------------------------------------------------------- 1 | [DEFAULT] 2 | type = javascript 3 | 4 | [testOpenBrowserWindow.js] 5 | -------------------------------------------------------------------------------- /mutt/mutt/tests/js/testLiveWeb/manifest.ini: -------------------------------------------------------------------------------- 1 | [DEFAULT] 2 | type = javascript 3 | 4 | [testFlashProtectedMode.js] 5 | -------------------------------------------------------------------------------- /mutt/mutt/tests/js/testL10n/manifest.ini: -------------------------------------------------------------------------------- 1 | [DEFAULT] 2 | type = javascript 3 | 4 | [testGetEntity.js] 5 | [testGetProperty.js] 6 | -------------------------------------------------------------------------------- /mutt/mutt/tests/data/singlediv.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 |
7 | 8 | -------------------------------------------------------------------------------- /mutt/mutt/tests/js/testAssertions/manifest.ini: -------------------------------------------------------------------------------- 1 | [DEFAULT] 2 | type = javascript 3 | 4 | [testExpectAssert.js] 5 | [testWaitFor.js] 6 | -------------------------------------------------------------------------------- /mutt/mutt/tests/js/testFrame/testSandbox/manifest.ini: -------------------------------------------------------------------------------- 1 | [DEFAULT] 2 | type = javascript 3 | 4 | [testSandboxA.js] 5 | [testSandboxB.js] 6 | -------------------------------------------------------------------------------- /mutt/mutt/tests/js/testMetro/manifest.ini: -------------------------------------------------------------------------------- 1 | [DEFAULT] 2 | type = javascript 3 | 4 | [testTabs.js] 5 | [include:testTouchEvents/manifest.ini] 6 | -------------------------------------------------------------------------------- /mutt/mutt/tests/data/link.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Link 7 | 8 | -------------------------------------------------------------------------------- /mutt/mutt/tests/js/testFrame/testHttpd/manifest.ini: -------------------------------------------------------------------------------- 1 | [DEFAULT] 2 | type = javascript 3 | 4 | [testMultipleLoads.js] 5 | [testRestartAvailability.js] 6 | -------------------------------------------------------------------------------- /mutt/mutt/tests/js/testFrame/testRequire/manifest.ini: -------------------------------------------------------------------------------- 1 | [DEFAULT] 2 | type = javascript 3 | 4 | [testRequire.js] 5 | [testRequireDefaultModules.js] 6 | -------------------------------------------------------------------------------- /mutt/mutt/tests/js/testFrame/testRestart/testApplicationDisconnect/manifest.ini: -------------------------------------------------------------------------------- 1 | [DEFAULT] 2 | type = javascript 3 | 4 | [test1.js] 5 | [test2.js] 6 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.pyc 2 | *.pyo 3 | *.egg-info 4 | build 5 | dist 6 | *~ 7 | #* 8 | .DS_Store 9 | *.exe 10 | *.o 11 | *.a 12 | *.so.0 13 | proclaunch 14 | -------------------------------------------------------------------------------- /mutt/mutt/tests/python/cli/manifest.ini: -------------------------------------------------------------------------------- 1 | [DEFAULT] 2 | type = python 3 | 4 | [test_manifest_and_tests_exclusive.py] 5 | [test_profile_relative_path.py] 6 | -------------------------------------------------------------------------------- /mutt/mutt/tests/js/metro/testTouchEvents/manifest.ini: -------------------------------------------------------------------------------- 1 | [DEFAULT] 2 | type = javascript 3 | 4 | [testTap.js] 5 | [testDoubleTap.js] 6 | [testWaitThenTap.js] 7 | -------------------------------------------------------------------------------- /mutt/mutt/tests/js/testFrame/testGlobalTimeout/manifest.ini: -------------------------------------------------------------------------------- 1 | [DEFAULT] 2 | type = javascript 3 | 4 | [testTimeout.js] 5 | expected = fail 6 | 7 | [testTimeoutAfter.js] 8 | -------------------------------------------------------------------------------- /mutt/mutt/tests/js/testFrame/testRestart/testStates/manifest.ini: -------------------------------------------------------------------------------- 1 | [DEFAULT] 2 | type = javascript 3 | 4 | [testSetupTestPass.js] 5 | 6 | [testSetupTestSkip.js] 7 | expected = fail 8 | -------------------------------------------------------------------------------- /mutt/mutt/tests/js/testFrame/testUserShutdown/testTimeoutRestartApplication/manifest.ini: -------------------------------------------------------------------------------- 1 | [DEFAULT] 2 | type = javascript 3 | 4 | [test1.js] 5 | expected = fail 6 | 7 | [test2.js] 8 | -------------------------------------------------------------------------------- /mutt/mutt/tests/js/testUtils/manifest.ini: -------------------------------------------------------------------------------- 1 | [DEFAULT] 2 | type = javascript 3 | 4 | [testPageLoad.js] 5 | [testPageLoadBfCache.js] 6 | [testReloadPage.js] 7 | [testSaveScreenshot.js] 8 | -------------------------------------------------------------------------------- /mutt/mutt/tests/js/testFrame/testUserShutdown/manifest.ini: -------------------------------------------------------------------------------- 1 | [DEFAULT] 2 | type = javascript 3 | 4 | [include:testMultiple/manifest.ini] 5 | [include:testTimeoutRestartApplication/manifest.ini] 6 | -------------------------------------------------------------------------------- /mutt/mutt/tests/data/radio_button.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Radio1
5 | Radio2
6 | 7 | -------------------------------------------------------------------------------- /mutt/mutt/tests/js/testFrame/testRestart/manifest.ini: -------------------------------------------------------------------------------- 1 | [DEFAULT] 2 | type = javascript 3 | 4 | [include:testApplicationDisconnect/manifest.ini] 5 | [include:testStates/manifest.ini] 6 | 7 | [testRestartFlags.js] 8 | run-if = os == 'mac' 9 | -------------------------------------------------------------------------------- /mutt/mutt/__init__.py: -------------------------------------------------------------------------------- 1 | # This Source Code Form is subject to the terms of the Mozilla Public 2 | # License, v. 2.0. If a copy of the MPL was not distributed with this 3 | # file, you can obtain one at http://mozilla.org/MPL/2.0/. 4 | 5 | from mutt import * 6 | -------------------------------------------------------------------------------- /mutt/mutt/tests/js/testElementsLib/manifest.ini: -------------------------------------------------------------------------------- 1 | [DEFAULT] 2 | type = javascript 3 | 4 | [testLookup.js] 5 | [testMenuList.js] 6 | [testMozElement.js] 7 | [testMozElementWindow.js] 8 | [testRadioButtons.js] 9 | [testSelector.js] 10 | [testStaleElement.js] 11 | -------------------------------------------------------------------------------- /mozmill/mozmill/extension/content/test/test.css: -------------------------------------------------------------------------------- 1 | #item1 { 2 | margin: 60px; 3 | width: 40px; 4 | height: 40px; 5 | background-color: #CC7790; 6 | } 7 | 8 | #item2 { 9 | margin: 20px; 10 | max-width: 300px; 11 | height: 300px; 12 | background-color: #88AAE2; 13 | } -------------------------------------------------------------------------------- /mutt/mutt/tests/js/testFrame/testSandbox/testSandboxA.js: -------------------------------------------------------------------------------- 1 | /* This Source Code Form is subject to the terms of the Mozilla Public 2 | * License, v. 2.0. If a copy of the MPL was not distributed with this 3 | * file, you can obtain one at http://mozilla.org/MPL/2.0/. */ 4 | 5 | globalA = "a"; 6 | -------------------------------------------------------------------------------- /mutt/mutt/tests/python/js-modules/testThrowGlobalException.js: -------------------------------------------------------------------------------- 1 | /* This Source Code Form is subject to the terms of the Mozilla Public 2 | * License, v. 2.0. If a copy of the MPL was not distributed with this 3 | * file, you can obtain one at http://mozilla.org/MPL/2.0/. */ 4 | 5 | 1 = foo 6 | -------------------------------------------------------------------------------- /jsbridge/jsbridge/extension/chrome.manifest: -------------------------------------------------------------------------------- 1 | resource jsbridge resource/ 2 | 3 | component {2872d428-14f6-11de-ac86-001f5bd9235c} components/jsbridge.js 4 | contract @mozilla.org/jsbridge;1 {2872d428-14f6-11de-ac86-001f5bd9235c} 5 | category profile-after-change JSBridge @mozilla.org/jsbridge;1 6 | 7 | -------------------------------------------------------------------------------- /mutt/mutt/tests/python/js-modules/newEmptyFunction.js: -------------------------------------------------------------------------------- 1 | /* This Source Code Form is subject to the terms of the Mozilla Public 2 | * License, v. 2.0. If a copy of the MPL was not distributed with this 3 | * file, you can obtain one at http://mozilla.org/MPL/2.0/. */ 4 | 5 | function test_something() { 6 | } 7 | -------------------------------------------------------------------------------- /mutt/mutt/tests/js/testFrame/testGlobalTimeout/testTimeoutAfter.js: -------------------------------------------------------------------------------- 1 | /* This Source Code Form is subject to the terms of the Mozilla Public 2 | * License, v. 2.0. If a copy of the MPL was not distributed with this 3 | * file, you can obtain one at http://mozilla.org/MPL/2.0/. */ 4 | 5 | function test() { 6 | } 7 | -------------------------------------------------------------------------------- /mutt/mutt/tests/js/testFrame/testUserShutdown/testMultiple/manifest.ini: -------------------------------------------------------------------------------- 1 | [DEFAULT] 2 | type = javascript 3 | 4 | [test1.js] 5 | [test2.js] 6 | 7 | [test3.js] 8 | expected = fail 9 | 10 | [test4.js] 11 | expected = fail 12 | 13 | [test5.js] 14 | [test6.js] 15 | 16 | [test7.js] 17 | expected = fail 18 | -------------------------------------------------------------------------------- /mutt/mutt/tests/js/manifest.ini: -------------------------------------------------------------------------------- 1 | [DEFAULT] 2 | type = javascript 3 | 4 | [include:testAssertions/manifest.ini] 5 | [include:testController/manifest.ini] 6 | [include:testElementsLib/manifest.ini] 7 | [include:testFrame/manifest.ini] 8 | [include:testL10n/manifest.ini] 9 | [include:testUtils/manifest.ini] 10 | [include:testLiveWeb/manifest.ini] 11 | -------------------------------------------------------------------------------- /mutt/mutt/tests/js/testFrame/testRequire/moduleC.js: -------------------------------------------------------------------------------- 1 | /* This Source Code Form is subject to the terms of the Mozilla Public 2 | * License, v. 2.0. If a copy of the MPL was not distributed with this 3 | * file, you can obtain one at http://mozilla.org/MPL/2.0/. */ 4 | 5 | function add(x,y) { 6 | return x + y; 7 | } 8 | 9 | exports.add = add; 10 | -------------------------------------------------------------------------------- /mutt/mutt/tests/js/testController/manifest.ini: -------------------------------------------------------------------------------- 1 | [DEFAULT] 2 | type = javascript 3 | 4 | [testContextMenu.js] 5 | [testDndChrome.js] 6 | [testDndContent.js] 7 | [testDndContentChrome.js] 8 | [testDynamicMenuEntries.js] 9 | [testExpectedEvents.js] 10 | [testNativeEvents.js] 11 | [testScreenshot.js] 12 | [testSynthesizeEvents.js] 13 | [testWindowFocus.js] 14 | -------------------------------------------------------------------------------- /mutt/mutt/tests/js/testFrame/testRequire/moduleB.js: -------------------------------------------------------------------------------- 1 | /* This Source Code Form is subject to the terms of the Mozilla Public 2 | * License, v. 2.0. If a copy of the MPL was not distributed with this 3 | * file, you can obtain one at http://mozilla.org/MPL/2.0/. */ 4 | 5 | function divide(x, y) { 6 | return x / y; 7 | } 8 | 9 | exports.divide = divide; 10 | -------------------------------------------------------------------------------- /mutt/mutt/tests/python/js-modules/test_shutdownAfterRestart/test2.js: -------------------------------------------------------------------------------- 1 | /* This Source Code Form is subject to the terms of the Mozilla Public 2 | * License, v. 2.0. If a copy of the MPL was not distributed with this 3 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 4 | 5 | "use strict"; 6 | 7 | function test1() { 8 | expect.pass(); 9 | } 10 | -------------------------------------------------------------------------------- /mutt/mutt/tests/js/testFrame/python_callback.py: -------------------------------------------------------------------------------- 1 | # This Source Code Form is subject to the terms of the Mozilla Public 2 | # License, v. 2.0. If a copy of the MPL was not distributed with this 3 | # file, you can obtain one at http://mozilla.org/MPL/2.0/. 4 | 5 | def check(*args, **kwargs): 6 | assert args[0] is True 7 | assert kwargs.get('state') == "testOne" 8 | -------------------------------------------------------------------------------- /mozmill/mozmill/extension/chrome.manifest: -------------------------------------------------------------------------------- 1 | content mozmill content/ 2 | resource mozmill resource/ 3 | 4 | component {06aff66f-4925-42e1-87f8-acaeaa22cabf} components/handlers.js 5 | contract @mozilla.org/mozmill/handlers;1 {06aff66f-4925-42e1-87f8-acaeaa22cabf} 6 | category profile-after-change MozmillHandlers @mozilla.org/mozmill/handlers;1 7 | -------------------------------------------------------------------------------- /mutt/mutt/tests/python/js-modules/testAddons.js: -------------------------------------------------------------------------------- 1 | /* This Source Code Form is subject to the terms of the Mozilla Public 2 | * License, v. 2.0. If a copy of the MPL was not distributed with this 3 | * file, you can obtain one at http://mozilla.org/MPL/2.0/. */ 4 | 5 | Cu.import("resource://gre/modules/AddonManager.jsm"); 6 | 7 | 8 | function testAddons() { 9 | persisted.addons = mozmill.getAddons(); 10 | } 11 | -------------------------------------------------------------------------------- /mutt/mutt/tests/js/testFrame/testRequire/moduleD.js: -------------------------------------------------------------------------------- 1 | /* This Source Code Form is subject to the terms of the Mozilla Public 2 | * License, v. 2.0. If a copy of the MPL was not distributed with this 3 | * file, you can obtain one at http://mozilla.org/MPL/2.0/. */ 4 | 5 | "use strict"; 6 | 7 | function available() { 8 | assert; 9 | expect; 10 | findElement; 11 | } 12 | 13 | exports.available = available; 14 | -------------------------------------------------------------------------------- /mutt/mutt/tests/js/testFrame/testRequire/testRequireDefaultModules.js: -------------------------------------------------------------------------------- 1 | /* This Source Code Form is subject to the terms of the Mozilla Public 2 | * License, v. 2.0. If a copy of the MPL was not distributed with this 3 | * file, you can obtain one at http://mozilla.org/MPL/2.0/. */ 4 | 5 | "use strict"; 6 | 7 | const d = require("moduleD"); 8 | 9 | function testRequireDefaultModules() { 10 | assert; 11 | expect; 12 | findElement; 13 | 14 | d.available(); 15 | } 16 | -------------------------------------------------------------------------------- /mutt/mutt/tests/data/no_bfcache.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 10 | Page not Back-Forward Cached 11 | 12 | 13 |

Page not Back-Forward Cached

14 | 15 | 16 | -------------------------------------------------------------------------------- /mutt/mutt/tests/python/js-modules/testPersisted.js: -------------------------------------------------------------------------------- 1 | /* This Source Code Form is subject to the terms of the Mozilla Public 2 | * License, v. 2.0. If a copy of the MPL was not distributed with this 3 | * file, you can obtain one at http://mozilla.org/MPL/2.0/. */ 4 | 5 | function setupModule() { 6 | controller = mozmill.getBrowserController(); 7 | } 8 | 9 | function test() { 10 | persisted.bar = 'bar'; 11 | persisted.fleem = 2; 12 | persisted.number += 1; 13 | 14 | delete persisted.foo; 15 | } 16 | -------------------------------------------------------------------------------- /docs.manifest: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env document-it 2 | # documentation manifest for the Mozmill repo 3 | # To generate HTML from this markdown, use document_it: 4 | # http://pypi.python.org/pypi/document_it 5 | 6 | jsbridge/README.md en/Mozmill/jsbridge 7 | mozmill/README.md en/Mozmill 8 | mozmill/docs/event_handlers.txt en/Mozmill/EventHandlers 9 | mozmill/docs/architecture.txt en/Mozmill/Architecture 10 | mozmill/docs/INSTALL.txt en/Mozmill/Installation 11 | documentation.txt en/Mozmill/Documentation 12 | -------------------------------------------------------------------------------- /mutt/mutt/tests/js/testFrame/testRequire/sub/moduleA.js: -------------------------------------------------------------------------------- 1 | /* This Source Code Form is subject to the terms of the Mozilla Public 2 | * License, v. 2.0. If a copy of the MPL was not distributed with this 3 | * file, you can obtain one at http://mozilla.org/MPL/2.0/. */ 4 | 5 | const b = require("../moduleB"); 6 | 7 | function subtract(x,y) { 8 | return x - y; 9 | } 10 | 11 | exports.subtract = subtract; 12 | 13 | exports.divide = require("../moduleB").divide; 14 | exports.add = require("../moduleC").add; 15 | -------------------------------------------------------------------------------- /mozmill/mozmill/extension/content/test/test.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 |
11 |
12 | 13 |
17 |
18 |
19 | 20 | -------------------------------------------------------------------------------- /mutt/mutt/tests/data/iframe.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Iframe test page 5 | 11 | 12 | 13 |

This iframe should load

14 |

Load

15 |