Commit Graph

41386 Commits

Author SHA1 Message Date
Kris Maglione
bc26955f41 Bug 1356546: Part 4 - Use StructuredCloneHolder as transport for proxied method return values. r=aswan
MozReview-Commit-ID: LZ3XkamgkeF

--HG--
extra : rebase_source : 7887bde7e424b35de18ad069161a984c556cc659
2017-06-04 20:39:28 -07:00
Chris H-C
ffd3df761f bug 1364502 - Allow GHOST_WINDOWS to be recorded opt-out data-r=bsmedberg r=bsmedberg,mccr8
GHOST_WINDOWS will be used to satisfy Quantum release criteria. As such, we
need release-channel collection.

Near as I can tell the memory manager works just as well in Release as in
pre-release, so this should be all that's necessary.

MozReview-Commit-ID: 1iLJhlgKoVQ

--HG--
extra : rebase_source : f5ae38b0693734c03278c1c0dde9e3b835d6a4b9
2017-05-19 16:05:46 -04:00
Dan Banner
7157055886 Bug 1348358 - Remove unused chrome://global/skin/arrow.css and cleanup chrome://global/skin/arrow/ r=dao
MozReview-Commit-ID: Dwg7gO7mTyA

--HG--
rename : toolkit/themes/windows/global/arrow/arrow-dn-hov.gif => toolkit/themes/linux/global/arrow/arrow-dn-hov.gif
rename : toolkit/themes/windows/global/arrow/arrow-up-hov.gif => toolkit/themes/linux/global/arrow/arrow-up-hov.gif
extra : rebase_source : 04810e5fabc91278c64e0c6af289fc11d45cb404
2017-05-23 16:51:11 +01:00
Alex Gaynor
8d4c861219 Bug 1363760 - Part 2 - Corrected the permission that is reset at the end of a test r=aswan
Without this change, browser_update.js "resets" a preference that it never
changed to a different value, which leaks through to future tests. This was
introduced in a8fcca075fde, and appears to be a simple mistake since that change
removes a setup/teardown pref change pair, but the prefs it changes are two
different ones!

This leaked pref change leads to test failures when special powers and mochitest
are installed as non-temporary addons.

MozReview-Commit-ID: 2jx3fB1iZMx

--HG--
extra : rebase_source : 35394dda16814d80116854bd40c00c95f30d34e2
2017-05-30 10:08:55 -04:00
Ryan VanderMeulen
3e5c098bdc Merge graphics to m-c. a=merge 2017-06-01 12:44:14 -04:00
Ryan VanderMeulen
a185080885 Merge inbound to m-c. a=merge 2017-06-01 11:54:38 -04:00
Kartikaya Gupta
f7afb5a21c Merge m-c to graphics, a=merge
MozReview-Commit-ID: COZj8Itgjcz
2017-06-01 09:56:23 -04:00
Kartikaya Gupta
cab614e181 Bug 1367734 - Update webrender to cset a54cc729259588dd1ff52c86d0c62cb2a1767137. r=jrmuizel,jerry
In addition to updating webrender and webrender_traits, this patch:
- bumps the euclid dependency in webrender_bindings to match webrender
- updates the Cargo.lock files and re-vendors third-party rust packages
- updates the push_yuv_image callers due to an API change in WR cset a4b9e25.
2017-06-01 08:57:10 -04:00
Carsten "Tomcat" Book
1a0d9545b9 merge mozilla-inbound to mozilla-central a=merge 2017-05-31 11:28:43 +02:00
Bob Silverberg
b994507ee4 Bug 1364975 - Allow WebExtensions to disable WebRTC, r=aswan
Implement privacy.network.peerConnectionEnabled to allow WebExtensions to enable and disable RTCPeerConnections (aka WebRTC).

MozReview-Commit-ID: 5zGotQNwsko

--HG--
extra : rebase_source : 3543efa9fdbd7689581b3ffd3507cf2b4fee284d
2017-05-24 09:58:43 -04:00
Julian Descottes
9bedf05e44 Bug 1364075 - remove DevTools dependency in ContentProcessSingleton;r=ochameau
MozReview-Commit-ID: 38XKKM37jC5

--HG--
extra : rebase_source : 65b3aced59a7f5ceca35b2941c1ab1c80ac89b2b
2017-05-29 23:36:26 +02:00
Marco Bonardo
dd81367ed0 Bug 1337858 - Replace CopyFavicon in the Docshell with a proper favicons API. r=standard8
MozReview-Commit-ID: 8wjSbj0FTwE

--HG--
extra : rebase_source : 9957affac43f7e04dcd94d2fa9cf2d973cd327de
2017-05-18 16:48:23 +02:00
Tomislav Jovanovic
cac5c016d9 Bug 1367572 - Remove uniquified file when used in combination with saveAs option r=aswan
MozReview-Commit-ID: 4atukwcsZgA

--HG--
extra : rebase_source : da1fc8a15d199b8dff580e1804147a4ed9034f0a
2017-06-06 00:37:41 +02:00
flyingrub
d00da488bb Bug 1368667 - Generalize Subsection Renderer r=chutten
Allow the use of the subsection render not just for the environment data.
It could help future developer to display subsection for another special
ping data. Also it will help with the redesign of the UI.

MozReview-Commit-ID: DHoS7Zw7IyC

--HG--
extra : rebase_source : a6ca4c0218c5b73c4c3e383886c9e94ec3f7f93d
2017-06-01 16:37:33 +02:00
flyingrub
4e76d670ef Bug 1368667 - Remove KeyValueTable as it is similar to GenericTable r=chutten
GenericTable expect an array of array as data where KeyValueTable used to expect an object.
Use explodeObject() to process an object so it can be used by GenericTable.


MozReview-Commit-ID: 6hxxFwF2KXg

--HG--
extra : rebase_source : 29b2636eeea2f980182e5127f1e3f98630188e10
2017-06-01 12:22:21 +02:00
flyingrub
bd9eb516e2 Bug 1368667 - Replace KeyValueTable with GenericTable r=chutten
Both provide the same functionality so we only need to keep one of them.

MozReview-Commit-ID: AOiiRiFr1fD

--HG--
extra : rebase_source : 8e3b8d3f80c320f4a40fa4b5ba383fc323d15806
2017-05-31 16:24:08 +02:00
flyingrub
e9f9c14846 Bug 1368667 - Move Section Specific code to their own objects r=chutten
Most of the sections were already in their own object. This fixes the one that are not.


MozReview-Commit-ID: 92lAtwYwbDl

--HG--
extra : rebase_source : 8f1ad8d7e5fe18958858130bde8eb542782ad61a
2017-05-31 14:38:11 +02:00
flyingrub
3fd946f6aa Bug 1368667 - Refactor General Data r=chutten
Introduce the replacement of KeyValueTable by GenericTable.
Both provide the same feature so we only need one.

MozReview-Commit-ID: AyWKPkrlX64

--HG--
extra : rebase_source : 20547cab0a53f2e122f0cebdcac3eb3f24eedde1
2017-05-30 14:44:49 +02:00
Jessica Jong
3b6eb87bf1 Bug 1366620 - Use unicode-bidi: embed to fix reversed hebrew placeholders. r=gandalf
MozReview-Commit-ID: 1tTkps8a96N

--HG--
extra : rebase_source : 1159a6c3a2f593c9f932fc773e6d3ea3733dd3f3
2017-06-02 10:16:22 +08:00
DimiL
e4d42d14a2 Bug 1359299 - V4 caches in LookupCache need to be copied around in copy constructor. r=hchang
MozReview-Commit-ID: AjzUUmQKiPW

--HG--
extra : rebase_source : 1c30ee5aa3548dce9b861a70660b1e60410f3654
2017-06-06 14:16:57 +08:00
Scott Wu
02084b0b39 Bug 1365489 - Show select element drop down arrow in edit profile dialog. r=MattN
MozReview-Commit-ID: KzkxIyKKcy6

--HG--
extra : rebase_source : 5d211606c99084ca6b13800eab86089c69095c52
2017-05-17 14:25:09 +08:00
Gregory Szorc
612630dd35 Bug 1359965 - Support and generate tar.gz WPT archive; r=glandium
Several years ago there was a single zip file for all test files. Clients
would only extract the files they needed. Thus, zip was a reasonable
archive format because it allowed direct access to members without
having to decompress the entirety of the stream.

We have since split up that monolithic archive into separate,
domain-specific archives. e.g. 1 archive for mochitests and one
for xpcshell tests. This drastically cut down on network I/O
required on testers because they only fetched archives/data that
was relevant. It also enabled parallel generation of test archives,
we shaved dozens of seconds off builds due to compression being
a long pole.

Despite the architectural changes to test archive management, we
still used zip files. This is not ideal because we no longer access
specific files in test archives and thus don't care about single/partial
member access performance.

This commit implements support for generating tar.gz test archives.
And it switches the web-platform archive to a tar.gz file.

The performance implications for archive generation are significant:

before: 48,321,250 bytes; 6.05s
after:  31,844,267 bytes; 4.57s

The size is reduced because we have a single compression context
so data from 1 file can benefit compression in a subsequent file.
CPU usage is reduced because the compressor has to work less with
1 context than it does with N. While I didn't measure it, decompression
performance should also be improved for the same reasons. And of course
network I/O will be reduced.

mozharness consumers use a generic method for handling unarchiving.
This method automagically handles multiple file extensions. So as long
as downstream consumers aren't hard coding ".zip" this change should
"just work."

MozReview-Commit-ID: LQa5MIHLsms

--HG--
extra : rebase_source : 100092c2f2ff609362a724fff60f46dd6e49c94e
extra : intermediate-source : d10f5ccd882b965fcad39914f7c3c930d1301a41
extra : source : a0e257e346ccf3c1db332ec5903241f4eeb9a7ee
2017-05-08 17:19:05 -07:00
milindl
e39cee520c Bug 653816 - returning only nontags for GetBookmarkIdsForURI and fixing consumers, r=mak
Most consumers of `GetBookmarkIdsForURI` already don't need tags, the only
consumer which does (`TaggingService`) has been changed to use a separate
database query.

MozReview-Commit-ID: LabjaA6Q0GF

--HG--
extra : rebase_source : e13dc730a53b5b46ca1766bf896112aa65aa00af
2017-05-30 19:48:17 +05:30
Sean Lee
9dfd0aebc3 Bug 1360370 - Part 2: Support nsIDOMHTMLSelectElement in FormLikeFactory.createFromField.; r=MattN
MozReview-Commit-ID: CHxELtW4wXP

--HG--
extra : rebase_source : d5b6f0888f82844719448223193cdcc95c14b760
2017-05-08 17:39:11 +08:00
DimiL
8729c34142 Bug 1366996 - Fix uninitialized members in nsUrlClassifierInfo. r=francois
This was found by Coverity Scan (CID 1409773, 1409774).

MozReview-Commit-ID: LA7oPMobbie

--HG--
extra : rebase_source : 0ca4245e445f0b0da0073cee7b5ee95c621af75f
2017-05-31 08:52:34 +08:00
Timothy Guan-tin Chien
0d616cb6d0 Bug 1363850, Part III, Set pref to make new about:preferences Nightly only, r=jaws,mconley
MozReview-Commit-ID: Khanjh79tPd

--HG--
extra : rebase_source : 84d197b1b1915d767049bfc0280c070e89c286d1
2017-05-25 18:12:00 +08:00
Kris Maglione
825b6cd689 Bug 1356546: Part 3 - Use StructuredCloneHolder as transport for proxied message listeners. r=aswan
MozReview-Commit-ID: 2YeNuGkmY3k

--HG--
extra : rebase_source : e55e9359ec31e532d72bef3acad0b6c2cc6d9b57
2017-05-06 21:21:37 -07:00
Kris Maglione
600b6a2dff Bug 1356546: Part 2 - Use StructuredCloneHolder as transport for MessageManager messages. r=aswan
MozReview-Commit-ID: 3z1uAAbsgTj

--HG--
extra : rebase_source : 42dd1c12709705b0e6fae996ddc7f8bc56240bb0
2017-06-04 20:46:38 -07:00
Kris Maglione
0cd3e0a862 Bug 1368189: Move more code out of ExtensionUtils.jsm. r=mixedpuppy
Also removes some dead code.

A lot of the code in ExtensionUtils.jsm is not needed in all processes, and a
lot of the rest isn't needed until extension code runs. Most of it winds up
being loaded into all processes way earlier than necessary.

MozReview-Commit-ID: CMRjCPOjRF2

--HG--
extra : rebase_source : 37718eaf05a22b8ccb95f633cf7454bd7975cdce
2017-05-26 15:44:41 -07:00
Carsten "Tomcat" Book
5265c65f9e Backed out changeset f54fca58d189 (bug 1300996) for eslint failure in own test 2017-06-07 11:46:36 +02:00
Wes Kocher
7faba1c580 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 81kvO3JCHf0
2017-06-05 17:43:44 -07:00
Gerald Squelart
41b2a8ff81 Bug 1369538 - Telemetry MEDIACACHESTREAM_LENGTH_KB - r=cpearce,francois
Capture each media stream's length (as provided, otherwise as actually
downloaded), to gauge whether keeping media in memory would have a significant
impact.

MozReview-Commit-ID: 4yUQrbgLcGG

--HG--
extra : rebase_source : bed0ea1d58f864463926478b0f8ea59e7084c4af
2017-06-02 10:43:45 +12:00
Masatoshi Kimura
e6640b566c Bug 1370061 - turn off more warnings in crashreporter code. r=ted.mielczarek
MozReview-Commit-ID: CfOXtWThTU1

--HG--
extra : rebase_source : e0e536d45a9a800333e0d8ff2cff993f39e6bdcd
2017-06-04 17:38:14 +09:00
Servo VCS Sync
dc7a500df8 No bug - Revendor rust dependencies 2017-06-05 20:38:53 +00:00
Sean Lee
b307c24f00 Bug 1349490 - Part 2: Use a set of regexp to recognize the input autofill type.; r=MattN
MozReview-Commit-ID: B6ypdjBxlIV

--HG--
extra : rebase_source : 15b581c4d773c0f9f7fa339db143aef306a10f98
2017-04-28 17:14:15 -07:00
Tomislav Jovanovic
fdcf0c075f Bug 1333403 - Part 3: Fix using browser.menus from multiple contexts r=kmag
MozReview-Commit-ID: XlP72cr0VT

--HG--
extra : rebase_source : bbd135dfbc9531f33b732617c81ac86bbb7a6f45
2017-04-25 23:51:26 +02:00
Tomislav Jovanovic
fc1fbb5770 Bug 1333403 - Part 2: Implement browser.menus as alias for contextMenus r=kmag
MozReview-Commit-ID: JPaKsOyavDb

--HG--
rename : browser/components/extensions/ext-c-contextMenus.js => browser/components/extensions/ext-c-menus.js
rename : browser/components/extensions/ext-contextMenus.js => browser/components/extensions/ext-menus.js
rename : browser/components/extensions/schemas/context_menus.json => browser/components/extensions/schemas/menus.json
rename : browser/components/extensions/schemas/context_menus_internal.json => browser/components/extensions/schemas/menus_internal.json
rename : browser/components/extensions/test/browser/browser_ext_contextMenus_chrome.js => browser/components/extensions/test/browser/browser_ext_menus.js
extra : rebase_source : cfdc20e9bbec7fb93d7055925d9b3037d3ea1501
2017-06-10 16:43:20 +02:00
Tomislav Jovanovic
a66827ba70 Bug 1333403 - Part 1: Implement $import keyword for schema namespaces r=kmag
MozReview-Commit-ID: 5CYsQa3b05C

--HG--
extra : rebase_source : dc804509a2fa9b526657c09d79403ec2c73db618
2017-06-07 16:44:19 +02:00
Sebastian Hengst
f572cdea68 Backed out changeset 37b0fcb54cba (bug 1333403) for eslint failure: browser/components/extensions/ext-c-menus.js:158:24 | 'SingletonEventManager' is not defined. r=backout 2017-06-10 16:07:23 +02:00
Sebastian Hengst
7f39e1a3f2 Backed out changeset cfc47df74537 (bug 1333403)
--HG--
rename : browser/components/extensions/ext-c-menus.js => browser/components/extensions/ext-c-contextMenus.js
rename : browser/components/extensions/ext-menus.js => browser/components/extensions/ext-contextMenus.js
rename : browser/components/extensions/schemas/menus.json => browser/components/extensions/schemas/context_menus.json
rename : browser/components/extensions/schemas/menus_internal.json => browser/components/extensions/schemas/context_menus_internal.json
rename : browser/components/extensions/test/browser/browser_ext_menus.js => browser/components/extensions/test/browser/browser_ext_contextMenus_chrome.js
2017-06-10 16:06:44 +02:00
Sebastian Hengst
ddda5460bc Backed out changeset d842c744941e (bug 1333403) 2017-06-10 16:06:12 +02:00
Tomislav Jovanovic
05b61a9cc0 Bug 1333403 - Part 3: Fix using browser.menus from multiple contexts r=kmag
MozReview-Commit-ID: XlP72cr0VT

--HG--
extra : rebase_source : fb2ad1fe054aaedeecb7006aef62cb442d4899ab
2017-04-25 23:51:26 +02:00
Tomislav Jovanovic
2e019f4e0b Bug 1333403 - Part 2: Implement browser.menus as alias for contextMenus r=kmag
MozReview-Commit-ID: JPaKsOyavDb

--HG--
rename : browser/components/extensions/ext-c-contextMenus.js => browser/components/extensions/ext-c-menus.js
rename : browser/components/extensions/ext-contextMenus.js => browser/components/extensions/ext-menus.js
rename : browser/components/extensions/schemas/context_menus.json => browser/components/extensions/schemas/menus.json
rename : browser/components/extensions/schemas/context_menus_internal.json => browser/components/extensions/schemas/menus_internal.json
rename : browser/components/extensions/test/browser/browser_ext_contextMenus_chrome.js => browser/components/extensions/test/browser/browser_ext_menus.js
extra : rebase_source : 8de33b11034ee159567ae43b998b700e94730081
2017-06-06 23:25:06 +02:00
Tomislav Jovanovic
02921511df Bug 1333403 - Part 1: Implement $import keyword for schema namespaces r=kmag
MozReview-Commit-ID: 5CYsQa3b05C

--HG--
extra : rebase_source : 8a70876e63826861ca8df2d32c9d7915111c9e10
2017-06-07 16:44:19 +02:00
Sebastian Hengst
ca50200961 Backed out changeset fe04c0fec69b (bug 1369782) for eslint failure at toolkit/components/extensions/test/mochitest/test_chrome_ext_downloads_open.html:60. r=backout 2017-06-10 14:46:38 +02:00
Marco Bonardo
2710c1ba7f Bug 1370518 - Don't completely detach/attach the autocomplete controller on TabSelect. r=mconley
Due to recent changes to tabbrowser focus behavior, now the "focus" event to the location bar
happens before the "TabSelect" event. On "focus" we would like to open the location bar popup,
but detaching the controller would immediately close it. Thus we don't want "TabSelect" to
detach the controller just to reset its internal state. Moreover, this should be cheaper.

MozReview-Commit-ID: 5NZ1TTI9NFW

--HG--
extra : rebase_source : 48e5e755c304f3963f328da06ca300e98304f38d
2017-06-06 18:47:19 +02:00
Scott Wu
383df7ce58 Bug 1370671 - DateTimeFormat timeZone set to UTC to show correct year-month header for datepicker. r=mconley
The datepicker is showing incorrect year-month header in some time zones, which
is similar to Bug 1331608. It's now fixed by setting the DateTimeFormat timeZone
to UTC. Also done the same thing to the year display for consistency.

MozReview-Commit-ID: LGghmPfYQ5j

--HG--
extra : rebase_source : f1b512d36f46e1f77537d2a5371f45dec72b625e
2017-06-07 20:04:44 -07:00
Mark Striemer
0da40ec53c Bug 1365079 - Make legacy badge in about:addons more legible r=rhelmer
MozReview-Commit-ID: igicf4I5lW

--HG--
extra : rebase_source : 5d729af2514d00f8fb2aa950e869b475d9f9a92f
2017-06-02 19:34:28 -05:00
Mark Striemer
1c13943010 Bug 1369782 - Require user interaction for downloads.open() r=aswan
MozReview-Commit-ID: 9RkIOfZEfnf

--HG--
extra : rebase_source : c37cc0bf644f18c65580d7bed6c19533439e6b50
2017-06-02 18:34:08 -05:00
Mark Striemer
f69d99cef4 Bug 1369771 - Confirm launch of executables other than .exe on Windows r=Paolo
MozReview-Commit-ID: 2TbLbdMc3d3

--HG--
extra : rebase_source : 9380ca04af2d9a9dbf1bedba558231897ed9ff4f
2017-05-29 16:38:54 -05:00
Ryan VanderMeulen
fbad48acb5 Merge m-c to autoland. a=merge 2017-05-30 20:47:52 -04:00
Ryan VanderMeulen
df47cd92cd Merge inbound to m-c. a=merge 2017-05-30 20:36:44 -04:00
Chris Manchester
33d56758d3 Bug 1367852 - Fix symbol dumping for gtest xul.dll r=ted
A pdb file name that differs from a dll file name prevents us from dumping
symbols for the gtest xul on Windows. This name differed to accommodate
fix_stack_using_bpsyms.py failing in the presence of two xul.sym files, which
has since been fixed.

MozReview-Commit-ID: I5pA5HjMeRe

--HG--
extra : rebase_source : 7f683687de5f5541a67df8a0f3b4ea65d65f2ac6
2017-05-30 12:11:32 -07:00
Ryan VanderMeulen
da959ef9a4 Backed out changeset 9bda0f33f7b5 (bug 1368208) for 508816-1-ref.xul failures. 2017-05-30 16:20:03 -04:00
Ryan VanderMeulen
1c7a54d579 Merge m-c to autoland. a=merge 2017-05-30 16:10:23 -04:00
Ryan VanderMeulen
bd262b8cd1 Merge inbound to m-c. a=merge 2017-05-30 16:09:14 -04:00
Ryan VanderMeulen
af691573d4 Merge m-c to autoland. a=merge 2017-05-30 12:59:41 -04:00
Ryan VanderMeulen
9289913a09 Merge inbound to m-c. a=merge 2017-05-30 12:39:46 -04:00
Ryan VanderMeulen
2af91f1c45 Backed out 4 changesets (bug 1357490) for causing frequent xpcshell timeouts.
Backed out changeset 916250167bc8
Backed out changeset c2a286511a6c
Backed out changeset 9cc319bef82d
Backed out changeset 29443725aebb

--HG--
extra : histedit_source : 76915ec4b96c97ee6bd4896769158490442aedce%2C0face0f9fe6eb85dd4ba8b3603bf948e0ce99d7f
2017-05-30 12:36:43 -04:00
Carsten "Tomcat" Book
b318c7dca7 merge mozilla-inbound to mozilla-central + UPGRADE_NSS_RELEASE a=merge
--HG--
rename : toolkit/components/extensions/test/xpcshell/xpcshell.ini => toolkit/components/extensions/test/xpcshell/xpcshell-common.ini
extra : amend_source : 458fd54fe8070ca3034ac441267ff7025adb5251
2017-05-30 11:37:46 +02:00
Kris Maglione
a176402b70 Bug 1365660: Part 5b - Enable compositing for popups with remote content on Windows. r=bas
MozReview-Commit-ID: GzpCBUnVkdY

--HG--
extra : rebase_source : bc2a6459e64847b0153e09e392173bac00d97b4e
2017-05-29 14:58:48 -07:00
Kris Maglione
da2d5fecbf Bug 1357490: Follow-up: Really disable OOP xpcshell tests on OS-X.
MozReview-Commit-ID: KpQJ7kxjIjL
2017-05-29 22:01:00 -07:00
Markus Stange
482d9344e2 Bug 1367591 - Process gDelayedAnnotations on Windows and Mac as well, not just on Linux. r=jdm
MozReview-Commit-ID: LQrU8NTdj7V

--HG--
extra : rebase_source : 61b49accf70bac556f3e8a813e985ae71bd25b48
2017-05-28 22:30:22 -04:00
Benjamin Smedberg
dd4d4daa0a Bug 1368060 - Prefs and telemetry for hidden-plugin infobars. This patch does not change any defaults, but provides options which we'll test via A/B testing and telemetry to measure success. r=mconley data-r=rweiss
MozReview-Commit-ID: 7QP1nsB2jtw

--HG--
extra : rebase_source : 255803cabc3fdbd384d8713152a73b72f4545e50
2017-05-26 13:09:42 -04:00
Gabriele Svelto
4db26cd069 Bug 1364673 - Hide the mouse throbber when running the pingsender on Windows; r=Dexter
This patch uses the functionality introduced in bug 1366711 to launch the
pingsender without showing its console window nor a mouse throbber. This also
reverts the pingsender into a console application.

MozReview-Commit-ID: BTcqAkR9UKB

--HG--
extra : rebase_source : bf982d54a5a82c660ab980025498a624730520bf
2017-05-29 15:28:36 +02:00
Kris Maglione
357f0eefb9 Bug 1357490: Part 1: Run toolkit xpcshell tests in both in-process and OOP modes. r=aswan
MozReview-Commit-ID: 7YYO8ldupn3

--HG--
rename : toolkit/components/extensions/test/xpcshell/head_remote.js => toolkit/components/extensions/test/xpcshell/head_e10s.js
rename : toolkit/components/extensions/test/xpcshell/xpcshell.ini => toolkit/components/extensions/test/xpcshell/xpcshell-common.ini
rename : toolkit/components/extensions/test/xpcshell/xpcshell-remote.ini => toolkit/components/extensions/test/xpcshell/xpcshell-e10s.ini
extra : source : 33f6f0354aded142e7a41d5a6209d0d95c4c7521
extra : absorb_source : e8c14432bfe17b5d4767e14eadbbb408df4dd664
2017-05-29 14:09:36 -07:00
Phil Ringnalda
1c31cbe46c Backed out 2 changesets (bug 1357490) for promise chain failed to handle a rejection QI failures
CLOSED TREE

Backed out changeset 3737f31a7ec3 (bug 1357490)
Backed out changeset 33f6f0354ade (bug 1357490)

MozReview-Commit-ID: 2Q4bUrnntlZ
2017-05-29 16:34:00 -07:00
Kris Maglione
3a2fc75838 Bug 1357490: Part 1: Run toolkit xpcshell tests in both in-process and OOP modes. r=aswan
MozReview-Commit-ID: 7YYO8ldupn3

--HG--
rename : toolkit/components/extensions/test/xpcshell/head_remote.js => toolkit/components/extensions/test/xpcshell/head_e10s.js
rename : toolkit/components/extensions/test/xpcshell/xpcshell.ini => toolkit/components/extensions/test/xpcshell/xpcshell-common.ini
rename : toolkit/components/extensions/test/xpcshell/xpcshell-remote.ini => toolkit/components/extensions/test/xpcshell/xpcshell-e10s.ini
extra : rebase_source : 05fb233ac80a170d53888fe473a3135c22f95f13
extra : histedit_source : 4a655b3f582ea090a46584ae38119202d037de0f%2Cfcde51f55e5a3e1aed13c85051fdc6fe004e0ff1
2017-05-29 14:09:36 -07:00
Jonathan Kew
30cba7385b Bug 1365278 - Remove WORD_CACHE_* telemetry probes that provide little value for their cost. r=milan 2017-05-29 16:19:36 +01:00
Paavini
19e44237f2 Bug 1333624 - AutoTimer now asserts on empty histogram key names. r=billm 2017-05-25 05:43:00 +02:00
Kris Maglione
fe139bbf07 Bug 1341008: Follow-up: Don't needlessly load ExtensionContent.jsm into all processes.
MozReview-Commit-ID: 1rdgcrwScw
2017-05-28 14:50:23 -07:00
Sebastian Hengst
3eaca355a1 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-05-28 18:47:51 +02:00
Sebastian Hengst
66d9eb3103 Backed out changeset 9c7688e54e92 (bug 1365089) for breaking Android L10n nightlies. r=backout a=backout
MozReview-Commit-ID: FxH7nBskSNj
2017-05-28 16:53:10 +02:00
Paolo Amadini
30ea634bb0 Bug 1242505 - Part 5 - Remove obsolete whitelisting of unhandled rejections. r=Mossop
The whitelisting function thisTestLeaksUncaughtRejectionsAndShouldBeFixed was replaced by expectUncaughtRejection, and existing calls did not take effect anymore.

MozReview-Commit-ID: 3uOxkgWYWEz

--HG--
extra : rebase_source : 5a10a3ebbfe0ce2a801330041f95447c313a9a70
extra : source : 6f0394b523a66dab444b8551deb8f3c6c81d8f31
2017-05-25 15:00:49 +01:00
Paolo Amadini
d7513d1e02 Bug 1242505 - Part 3 - Detect unhandled rejections of native Promises in browser-chrome tests. r=Mossop
The browser-chrome test suite now detects and reports unhandled rejections of native Promises, in addition to those created by Promise.jsm. The whitelisting mechanism is updated to use primarily the PromiseTestUtils.expectUncaughtRejection function. Tests will fail if a rejection that is not whitelisted occurs, or if a whitelisted rejection does not occur anymore.

MozReview-Commit-ID: 1beGB5GG8Ty

--HG--
extra : rebase_source : 64395c5fdf25deebd60dfbf2cf5df3cbf7ca8abb
extra : amend_source : 0a3f13419c050662680f2bd110d724b3bf991732
extra : source : 8d53be05afc59519c5ce8cfae96d284a972fda71
2017-05-28 11:46:45 +01:00
Paolo Amadini
526b9c359d Bug 1242505 - Part 2 - Update PromiseTestUtils for use in mochitests. r=Mossop
This adds a new coarse-grained whitelisting function, whose usage should be kept to a minimum but is necessary because many mochitests have cleanup issues on shutdown.

The module now handles cases that only happen in mochitests, where rejections can occur in contexts that are unloaded and more than one test file can be executed sequentially in the same process.

MozReview-Commit-ID: 8xejMxoSBzf

--HG--
extra : rebase_source : 67219bd686d43199ab10652e6ee1fda8ee1a2d1a
extra : source : 22e7144f857ce6a49764375f1e5ddf3e1ead7a96
2017-05-25 15:00:29 +01:00
Sebastian Hengst
650ec6b428 Backed out changeset 22e7144f857c (bug 1242505) 2017-05-28 11:31:17 +02:00
Sebastian Hengst
8d47870cdc Backed out changeset 8d53be05afc5 (bug 1242505) 2017-05-28 11:31:12 +02:00
Sebastian Hengst
ea55cd0be2 Backed out changeset 6f0394b523a6 (bug 1242505) 2017-05-28 11:31:01 +02:00
Paolo Amadini
94c629ed8c Bug 1242505 - Part 5 - Remove obsolete whitelisting of unhandled rejections. r=Mossop
The whitelisting function thisTestLeaksUncaughtRejectionsAndShouldBeFixed was replaced by expectUncaughtRejection, and existing calls did not take effect anymore.

MozReview-Commit-ID: 3uOxkgWYWEz

--HG--
extra : rebase_source : 3a7720091180a770b32b595f8094c0d20170166d
2017-05-25 15:00:49 +01:00
Paolo Amadini
8edd3b1d5c Bug 1242505 - Part 3 - Detect unhandled rejections of native Promises in browser-chrome tests. r=Mossop
The browser-chrome test suite now detects and reports unhandled rejections of native Promises, in addition to those created by Promise.jsm. The whitelisting mechanism is updated to use primarily the PromiseTestUtils.expectUncaughtRejection function. Tests will fail if a rejection that is not whitelisted occurs, or if a whitelisted rejection does not occur anymore.

MozReview-Commit-ID: 1beGB5GG8Ty

--HG--
extra : rebase_source : 59e5b84cb431f3ca28287d30a3da8fbea1363ec5
2017-05-25 15:00:35 +01:00
Paolo Amadini
8cac26aed1 Bug 1242505 - Part 2 - Update PromiseTestUtils for use in mochitests. r=Mossop
This adds a new coarse-grained whitelisting function, whose usage should be kept to a minimum but is necessary because many mochitests have cleanup issues on shutdown.

The module now handles cases that only happen in mochitests, where rejections can occur in contexts that are unloaded and more than one test file can be executed sequentially in the same process.

MozReview-Commit-ID: 8xejMxoSBzf

--HG--
extra : rebase_source : de5fa91a5e9769c7ca42fc2c00ea54f169a3e12b
2017-05-25 15:00:29 +01:00
Doug Thayer
dcd122aa51 Bug 1365204 - Add update badge histogram r=bsmedberg,rstrong
Currently we can't differentiate between when a badge is shown
and a doorhanger is shown. This creates an additional problem
where if the badge progresses into a doorhanger after a window of
time has passed, it registers as two notifications shown, when
logically it is one. This splits out badges and doorhangers to
remedy that.

MozReview-Commit-ID: CTTaWDG1tah

--HG--
extra : rebase_source : 2b13b703ac4e12caa040138dadd2875df76ff61a
2017-05-24 09:32:01 -07:00
Andrew McCreight
c11ddf3017 Bug 1368170 - Remove unused Function.prototype.inherits methods. r=francois
These methods do not appear to be used.

When JSM global sharing is enabled, these methods contaminate the
global Function.prototype, which breaks Marionette object
serialization.

MozReview-Commit-ID: CAfJ2FCkhlK

--HG--
extra : rebase_source : 38acb4616ee14283d0f67e1b2144972c7d139f84
2017-05-26 13:46:10 -07:00
Vedant Sareen
9d1f035076 Bug 1033860 - Add probes for time needed to load pending & archived pings from disk. r=chutten data-r=bsmedberg
Added "TELEMETRY_PENDING_LOAD_MS" & "TELEMETRY_ARCHIVE_LOAD_MS" as exponential histograms.
Added the functionality to save in these histograms the time it takes to load pending/archived pings respectively.
Added the file |test_TelemetryStorage.js| with tests for the added functionality.
2017-05-29 17:25:39 +05:30
Carsten "Tomcat" Book
c9c84e3b6a Merge mozilla-central to mozilla-inbound 2017-05-30 11:53:26 +02:00
Matthew Wein
fb13c1aa85 Bug 1330369 - Part 2 - Add browser_style support to ext-sidebar.js r=kmag
MozReview-Commit-ID: AIGuVv98HGR

--HG--
extra : rebase_source : 7eceec18bfb1f3fca44335e9bafa60e3470951da
2017-05-25 19:46:59 -04:00
Matthew Wein
1417b513dc Bug 1330369 - Part 1 - Share the extension stylesheets between sidebar, popups, and options r=mixedpuppy
MozReview-Commit-ID: EquM6hSQ8pH

--HG--
extra : rebase_source : 45de777fd1e2a387a4f42168d6d04e9f988917a5
2017-05-19 15:48:44 -04:00
Sebastian Hengst
d8e719c8a3 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: CEadD9RweN4
2017-05-27 10:00:59 +02:00
Michael Layzell
b0485183ce Bug 1365719 - Add a IPC_SYNC_RECEIVE_MS probe to record time taken to process sync IPC messages in the target process, dr=bsmedberg, r=ehsan
MozReview-Commit-ID: 4TOlSFX68Vn
2017-05-26 16:18:28 -04:00
Ricky Chien
3025ba0bee Bug 1366148 - Making menulist and menupopup highlightable r=jaws,mossop
MozReview-Commit-ID: 14HG16oPb0g

--HG--
extra : rebase_source : 2b1f1c16f8ab4605f73c36f376997ddd18ad08d5
2017-05-20 00:09:25 +08:00
Nick Alexander
b6fef5fc95 Bug 1365089 - Add MOZ_ANDROID_MMA and --with-leanplum-sdk-keyfile to configure. r=chmanchester
This is the equivalent of MOZ_INSTALL_TRACKING, but for MMA (Mobile
Marketing Automation) using the Leanplum SDK.

To test this locally, add lines like:

export MOZ_ANDROID_MMA=1
ac_add_options --with-adjust-sdk-keyfile=/path/to/adjust-sdk-developer.token

MOZ_ANDROID_MMA depends on MOZ_NATIVE_DEVICES and MOZ_ANDROID_GCM,
since Leanplum requires Google Play Services library that those flags
are a proxy for and enable, respectiviely.

We want to enable MOZ_ANDROID_MMA in Nightly, but only for
MOZILLA_OFFICIAL builds.  Since MOZILLA_OFFICIAL is still defined in
old-configure.in, we can't interrogate it in
mobile/android/moz.configure, and therefore we enable using the
automation mozconfigs.

MozReview-Commit-ID: 1tiToeyH5Hx

--HG--
extra : rebase_source : f85706c5a0911c7d2edc109d8c47ecc1c1bc6ffc
2017-05-26 12:31:20 -07:00
Phil Ringnalda
64c713bbfa Backed out changeset c0c635e938fa (bug 1368208) for eslint and reftest 508816-1-ref.xul failures
CLOSED TREE

MozReview-Commit-ID: LcPpCIciePj
2017-05-29 12:34:16 -07:00
Dão Gottwald
86edac3753 Bug 1368208 - Don't flush layout to determine whether scrollbox scroll buttons should be enabled/disabled. r=mconley
MozReview-Commit-ID: GfvqsJbNCCU

--HG--
extra : rebase_source : f3937f3a8e5662991eac69d0856e2f23491970f5
2017-05-29 20:50:23 +02:00
Phil Ringnalda
cba671875b Backed out changeset b89704b3bc19 (bug 1358500) for failures in browser_bug537013.js
MozReview-Commit-ID: IO4dyagNqNB

--HG--
extra : rebase_source : 5a5beba51e57ac28654eb7a4dcac7db1cd9bedb0
2017-05-29 10:52:37 -07:00
Ryan VanderMeulen
c01026a3da Merge m-c to inbound. a=merge 2017-05-30 12:58:23 -04:00
dbolter
a3cffe12d0 Bug 1368121 - Remove telemetry for a11y update time. r=eeejay 2017-05-26 14:03:57 -04:00
Richard Marti
07dfa5b076 Bug 1345958 - Add TB items to theme.json shema. r=mikedeboer 2017-05-25 20:56:11 +02:00
Ryan VanderMeulen
2fbcb8b3bb Merge m-c to inbound. a=merge 2017-05-30 16:09:45 -04:00
Florian Quèze
135ff563ed Bug 1363398 - add the KF_FLAG_NO_ALIAS flag to the SHGetKnownFolderIDList call, r=jimm. 2017-05-30 21:44:57 +02:00
Andrea Marchesini
509eff1360 Bug 1364895 - Expose contextualIdentities to webExtensions also if privacy.userContext.enabled is set to false, r=aswan 2017-05-30 21:10:14 +02:00
Jonathan Watt
53747cee5d Bug 1368417 - Convert skin/classic/global/icons/spinner-arrows.svg to use context paint and avoid filtering to improve performance. r=mconley 2017-05-03 19:11:44 +01:00
Jonathan Watt
e5c05b3e84 Bug 1368414 - Convert skin/classic/global/icons/calendar-arrows.svg to use context paint and avoid filtering to improve performance. r=mconley 2017-05-03 14:55:27 +01:00
Alejandro Rodriguez
9ea2c75be5 Bug 1359801 - Improve keeping track of observer topics in TelemetrySession. r=gfritzsche 2017-05-29 22:06:09 +02:00
Christoph Kerschbaumer
3fc12a8c6e Bug 1363977 - Have loadTabs() provide the correct triggeringPrincipal. r=gijs,smaug 2017-05-29 21:32:21 +02:00
Carsten "Tomcat" Book
bdfe9a25bf Backed out changeset 2b92af4575ae (bug 1357386) 2017-05-30 08:51:22 +02:00
Christoph Kerschbaumer
74a7c96cd0 Bug 1357386: Have loadTabs() provide the correct triggeringPrincipal. r=gijs,smaug 2017-05-30 08:31:08 +02:00
Bob Silverberg
3dfd2d79e9 Bug 1353171 - Add telemetry for extension startup time, r=bsmedberg,kmag
MozReview-Commit-ID: 562lceAhJ4C

--HG--
extra : rebase_source : f0153eb97594da7a5f163a0794339e8645c7e9d0
2017-05-01 15:06:24 -04:00
Dão Gottwald
0c5a7a184b Bug 1368208 - Don't flush layout to determine whether scrollbox scroll buttons should be enabled/disabled. r=mconley
MozReview-Commit-ID: DPwyJgy3ray

--HG--
extra : rebase_source : 6bd80df2d901cbe4b1c29323b4ab1997247583fe
2017-05-30 21:39:30 +02:00
Servo VCS Sync
84479a18c9 No bug - Revendor rust dependencies 2017-05-30 19:18:04 +00:00
Ryan VanderMeulen
75fa1fd85f Merge inbound to m-c. a=merge 2017-05-26 15:43:59 -04:00
Ryan VanderMeulen
82023637ad Merge m-c to inbound. a=merge 2017-05-26 12:02:02 -04:00
Ryan VanderMeulen
ee8f23e3d9 Merge m-c to autoland on a CLOSED TREE. a=merge 2017-05-26 12:01:26 -04:00
Andreas Tolfsen
c8f4364158 Bug 1368084 - Temporarily disable building testing/geckodriver; r=me a=RyanVM
Until we add an --enable-geckodriver build config flag in
https://bugzilla.mozilla.org/show_bug.cgi?id=1368035, we disable
building of geckodriver in mozilla-central due to issues like
https://bugzilla.mozilla.org/show_bug.cgi?id=1367995.

MozReview-Commit-ID: 6aEh7TYSCKC
2017-05-26 16:41:06 +01:00
Bob Owen
affb1dc1e0 Bug 1358964: Always delete content process temp dir even when there is no profile. r=bsmedberg 2017-05-26 16:41:32 +01:00
Junior Hsu
cfb7c13b7c Bug 1367353 - Correct the spelling to NETWORK_RACE_CACHE_BANDWIDTH*. r=michal, data-r=bsmedberg 2017-05-24 19:46:00 -04:00
Avikalpa Kundu
decdff3949 Bug 1352375 - Clean up the gzip compression in the pingsender. r=Dexter 2017-05-25 10:54:00 -04:00
Avikalpa Kundu
da9f970379 Bug 1355498 - Refactor commonly used actions in functions within TestHistograms.cpp. r=Dexter 2017-05-25 10:45:00 -04:00
Ryan VanderMeulen
2466d57caf Merge m-c to autoland. a=merge 2017-05-25 21:48:59 -04:00
Ryan VanderMeulen
e38fed0cd1 Merge inbound to m-c. a=merge 2017-05-25 21:30:20 -04:00
Ryan VanderMeulen
ac35891cc9 Merge m-c to inbound. a=merge 2017-05-25 16:35:51 -04:00
Ryan VanderMeulen
8543438674 Merge inbound to m-c. a=merge 2017-05-25 16:34:16 -04:00
Ryan VanderMeulen
b8ba243c22 Merge autoland to m-c. a=merge 2017-05-25 16:31:52 -04:00
Boris Zbarsky
c896640c0e Bug 1367662. Link pingsender to mozglue if we're using things that are defined in mfbt. r=gsvelto 2017-05-25 13:39:44 -04:00
Geoff Brown
84f58746fc Bug 1285864 - Increase timeout in test_TelemetryControllerShutdown.js; r=gfritzsche
Test has been failing intermittently on Android Debug only.
2017-05-25 11:18:33 -06:00
Robert Strong
0059f15fa9 Bug 1301517 - Cleanup the setting of post update values added by bug 1301288. r=mhowell
With these changes the latest update in updates.xml is always the latest update in progress even before applying the update. This makes it so that after a successful update the code in nsBrowserContentHandler.js will always get the correct custom update property.
2017-05-25 09:52:51 -07:00
Honza Bambas
b852ed009a Backout of 7f28c1084c47 (bug 1319111) for security checks breakage, r=me 2017-05-25 18:16:02 +02:00
Jon Coppeard
e105bc74f0 Bug 1309651 - Record time taken by GC parallel tasks r=sfink data-r=bsmedberg 2017-05-25 10:35:54 -04:00
Justin Wood
a14524a72d Backed out changeset d10f5ccd882b, for Nightly bustage from Bug 1359965 c#29
MozReview-Commit-ID: 6ddN0Y55Bsk
2017-05-25 09:08:54 -04:00
Sebastian Hengst
011ef9ea3e merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 2iKvbnEUJsY
2017-05-25 10:32:22 +02:00
DimiL
34c8fca8a7 Bug 1367324 - Remove unused string in about:url-classifier (locales/en-US/chrome/global/aboutUrlClassifier.dtd). r=francois
MozReview-Commit-ID: 7Utk6sTCIY6

--HG--
extra : rebase_source : a75851672761d18b69dd129e9d2d97e4e84328cc
2017-05-24 16:53:43 +08:00
Mark Striemer
38cd7b478a Bug 1361746 - Align legacy badge on Windows in about:addons details r=rhelmer
MozReview-Commit-ID: 9QRdQFd11CQ

--HG--
extra : rebase_source : 057b93d52348e1b9c61794f0349f314999db3017
2017-05-18 15:54:11 -05:00
Alessio Placitelli
82dcffe8ff Bug 1359031 - Don't trigger early search service init in Telemetry. r=florian
This patch will make TelemetryEnvironment wait for the
"browser-search-service" topic with "init-complete" before attempting
to query search data.

MozReview-Commit-ID: C0i608eYHmU

--HG--
extra : rebase_source : fb46c8b0b597776350bf15cc9a641665691d874a
2017-05-17 15:04:53 +02:00
Andreas Tolfsen
57ee3f03f5 Bug 1340637 - Disable geckodriver compilation on Linux i686; r=ato
geckodriver fails to cross-compile on the TaskCluster x86_64 VMs to
Linux i686.  This patch disables building on that platform, and I have
filed https://bugzilla.mozilla.org/show_bug.cgi?id=1367519 to follow up
on this.

MozReview-Commit-ID: 7GEx2Oog2fS

--HG--
extra : rebase_source : ed722e066a4de1e4bd73c32ba98aed8916c34fd2
2017-05-24 19:45:43 +01:00
Andreas Tolfsen
e3554fa5ae Bug 1340637 - Skip geckodriver in hazard builds; r=ted
One of the Rust crates that is built as part of geckodriver's dependency
chain uses a build script to compile some C code.

Because mozbuild does not yet pass the compiler wrapper down to where
the gcc crate can find it, we need to avoid building on geckodriver when
this is the case.

When compiling the browser for the rooting hazard analysis build (labelled
H on Treeherder), the MOZ_HAZARD environment variable will be set and
available to moz.build descriptions.

MozReview-Commit-ID: GprFKtvXvOE

--HG--
extra : rebase_source : f45aa5d8c86673c8287371efcfa703755c2b2073
2017-05-23 14:59:58 +01:00
Andreas Tolfsen
eda48cff40 Bug 1340637 - Provide build rules for geckodriver; r=jgraham,ted
geckodriver is the Mozilla implementation of the WebDriver remote
control interface for Gecko, and provides an HTTPD proxy that
translates the WebDriver protocol to Marionette.

Building this as part of the Firefox build will allow us to run
WPT WebDriver tests to verify our implementation of Marionette and
geckodriver.  It also makes it less painful to make changes across
projects.

This change will cause the geckodriver program to be built as part
of regular Firefox builds, except on macOS and Android, and when artifact
builds are enabled.

RUST_PROGRAMS in cross-compile environments cause the wrong linker to
be used.  When this bug is fixed, we should be able to enable building
of geckodriver on macOS.  This work is tracked in:

	https://bugzilla.mozilla.org/show_bug.cgi?id=1329737

On Android, we may one to build a binary for the host system to use
(x86_64), instead of an ARM binary for the emulator.

MozReview-Commit-ID: FG5tmPv4iut

--HG--
extra : rebase_source : 091728fd2582458325689fc6e3d8b317428802d8
2017-05-23 14:55:54 +01:00
Bob Silverberg
cd1a0703b1 Bug 1349896 - Part 2: Implement devtools.panels.themeName API property, f?rpl r=mixedpuppy
MozReview-Commit-ID: 8uN2VBIyYyt

--HG--
extra : rebase_source : 48902adf1dc5ac193d2b2719cf72b499a40e7d81
2017-05-11 08:54:02 -04:00
Ricky Chien
01a9e7e161 Bug 1360491 - Add the search icon in the search input field r=dao
MozReview-Commit-ID: 4FLWLk22eGC

--HG--
rename : toolkit/themes/osx/global/icons/search-textbox.svg => toolkit/themes/shared/icons/search-textbox.svg
extra : rebase_source : ed267e47ec03ec67544ba9fc31af63d80563a914
2017-05-24 15:21:56 +08:00
Andreas Farre
3ac028c898 Bug 1311425 - Avoid telemetry timer when scheduling idle runnables, r=chutten
--HG--
extra : rebase_source : d4c2ccf0d2057ecb6535002254211b73025f3695
2017-05-24 21:16:09 -04:00
Carsten "Tomcat" Book
33b44f6e98 Merge mozilla-central to mozilla-inbound 2017-05-26 12:39:21 +02:00
Gregory Szorc
74778951f0 Bug 1359965 - Support and generate tar.gz WPT archive; r=glandium
Several years ago there was a single zip file for all test files. Clients
would only extract the files they needed. Thus, zip was a reasonable
archive format because it allowed direct access to members without
having to decompress the entirety of the stream.

We have since split up that monolithic archive into separate,
domain-specific archives. e.g. 1 archive for mochitests and one
for xpcshell tests. This drastically cut down on network I/O
required on testers because they only fetched archives/data that
was relevant. It also enabled parallel generation of test archives,
we shaved dozens of seconds off builds due to compression being
a long pole.

Despite the architectural changes to test archive management, we
still used zip files. This is not ideal because we no longer access
specific files in test archives and thus don't care about single/partial
member access performance.

This commit implements support for generating tar.gz test archives.
And it switches the web-platform archive to a tar.gz file.

The performance implications for archive generation are significant:

before: 48,321,250 bytes; 6.05s
after:  31,844,267 bytes; 4.57s

The size is reduced because we have a single compression context
so data from 1 file can benefit compression in a subsequent file.
CPU usage is reduced because the compressor has to work less with
1 context than it does with N. While I didn't measure it, decompression
performance should also be improved for the same reasons. And of course
network I/O will be reduced.

mozharness consumers use a generic method for handling unarchiving.
This method automagically handles multiple file extensions. So as long
as downstream consumers aren't hard coding ".zip" this change should
"just work."

MozReview-Commit-ID: LQa5MIHLsms

--HG--
extra : rebase_source : cd029cdbbcccc1d16f03d63a5f1fdf60be5db4fd
extra : source : a0e257e346ccf3c1db332ec5903241f4eeb9a7ee
2017-05-08 17:19:05 -07:00
Ryan VanderMeulen
d3f265330e Merge m-c to autoland. a=merge 2017-05-25 16:44:01 -04:00
Raajit Raj
7bf0c5a5cd Bug 1365577 - Don't print whitelist.json warning from histogram_tools.py outside of client builds r=chutten
MozReview-Commit-ID: 2vR9UapLiKP

--HG--
extra : rebase_source : acf50800d2c1caa2d5f4d3f4500381a48bd7292c
2017-05-26 01:23:15 +05:30
Ryan VanderMeulen
7014a3dbae Backed out changeset 66138e53fec2 (bug 1365577) for flake8 failures. 2017-05-25 15:49:31 -04:00
Thomas Nguyen
262347b745 Bug 1351146 - P2 - Update test case and usage of nsIRedirectHistoryEntry interface. r=dragana
MozReview-Commit-ID: s61VV5CLx8
2017-05-25 19:42:00 +02:00
Bob Silverberg
6048efcba8 Bug 1367453 - Do not throw an exception from ExtensionSettingsStore when trying to remove a setting that was not previously set, r=mixedpuppy
This changes the behaviour of ExtensionSettingsStore so that attempting to remove a setting that was not previously set does
not throw an exception. This allows things like privacy.network.webRTCIPHandlingPolicy.clear() to be called without having
previously called privacy.network.webRTCIPHandlingPolicy.set().

MozReview-Commit-ID: FFCOFHk5lhb

--HG--
extra : rebase_source : a493b50145729a5388acbe1ace948f41de9762aa
2017-05-24 12:29:16 -04:00
Sebastian Hengst
03800fc2af Backed out changeset ad54e4734e9b (bug 1364068) for test suites timing out on Linux x64 opt/pgo and Win 7 VM opt and timeout of browser_addons_debug_webextension.js on OSX. r=backout 2017-05-26 10:45:04 +02:00
Sebastian Hengst
7586e917b7 Backed out changeset 026b0b69ca23 (bug 1364068) 2017-05-26 10:43:12 +02:00
Marco Bonardo
af31a46084 Bug 1361322 - Don't try to open the favicons database on startup for existing profiles. r=adw
Instead of opening and closing the favicons database at every startup to check whether
it's corrupt, just use the ATTACH DATABASE query result to achieve that.
Also avoid replacing places.sqlite in case of non-fatal errors during the connection
initialization.

MozReview-Commit-ID: 4VW3dtoSH07

--HG--
extra : rebase_source : 9732c0ea59579f1f1e64cfaab7ef7497212e8531
2017-05-24 15:19:39 +02:00
Alessio Placitelli
8de8627df1 Bug 1364068 - Properly cleanup libcurl in the pingsender. r=gsvelto,jseward
This additionally changes exit() calls with |return VALUE| so
that we are sure to call the destructors and valgrind doesn't complain.

Moreover, this disables the 'new-profile' ping when Firefox is ran
on valgrind.

MozReview-Commit-ID: BlGE9w6yGCL

--HG--
extra : rebase_source : d21b7404ac8dba6f3664f0f8d375429a0dec0ee4
2017-05-24 19:27:33 +02:00