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

528760 Коммитов

Автор SHA1 Сообщение Дата
Maja Frydrychowicz 708c0a069b Bug 1345653 - Add pause and click to actions client API; r=ato
MozReview-Commit-ID: 9yMUtEWt2tx

--HG--
extra : rebase_source : c44e20ac6d9af55b8257da81ee2a74f3fc608dff
2017-04-04 00:01:43 -04:00
Maja Frydrychowicz 0429c52c84 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

--HG--
extra : rebase_source : 7de7f06a1c05e0e52a03f1850187926aa13a4b08
2017-04-04 00:01:11 -04:00
Francesco Lodolo (:flod) 1566e8d6d6 Bug 1335809 - Update shortName in wikipedia-sl.xml to match Wikipedia's searchplugin r=mkaply
MozReview-Commit-ID: K33zDWHDZ8d

--HG--
extra : rebase_source : 1b539d7ebbe69172ef1cf513a07d6d79c4acb525
2017-04-04 08:43:14 +02:00
Grigory Kruglov 2a7dc44081 Bug 1343726 - Ensure that bookmark folders are processed first by the uploader r=rnewman
Since we're uploading records atomically, order in which they're processed by the uploader
only matters if we want to do sanity checks on certain types of records. Server might still
preserve some of the order, but for our purposes here it shouldn't matter.

We'd like to ensure that we process the "mobile root" bookmark record along with other folder
records first, so that we increase our chances of avoiding making a failing network request if
that those records' payload is too large.

Sorting by bookmark type achieves this.

MozReview-Commit-ID: KrAs3zepaOk

--HG--
extra : rebase_source : 24f1d3d6aa2ee3b6777dc38abdd1e01aba5213c2
2017-03-15 14:12:13 -07:00
Grigory Kruglov b7266cbba2 Bug 1343726 - Respect max_record_payload_bytes limit while uploading records r=rnewman
If we try to upload a record whose payload BSO field is larger than the limit specified
by the server, fail that record during BatchingUploader's processing.

Consequently, Synchronizer will fail current sync stage and advance to the next.

Previous behaviour was to essentially rely on the server to fail our POST request,
at which point we'll fail current sync stage. So in a way, this is an optimization to
avoid making network requests which we know will fail.

MozReview-Commit-ID: 5aJRRNoUuXe

--HG--
extra : rebase_source : 18920cfe7b7599be1984c53ebc0c9897c98fb7d9
2017-03-15 13:51:31 -07:00
Wes Kocher f18ad1cfc8 Merge m-c to autoland, a=merge 2017-04-04 11:28:54 -07:00
Wes Kocher bceaacd2b8 Merge inbound to central, a=merge 2017-04-04 11:25:13 -07:00
Wes Kocher ccba22fee5 Merge autoland to central, a=merge 2017-04-04 11:18:05 -07:00
Markus Stange 490c5ccf32 Bug 1353205 - Fix includes in nsImageRenderer.cpp again. r=rhunt
MozReview-Commit-ID: EQyAdbOCWtU

--HG--
extra : rebase_source : 2edd7a7c75e35bbe5909371ac851e907861d6644
2017-04-04 11:38:20 -04:00
ffxbld e37ec1af56 No bug, Automated blocklist update from host bld-linux64-spot-314 - a=blocklist-update 2017-04-04 07:51:24 -07:00
ffxbld e1482d742a No bug, Automated HPKP preload list update from host bld-linux64-spot-314 - a=hpkp-update 2017-04-04 07:51:21 -07:00
ffxbld 1d823b887b No bug, Automated HSTS preload list update from host bld-linux64-spot-314 - a=hsts-update 2017-04-04 07:51:19 -07:00
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
Chris AtLee b7af545070 Bug 1351071: Get rid of pre-generated startup cache r=glandium
MozReview-Commit-ID: BcWcqEKwGBv

--HG--
extra : rebase_source : 4bd21805a89359a5a2ed7ffd2ee2b76cf1e9e634
2017-04-04 09:26:25 -04:00
Aryeh Gregor b03daa975a 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
Carsten "Tomcat" Book 14e0b51ace merge mozilla-inbound to mozilla-central a=merge 2017-04-04 12:35:03 +02:00
Carsten "Tomcat" Book 68008bab43 Backed out changeset a52e75fdda07 (bug 1277709) for 10.10 xpcshell failures 2017-04-04 09:55:54 +02:00
Carsten "Tomcat" Book 92b960417c Backed out changeset 8f8e8cd713ad (bug 1352888) 2017-04-04 09:54:55 +02:00
Carsten "Tomcat" Book 6fa4a7de2c Backed out changeset dfdb5742823a (bug 1352889) 2017-04-04 09:54:53 +02:00
Carsten "Tomcat" Book 358125cbde Backed out changeset a86c4218ca5f (bug 1353187) 2017-04-04 09:54:51 +02:00
Saurav Sachidanand 16f14ffd75 Bug 1351986 - Remove DOCTYPE, version, xmlns:xlink from SVG files; r=dao 2017-04-04 09:10:07 +02:00
Tooru Fujisawa 61524c3df7 Bug 1352323 - Add JS_NewMaybeExternalString function that creates either an external string or returns a static string. r=jandem 2017-04-04 15:45:49 +09:00
Phil Ringnalda 3c97553fda Backed out 2 changesets (bug 1349699) for Win8 opt xpcshell crashes at mozilla::ipc::MessageChannel::WillDestroyCurrentMessageLoop
Backed out changeset 5cc766c0864e (bug 1349699)
Backed out changeset 13f1d3918fe5 (bug 1349699)
2017-04-03 22:54:59 -07:00
L. David Baron 6f4077b7ee Backed out changeset 74eb0b08e42b (bug 1353187 patch 2) for test failures (assertions firing). 2017-04-03 22:47:57 -07:00
Phil Ringnalda ebb758405e Bug 1351074 followup, touch CLOBBER to really get AsyncSpellCheckTestHelper.jsm removed 2017-04-03 22:35:44 -07:00
Hiroyuki Ikezoe 3024b7c177 Bug 1352781 - Update mochitest expectations. r=manishearth
MozReview-Commit-ID: IqTPKhFbu7y

--HG--
extra : rebase_source : 6f847243aa342f834dc194519bb91598b82e31c2
2017-04-04 11:11:22 +09:00
Hiroyuki Ikezoe 1157654818 Bug 1352781 - Update reftest expectations. r=manishearth
MozReview-Commit-ID: GYo6DGU9u2V

--HG--
extra : rebase_source : ec6c553d1247d3d98a26ad26d16ea37f53c8a308
2017-04-04 11:11:18 +09:00
Hiroyuki Ikezoe bf16575a1a servo: Merge #16253 - Fix handling of baseline (from hiikezoe:baseline-fix); r=Manishearth
<!-- Please describe your changes on the following line: -->
This is a PR of https://bugzilla.mozilla.org/show_bug.cgi?id=1352781

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors

<!-- Either: -->
- [X] There are tests for these changes
There are a bunch of css reftests, but I am not sure how servo handles them. Let's see what happens. I guess I need to modify some metadata.

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 5ef8a0a2f7917792105cf28f6e581a92e863c3dd

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 63f73924ee37856fd9062b9f81581320cc2d71d6
2017-04-03 23:32:13 -05: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
Nicholas Nethercote f91e7e7672 Bug 1351963 (part 9) - Improve SetSampleContext(). r=jseward.
SetSampleContext() sets the TickSample's register fields, and the two callers
of SetSampleContext() set the TickSample's mContext.

This patch changes SetSampleContext() so it sets all the fields in one place.
It also renames SetSampleContext() as FillInSample(), because it sets more than
just the context.

--HG--
extra : rebase_source : 9b9f749fe3de687a7fd32f5c38e2321c2abebfdc
2017-03-31 11:13:28 +11:00
Nicholas Nethercote c29e97d66d Bug 1351963 (part 8) - Simplify PseudoStack ownership. r=jseward.
Currently each live thread has a PseudoStack that is owned by tlsPseudoStack,
and a ThreadInfo that has a non-owning pointer to the same PseudoStack.
Then, if the profile is active when the thread dies, ownership of the
PseudoStack is transferred to the ThreadInfo.

This patch simplifies the ownership rules. Every ThreadInfo now always owns its
PseudoStack and is responsible for destroying it. tlsPseudoStack is a
non-owning pointer, and so must be cleared when a PseudoStack is destroyed.
This simplifies the code in a few places.

--HG--
extra : rebase_source : 1012b6590380091d60eff98b4e0c5b1ba946cc7e
2017-03-31 11:01:50 +11:00
Paolo Amadini bc9668cdff Bug 1346716 - Remove the entry for "mimeTypes.rdf" in the directory service. r=mak
This improves performance because we won't try to fix the permissions of the file every time the nsIHandlerService implementation wants to open it, and makes it easier to access the file path from xpcshell tests.

MozReview-Commit-ID: DZmLa92qUnZ

--HG--
extra : source : bd0fdce03cc7442079e96318d3a9b519a4d403a9
2017-03-30 15:51:18 +01: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
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
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
Patrick Brosset bcf9b2f668 Bug 1338582 - New devtools highlighter for signaling paused state; r=jlast
This adds a new highlighter to our collection of highlighters.
This one is a simple overlay on top of the page and a message at the
top.
It will be used by the debugger to signal to users that script execution
is paused.

In later versions, the message at the top will also contain stepping and
resuming buttons.

MozReview-Commit-ID: JNGWrVjMzkm

--HG--
extra : rebase_source : 2006068b82f808c284aebe9f1f364970bda428c5
2017-04-04 12:03:03 +02:00
Nicholas Nethercote 00f3bc4e23 Bug 1351963 (part 7) - Factor out repeated thread-finding code. r=jseward.
The patch also adds a MOZ_RELEASE_ASSERT in profiler_unregister_thread() for
the case where the ThreadInfo isn't found, which is informative.

--HG--
extra : rebase_source : 11a86914db235e4a60955ff1c9b77d46109af548
2017-03-24 09:24:45 +11:00