Commit Graph
15465 Commits
Author SHA1 Message Date
Andreas Tolfsen 62cba7679b Bug 1350887 - Warn when non-loopback connections are allowed; r=whimboo
MozReview-Commit-ID: LG8f5q5QbD6
2017-03-28 17:06:06 +01:00
Andreas Tolfsen c8ab8f3b72 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
2017-03-28 16:48:20 +01:00
Andreas Tolfsen 0382320440 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
2017-03-28 16:46:54 +01:00
Andreas Tolfsen 73f0e502e6 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
2017-03-27 14:28:32 +01:00
Andreas Tolfsen f15f2f7d7c 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
2017-03-29 18:25:55 +01:00
Andreas Tolfsen 6c0fc88d5e Bug 1350887 - Add general overview documentation to Marionette; r=whimboo
MozReview-Commit-ID: HwMOQVxwIDN
2017-04-03 15:00:05 +01:00
Andreas Tolfsen 700116dbdd 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
2017-03-30 14:52:16 +01:00
bechen b2ce812017 Bug 1318542 - Disable testcase 3_track.html, see bug1342063, the testcase un-expected-PASS on OSX 10.10. r=alwu
MozReview-Commit-ID: LBZuyqy52ZJ
2017-04-05 10:48:25 +08:00
Maja Frydrychowicz 231d514d1c Bug 1345653 - Test pointer move with element origin and click with navigation; r=ato
Verify that there is no hang when we use pointer actions to
perform a click that results in navigation and document unload.

MozReview-Commit-ID: EO5FClnxML5
2017-04-04 00:30:00 -04:00
Maja Frydrychowicz a1bdb4d1c1 Bug 1345653 - Add pause and click to actions client API; r=ato
MozReview-Commit-ID: 9yMUtEWt2tx
2017-04-04 00:01:43 -04:00
Maja Frydrychowicz 8beb6075c7 Bug 1345653 - Handle document unload when dispatching actions; r=ato
This fixes the reported hang that occurs after a pointer click
action resulting in navigation.

MozReview-Commit-ID: A9SBhextVLH
2017-04-04 00:01:11 -04:00
Wes Kocher fa76c3b853 Merge inbound to central, a=merge 2017-04-04 11:25:13 -07:00
Sebastian Hengst 2c97064db6 Backed out changeset 5146b0e10a73 (bug 1350887) for failing 541406-1.html with assertion aEditor at IMEContentObserver.cpp:285. r=backout 2017-04-04 15:59:20 +02:00
Sebastian Hengst cd781271f6 Backed out changeset 0b1355194d54 (bug 1350887) 2017-04-04 15:54:43 +02:00
Sebastian Hengst c6b8f9d173 Backed out changeset eef96bc84d1f (bug 1350887) 2017-04-04 15:54:39 +02:00
Sebastian Hengst 44fe9baf85 Backed out changeset 0a6f238454c3 (bug 1350887) 2017-04-04 15:54:35 +02:00
Sebastian Hengst edab6bea13 Backed out changeset 142552196615 (bug 1350887) 2017-04-04 15:54:30 +02:00
Sebastian Hengst 611ceafb3c Backed out changeset 2f0db92fbe1b (bug 1350887) 2017-04-04 15:54:26 +02:00
Sebastian Hengst 82c06a6294 Backed out changeset 12afeda05d47 (bug 1350887) 2017-04-04 15:54:22 +02:00
Aryeh Gregor 7e4aa34e9d Bug 1314388 - Remove SVGZoomEvent; r=longsonr,smaug
Some code in SVGSVGElement.cpp might be unnecessary now, but Robert said
to leave it for a followup.

MozReview-Commit-ID: 8PpRGeGrREJ
2017-04-04 15:36:22 +03:00
Andreas Tolfsen 7cd5ba71da Bug 1350887 - Warn when non-loopback connections are allowed; r=whimboo
MozReview-Commit-ID: LG8f5q5QbD6
2017-03-28 17:06:06 +01:00
Andreas Tolfsen 9ec9ed3264 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
2017-03-28 16:48:20 +01:00
Andreas Tolfsen 6043242db7 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
2017-03-28 16:46:54 +01:00
Andreas Tolfsen a836f4e37d 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
2017-03-27 14:28:32 +01:00
Andreas Tolfsen f37f6dc577 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
2017-03-29 18:25:55 +01:00
Andreas Tolfsen d0d3c26f5a Bug 1350887 - Add general overview documentation to Marionette; r=whimboo
MozReview-Commit-ID: HwMOQVxwIDN
2017-04-03 15:00:05 +01:00
Andreas Tolfsen 69507e899c 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
2017-03-30 14:52:16 +01:00
Aryeh Gregor 16a231c959 Bug 1297414 - Change default paragraph separator to <div>; r=masayuki
This matches Blink/WebKit, and is more similar to Edge than before, but
may cause compat problems for Gecko-only code or code paths.  Sites can
revert to old behavior with:
document.execCommand("defaultparagraphseparator", false, "br").

This regresses test_bug430392.html on one test ("adding returns") and I
don't know why.  The test involves embedded non-editable content and we
already have a lot of todos in that file, so I think it's tolerable.

MozReview-Commit-ID: Dml0bXxgu87
2017-04-04 13:49:38 +03:00
Aryeh Gregor c371e9bbf5 Bug 1297414 - Support <div> separator in ReturnIn(Header|ListItem); r=masayuki
MozReview-Commit-ID: EkvFpyTmXDc
2017-04-04 13:49:38 +03:00
Aryeh Gregor 603c4658bf Bug 1297414 - Support <div>/<p> separators in WillInsertBreak; r=masayuki
*aHandled was previously always set to true in WillMakeBasicBlock, which
was probably a bug but is not addressed in this commit.

MozReview-Commit-ID: 41JSmptVc0l
2017-04-04 13:49:38 +03:00
Aryeh Gregor 7caac9f775 Bug 1297414 - Treat <div> like <p> for break insertion; r=masayuki
I don't personally agree with this behavior (although I did spec it some
years ago), but it's the behavior of all other UAs, so we should do it
anyway.

MozReview-Commit-ID: IiIg41kMJIU
2017-04-04 13:47:28 +03:00
Aryeh Gregor 34a92fa7d1 Bug 1297414 - Support execCommand("defaultParagraphSeparator"); r=masayuki
Later commits will add the actual functionality.

MozReview-Commit-ID: 6Ac9V6MjZpa
2017-04-04 13:47:28 +03:00
Aryeh Gregor 2e039c188e Bug 1297414 - Fix incorrect text expectation; r=masayuki
These expectations were just wrong.  I don't know how they got here.  I
think Chrome matches the tests and not the spec, fortunately.

MozReview-Commit-ID: ENiO34GiZ0Y
2017-04-04 13:44:53 +03:00
Carsten "Tomcat" Book 54d9a843d0 merge mozilla-inbound to mozilla-central a=merge 2017-04-04 12:35:03 +02:00
Henrik Skupin 7db35ec877 Bug 1291320 - Skip test_focus_after_navigation for "Unable to locate element: :focus" r=maja_zf
MozReview-Commit-ID: Kd2lrH9y5US
2017-04-03 22:10:38 +02:00
Henrik Skupin c5a4b39cbe 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
2017-03-27 16:16:36 +02:00
Henrik Skupin be887c4298 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
2017-03-28 21:41:38 +02:00
Henrik Skupin 5c761360c2 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
2017-04-03 22:40:48 +02:00
Paul Bignier c1fcb05d9d Bug 1352802 - Typo fixes around 'accessible'. r=MattN
MozReview-Commit-ID: 27CyNOMXkRq
2017-04-03 09:47:00 -07:00
Wes Kocher 06260c1036 Merge inbound to central, a=merge 2017-04-03 14:50:18 -07:00
Ben Hearsum d743351622 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 80d029e30a Backout patch from bug 1347212 with that errantly referenced bug 1247212 instead. 2017-04-03 10:43:45 -04:00
Ben Hearsum b363570d49 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 41a97e7ee1 Bug 1332279 - Test key actions backspace behaviour; r=ato
MozReview-Commit-ID: DhQvVnHTHZk
2017-04-01 02:41:56 -04:00
Maja Frydrychowicz 967c2106d2 Bug 1332279 - Test keyDown action for all WebDriver special keys; r=ato
MozReview-Commit-ID: 5jyPCXnACTh
2017-04-01 02:38:14 -04:00
Maja Frydrychowicz 506cb25182 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
2017-04-01 02:37:30 -04:00
Sebastian Hengst e59710ff6a 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 9fbe423693 Backed out changeset ee5ddcc6ca27 (bug 1352351)
MozReview-Commit-ID: IteCk4NwKCC
2017-04-01 19:12:04 +02:00
Sebastian Hengst 027188f7d6 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 5E7o1qELKmN
2017-04-01 13:09:55 +02:00
Simon Fraser 6983716f3f 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