Граф коммитов

15446 Коммитов

Автор SHA1 Сообщение Дата
Sebastian Hengst 05dc53ce54 Backed out changeset 5146b0e10a73 (bug 1350887) for failing 541406-1.html with assertion aEditor at IMEContentObserver.cpp:285. r=backout
--HG--
rename : testing/marionette/prefs/marionette.js => testing/marionette/prefs.js
2017-04-04 15:59:20 +02:00
Sebastian Hengst acb28d567c Backed out changeset 0b1355194d54 (bug 1350887) 2017-04-04 15:54:43 +02:00
Sebastian Hengst 7cd5efe8b6 Backed out changeset eef96bc84d1f (bug 1350887) 2017-04-04 15:54:39 +02:00
Sebastian Hengst 3874eb2afd Backed out changeset 0a6f238454c3 (bug 1350887) 2017-04-04 15:54:35 +02:00
Sebastian Hengst a7b695a056 Backed out changeset 142552196615 (bug 1350887) 2017-04-04 15:54:30 +02:00
Sebastian Hengst 0e1c126a7f Backed out changeset 2f0db92fbe1b (bug 1350887) 2017-04-04 15:54:26 +02:00
Sebastian Hengst b41ea93aad Backed out changeset 12afeda05d47 (bug 1350887) 2017-04-04 15:54:22 +02:00
Andreas Tolfsen ddc2f4fb93 Bug 1350887 - Warn when non-loopback connections are allowed; r=whimboo
MozReview-Commit-ID: LG8f5q5QbD6

--HG--
extra : rebase_source : 2e56de3d7842521b1a611296a25c15048ae685fe
2017-03-28 17:06:06 +01:00
Andreas Tolfsen e591d4ea9b Bug 1350887 - Propagate errors thrown when starting server.TCPListener; r=whimboo
Errors thrown are printed to console and there is no point in having a
custom catch to print it.

This also makes it possible to start Marionette programmatically without
worrying about disappearing errors.

MozReview-Commit-ID: GGhyCyYqJg

--HG--
extra : rebase_source : 0a55dc87a2e3a3dab5da59800e421562b9385c51
2017-03-28 16:48:20 +01:00
Andreas Tolfsen 58ab49ed73 Bug 1350887 - Bind sacrificial goat to ephemeral port; r=whimboo
Port 666 is in the protected port range and can not normally be bound
to unless the process is running with sudo permissions.

We can instead bind to port 0, which will give us a system-defined port
in the epemeral range.

MozReview-Commit-ID: Ld6BDMhtbck

--HG--
extra : rebase_source : 1ccbefb4829ba7d493a576e8339bae9174441484
2017-03-28 16:46:54 +01:00
Andreas Tolfsen 39c40c0331 Bug 1350887 - Fall back to deprecated pref if it exists; r=whimboo
This is a follow-up to address a fallout caused by bug 1344748 whereby
deprecated preferences relevant to Marionette are no longer being
picked up.  This is preventing trace logs from being emitted in CI.

The old logic related to falling back to a deprecated preference is
faulty in that it the preferred, new preference always exists through
the power of testing/marionette/prefs.js.  This patch introduces a new
helper method getPref that first looks at whether the preferred pref
is set, and only falls back to the deprecated if it isn't set and the
deprecation preference exists.

MozReview-Commit-ID: 8DeawLAELyK

--HG--
extra : rebase_source : b26a992ad9bda2423cb9033edbc1cb0ddfe12cfc
2017-03-27 14:28:32 +01:00
Andreas Tolfsen 0b0f19694e Bug 1350887 - Include Marionette prefs amongst defaults; r=ted,whimboo
The Marionette component ships in Firefox, but is not enabled by default.
We want to facilitate activating Marionette at runtime by flipping
the marionette.enabled preference, and showing the Marionette related
preferences in about:config helps discoverability.

It is also useful to rely on the preferences' default values so that
they do not have to be hardcoded in the component.

When Marionette is enabled by setting marionette.enabled to true, a set of
recommended automation preferences found in testing/marionette/server.js
are set if the user has not overriden/user-defined one of them and
marionette.prefs.recommended is true (default).  When Marionette is
stopped, the altered preferences are reset.

MozReview-Commit-ID: 3HLnEI0TEBB

--HG--
extra : rebase_source : 6557962c8dbd91002bbf22690ef03cd4cbcbbe38
2017-03-29 18:25:55 +01:00
Andreas Tolfsen 068598e0e5 Bug 1350887 - Add general overview documentation to Marionette; r=whimboo
MozReview-Commit-ID: HwMOQVxwIDN

--HG--
extra : rebase_source : ee1321347ce4af5960afcab0e083d510ad296adf
2017-04-03 15:00:05 +01:00
Andreas Tolfsen 90caadb8dd Bug 1350887 - Ensure Marionette prefs file has sensible name; r=maja_zf
Files appended to JS_PREFERENCE_FILES are moved into the
objdir/dist/bin/defaults/pref directory, shared with default global
preferences from other parts of Gecko.

To ensure Marionette's preference file ends up in this directory with
a sensible name, we put it in testing/marionette/prefs/marionette.js so
that it ends up in the objdir as dist/bin/defaults/pref/marionette.js.

MozReview-Commit-ID: 9YJ7vysDjSJ

--HG--
rename : testing/marionette/prefs.js => testing/marionette/prefs/marionette.js
extra : rebase_source : 54e084700d1ae691a0395531156626f56190f0fe
2017-03-30 14:52:16 +01:00
Henrik Skupin 8f09dfa944 Bug 1299626 - Fix "TypeError: can't access dead object" in assert.window(). r=ato
The assertion method is used to check for a valid window. But it can fail
itself when already accessing the ChromeWindow. To fix that we have to
catch a possible TypeError and let the method throw a NoSuchWindowError
instead.

MozReview-Commit-ID: 3Uaio4a3HtA

--HG--
extra : rebase_source : 5c672e441789e45b4972b0f8fde8471b4998394d
2017-03-28 21:10:06 +02:00
Aryeh Gregor 8f79d37004 Bug 1352144 - document.execCommand("inserttext", false, "") should work r=masayuki
Behavior per spec and Chrome is to just delete the selection.  We
already do this for insertHTML.

MozReview-Commit-ID: AWZhH6lIwuO

--HG--
extra : rebase_source : 353c3b628eb6a609de121e25bb7a11e579d29400
2017-03-30 21:04:09 +03:00
Carsten "Tomcat" Book 14e0b51ace merge mozilla-inbound to mozilla-central a=merge 2017-04-04 12:35:03 +02:00
Henrik Skupin e64b96f08c Bug 1291320 - Skip test_focus_after_navigation for "Unable to locate element: :focus" r=maja_zf
MozReview-Commit-ID: Kd2lrH9y5US

--HG--
extra : rebase_source : e9f970505b11c50b182a535c9ecd90ee7cc86996
2017-04-03 22:10:38 +02:00
Henrik Skupin 3055f8532d Bug 1291320 - Make refresh command synchronous. r=ato,automatedtester
Update the refresh command to make it synchronous, and let it return
once the target page has been loaded. This can be accomplished by using
the loadListener object in listener.js.

MozReview-Commit-ID: Lc8QoGFeQrY

--HG--
extra : rebase_source : 1fd914aec1c55fe91a0de773cfd7ff22b5d12167
2017-03-27 16:16:36 +02:00
Henrik Skupin bdc3b68d5c Bug 1291320 - Refactor page load algorithm for listener framescript. r=ato,automatedtester
This refactoring allows us to re-use the same load algorithm for
each command which could trigger a page load. It also takes remoteness
changes into account, and waits until the load has been done.

With this change we no longer check for readyState only, but observe
the necessary DOM events as fired for page unloads and loads. This will
help us to implement the page loading strategy later.

By observing the DOM events, I also expect a small increase of performance
for any kind of page load, given that we now return immediately and do not
have a delay of 100ms at maximum.

MozReview-Commit-ID: IVtO6KgJFES

--HG--
extra : rebase_source : 40f90e3b9d1bf0a2f9123271cd08513769616e41
2017-03-28 21:41:38 +02:00
Henrik Skupin b6b4a474d6 Bug 1291320 - Disallow slow loading page to be put into the cache. r=ato,automatedtester
To delay the page load for our slowly served example page when using the
back or forward commands, the page doesn't have to be put into the browser
cache.

MozReview-Commit-ID: 4xMjR3SakZn

--HG--
extra : rebase_source : 024b8e702d95689defcee7e12496ce531e72d651
2017-04-03 22:40:48 +02:00
Paul Bignier ff2e59d1cd Bug 1352802 - Typo fixes around 'accessible'. r=MattN
MozReview-Commit-ID: 27CyNOMXkRq

--HG--
extra : rebase_source : 30e8891fa40cb497ab695e72b179c850a3a5c8d9
2017-04-03 09:47:00 -07:00
Wes Kocher 53dde6a1d2 Merge inbound to central, a=merge 2017-04-03 14:50:18 -07:00
Ben Hearsum 28a16a418c bug 1347212: improve release automation publishing of releases - allow pushes to be scheduled instead of done directly. r=rail 2017-04-03 10:43:57 -04:00
Ben Hearsum 81dc4ee457 Backout patch from bug 1347212 with that errantly referenced bug 1247212 instead. 2017-04-03 10:43:45 -04:00
Ben Hearsum 2e3f62dc2f bug 1247212: improve release automation publishing of releases - allow pushes to be scheduled instead of done directly. r=rail 2017-04-03 10:23:40 -04:00
Maja Frydrychowicz 2fbad50890 Bug 1332279 - Test key actions backspace behaviour; r=ato
MozReview-Commit-ID: DhQvVnHTHZk

--HG--
extra : rebase_source : 017833e358aded2b7369fdb9d9728547810155a4
2017-04-01 02:41:56 -04:00
Maja Frydrychowicz 78e66aff46 Bug 1332279 - Test keyDown action for all WebDriver special keys; r=ato
MozReview-Commit-ID: 5jyPCXnACTh

--HG--
extra : rebase_source : ac7a48d33a0198ff3691fa76c25d8398aa1e9d60
2017-04-01 02:38:14 -04:00
Maja Frydrychowicz b3a4d2a5be Bug 1332279 - Include keyCode in KeyboardEvents synthesized for key actions; r=ato
The key dispatch functions now pass the raw key to event.js,
which determines the keyCode for the event.

Note the change in Normalized Key Value for Enter versus Return.
The browser throws an exception when the event key attribute is
set to "Return" and KEY_NON_PRINTABLE_KEY is set, which implies
that the key value isn't valid. Changing it to Enter fixes the
issue.

MozReview-Commit-ID: 831f4EcqI1P

--HG--
extra : rebase_source : 6045b6199c72bcc7a971907d6e1513687d8ed3f9
2017-04-01 02:37:30 -04:00
Sebastian Hengst 9115045faf Backed out changeset 024d5d30566d (bug 1352351) for frequently failing resume-timer-on-history-back.html on Windows. r=backout a=backout
MozReview-Commit-ID: JSU0OCtbAOe
2017-04-01 19:13:16 +02:00
Sebastian Hengst 34da17ecef Backed out changeset ee5ddcc6ca27 (bug 1352351)
MozReview-Commit-ID: IteCk4NwKCC
2017-04-01 19:12:04 +02:00
Sebastian Hengst 65f9bb8041 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 5E7o1qELKmN
2017-04-01 13:09:55 +02:00
Simon Fraser c1b6a2a2a0 Bug 1324922 - Stop publishing complete MARs to balrog as a part of build/l10n repacks - final update, r=jlund 2017-03-31 12:30:03 -07:00
Andreas Tolfsen b8f4b3eba9 Bug 1351738 - Improve Get Title command tests; r=maja_zf
MozReview-Commit-ID: IYCkc1TbFcc

--HG--
extra : rebase_source : 5fb1996b658b2d1b902a1c5ad277b2a56bf4edde
2017-03-29 18:16:57 +01:00
Andreas Tolfsen 6e9eb39172 Bug 1351738 - Rename test_window_title.py to test_title.py; r=maja_zf
MozReview-Commit-ID: stw093m7V6

--HG--
rename : testing/marionette/harness/marionette_harness/tests/unit/test_window_title.py => testing/marionette/harness/marionette_harness/tests/unit/test_title.py
rename : testing/marionette/harness/marionette_harness/tests/unit/test_window_title_chrome.py => testing/marionette/harness/marionette_harness/tests/unit/test_title_chrome.py
extra : rebase_source : 5fdf57e8e7da11eb2f18430baa04f97f40fc1be1
2017-03-29 18:15:20 +01:00
Rail Aliiev b5ad72d14a Bug 1258798 - kill latest_mar_dir in single locale mh configs r=jlorenzo DONTBUILD
MozReview-Commit-ID: 5eVEZWnSc0t

--HG--
extra : rebase_source : 77b52f775cd050bf07ee90efd3bfe97365d9a06f
2017-04-03 08:16:50 -04:00
Henrik Skupin a2c0ca9887 Bug 1291320 - Refactor navigation unit tests by using non-remote pages only if necessary. r=ato,automatedtester
Using non-remote pages causes framescripts to be reloaded. We should try
to avoid using those pages as much as possible, and test remoteness
switches in particular tests only. This is to reduce possible hangs.

MozReview-Commit-ID: ICPPkU07KQK

--HG--
extra : rebase_source : 7fdf1f2815790c70f4961cb004a3c066d9a2471e
2017-03-14 08:30:32 +01:00
Francois Marier becf618cc2 Bug 1330253 - Enable test_safe_browsing_initial_download on try. r=dustin,whimboo
MozReview-Commit-ID: 7SruSkfIhzI

--HG--
extra : rebase_source : cd0a105f28862acbc5ed60fa0fd007e3426235d3
2017-01-13 14:11:19 -08:00
Wes Kocher e49669a5aa Backed out changeset 78ac10622294 (bug 1330253) for firefox ui test failures a=backout 2017-03-31 16:07:10 -07:00
Francois Marier 66bd7f53bc Bug 1330253 - Enable test_safe_browsing_initial_download on try. r=dustin,whimboo
MozReview-Commit-ID: 7SruSkfIhzI

--HG--
extra : rebase_source : 42321a84bda51f138723697ee0566bcb3a0fe8b0
2017-01-13 14:11:19 -08:00
James Graham 28170f6a78 Bug 1352351 - Enable --run-by-dir for web-platform-tests, r=ato
MozReview-Commit-ID: 7fh1LKm683p

--HG--
extra : rebase_source : 2bb7195f084434dfe1448e8859440e384a3552d5
2017-02-14 19:21:01 +00:00
James Graham 3264854ac3 Bug 1352351 - Fix infinite loop getting next test with --run-by-dir, r=ato
If getting a test from the queue failed, we would loop forever rather
than trying the next queue.

MozReview-Commit-ID: K5YxCZPtx4l

--HG--
extra : rebase_source : f30618d0b26b740ba9748b912507fd03558f6d47
2017-03-23 22:30:35 +00:00
Justin Wood 485886c025 Bug 1347579 - run configure before doing repack. r=aki
MozReview-Commit-ID: 4uBwqwtN3i0

--HG--
extra : rebase_source : f067fa3b33157a1afc0906412fb7b4f7e5fe24f3
extra : intermediate-source : 727ed2b44031fd71780ed0d0c27a0950633f41dc
extra : source : dda6cc82c28204967a2012a13de9bcdaf94f9418
2017-03-28 16:26:56 -04:00
Justin Wood 3871b98dcf Bug 1347579 - Add mozharness script (and docker build shell script) to allow running mach repackage. r=aki
(For "Integrate and fully support OSX Signing in taskcluster")

Written as a mozharness script rather than using bare ./mach command because we need to download the upstream artifact
and because we need to download artifacts from tooltool to do the packing back into a .dmg. Future ideal would be to get
rid of the mozharness script and use JUST ./mach.

This is using the ./mach repackage code being created in Bug 1347576. Taking a signed tarball from a dmg supported with
Bug 1346015, and the taskgraph work to schedule this is in Bug 1318505.

MozReview-Commit-ID: rv9l285HKC

--HG--
extra : rebase_source : 054219511419b8bf44b1f57a8d834a12c13710e3
extra : intermediate-source : a52bc37e08efbf4d6c68cc0f4e2d4b76f79b192a
extra : source : 6ad7468a590f5a2779ffdc3713c1f6f74ce23731
2017-03-28 10:41:38 -04:00
Aryeh Gregor f889daf2b4 Bug 1175418 - Don't create unnecessary text nodes in editor; r=masayuki
MozReview-Commit-ID: LnioO8XoGQT

--HG--
extra : rebase_source : e85b99dc69912934f44c4e9dd9b17d23fe02bb09
2017-03-29 18:28:21 +03:00
Ben Kelly 02aeaadc9f Bug 1351959 Fix skip-waiting and other WPT tests broken by request-end-to-end.https.html. r=asuth 2017-03-30 16:47:27 +08:00
Nicholas Nethercote ecaa485dee Bug 1348024 - Make the env vars MOZ_PROFILER_{ENTRIES,INTERVAL} specific to startup. r=mstange.
The patch also renames profiler_usage() as PrintUsageThenExit().

--HG--
extra : rebase_source : 28b49f9f99d760ef1fcd1d56f8035caa0c5f2192
2017-03-23 13:44:15 +11:00
Ryan VanderMeulen 7e1a57cfa4 Merge m-c to autoland. a=merge 2017-03-29 09:43:00 -04:00
Ryan VanderMeulen f4a0d77ffc Merge inbound to m-c. a=merge 2017-03-29 09:41:54 -04:00
Henrik Skupin 70fc77dcd9 Bug 1351335 - Don't close software update dialog before restart. r=ato
There is no need to close this dialog given that a restart happens anyway.
But doing that as right now, and trying to invoke execute_script() on it,
will end up with a unlocatable window.

MozReview-Commit-ID: 53yBLYsWX4o

--HG--
extra : rebase_source : 21b02231c845cf994c7c75d10bd91e0911114998
2017-03-29 10:42:55 +02:00