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

528857 Коммитов

Автор SHA1 Сообщение Дата
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
Nicholas Nethercote 28cde67779 Bug 1351963 (part 6) - Remove ThreadInfo from TickSample. r=jseward.
This avoids the need for the fake ThreadInfo in profiler_get_backtrace(). It
requires adding a few extra fields to TickSample.

--HG--
extra : rebase_source : c28e5493edc7db96a7160e78b297ae09dc05ca7c
2017-03-31 10:49:36 +11:00
Nicholas Nethercote f76f4f4892 Bug 1351963 (part 5) - Improve TickSample. r=jseward.
This patch does the following.

- Splits TickSample's constructor in two, one for the periodic sample case, and
  one for the synchronous sample case, and initializes more stuff in them. (The
  two constructors aren't that different right now, but they will become more
  different when I remove TickSample::mThreadInfo.)

- Makes all the constructor-filled fields in TickSample |const|.

- Reorders the fields so that the constructor-filled ones are before the ones
  that get filled in later.

- Omits mContext on Mac via conditional compilation, to make the omission
  clearer.

--HG--
extra : rebase_source : f3e392c4cf777df5b9f39577af82615890137018
2017-03-31 10:35:54 +11:00
Nicholas Nethercote 25993378b9 Bug 1351963 (part 4) - Make the LastSample argument to addTagThreadId optional. r=jseward.
LastSample only makes sense for periodic samples, which are written to the
global ProfileBuffer. It doesn't make sense for synchronous samples which are
written to their own unshared buffer. At the moment it doesn't hurt to use
them in this nonsensical way, but the ThreadInfo profiler_get_backtrace()
will be removed soon, and we won't even have a LastSample to use nonsensically.

So this patch makes the LastSample argument to addTagThreadId() optional. Which
means we have to pass in a ThreadId, so there's no longer much point
duplicating the ThreadId in LastSample, so the patch removes that field too.
This avoids the possibility of the duplicate ThreadId failing to match, which
is nice.

--HG--
extra : rebase_source : dad76ff8b33663398e6f45f85da500b0fd7a598f
2017-03-31 10:13:13 +11:00
Timothy Nikkel 3f354b21bf Bug 1352074. Remove high precision timer mode from refresh driver because it is not needed with vsync based refresh drivers. r=mchang
Bug 731974 added this code to get more accurate timer callbacks back when the refresh driver was based on timers. It shouldn't be needed anymore now that the refresh driver is based on vsync.
2017-04-04 00:14:28 -05:00
Bill McCloskey 48196dd880 Bug 1349699 - Assert that the Chromium channel is closed when MessageLoop is destroyed (r=dvander)
MozReview-Commit-ID: I7HyjVanlxJ
2017-04-03 21:54:49 -07:00
Bill McCloskey 754aae1913 Bug 1349699 - Assert when destroying a MessageLoop that a live MessageChannel is attached to (r=dvander)
MozReview-Commit-ID: GGr5UqJl3ui
2017-04-03 21:54:19 -07:00
Phil Ringnalda 884bc64271 Backed out 3 changesets (bug 1349699) for Android mozilla::ipc::MessageChannel::WillDestroyCurrentMessageLoop crashes
Backed out changeset 8a50c2d76afc (bug 1349699)
Backed out changeset 3b9eadd61e26 (bug 1349699)
Backed out changeset 16e000b3fe0c (bug 1349699)
2017-04-03 21:07:49 -07:00
L. David Baron 24c39a87ef Bug 1353187 - Guard access to the frame property table with a frame state bit. r=dholbert
This protects all accesses to the frame property table with a bit stored
on the frame.  This means we avoid hashtable operations when asking
about frame properties on frames that have no properties.

The changes to RestyleManager, and the new HasSkippingBitCheck API, are
needed because RestyleManager depended on being able to ask for
properties on a deleted frame (knowing that the property in question
could not have been set on any new frames since the deleted frame was
destroyed), in order to use the destruction of the properties that
happens at frame destruction as a mechanism for learning that the frame
was destroyed.  The changes there preserve the use of that mechanism,
although it becomes a bit uglier.  The ugliness is well-deserved.

MozReview-Commit-ID: BScmDUlWq65

--HG--
extra : transplant_source : %95%A2%9B%A1M%1F%86%A8%E0%FF%7B%E4%83%24%83%16%BE%FA%08T
2017-04-03 20:43:31 -07:00