Skip to content

Instantly share code, notes, and snippets.

Could you please attach a [trace-level log] from geckodriver? Read more about reporting actionable bugs in our [contribution guidelines].
[trace-level log]: https://firefox-source-docs.mozilla.org/testing/geckodriver/geckodriver/TraceLogs.html
[contribution guidelines]: https://firefox-source-docs.mozilla.org/testing/geckodriver/geckodriver/Bugs.html
MOZ_HEADLESS=1 ./mach wpt testing/web-platform/tests/webdriver/tests/minimize_window/minimize.py --webdriver-arg=-vv
0:00.00 INFO Skipping manifest download because existing file is recent
0:00.00 INFO Updating manifests
0:03.42 INFO Using 1 client processes
0:03.49 INFO Starting http server on 127.0.0.1:8000
0:03.50 INFO Starting http server on 127.0.0.1:8001
0:03.51 INFO Starting https server on 127.0.0.1:8443
0:33.65 INFO Closing logging queue
0:33.65 INFO queue closed
Error running mach:
function MainThreadPromise(fn) {
if (typeof fn != "function") {
throw new TypeError();
}
return new Promise((resolve, reject) => {
Services.tm.dispatchToMainThread(() => {
try {
fn(resolve, reject);
} catch (e) {
/**
* Synchronously resizes the operating system window.
*
* The supplied `width` and `height` values refer to the window
* global's `outerWidth` and `outerHeight` values, which include
* browser chrome and OS level window borders.
*
* @param {number} width
* Signed integer with the width to resize the window to.
* @param {number} height
commit e69d0ea6be8aae0e40a45b356da5759fc3a6ea29 (HEAD -> inbound)
Author: Andreas Tolfsen <[email protected]>
Date: Sun Sep 16 01:08:50 2018 +0100
bug 1466818: mozrunner: depend on in-tree mozprofile; r=me
diff --git a/Cargo.lock b/Cargo.lock
index a90026eee287..d40a92c109c1 100644
--- a/Cargo.lock
+++ b/Cargo.lock
diff --git a/build/moz.configure/toolchain.configure b/build/moz.configure/toolchain.configure
index 050981885e5e..baf726c7cd7a 100755
--- a/build/moz.configure/toolchain.configure
+++ b/build/moz.configure/toolchain.configure
@@ -1416,8 +1416,8 @@ add_old_configure_assignment('MOZ_LTO_LDFLAGS', lto.ldflags)
js_option('--enable-address-sanitizer', help='Enable Address Sanitizer')
-@depends_if('--enable-address-sanitizer')
-def asan(value):
from marionette_driver import errors
from marionette_driver.marionette import Marionette
from marionette_harness import MarionetteTestCase, run_if_manage_instance, skip_if_mobile
class TestFoo(MarionetteTestCase):
def test_foo(self):
el = self.marionette.execute_script("return document.documentElement")
self.marionette._send_message("WebDriver:PerformActions", {
from marionette_driver import errors
from marionette_driver.marionette import Marionette
from marionette_harness import MarionetteTestCase, run_if_manage_instance, skip_if_mobile
class TestFoo(MarionetteTestCase):
def test_foo(self):
self.marionette._send_message("Marionette:ActionChain", {'actions': [{u'type': u'key', u'id': u'2', u'actions': [{u'type': u'pause'}, {u'type': u'pause'}, {u'type': u'pause'}, {u'type': u'keyDown', u'value': u'\ue008'}, {u'type': u'keyDown', u'value': u'p'}, {u'type': u'keyUp', u'value': u'p'}, {u'type': u'keyDown', u'value': u'a'}, {u'type': u'keyUp', u'value': u'a'}, {u'type': u'keyDown', u'value': u's'}, {u'type': u'keyUp', u'value': u's'}, {u'type': u'keyDown', u'value': u's'}, {u'type': u'keyUp', u'value': u's'}]}, {u'type': u'pointer', u'actions': [{u'y': 0, u'x': 0, u'type': u'pointerMove', u'origin': {'element-6066-11e4-a52e-4f735466cecf': u'02c80d0a-249f-4130-a9a6-419381b3f45b', 'ELEMENT': u'02c80d0a-249f-4130-a9a6-419381b3f45b'}}, {u'button': 0, u'type': u
% ./mach build
0:00.38 Clobber not needed.
0:00.38 Adding make options from /home/ato/src/gecko/mozconfig
AUTOCLOBBER=1
MOZ_OBJDIR=/home/ato/src/gecko/obj-x86_64-pc-linux-gnu
OBJDIR=/home/ato/src/gecko/obj-x86_64-pc-linux-gnu
FOUND_MOZCONFIG=/home/ato/src/gecko/mozconfig
export FOUND_MOZCONFIG
0:00.38 /usr/bin/make -f client.mk -s configure
0:00.39 cd /home/ato/src/gecko/obj-x86_64-pc-linux-gnu