Commit Graph

43582 Commits

Author SHA1 Message Date
Zibi Braniecki
55a7b70e19 Bug 1395456 - Use MOZ_APP_MAXVERSION for strict_max_version in langpack manifest. r=Pike
MozReview-Commit-ID: 63BQQt4U8if

--HG--
extra : rebase_source : faf796d214298fa50e0d73a82a7b1a4d0e91de30
2017-08-31 11:54:26 -07:00
Francesco Lodolo (:flod)
ea04a12a69 Bug 1396020 - Expose hard-coded strings in about:telemetry r=gfritzsche
MozReview-Commit-ID: 1ddOE9cGX4Z

--HG--
extra : rebase_source : ffe448b2df490a4e4d5c5a97bf319121be366554
2017-09-02 09:27:12 +02:00
Sebastian Hengst
2283a8f642 Backed out changeset 7bb00f5e0120 (bug 1395411) for eslint failures in test_classifier_changetablepref_bug1395411.html: 'classifierHelper' is not defined. r=backout 2017-09-04 16:45:35 +02:00
Kris Maglione
720485c3cf Bug 1396612: Increase non-debug response part delay. r=trivial,test-only
MozReview-Commit-ID: ERXLi5RJwtc
2017-09-04 13:00:25 -07:00
Kris Maglione
a2ec0b79b6 Bug 1396017: Redact window titles without the appropriate tabs permissions. r=mixedpuppy
MozReview-Commit-ID: 2QJYvJlqt9l

--HG--
extra : rebase_source : 33c4670a0eded6e0af4f931a1ac4cd57f6115995
extra : amend_source : 915bfac6f2c05024acd840c8fa9e282bfc31c296
2017-09-01 12:20:10 -07:00
Thomas Nguyen
d46c8b2c9d Bug 1395411 - Unregister tables when they're removed from urlclassifier.*Table. r=francois
MozReview-Commit-ID: Ex1ZxMcJLep

--HG--
extra : rebase_source : ceb099b7132ef0167c75b111bf3105714ae8ee92
2017-08-31 18:46:23 +08:00
Thomas Nguyen
1f57fdb85d Bug 1345058 - Asynchronously decide if a flash document should be blocked. r=baku
MozReview-Commit-ID: K91cSvIdOrb

--HG--
extra : rebase_source : 4d91ab3499c0124129e74a054c5cc78882ff351e
2017-08-14 14:05:23 +08:00
John Lin
ed6fa8ffe5 Bug 1396232 - enable prefs needed for orientation lock test. r=ralin
Also, use |run-if| instead of |skip-if| to filter the test.

MozReview-Commit-ID: 5NUoSoRzqMC

--HG--
extra : rebase_source : c50eb0cf377d02456089382108a49658ea6930b7
2017-09-04 16:00:55 +08:00
Mark Banner
28c1327c42 Bug 1395994 - Clone arrays to fix a leak of windows caused by PlacesTransactions keeping references to arrays passed to it. r=mak
MozReview-Commit-ID: CWMyLtmNQuW

--HG--
extra : rebase_source : 30edd124f43508fab9c9823af151a26377bee610
2017-09-01 16:48:09 +01:00
Sebastian Hengst
a1ee97df4e merge mozilla-central to autoland. r=merge a=merge 2017-09-04 11:13:51 +02:00
Sebastian Hengst
65706a9c1e merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: EzZGZI0GBca
2017-09-04 11:12:40 +02:00
Kris Maglione
01f833d455 Bug 1255894: Follow-up: Disable response body filtering tests on Android for mochitest server issues.
--HG--
extra : amend_source : 0e3bfc0bf61b246c464bbc11546e2711eeafc5ff
2017-09-03 19:14:23 -07:00
Kris Maglione
106714fcdf Bug 1255894: Follow-up: Fix Android build error. CLOSED TREE
MozReview-Commit-ID: EFaubDi7BQL
2017-09-03 15:37:42 -07:00
Sebastian Hengst
7962b41fa5 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-09-04 00:17:34 +02:00
Shane Caraveo
f2a7869214 Bug 1392210 extension content needs nsIWebBrowserChrome3 for link traversal, r=kmag
MozReview-Commit-ID: ITJhNL8FemG

--HG--
extra : rebase_source : 552112b2568e61af3e4cd68a63bc00f9b8c37987
2017-09-02 16:00:12 -07:00
Marco Bonardo
0b9644341f Bug 1395333 - Remove an unexpected warning from nsNavHistoryResult.cpp. r=standard8
MozReview-Commit-ID: 1Ba2Nwvs0FB

--HG--
extra : rebase_source : 454ce521443bcb07f74592271f79da58dae326d4
2017-09-01 13:55:01 +02:00
Xidorn Quan
27aa5c5a83 Bug 1390726 - Enable browser_bug329212.js for stylo windows. r=xidorn
MozReview-Commit-ID: HdNKmqpQdIE

--HG--
extra : rebase_source : aeead82322d72c0c59ad3e045c1bdac6ba9313a2
2017-09-04 10:46:34 +10:00
Kris Maglione
15a6c1a541 Bug 1255894: Part 8.1 - Disable response data filtering in release builds. r=me
MozReview-Commit-ID: AMgXJAb1NFs

--HG--
extra : rebase_source : c496b891a04d92c63ca335527e450c24300b2807
2017-09-02 09:40:30 -07:00
Rob Wu
880a2b4b73 Bug 1317900 - address intermittent failure in test_ext_unload_frame.html r=aswan
MozReview-Commit-ID: 8ySNL64KLmO

--HG--
extra : rebase_source : bf8f6185fff160c2b16e6899693a783ca14f7e5a
2017-08-23 16:31:14 +02:00
Steve Armand
c94baecadb Bug 1343843 - Remove unused chrome://global/content/url-classifier/unittests.xul. r=standard8
MozReview-Commit-ID: IMiDbyPu5n9

--HG--
extra : rebase_source : 69c6a17e95a9582d7541b1c25993ec418bdc9d63
2017-09-01 23:31:57 -04:00
Jed Davis
e4f2d0dce9 Bug 1382442 - Don't try to use GConf in content processes. r=drno,gcp
GConf uses ORBit, which tries to create server sockets, which has been
disallowed by the content sandbox seccomp-bpf policy since 55 (bug
1358647).  GConf is considered obsolete and hasn't been updated since
2013.  This patch disables the use of GConf in content processes, on the
assumption that anything that this would break is already broken by
rejecting the system call.

The one use case that's believed to be broken is using WebRTC behind a
mandatory proxy and using system preferences (rather than Firefox's) for
the proxy config.  WebRTC uses nsIProtocolProxyService in the content
process, so if this combination of things is done on a system with GConf,
it will not be able to read the system prefs.

The larger use case of WebRTC + GConf (with or without a proxy) will
crash on Nightly without this patch, because rejected syscalls produce
crashes in order to gather more diagnostic information.

MozReview-Commit-ID: 6jpBkByzo7n

--HG--
extra : rebase_source : 54f28163b78593d25b7a52897162f20e9042bcfe
2017-08-16 10:11:15 -06:00
Matthew Noorenberghe
5c5ce99f65 Bug 1371525 - Warn when sending a synchronous RemoteLogins:findRecipes message. r=Felipe
MozReview-Commit-ID: F3JnVQlFNT0

--HG--
extra : rebase_source : 7708c1e3f5bf93edcfa528cd76d75a00ce3f9452
2017-09-01 14:59:55 -07:00
Kaku Kuo
5a09d32a1e Bug 1393399 P1 - add telemetry probes; r=francois,gerald
Here, we calculate the recovery time from two different start points because that when GPU crashes, VideoDecoderChild::ActorDestory() is called, but VideoDecoderChild doesn't dispatch events to trigger decoder recreation immediately.
Instead, it waits until a new VideoDecoderManager has been recreated [1], and then rejects all pending promises to MFR with a NS_ERROR_DOM_MEDIA_NEED_NEW_DECODER, which triggers playback pipeline recreation.

These two probes help us to know the gap between "GPU crash" and "MFR is notified". We don't need to wait for VideoDecoderManager recreation if we're certain that we don't create remote video decoder anymore. And if the gap is large, it might be a significant optimization.

[1] http://searchfox.org/mozilla-central/rev/51b3d67a5ec1758bd2fe7d7b6e75ad6b6b5da223/dom/media/ipc/VideoDecoderChild.cpp#124-145

MozReview-Commit-ID: DcI2CwWORxZ

--HG--
extra : rebase_source : 2f69330b9721cd4d6895f93b3a3cbc740de54e8c
2017-09-01 11:00:44 +08:00
Sebastian Hengst
4d0bad92dd merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: Gsw48p934sI
2017-09-02 10:54:44 +02:00
Mike Hommey
e77f51a721 Bug 1395776 - Fold replace-malloc into mozjemalloc. r=njn
Add the MPL 2.0 license header per bug 1395449.

--HG--
extra : rebase_source : c85544a178aba7e77b5b8031851b8e16b22a3848
2017-08-31 12:02:01 +09:00
Servo VCS Sync
ed507e14c2 No bug - Revendor rust dependencies 2017-09-02 00:17:56 +00:00
Wes Kocher
8b84853ed6 Merge m-c to autoland, a=merge
MozReview-Commit-ID: GcHZLNPPNnI
2017-09-01 16:34:14 -07:00
Wes Kocher
5f157c17dc Merge inbound to central, a=merge
MozReview-Commit-ID: 3JxUEFuinHY
2017-09-01 16:29:10 -07:00
Ehsan Akhgari
530c747a80 Bug 1395795 - Convert RemoteController.jsm into a normal JS script in order to avoid paying the cost of wrapping the arrays passed in the arguments; r=Mossop 2017-09-01 15:12:08 -04:00
Michael Layzell
9ed090fe94 Bug 1394494 - Use a custom Frame::Kind for special BHR frame types, r=froydnj 2017-09-01 11:47:08 -04:00
Bob Owen
60cdfbd0a2 Bug 1392570: On Windows 7 don't attempt to use a job object for the sandbox when it will fail. r=jimm, data-r=rweiss
This patch also adds telemetry for when this occurs, breaking it down for local and remote sessions.
2017-09-01 14:05:49 +01:00
Julian Descottes
10fc14905c Bug 1395990 - remove Services.appinfo.isOfficial;r=mossop
MozReview-Commit-ID: 1hohMqK7K90

--HG--
extra : rebase_source : 5503da20cf80e8c16960bd93d916128e8e1e5d2b
2017-09-01 18:57:43 +02:00
Julian Descottes
4fed1e8edb Bug 1395990 - stop using Services.appinfo.isOfficial in test_TelemetrySession.js;r=mossop
MozReview-Commit-ID: 420221gSjJ1

--HG--
extra : rebase_source : aa6f33da65c308d0eab511c36f60fa6aa0464830
2017-09-01 18:55:13 +02:00
ruby
3ef8f144d5 Bug 1380766 - Removed mentions of Firefox Hello and loop from webrtc telemetry docs. r=chutten
MozReview-Commit-ID: AHZdFqnBENp

--HG--
extra : rebase_source : 52ea3d0880ea4dded9a5212c1b293587c16b2055
2017-09-01 07:06:49 +05:30
Francesco Lodolo (:flod)
576453ea60 Bug 1396000 - Remove unnecessary line feeds in aboutTelemetry.dtd, remove unused strings r=chutten
Also reordered strings according to the order they appear in the template.

Unused strings:
* aboutTelemetry.showNewerPing
* aboutTelemetry.showOlderPing
* aboutTelemetry.archiveWeekHeader
* aboutTelemetry.filterText

MozReview-Commit-ID: 4WaKaNGM0xd

--HG--
extra : rebase_source : 205e3dbd724c5c81672a2c424a89a49040323a7c
2017-09-01 18:52:32 +02:00
Kirk Steuber
6fa578ce4b Bug 1348280 - Try to ensure thumbnail creation happens when the thread is idle r=markh
MozReview-Commit-ID: HoEb5J0QCyw

--HG--
extra : rebase_source : 940538a35924a7be96e344f021ccfa9a8135b23e
2017-08-16 13:24:22 -07:00
Sebastian Hengst
ce3e00458b Backed out changeset 44ff3bc7bee5 (bug 1063635) for failing xpcshell's toolkit/components/osfile/tests/xpcshell/test_read_write.js on Linux x64 debug. r=backout 2017-09-01 15:54:56 +02:00
Sebastian Hengst
65cbed150f Backed out changeset 0d9eb13ac53e (bug 1063635) 2017-09-01 15:53:44 +02:00
Sebastian Hengst
1d3d6f8add Backed out changeset 61a23e8fbf54 (bug 1063635) 2017-09-01 15:53:39 +02:00
Julian Descottes
19a99b8e20 Bug 1391187 - compare build id to perform full directory scan in addon manager;r=kmag
MozReview-Commit-ID: 4ex9JrMm3NT

--HG--
extra : rebase_source : fdd8eab12bddfaf3283f639364d80dcc85fd9dd1
2017-08-17 19:13:32 +02:00
MilindL
a2ac3e94f6 Bug 1063635 Part 3 - Fix tests for native writeAtomic. r=Yoric
MozReview-Commit-ID: 94lNCMUEg7c

--HG--
extra : rebase_source : 0209ed03bebbac1480c3395f830cdc75b49f5528
2017-08-29 20:20:26 +05:30
Servo VCS Sync
1a84bdf7ed No bug - Revendor rust dependencies 2017-09-01 22:24:08 +00:00
Botond Ballo
d71f5d65bd Bug 1393424 - Don't try to autoscroll in Print Preview mode. r=kats
It doesn't work properly anyways due to a more general coordinate-system
problem on the Print Preview page (see bug 1393494).

MozReview-Commit-ID: D4i2H8z5mtW

--HG--
extra : rebase_source : da241829abf69cd03ef838bea57e1828356f0e00
2017-09-01 13:19:56 -04:00
MilindL
e54f52d448 Bug 1063635 Part 2 - Call native writeAtomic code instead of JS backend when applicable. r=Yoric
MozReview-Commit-ID: fiIS2xPc2r

--HG--
extra : rebase_source : 941404460529cfb4d5561f21e8f796e708396d9d
2017-07-27 19:41:00 +05:30
Sebastian Hengst
4d2231acf0 merge mozilla-central to autoland. r=merge a=merge 2017-09-05 23:58:08 +02:00
Shane Caraveo
309c16890c Bug 1392210 followup to handle clicks in subframes correctly, r=kmag
MozReview-Commit-ID: LwTd64x8Mz7

--HG--
extra : rebase_source : 933c552f2a314dea99f83151bea2151acd750f2a
2017-09-05 13:36:08 -07:00
Chris AtLee
c136b0bbbf Bug 1396930: Fix typo in partial update histogram description. r=rstrong
MozReview-Commit-ID: 4utiTEgGqSj

--HG--
extra : rebase_source : 1271bcb18f5d00ccbc22c345bf51e64dfe13b17f
2017-09-05 14:06:28 -04:00
Sebastian Hengst
8e0b4e937f Backed out changeset 5d320d8864e9 (bug 1353013) for failing e.g. test_accessiblecaret_cursor_mode.py of Marionette headless on OS X. r=backout 2017-09-05 22:44:20 +02:00
Francesco Lodolo (:flod)
c74d83de8c Bug 1396211 - Use mozIntl for dates in aboutTelemetry.js, clean up unused code r=chutten
MozReview-Commit-ID: KdUDzYNQqvD

--HG--
extra : rebase_source : 34eab3e454802f14ea55c1d3c40f22792315de80
2017-09-02 12:00:25 +02:00
Sebastian Hengst
37ab9d8a49 Backed out changeset 78cce071b69e (bug 1396211) for eslint failure in toolkit/content/aboutTelemetry.js: Strings must use doublequote. r=backout 2017-09-05 22:09:17 +02:00
J. Ryan Stinnett
258ab1f0a4 Bug 1330412 - Enable Stylo by default. r=bholley,froydnj
MozReview-Commit-ID: LqrUHJ4WNFG

--HG--
extra : rebase_source : 1ae2b31908a252f448e6c4de86cde95f2d063fe1
2017-08-24 18:22:22 -05:00
Mike Conley
ec416a2990 Bug 1353013 - Be less aggressive about preloading about:newtab. r=florian
Based on a patch that Dão Gottwald <dao+bmo@mozilla.com> wrote.

We used to preload about:newtab as soon as a tab had finished being opened,
which meant that the first opened tab was _never_ preloaded, and that we
risked janking the browser immediately after the user opened a new tab
(which is, arguably, the worst time to do it, since the user is probably
about to navigate that tab somewhere).

This patch makes it so that about:newtab is preloaded after:

1) 1 second of user inactivity, and
2) When we have at least 40ms of idle time to spend in an idle callback.

The 1s and 40ms thresholds were chosen arbitrarily, and we might tune them
over time.

MozReview-Commit-ID: J5xkPQvCdW6

--HG--
extra : rebase_source : 51aed2f47ee5c6a68d04036d0bdc9e6357a5fc8d
2017-08-24 15:23:18 -07:00
Francesco Lodolo (:flod)
b92c2356cf Bug 1396211 - Use mozIntl for dates in aboutTelemetry.js, clean up unused code r=chutten
MozReview-Commit-ID: KdUDzYNQqvD

--HG--
extra : rebase_source : ab6ba41e8887b6e87bafe6aaba62cbdd1f09dd05
2017-09-02 12:00:25 +02:00
Jonathan Kingston
7703be00cb Bug 1339610 - Web extension API for container icon and colors. r=baku,kmag
MozReview-Commit-ID: BosKoxM8FMZ

--HG--
extra : rebase_source : 594bd4bf0fbd03973c2bc29d46f99322ac3ace91
2017-08-27 00:47:02 +01:00
Sebastian Hengst
43bc951ac7 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: ES9rKhiQo10
2017-09-01 10:38:51 +02:00
Wes Kocher
6472928439 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 77Uz3uceUmk
2017-08-31 16:56:23 -07:00
Kris Maglione
6bad4f8ef7 Bug 1366511: Part 3 - Add mozilla::ToResult() to convert other result types to equivalent Result. r=nbp,ehsan
Also adds a mozilla/ResultExtensions.h header to define the appropriate
conversion functions for nsresult and PRResult. This is in a separate header
since those types are not available in Spidermonkey, and this is the pattern
other *Extensions.h headers follow.

Also removes equivalent NS_TRY macros and WrapNSResult inlines that served the
same purpose in existing code, and are no longer necessary.

MozReview-Commit-ID: A85PCAeyWhx

--HG--
extra : rebase_source : a5988ff770888f901dd0798e7717bcf6254460cd
2017-08-29 21:28:31 -07:00
Kris Maglione
c9899cb3fa Bug 1366511: Part 2 - Allow autoconverting Err(nsresult) to nsresult. r=ehsan,nbp
This allows MOZ_TRY and MOZ_TRY_VAR to be transparently used in XPCOM methods
when compatible Result types are used.

Also removes a compatibility macro in SimpleChannel.cpp, and an identical
specialization in AddonManagerStartup, which are no longer necessary after
this change.

MozReview-Commit-ID: 94iNrPDJEnN

--HG--
extra : rebase_source : 24ad4a54cbd170eb04ded21794530e56b1dfbd82
2017-08-29 21:28:22 -07:00
Ryan VanderMeulen
7da6a5caf2 Backed out changeset 71d4452dd938 (bug 1341569) for regressing speedometer-misc-Angular2-TypeScript-TodoMVC-CompletingAllItems-sync. 2017-08-31 19:39:23 -04:00
Kris Maglione
bbe9f20f84 Bug 1356376: Skip test_ext_i18n.js on Windows debug for frequent intermittent failures. r=me,test-only
MozReview-Commit-ID: 9bIpo3XxXnk

--HG--
extra : rebase_source : 353770064a511f36910e2c0f9c91967ee15d0d02
2017-08-31 15:51:21 -07:00
Kris Maglione
0c9a3b08ee Bug 1393621: Part 3 - Add test for framework JSMs loaded at startup. r=zombie
MozReview-Commit-ID: DvVO9bzwyXf

--HG--
extra : rebase_source : f04d8f1c08508acef915a493e00fbd7f5020dce8
2017-08-31 15:12:28 -07:00
Kris Maglione
a15a2a5be1 Bug 1393621: Part 2 - Add test for API modules loaded at startup. r=zombie
MozReview-Commit-ID: 6gyDqsaImmX

--HG--
extra : rebase_source : 17a7a3c83ab0939371baf98b484b092e1681b34a
2017-08-31 15:14:33 -07:00
Kris Maglione
78609e834d Bug 1393621: Part 1 - Don't load ext-contextualIdentities at startup without permissions. r=zombie
MozReview-Commit-ID: AiIYAXSRrii

--HG--
extra : rebase_source : 5004ef9b90391be2ae06a1b610b8922e2a091ffa
2017-08-31 15:09:41 -07:00
Joel Maher
34f00ff865 Bug 1336638 - Disable toolkit/components/alerts/test/test_principal.html on windows 7. r=mattn 2017-08-31 15:39:02 -04:00
Simon Lindholm
de414dfd84 Bug 1388331 - Use more precise criteria for stopping auto-complete searches. r=mak 2017-08-31 12:24:00 -04:00
Honza Bambas
8d492fe637 Bug 1395525 - Make all changes landed as part of tracker request tailing preferrable. r=dragana 2017-08-31 06:07:00 -04:00
Robert Strong
9084ce73bb test code - Bug 1367910 - Delete active-updates.xml instead of writing to it when there isn't an active update. r=dothayer 2017-08-31 12:20:22 -07:00
Robert Strong
f0d8f05280 client code - Bug 1367910 - Delete active-updates.xml instead of writing to it when there isn't an active update. r=dothayer
When there are no updates to write to an xml file just delete the associated xml file
Cleaned up loading of the updates.xml and active-update.xml files so |_ensureUpdates| is no longer needed
Added dirty check for whether to write the update history in updates.xml
Adds errorCode property to nsIUpdatePatch so it is saved to the xml
Adds errorCode for trying to apply an older version or same version with the same build ID
Adds errorCode for when there is a no status file
Adds errorCode for channel change
2017-08-31 12:20:05 -07:00
Kartikaya Gupta
9a69b9b3c6 Bug 1395237 - Update webrender to commit 81cba6b139c4c1061cab6a1c38acf2ae7f50445d. r=jrmuizel
Includes Cargo.lock updates.

MozReview-Commit-ID: GsEbblWnzT3
2017-08-31 14:09:26 -04:00
Sebastian Hengst
2b41ef3155 merge mozilla-central to autoland. r=merge a=merge 2017-08-31 14:37:58 +02:00
Sebastian Hengst
030c11d7dd merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 4IUksc3Mn9i
2017-08-31 14:36:51 +02:00
Sebastian Hengst
90f754cf6f Backed out changeset ab66385c2fb5 (bug 1387507) for failing browser-chrome's browser_all_files_referenced.js: unreferenced file e10s-64@2x.png. r=backout on a CLOSED TREE 2017-08-31 09:09:02 +02:00
Sebastian Hengst
e08ac68aa5 Backed out changeset 27f6228d4118 (bug 1390461) for frequently failing own check-clobber-l10n-x-test during build. r=backout on a CLOSED TREE 2017-08-31 10:57:59 +02:00
Wes Kocher
ef3d37e889 Merge m-c to inbound a=merge
MozReview-Commit-ID: 3rHXXSEcJ6k
2017-08-30 19:58:40 -07:00
Wes Kocher
940bdbc699 Merge autoland to central, a=merge
MozReview-Commit-ID: Jz9iBkuBrpV
2017-08-30 19:52:39 -07:00
Michael Layzell
c77fa9af3c Bug 1385316 - Include remoteType in BHR ping, r=froydnj 2017-08-30 12:04:16 -04:00
Michael Layzell
aa4bf37c97 Bug 1385366 - Include timeSinceLastPing in BHR ping payload, data-r=rweiss, r=froydnj 2017-08-30 12:04:11 -04:00
Junior Hsu
b7d9407875 Bug 1384510 - Disable rcwn in test_backgroundupdate.js. r=rhelmer 2017-08-30 04:17:00 -04:00
Kris Maglione
8b415f700f Bug 1394556: Part 1 - Fix strict mode errors in JSM scripts. r=Mossop
MozReview-Commit-ID: 4LmJQql7Y2c

--HG--
extra : rebase_source : f18b5547a5a57db4e8b990bfc34f06690ac9da7a
extra : histedit_source : 7281bafbde4bf231752d9d868ec8ca1d2f55a2f9
2017-08-30 01:50:27 -07:00
Bevis Tseng
215842a23c Bug 1392500 - Name the users of setTimeout() in Timer.jsm. r=billm,mccr8
1. Make nsINamed queriable on WrappedJSHolder.
2. Identify callers via |Cu.generateXPCWrappedJS(aCallback).QueryInterface(Ci.nsINamed).name|.

--HG--
extra : amend_source : 5d4201059f66e46c869c30a963921b6f7b91c389
2017-08-24 14:56:18 +08:00
Ryan VanderMeulen
94ba01b62f Backed out changeset 299138aaaecb (bug 1388331) for causing browser_urlbar_keyed_search_reflows.js failures. 2017-08-30 21:04:30 -04:00
Phil Ringnalda
b8183bc0b4 Backed out 6 changesets (bug 1302470) for mochitest-chrome failures
CLOSED TREE

Backed out changeset 3aab8b1494ef (bug 1302470)
Backed out changeset fdd40abac611 (bug 1302470)
Backed out changeset a67bc2f1b624 (bug 1302470)
Backed out changeset 160522290018 (bug 1302470)
Backed out changeset 6b948c533944 (bug 1302470)
Backed out changeset 399011313b3c (bug 1302470)

MozReview-Commit-ID: 2B3uMAkzNGv
2017-08-31 20:04:24 -07:00
Carl Corcoran
e2e4c246fa bug 1380254: Don't send StackTraces field to Socorro; r=gsvelto
MozReview-Commit-ID: 3K5I5ZQam7q

--HG--
extra : rebase_source : 9a089624c8656a136c16f24c3bf9cc002f3f131a
2017-08-28 08:43:24 +02:00
Sebastian Hengst
948b5a30f8 merge mozilla-central to autoland. r=merge a=merge 2017-08-30 11:06:42 +02:00
Sebastian Hengst
a56d428b1f merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: Gf0QPFp52Bj
2017-08-30 11:05:16 +02:00
Andrew McCreight
78807d8776 Bug 1391005 - Eliminate NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED. r=peterv
Replace it with NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION, because it
has been the same for a while.

MozReview-Commit-ID: 5agRGFyUry1

--HG--
extra : rebase_source : 5388c56b2f6905c6ef969150f0c5b77bf247624d
2017-08-29 16:02:48 -07:00
Wes Kocher
de530c1ea6 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 5c1Pgm4aVKe
2017-08-29 16:17:50 -07:00
Wes Kocher
2198196808 Merge inbound to central, a=merge
MozReview-Commit-ID: G6QZZ8RGk6n
2017-08-29 16:14:22 -07:00
Botond Ballo
236b0fa4f4 Bug 1394926 - Add APZ autoscroll information to about:support. r=kats
MozReview-Commit-ID: FlZNdHuoirG

--HG--
extra : rebase_source : 1cc352dc9a19c4a15d5bf7e75370a68c13024dda
2017-08-29 16:27:19 -04:00
Sebastian Hengst
ca3d97b658 merge mozilla-central to autoland. r=merge a=merge 2017-08-29 20:31:58 +02:00
Sebastian Hengst
2a9cc8e3be merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: BQuBmVtsdki
2017-08-29 20:30:41 +02:00
Tom Ritter
a1a3b5d895 Bug 1391685 Copy missing WideToMBCPto minidump-analyzer standalone program for gcc build r=gsvelto
MozReview-Commit-ID: 3S5poDINhH3

--HG--
extra : rebase_source : d5d3404c6ef618a7875557b37b19b131e948c763
2017-08-29 12:15:02 -05:00
Ryan VanderMeulen
5fb78035ef Bug 1389995 - Change the DEVTOOLS_TOOLBOX_HOST probe to never expire. r=rweiss
--HG--
extra : rebase_source : a76796e52154a2ee30aa731a9462066a60669629
2017-08-29 07:49:52 -04:00
Sebastian Hengst
558aede67b merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2017-08-29 20:36:12 +02:00
Sebastian Hengst
74d9ae23cf Backed out changeset c721cddf0dbc (bug 1388331) for failing browser-chrome's browser/base/content/test/performance/browser_urlbar_search_reflows.js, at least on OS X and Windows. r=backout 2017-08-29 19:39:48 +02:00
Michael Layzell
2b0333c9b7 Bug 1372662 - Part 1: Never copy sessionstorage into noopener windows, r=smaug 2017-08-29 13:18:11 -04:00
Michael Layzell
31dbe34453 Bug 1394331 - Check allocation of hang stack vector, r=froydnj 2017-08-29 13:16:30 -04:00
Chris H-C
28c67cf8bd bug 1376600 - Remove registered(Keyed)Histograms r=Dexter
With the removal of the old addonHistograms, all histograms are now registered.
So removing registered(Keyed)Histograms should be straightforward?

Unfortunately not, as this was how we filtered data based on dataset
(opt-in/opt-out), so a little more fiddling was needed to get C++ to only
serialize dataset-appropriate data (instead of post-facto filtering it in JS).

MozReview-Commit-ID: HDplhmzmzJl

--HG--
extra : rebase_source : 9c38c97e39e3c4fb192288d751505e1f0f2a2c6d
2017-08-22 09:42:09 -04:00
Tom Ritter
0ee8dd24bc Bug 1391685 Fix casing of objbase.h for MinGW build r=gsvelto
MozReview-Commit-ID: EJ5ow8av5cB

--HG--
extra : rebase_source : 79d3f69096350e67918ae05da6638a3a30cb92a5
2017-08-18 13:15:40 -05:00
Masatoshi Kimura
452d3a0896 Bug 1098412 - Remove __iterator__ implementation. r=luke
MozReview-Commit-ID: 6qqSSrB4Vvh

--HG--
extra : rebase_source : b8e6ef46d6bae1aecfe3874d81bd537e506bdba3
2017-08-24 22:17:40 +09:00
Dan Banner
0c789ae13f Bug 1394820 - Enable ESLint for DownloadIntegration.jsm r=standard8
MozReview-Commit-ID: INwMSXSJ31f

--HG--
extra : rebase_source : c7b2b8f0908b28ea606cee2535d279d44bfe9126
2017-08-29 18:57:11 +01:00
Francois Marier
99cb2b5a18 Bug 1394601 - Log an error when the Google API key is missing during Safe Browsing initialization. r=gcp
MozReview-Commit-ID: DNwa9lR0J6K

--HG--
extra : rebase_source : 0a547c0cf88e1ed09268cbb810abaaca09e98531
2017-08-28 17:06:00 -07:00
Wes Kocher
a8e6d0bd2c Merge m-c to inbound, a=merge
MozReview-Commit-ID: 7XpmaFg1k8N
2017-08-29 16:17:13 -07:00
Josh Aas
e200863a26 Bug 1298930 - Remove the eRestarti386 and eRestartx86_64 constants. r=spohl
--HG--
extra : amend_source : 303c9a9df47398ad87d86ba6522cbdddbfe647a7
2017-08-29 05:50:00 -04:00
Wes Kocher
d03d9bee49 Merge m-c to inbound, a=merge
MozReview-Commit-ID: BJmeuDcuHke
2017-08-28 17:45:07 -07:00
Eric Rahm
9398bd6f43 Bug 1393235 - Fix improper usages of string functions. r=njn
This fixes usages of `Find`, `RFind` and the equality operator that kind of
work right now but will break with the proper type checking of a templatized
version of the string classes.

For `Find` and `RFind` it appears that `nsCString::(R)Find("foo", 0)` calls
were being coerced to the `Find(char*, bool, int, int)` versions. The intent was
probably to just start searching from position zero.

For the equality operator, the type of nullptr is nullptr_t rather than
char(16_t)* so we'd need to add an operator overload that takes nullptr_t. In
this case just using `IsVoid` is probably more appropriate.

--HG--
extra : rebase_source : 50f78519084012ca669da0a211c489520c11d6b6
2017-08-22 19:30:46 -07:00
Ryan VanderMeulen
386cbdf23f Bug 1389994 - Extend the search events probe expiration to Firefox 65. r=rweiss 2017-08-28 16:28:57 -04:00
Michael Layzell
758b95927c Bug 1393915 - Deduplicate consecutive (content script) frames, r=froydnj 2017-08-28 13:17:29 -04:00
Sebastian Hengst
9769c22d10 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: AeoHOxZLi6m
2017-08-28 16:53:53 +02:00
John Lin
38273ed7b3 Bug 842782 - p3: lock fullscreen video orientation. r=ralin
- if enabled, lock orienation when fullscreen state change
- use video aspect ratio to choose which orientation to lock

MozReview-Commit-ID: 3HP60YNbWcc
2017-08-28 18:15:44 +08:00
Ehsan Akhgari
bfb5870d18 Bug 1382923 - Avoid AddRef()ing the History service in the Link constructor; r=smaug 2017-08-28 00:51:26 -04:00
Ted Mielczarek
6121dea7c8 bug 1392312 - fix filename mapping in symbolstore.py on Windows. r=chmanchester
symbolstore.py processes filenames in FILE lines of symbol files to encode
information about the source repository they came from, or to mark
known generated source files. It also reads the dist/include install
manifest so it can map header files from there back to their source locations.

These mappings were broken on Windows because symbolstore.py first passes
filenames into `FixFilenameCase`, which calls `GetFinalPathNameByHandleW`,
which breaks things in two ways:
1) It returns paths with an uppercase drive letter, and source paths from
   elsewhere have a lowercase drive letter.
2) It resolves symlinks, and on Taskcluster Windows builds the whole build
   is done within a symlinked directory so paths directly from the srcdir
   and objdir won't match those canonicalized paths.

This patch adds a `normpath` function to symbolstore.py and moves the
contents of `FixFilenameCase` into it on Windows, and just makes it
an alias for `os.path.normpath` everywhere else. It then uses it everywhere
we deal with paths that will be compared against source file paths from symbol
files so that all paths are canonicalized the same and we can do simple
string matching from there.

Additionally, this patch adds a check to the functional test to verify
that header files from dist/include are correctly mapped to the source
repository. Unfortunately there is still not a test for generated files
because they only appear in the libxul symbol file, and dumping symbols
from libxul is too slow to invoke as part of a unit test.

MozReview-Commit-ID: Dx3z1BZcIvc

--HG--
extra : rebase_source : 80179bbea58a804344a56ef27f438ada76e7fe77
2017-08-23 13:14:37 -04:00
Wei-Cheng Pan
83f77707b7 Bug 1373814 - Add new probe to measure start-up input latency. data-r=francois r=francois,smaug
For parent process, users may expect the UI is interactable after they saw the
first tab has restored/shown.
So this patch added a new topic "sessionstore-one-or-no-tab-restored" which
represents the parent process has finished a tab restoring. If there is nothing
to restore, it is effectively equal to "sessionstore-windows-restored".

For centent processes, users may expect web content is interactable when the
top-level-content-document has finished loading, which is different from the
parent case.

MozReview-Commit-ID: AtEUW80Ea6n

--HG--
extra : rebase_source : d920975bf95545ea9e3127d3f570b814fe301be9
2017-08-08 17:54:13 +08:00
Marco Bonardo
fe39f5ced4 Bug 1395082 - Intermittent toolkit/components/places/tests/browser/browser_visited_notfound.js. r=standard8
MozReview-Commit-ID: GzAZXNIbBCN

--HG--
extra : rebase_source : 18e79867846705ad5ab79588a9f97eaa3fd37324
2017-08-30 17:32:20 +02:00
Sebastian Hengst
53ed0137ec Backed out changeset f3653a89b841 (bug 842782) 2017-08-28 09:59:06 +02:00
John Lin
34072a9299 Bug 842782 - p3: lock fullscreen video orientation. r=ralin
- if enabled, lock orienation when fullscreen state change
- use video aspect ratio to choose which orientation to lock

MozReview-Commit-ID: 3HP60YNbWcc

--HG--
extra : rebase_source : 0ca078e35324d1e5f3bdf1ec29d33b3bc812bfa1
2017-08-17 11:07:13 +08:00
Andrew Swan
1e8af6f7ac Bug 1393156 Legacy extension test loose ends r=kmag
Change webextensions experiments test to use the shimmed certficiate DB
instead of the extensions.legacy.enabled pref.
In builds that don't honor the extensions.legacy.enabled pref, disable
test_legacy.js since that tests that flipping that preference works properly.
Finally, remove a now doubly-obsolete test of plugins embedded in xpis.

MozReview-Commit-ID: JiRdgCXyjKR

--HG--
extra : rebase_source : f0c7672b0755993bd20f9fc84e242eb76cb949ef
2017-08-26 08:55:20 -07:00
Andrew Swan
87cbc6d4ab Bug 1393156 Update signing tests r=kmag
test_signed_migrate.js was about migrating from a build that does not
enforce signatures to one that does.  This migration happened a while
ago so we can just get rid of this test.
test_signed_inject.js uses signed legacy extensions and needs to be
udpated to use webextensions, this is bug 1394122.

MozReview-Commit-ID: GYq002YroDk

--HG--
extra : rebase_source : a9c5441e55a52f4a98dbb06781588af13915cb8f
2017-08-26 11:23:40 -07:00
Andrew Swan
1788d7bbb5 Bug 1393156 Update addon DB rebuilding test cases r=kmag
Update a bunch of tests that cover rebuilding the addons database to use
webextension themes instead of complete themes.  Discovered bug 1394117
along the way and disabled a bunch of code pending fixing that bug.

MozReview-Commit-ID: AfXL9vcQGvK

--HG--
extra : rebase_source : a05ccff9b54838684a26c3139557c75b12c33028
2017-08-26 10:59:37 -07:00
Andrew Swan
fa51ae0210 Bug 1393156 Remove addons manager tests specific to complete themes r=kmag
MozReview-Commit-ID: 7D7k2q3x8v9

--HG--
extra : rebase_source : 9cb056778fb2b0aab4e06f1d95f02dc6fdf9f09b
2017-08-26 08:57:56 -07:00
Andrew Swan
571fc93177 Bug 1393156 Remove obsolete theme compatbility override feature r=kmag
MozReview-Commit-ID: GGxmjMO1HCN

--HG--
extra : rebase_source : e1c1fbbd5c3f6ce3752f5735431600f4012eaa59
2017-08-26 08:03:36 -07:00
Evan Tseng
6ca7e030d1 Bug 1393354 - Update the color code of in-content link's normal, hover, and active stages to match Photon visual spec. r=mconley
MozReview-Commit-ID: Ltj7Clw4StH

--HG--
extra : rebase_source : 30a1b3f068b5045d1e7d9b14ee290d42a99ba83c
2017-08-25 18:35:33 +08:00
Phil Ringnalda
f144cb08b9 Merge m-i to m-c, a=merge
MozReview-Commit-ID: AX10UmzAEqg
2017-08-27 17:31:55 -07:00
Phil Ringnalda
5e0cb1d330 Merge m-c to m-i
MozReview-Commit-ID: 3TTO51aTTST
2017-08-26 18:20:19 -07:00
Phil Ringnalda
e6458e1fee Merge m-i to m-c, a=merge
MozReview-Commit-ID: AYBlGJan6UL
2017-08-26 18:18:02 -07:00
Phil Ringnalda
6e0931231e Backed out changeset eca521df662f (bug 1388221) for browser_library_downloads.js, browser_library_infoBox.js and browser_library_search.js failures on OS X
MozReview-Commit-ID: CrYUAKCFCMK
2017-08-26 17:34:08 -07:00
Wes Kocher
7a8adb69f4 Merge m-c to inbound, a=merge
MozReview-Commit-ID: jMFiwJkgHA
2017-08-25 17:27:14 -07:00
Wes Kocher
68149d6a59 Merge inbound to central, a=merge
MozReview-Commit-ID: 3N9jinnrmjb
2017-08-25 16:21:57 -07:00
Sebastian Hengst
6fd5b9e1ca merge mozilla-central to autoland. r=merge a=merge 2017-08-25 13:19:59 +02:00
Sebastian Hengst
31302b9cec merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 5armhVE9Jui
2017-08-25 13:12:04 +02:00
Cervantes Yu
7d0d416f10 Bug 1390143 - Generate the parent minidump synchronously to keep parent process's stack when creating paired minidumps. r=gsvelto
Bug 1360308 offloads IO operations from the main thread when we create paired minidumps.
This breaks the symmetry of paired minidumps: the thread stacks of the parent minidump
doesn't correspond to the thread stacks in the child minidumps and renders the parent
stack useless. This patch moves generation of the parent minidump back to the main
thread to keep the context of the parent process when creating paired minidumps. Child
minidump is still created asynchronously.

MozReview-Commit-ID: 9RmBAuXMPSX
2017-08-25 11:12:34 +08:00
Ryan VanderMeulen
3d0158833d Merge autoland to m-c. a=merge 2017-08-24 20:20:08 -04:00
Wes Kocher
096bc1e19f Backed out changeset 69f853076a0f (bug 1381460) for failures in browser_UsageTelemetry_content.js a=backout
MozReview-Commit-ID: 3oQoIoK1uwD
2017-08-24 12:50:14 -07:00
Ricky Chien
3604cbdd8d Bug 1393385 - Update about:preferences category menu to match the spec r=jaws
--HG--
extra : rebase_source : e01fc7a0004d5d14716347837ed74b6daf26ab44
2017-08-24 18:34:57 +08:00
Tom Ritter
8dbe002119 Bug 1393538 Clean up unused variables in toolkit/ r=smaug
MozReview-Commit-ID: I6r50dqJJHJ

--HG--
extra : rebase_source : f1f773db8f0ec44c1cf6f194973f870b08f6138b
2017-08-24 15:07:59 -05:00
Chris Pearce
008b91fc79 Bug 1392485 - Hook QueryDosDeviceW() in GMP process so it works inside the sandbox. r=bobowen,r=dmajor
We hook in kernelbase.dll rather than kernel32.dll, as hooking QueryDosDeviceW
kernel32.dll is failing on our Win8 tests, it seems because QueryDosDeviceW in
kernel32.dll redirects to kernelbase32.dll, and the redirect has insufficient
space for our hook in Win8. So hook in kernelbase.dll, where the redirect
redirects to instead.


MozReview-Commit-ID: JKRiKCd7Ibn

--HG--
extra : source : 635dedbff7ceebc1e71bf397228da87bf5c6a0dc
2017-08-23 10:56:41 +12:00
Axel Hecht
471ed052ed bug 1392256, hyphenation dicts don't depend on locale, drop from repacks, r=gps,m_kato
The hyphenation dictionaries we ship as part of the build don't depend
on the UI locale, let's stop treating them as localizable content during
repacks.

MozReview-Commit-ID: FTrw4KDtops

--HG--
extra : rebase_source : f6ddb22154fc66da0a7cdc56a4cecb58c9e3d54b
2017-08-21 15:42:39 +02:00
Michael Layzell
e3a6c83f03 Bug 1390585 - Check the state of BHRTelemetryService in test_BHRObserver.js, r=froydnj 2017-08-24 16:58:27 -04:00
Kris Maglione
3d16325eaf Bug 1391405: Part 6 - Use native helper for extracting enumerable properties. r=zombie
MozReview-Commit-ID: JqSrGUVVauE

--HG--
extra : rebase_source : 1ffb3fdc2688052d768264f105492199e3ced598
extra : histedit_source : cdb9ea7630b674c9e446e28def08a0fc204b99b6
2017-08-17 16:06:15 -07:00
Kris Maglione
8d30fc2d2c Bug 1391405: Part 4 - Avoid easily-avoidable regexp. r=zombie
MozReview-Commit-ID: 6xAr5hGxm2r

--HG--
extra : rebase_source : eef7eb12615faaf6fa9adc87685ef74be9413a0c
extra : histedit_source : 0c1eb852ea025f8eb9c75dc15706da6f88cb475b
2017-08-17 14:45:30 -07:00
Kris Maglione
cbddab6266 Bug 1391405: Part 3b - Speed up schema normalization for choices types some more. r=zombie
Like part a, but for `choices` messages rather than error messages.

MozReview-Commit-ID: 7dJ0NL2fUh5

--HG--
extra : rebase_source : 477f1364c0904bde78d54eae083bdb8e49ee5732
extra : histedit_source : 38c336b3a59481b6f2523798367159fb757c6485
2017-08-24 13:03:42 -07:00
Kris Maglione
7325526f5a Bug 1391405: Part 3a - Speed up schema normalization for choices types. r=zombie
For choices types, when one choice fails, we don't need the original error
string, since another choice may succeed, and we generate the final error
based on all of the options. Nevertheless, we spend a lot of time generating
JSON strings for the failed inputs in those cases, which adds up to about 12%
of the remaining overhead at this point.

MozReview-Commit-ID: 6nXBAv2W20V

--HG--
extra : rebase_source : 5894bc4b9e8d64ac9505f27240ea4fabfcb5f02f
extra : histedit_source : 0e8b5e0315abd672a57a60420453a1e0681c9df6
2017-08-18 11:49:13 -07:00
Kris Maglione
d727073568 Bug 1391405: Part 2 - Speed up base type normalization. r=zombie
The Array and ArrayBuffer type checks we do in getBaseType add up to a
significant amount of overhead given the number of times we call them,
especially when X-ray overhead comes into play. These changes allow us to
avoid X-ray overhead altogether.

MozReview-Commit-ID: KlRuxeElIfp

--HG--
extra : rebase_source : c7f00fb8c35965476e7c7b888b6af36714c1323f
extra : histedit_source : fc559e665e60e9bbb688eebe6c6e6da5dacec748
2017-08-17 14:23:15 -07:00
Simon Lindholm
0c65735985 Bug 1393483 - Correctly pass cancel token to _onResultRow. r=mak 2017-08-24 08:20:00 -04:00
Sebastian Hengst
cb6cf95f70 Backed out changeset d2a4fa2a4005 (bug 1139913) for failing browser-chrome's browser_downloads_panel_height.js. r=backout 2017-08-24 18:55:43 +02:00
Kevin Jones
841456a51c Bug 1332144 - Add browser.find extension API. r=mikedeboer, r=mixedpuppy
Provides access to the browser's internal Find APIs.  Can search,
get range data and rect data on found results, and highlight results.

--HG--
extra : amend_source : dfa2b36794543378db58e411ca4e317a64921831
2017-08-24 18:24:00 -04:00
Mike Conley
bad1d3e781 Bug 1385453 - Add Telemetry to measure how successful speculative tab warming is when switching tabs. r=billm,liuche, data-review=liuche
MozReview-Commit-ID: GSMEE3IUlzN

--HG--
extra : rebase_source : be219d2caea47e5050efa3414e941e10bd1ee1e8
2017-08-09 16:45:33 -04:00
Ryan VanderMeulen
2f60ba6fc6 Merge m-c to autoland. a=merge
CLOSED TREE

--HG--
extra : amend_source : 57c6e5e3155c1ad79d409f8a71c40704297b0600
2017-08-24 20:59:40 -04:00
Wes Kocher
d57e3cca8f Backed out changeset 528d2ea1c438 (bug 1382440) for build failures in CPUUsageWatcher.h a=backout
MozReview-Commit-ID: DBjkvFPoWFZ
2017-08-24 15:24:47 -07:00
Shane Caraveo
66f20a68a1 Bug 1389718 fix receiving a message in proxy sandbox when running OOP, r=kmag
MozReview-Commit-ID: xgHIph36SG

--HG--
extra : rebase_source : 90010f086b713f7308d0f0367d96f6f79284b28a
2017-08-24 12:49:56 -07:00