Commit Graph

559518 Commits

Author SHA1 Message Date
Daisuke Akatsuka
665aea48f1 Bug 1401128 - Part 2: Modify test to change the way to send mouse event. r=pbro
MozReview-Commit-ID: GOGJjRowa0W

--HG--
extra : rebase_source : 33213759fce9a14d688e06f04fb8256aca57ff22
2017-09-20 22:15:26 +09:00
Daisuke Akatsuka
7ed098832d Bug 1401128 - Part 1: Change the size of time-body. r=pbro
MozReview-Commit-ID: 8kERYFst4Ir

--HG--
extra : rebase_source : 7f480a3e0b9c9379969d823ef4394ecd846e9fa7
2017-09-20 17:39:31 +09:00
Grigory Kruglov
c506f4dc28 Bug 1400742 - Remove per-account in-memory cache r=nalexander
1368147 added reading fxa.account.json into the unbundle() codepath for the cases
when the in-memory cache isn't populated. This surfaced a race condition:
pickling of the fxa.account.json file and running unbundle() (as triggered from various
parts of the UI, or othe SyncStatusObservers) will race, and if unbundle wins, it
will attempt to read a yet-to-be-created fxa.account.json file, and crash.

Fixing the race isn't trivial, but we can avoid it by removing the in-memory cache,
thus avoiding having to read the cache key from the pickled file (uid).

In-memory cache was added in response to caching/invalidation issues of set/getUserData,
see Bug 964854 for the history. The current thinking is that those problems are pre-API16,
which hopefully means that we shouldn't encounter them anymore, and thus can remove the
workaround entirely.

MozReview-Commit-ID: AfL2Jq4IlYT

--HG--
extra : rebase_source : 8bcdd1bc084700694d52bce3a2f1ae536b7fe9e1
2017-09-20 18:21:06 -04:00
Edouard Oger
30ba58e3f2 Bug 1359279 - Renew GCM token/Push registration/FxA Registration on push registration expired. r=Grisha
MozReview-Commit-ID: HFDjBBt9CBA

--HG--
extra : rebase_source : c51c12c66820bd8d9c2a6356163e0166bbf38d2d
2017-08-23 15:41:31 -04:00
Sebastian Hengst
8d0a582563 Backed out changeset 53e599ac1ed7 (bug 1359279) for android linting failure. r=backout 2017-09-21 00:07:06 +02:00
Sebastian Hengst
b98981f4a0 Backed out changeset dff1e1774422 (bug 335545) for failing clipboard mochitest widget/tests/test_bug1123480.xul on Linux x64 asan. r=backout 2017-09-21 00:00:52 +02:00
Sebastian Hengst
83c050d603 Backed out changeset e96494792b66 (bug 335545) 2017-09-20 23:59:57 +02:00
Mike Hommey
4a2740def4 Bug 1401453 - Don't keep libmemory.a separate anymore. r=gps
This was done in bug 736564 for the xulrunner SDK, which later became
the firefox SDK, which is now gone. So we don't actually need to keep it
separate anymore (except for logalloc/replay, which still needs to link
it directly, so we keep the library definition intact so it can be
referenced ; we just don't DIST_INSTALL it anymore, and always make it
linked into mozglue)

--HG--
extra : rebase_source : e4d0627ec907fe0139df5c0b2b9f7d04b43c7c78
2017-09-20 14:23:57 +09:00
Edouard Oger
126bd9114d Bug 1359279 - Renew GCM token/Push registration/FxA Registration on push registration expired. r=Grisha
MozReview-Commit-ID: HFDjBBt9CBA

--HG--
extra : rebase_source : 727caefdd3ad0fcb9383f2098a8651a6124f662f
2017-08-23 15:41:31 -04:00
Chris Manchester
89a09e8d67 Bug 1398897 - Move os includes to computed flags. r=glandium
MozReview-Commit-ID: Ef1wu5fQo7M

--HG--
extra : rebase_source : b5f15b2da47e724790ffee0512b5477059ae1c3a
2017-09-20 12:43:24 -07:00
Chris Manchester
73a827ed43 Bug 1398897 - Move includes associated with CPP_UNIT_TESTS to the CppUnitTests template. r=glandium
MozReview-Commit-ID: DhjnzhAjoyy

--HG--
extra : rebase_source : 75faf6212f3a9913d75ecb223f29ce7e9ac46a1c
2017-09-20 12:43:24 -07:00
Chris Manchester
d3b657984e Bug 1398897 - Move breakpad include munging to moz.build r=glandium
Unfortunately this also needs to be kept in Makefile.in to handle
other consumers of INCLUDES while we transition them.

MozReview-Commit-ID: 9OYlu6Jv1XZ

--HG--
extra : rebase_source : 719200501a93e836a03a64b5e1cd950a8f2e696a
2017-09-20 12:43:24 -07:00
Chris Manchester
c6f31b26d8 Bug 1398897 - Move includes to computed flags. r=glandium
MozReview-Commit-ID: Ec0wZfoV63B

--HG--
extra : rebase_source : c004185b9a9938343efb93920f646afd30b4b01e
2017-09-20 12:43:23 -07:00
Chris Manchester
6de6ad13ab Bug 1398897 - Move defines to computed compile flags. r=glandium
MozReview-Commit-ID: CgQv79dYj7Y

--HG--
extra : rebase_source : 2e95f04d586ccb31bbd68e76b550fe1afcac32ec
2017-05-01 18:13:48 -07:00
Chris Manchester
46abf17fd3 Bug 1398897 - Do not emit compile flags for directories only containing rust libraries. r=glandium
MozReview-Commit-ID: 94PFyi5VQux

--HG--
extra : rebase_source : a3e43e0a212daf72c0c7d2bade3c8b1b479ea44a
2017-09-20 12:43:14 -07:00
Hiroyuki Ikezoe
38a02f3586 Bug 1400926 - Filter out !important property in keyframes for stylo. r=emilio
MozReview-Commit-ID: 76AUpKLVL2n

--HG--
extra : rebase_source : 5cc731b4bf69455bc8b35bba67c86f1c4badb1b8
2017-09-20 17:48:18 +09:00
Blake Kaplan
04b86e2150 Bug 1398393 - Set Servo thread state on cooperative threads. r=billm
By doing this we avoid triggering assertions in the Servo code that ensure
we have registered the thread with Servo and set the proper state on it.

MozReview-Commit-ID: K6qHrYoQDLm

--HG--
extra : rebase_source : d01b0aad42273f6b92b7cfd5f5fe17ffe7b4cda0
2017-09-08 16:50:34 -07:00
Michael Comella
9ff55b4d26 Bug 1401394: Add missing gecko:itemType to non-phone configurations. r=liuche
I don't know the greater context of this code and if this will cause any problems: I'm just following the patterns in Android menus to fix this code.

:aswan is expected to test this patch for me (or provide me steps to test
whether or not it's working correctly).

MozReview-Commit-ID: 9WrqUokwmXT

--HG--
extra : rebase_source : f79940d29d68989efc6ad5e3ccd5ab5590933938
2017-09-19 16:10:14 -07:00
Rob Wu
b53439701a Bug 335545 - Store clipboard data in memory XOR file r=mstange
Ensure that only DataStruct::mData + mDataLen, XOR
DataStruct::mCacheFD is used.
(Previously it was possible that all of these members were populated,
 which is a waste of memory.)

The effect of this change is visible when SetTransferData is called
multiple times with the same flavor, but with one below the threshold
for storing in-memory, and the other above (=store in a file).

MozReview-Commit-ID: 4UlkKAYsjf

--HG--
extra : rebase_source : c9a5a7a3f5a6f3e6ab1bfb8662372cbbac837a00
2017-09-03 03:21:45 +02:00
Rob Wu
ecc04a9245 Bug 335545 - Use nsAnonymousTemporaryFile for clipboard cache r=mstange
The cache file is never directly exposed to consumers of DataStruct,
so it does not make sense to keep the clipboardcache file around
forever.

The only change in this commit is to switch from using a filename to
using a file descriptor. In the destructor, the FD is explicitly closed
(which releases the file data).  nsAnonymousTemporaryFile takes care
of removing the file when the destructor is not called (e.g. crashes).

Previously, the clipboard cache was stored in a file called:
TmpD/clipboardcache-N

As of this commit, the clipboard cache is stored at:
TmpD/mozilla-temp-randomN (macOS and Linux)
TmpD/mozilla-temp-files/mozilla-temp-randomN (Windows)
(see xpcom/io/nsAnonymousTemporaryFile.{h,cpp} for more details)

To verify that these files are really gone:
1. Create a document with 500k+ characters, open it in Firefox.
2. Copy its content - this will trigger the clipboard cache.
3. Look for the open file descriptor of the deleted file:
   ( macOS and Linux: )
   lsof +L1 | grep mozilla-temp
4. Copy anything (under the 500k threshold), or quit/kill Firefox.
5. Repeat step 3 and observe that the number of file descriptors
   has decreased.

MozReview-Commit-ID: 85GlKQrNUl5

--HG--
extra : rebase_source : eb05c1d4600f62373aa1b7e472154b57b99e6bf8
2017-09-03 02:29:10 +02:00
Blake Kaplan
c1ce54a82a Bug 1401412 - Destroy this singleton during XPCOM shutdown. r=smaug
Unfortunately, this needed some additional trickery in order to keep its
constructor "private". I stole this trick from [1]. With this patch, we tear
down the statistics object during XPCOM shutdown intead of after it. I don't
believe that we need the object to live past the ClearOnShutdown destructors.

[1] http://rienajouter.blogspot.com/2014/10/makeshared-and-makeunique-for-classes.html

MozReview-Commit-ID: JsiN6Bq9Yp4

--HG--
extra : rebase_source : dd26c8e6906a6c9fd500c28379f8c63fd7c3ad6a
2017-09-19 17:38:05 -07:00
Kartikaya Gupta
3601b519a6 Bug 1399505 - Generate WR sticky frames from nsDisplayStickyPosition display items. r=mstange
MozReview-Commit-ID: 4eKZRitTDqu

--HG--
extra : rebase_source : b72e0fcbf3e0de36c314604a3643cfba211fa9c8
2017-09-20 16:00:15 -04:00
Kartikaya Gupta
efbf9b6c42 Bug 1399505 - Expose the API to add sticky frames to the WR display list. r=mstange
MozReview-Commit-ID: Dunn5AeTJiw

--HG--
extra : rebase_source : a9da341d3da273982e74e182eaa961ba9567e284
2017-09-20 16:00:07 -04:00
Alan Jeffrey
a4f95fc4f9 servo: Merge #18578 - Window should own Location, Document shouldn't (from asajeffrey:script-window-owns-location); r=KiChjang
<!-- Please describe your changes on the following line: -->

Document shouldn't own location, Window should.

---
<!-- 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
- [X] These changes fix #18438
- [X] These changes do not require tests because it's an intermittent

<!-- 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: 6a791cd7f26b42a6688099bea203c21fb3c9cc12

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 275ce0ac177aff6c59f8b4959f79259031dbbdde
2017-09-20 14:38:31 -05:00
Mehdi Soleimannejad
3c971f45bd Bug 1401336 - Make user-initiated syncs ignore account sync settings. r=Grisha Kruglov
MozReview-Commit-ID: JkMQb5f0yVM

--HG--
extra : rebase_source : 16138f45ebb7d2b209bd10dbfee696f66387a747
2017-09-20 17:03:14 +04:30
Justin Wood
e05b3b286b Bug 1401546 - Flip windows spidermonkey jobs in taskcluster to tier 1. r=sfink
MozReview-Commit-ID: Ejcb0P5moju

--HG--
extra : rebase_source : 9a59cb6e4e333af95bd0311c36d4f0f132b3842b
2017-09-20 10:09:27 -04:00
Ed Lee
94e1a5a468 Bug 1401683 - Add section deduping, about:home telemetry and bug fixes to Activity Stream. r=k88hudson
MozReview-Commit-ID: FYICIp1oVNf

--HG--
extra : rebase_source : 888f7d68a60ace3368875121d8976489ac337b58
2017-09-20 12:45:26 -07:00
Hiroyuki Ikezoe
824e1b0103 servo: Merge #18572 - Handle !important in keyframe (from hiikezoe:immportant-in-keyframe); r=emilio
<!-- Please describe your changes on the following line: -->
https://bugzilla.mozilla.org/show_bug.cgi?id=1400926

---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors

Source-Repo: https://github.com/servo/servo
Source-Revision: 46ae11b5d03a4935f5a8594269ea14ae2594c2c2

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : e949cf5aa256f95cd502bbcae9c59ad8c8c6bbe0
2017-09-20 13:40:12 -05:00
Tom Tromey
916228aee7 Bug 1399911 - preserve sourceURL comment directive on style sheets; r=bz,heycam
In addition to the sourceMappingURL comment, there is a second special
comment, "sourceURL", that can be used to set the "display name" of a
style sheet for developer tools.  This name is also used as the base
URL for the source-map URL resolution algorithm.  sourceURL is
described here:
https://blog.getfirebug.com/2009/08/11/give-your-eval-a-name-with-sourceurl/

This patch changes Firefox to record this URL, if specified, and to
expose it (chrome-only) vai StyleSheet.webidl.

MozReview-Commit-ID: 7NwXsOf7nbY

--HG--
extra : rebase_source : bd5d25b4d44f5f220a4624db346edbc4236c9886
2017-09-14 14:59:32 -06:00
Kearwood "Kip" Gilbert
fcc8fcf709 Bug 1381085 - Submit VR frames with a separate ID3DDeviceContextState r=daoshengmu
- Using a separate ID3DDeviceContextState ensures
  that the WebVR context does not stomp over the
  mirrored state used by the MLGPU "Advanced" Layers rendering.
MozReview-Commit-ID: 99mfdsjFrMI

--HG--
extra : rebase_source : fdcdcb55185048cfb54163f51aca70409a1aa74a
2017-09-18 16:19:49 -07:00
Kartikaya Gupta
46bcf3cd76 Bug 1401651 - Remove obsolete documentation entries. r=cpeterson
MozReview-Commit-ID: FNmqm8cjj15

--HG--
extra : rebase_source : eeb00e7c8a55533a859dd9344091db1993398360
2017-09-20 14:07:43 -04:00
Sebastian Hengst
08c8cf46c2 Backed out changeset 6aa63fcf5c4e (bug 1373853) for leaking preferences windows, e.g. after browser-chrome's browser/base/content/test/general/browser_bug735471.js ran. r=backout 2017-09-20 21:14:28 +02:00
Chenxia Liu
98f23ad6d6 Bug 1400950 - Don't draw divider above Highlights title. r=mcomella
MozReview-Commit-ID: GHXKAhlbc7I

--HG--
extra : rebase_source : 9b8e997d059b4d693772255c8cb60694e911e05b
2017-09-19 18:38:16 -07:00
Chenxia Liu
eaf14db612 Bug 1400950 - Update AS panel color. r=mcomella
MozReview-Commit-ID: C290c5OsmzE

--HG--
extra : rebase_source : 3ad780f0a2418560ce4a18ce4ef7686181811dfa
2017-09-19 18:21:33 -07:00
Chenxia Liu
47171b5bc9 Bug 1400950 - Update title font size and spacing. r=mcomella
MozReview-Commit-ID: Ajd5fhI0Y0y

--HG--
extra : rebase_source : b72cd2342bc77705de134601400b9bc188a169cf
2017-09-19 18:10:50 -07:00
Chenxia Liu
62d267f0c0 Bug 1400950 - Update string for "MORE" link to be caps. r=mcomella
MozReview-Commit-ID: 6y7GzH4IAU7

--HG--
extra : rebase_source : 306b2b0e13bf92519d1bb5c43137a9d629461b88
2017-09-19 18:05:56 -07:00
Sebastian Hengst
44b3c4e92b Backed out changeset 6de16b8f63dc (bug 1388832) for failing browser-chrome's browser/components/customizableui/test/browser_customization_context_menus.js. r=backout 2017-09-20 20:45:48 +02:00
Chenxia Liu
6a2a97d0b6 Bug 1395792 - Hide Highlights empty state when Highlights are disabled. r=mcomella
MozReview-Commit-ID: FMFTAFuWLqh

--HG--
extra : rebase_source : 5011e07a5f604cd57f4708b4fff064308b558b7b
2017-09-19 17:49:41 -07:00
Chenxia Liu
5cf8c4a394 Bug 1395792 - Destroy loaders on reload. r=mcomella
MozReview-Commit-ID: GccHdTISpky

--HG--
extra : rebase_source : 32a3d812a54347aef40106cff395f5dc0731c3dc
2017-09-18 20:17:25 -07:00
Chenxia Liu
f199571a85 Bug 1395792 - Add show/hide to onBindVH. r=mcomella
MozReview-Commit-ID: H4bAlcaVCld

--HG--
extra : rebase_source : 5dbdec18a8a47ca1967a3d43ec63b1a7516cab30
2017-09-18 19:55:41 -07:00
Chenxia Liu
012efb3acd Bug 1395792 - Add listener for AS SharedPreferences. r=mcomella
MozReview-Commit-ID: 9bW9bYjVyhr

--HG--
extra : rebase_source : 45224c9108d552cac15d56d55b0516a60e72b6b4
2017-09-18 19:39:59 -07:00
Doug Thayer
0eeafd86b0 Bug 1401223 - Flip badged menu icon direction under rtl r=Gijs
When it's badged, the icon is no longer symmetrical.

MozReview-Commit-ID: 2dNHiixAqdm

--HG--
extra : rebase_source : 6f7e9b1a65fc8f9cffe57d6551ede2619ec333f4
2017-09-20 09:03:23 -07:00
Mark Striemer
bdbd53ce06 Bug 1373853 - Show extension that is controlling the new tab in preferences r=jaws
MozReview-Commit-ID: GycnWgmr9kJ

--HG--
extra : rebase_source : db0affd093926bf9631ff2bfd5dac88f74aa5083
2017-09-15 21:07:24 -05:00
Jan Henning
eb5c7a173a Bug 1401279 - Ensure that the menu itself is initialised as well when returning the menu panel. r=nechen
MozReview-Commit-ID: 9FI7ebPJ16a

--HG--
extra : rebase_source : ee5a256e762d7b0b7dfaacc62011b416bb322955
2017-09-19 21:45:58 +02:00
Dustin J. Mitchell
3dd5e9419e Bug 1401183: raise KeyError from list_artifacts when none is found; r=glandium
MozReview-Commit-ID: TqON8joEd6

--HG--
extra : rebase_source : c075a609ac5d0a0ecc91997922e98fde537f9822
extra : source : 19b510af2b7a6fe8b71f55fbb3d51d0a7696b54c
2017-09-14 23:30:58 +00:00
Chris Manchester
8d2edd28b1 Bug 1373395 - Upload chrome-map.json during code coverage builds. r=mshal
MozReview-Commit-ID: 37UxsMQoB7q

--HG--
extra : rebase_source : ee9e07f3e3809e8af1cd524a8e425e466b2039b6
2017-09-20 10:55:14 -07:00
Jan Henning
3e471df8fa Bug 1400544 - Include full host name in site identity popup. r=liuche
MozReview-Commit-ID: FFojx008ZWK

--HG--
extra : rebase_source : 74699ba06e84732aa5e14bdcacca3568c2674ed2
2017-09-16 14:28:17 +02:00
Jan Henning
78e7a75171 Bug 1391421 - Part 9 - Add a basic Robocop test for IDN domain support. r=gbrown
MozReview-Commit-ID: HAT9Imh9YVf

--HG--
extra : rebase_source : c29f9cf4c62377896081644006692f395a6755ec
2017-09-15 23:29:01 +02:00
Jan Henning
6cddaccbac Bug 1391421 - Part 8 - Fix site identity handling. r=jwu
"getEffectiveHost" further down expects the URI to be available - apparently this was broken ever since the original implementation.

MozReview-Commit-ID: C1Q6PBYcvk3

--HG--
extra : rebase_source : 5e71c300261ba9cbaff7e006ce22637c29596680
2017-09-15 20:43:40 +02:00
Jan Henning
18b4ca79db Bug 1391421 - Part 7 - Switch addon/theme install prompts to Unicode domains. r=jwu
MozReview-Commit-ID: HlQKTJRu0FT

--HG--
extra : rebase_source : 80cda7b048e6b45cba4867538cc00ad6b83db4e7
2017-09-15 20:38:08 +02:00