Commit Graph

49725 Commits

Author SHA1 Message Date
Robert Bartlensky
48c813758b Bug 1476314: Fix errors reported by infer in toolkit/*. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D2266

--HG--
extra : moz-landing-system : lando
2018-07-23 23:38:46 +00:00
Mike Cooper
3c5b5341ed Bug 1477380 - Don't set startup prefs for user-branch Normandy pref-experiments r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D2305

--HG--
extra : moz-landing-system : lando
2018-07-24 18:24:22 +00:00
Brian Grinstead
96dc530924 Bug 1476333 - Refer to AppConstants.BROWSER_CHROME_URL to get the browser URL from the frontend;r=Gijs
Before this change, we accessed the browser URL in the following ways:

- "chrome://browser/content/browser.xul"
- "chrome://browser/content/" (which redirects to chrome://browser/content/browser.xul)
- Services.prefs.getCharPref("browser.chromeURL") which returns "chrome://browser/content/"
- getBrowserURL() from utilityOverlay.js

MozReview-Commit-ID: I5vtRke1x9t

--HG--
extra : rebase_source : c525350a1954740873e85b045cbb14a8b43aa89d
2018-07-24 08:12:50 -07:00
Brian Grinstead
eb11f1de3b Bug 1476333 - Define the browser chrome URL as BROWSER_CHROME_URL so it can be accessed from AppConstants instead of a pref;r=gps
MozReview-Commit-ID: DPxayAW4D1s

--HG--
extra : rebase_source : 4d3f1e71b0abd1f38cd750d52b84269b6af52991
2018-07-24 08:12:48 -07:00
Dão Gottwald
d0a8d0ffb2 Bug 1442582 - Remove the tabbrowser-tabpanels binding. r=dao
MozReview-Commit-ID: HcQgRbvcdiV

--HG--
extra : rebase_source : 4eaebcb9e651f5e5e90a5082cb04678b4739e585
2018-03-16 22:30:01 +01:00
Mark Banner
8de4344378 Bug 1462135 - Replace PlacesUtils.getCharsetForURI with PU.history.fetch with an option to fetch annotations. r=mak
This also avoids us doing main thread sync io.

MozReview-Commit-ID: KR0p7eeu1sj

Differential Revision: https://phabricator.services.mozilla.com/D2117

--HG--
extra : moz-landing-system : lando
2018-07-24 16:41:22 +00:00
Luca Greco
a31a979967 Bug 1476268 - Fix uncaught storage.local IDBTransaction error on explicit IDBTransaction abort. r=mixedpuppy
MozReview-Commit-ID: F4gA0V0eq8U

--HG--
extra : rebase_source : 35799c0755aa7089c5f537ef520184d3ff65bda3
2018-07-16 17:43:57 +02:00
Gurzau Raul
19e302fb18 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-07-24 12:52:06 +03:00
Gurzau Raul
f2e1e857f1 Merge inbound to mozilla-central. a=merge 2018-07-24 12:49:23 +03:00
Nicholas Nethercote
e6f8df84ad Bug 1477622 - Add microbenchmarks measuring hash table performance. r=froydnj
--HG--
extra : rebase_source : 2d76bfcb862b3b690ea8db2b5b007dde2a90f914
2018-07-24 10:38:43 +10:00
Kris Maglione
7aa3564a28 Bug 1477579: Part 3 - Avoid duplicating static strings in category manager entries. r=froydnj
Much like the component manager, many of the strings that we use for category
manager entries are statically allocated. There's no need to duplicate these
strings.

This patch changes the category manager APIs to take nsACStrings rather than
raw pointers, and to pass literal nsCStrings when we know we have a literal
string to begin with. When adding the category entry, it then skips making
copies of any strings with the LITERAL flag.

MozReview-Commit-ID: EJEcYSdNMWs
***
amend-catman

--HG--
extra : source : aa9a8f18e98f930a3d8359565eef02f3f6efc5f9
extra : absorb_source : 81a22ab26ee8017ac43321ff2c987d8096182d37
2018-07-23 17:41:06 -07:00
Brindusan Cristian
91a3707d5f Backed out 3 changesets (bug 1477579) for build bustages on xpcshell\selftest.py and crashtest failures on /components/nsComponentManager.cpp. CLOSED TREE
Backed out changeset aa9a8f18e98f (bug 1477579)
Backed out changeset 5fb0b7746a5d (bug 1477579)
Backed out changeset 8359f8fe4184 (bug 1477579)
2018-07-24 04:55:03 +03:00
Kris Maglione
dfd38a6ac3 Bug 1477579: Part 3 - Avoid duplicating static strings in category manager entries. r=froydnj
Much like the component manager, many of the strings that we use for category
manager entries are statically allocated. There's no need to duplicate these
strings.

This patch changes the category manager APIs to take nsACStrings rather than
raw pointers, and to pass literal nsCStrings when we know we have a literal
string to begin with. When adding the category entry, it then skips making
copies of any strings with the LITERAL flag.

MozReview-Commit-ID: EJEcYSdNMWs
***
amend-catman

--HG--
extra : rebase_source : 4f70e7b296ecf3b52a4892c92155c7c163d424d2
2018-07-23 17:41:06 -07:00
Kris Maglione
07727ed247 Bug 1477129: Part 3 - Re-enable e10s on FreeBSD. r=froydnj
Backed out changeset 197fcba26a38

MozReview-Commit-ID: 4OOmP91hKXQ

--HG--
extra : rebase_source : 92d3e01734c6154261a8003fcc481c9d81f00c38
2018-07-19 18:18:27 -07:00
Brian Hackett
4276fa596d Bug 1465294 Part 13 - Don't create printing proxy child in middleman processes, r=mconley.
--HG--
extra : rebase_source : 19d0081de9f9de261f42b55a00f7102ad321b5c3
2018-07-23 14:57:08 +00:00
Brian Hackett
9f0fe229f0 Bug 1465294 Part 12 - Don't create background hang thread in middleman processes, r=froydnj.
--HG--
extra : rebase_source : 87f94ca6f8da17fcc4229c1b57ddd998a8b83509
2018-07-23 14:56:42 +00:00
Brian Hackett
87413c9c45 Bug 1207696 Part 5n - Don't perform telemetry while recording or replaying, r=gfritzsche.
--HG--
extra : rebase_source : 69dfc903984429e5fd8c255379eb7a279ae690f9
2018-07-23 14:40:51 +00:00
Brian Hackett
1cefdc3780 Bug 1207696 Part 5g - Disable finalization witnesses when recording or replaying, r=froydnj.
--HG--
extra : rebase_source : d08033096a3ec6f77ff95e6073975b30b1929781
2018-07-23 14:37:41 +00:00
Brian Hackett
594c07513c Bug 1207696 Part 1e - Disable crash reporting when recording/replaying, r=billm.
--HG--
extra : rebase_source : 3535b0dbbdb2354a996fc0e9f0389213b796ee3a
2018-07-23 14:33:42 +00:00
Brindusan Cristian
dcbbf37b84 Backed out changeset 7b42110e827b (bug 1461465) for android mochitest failures on test_ext_async_clipboard.html. CLOSED TREE 2018-07-23 22:11:26 +03:00
Julian Descottes
5755d7ce7e Bug 1474529 - Update scalar is_devtools_user to opt-out and expire in Fx66;r=francois
MozReview-Commit-ID: 2gSYSEnvCPN

--HG--
extra : rebase_source : ea8fea805dca359985d33955a8e76917f66051b7
2018-07-20 21:56:02 +02:00
Chris Pearce
ea566d079b Bug 1476456 - Add telemetry to report whether autoplay would be not allowed if autoplay was disabled. r=baku,francois
We'd like to add telemetry to help inform the decision as to how enabling
block autoplay will affect video playback in the wild.

Our data science team would also like some input to help them estimate the
rate at which our shield study would receive pings, and the telemetry
collected here will help them estimate that.

We'd like to collect the following, on a per session basis:
* Count of the number of top level content documents loaded, as denominator for
other stats collected here.
* Count of the number of top level content documents which contained (directly
or in a descendant document) playback of an audible media element.
* Count of the number of top level content documents which contained (directly
or in a descendant document) a muted media element that was paused by the
autoplay policy because it tried to unmute and it wasn't allowed to autoplay
audibly.
* Count of the total number of audible autoplay videos that would have not been
allowed to play if block autoplay was enabled. We'd either prompt for
permission on these videos, or block outright depending on user's settings.
* Count of the total number of audible autoplay videos that would have been
allowed to play if block autoplay was enabled.

MozReview-Commit-ID: vHWJPyqHjT

--HG--
extra : rebase_source : e1f22ec83fda8b65d78f1de9f02cf060d424019c
2018-07-18 15:34:04 +12:00
shindli
70ab23ecd2 Backed out changeset d126a6593e8f (bug 1475647) for mozmake.exe bustage on a CLOSED TREE 2018-07-24 02:55:53 +03:00
Dipen Patel
b0259a189f Bug 1475647 - Remove nsISSLStatusProvider interface. r=baku,Gijs,jchen,jryans,keeler,mcmanus
- Access nsISSLStatus directly as a member of nsITransportSecurityInfo
and nsISecureBrowserUI.  This is part of a larger effort to consolidate
nsISSLStatus and nsITransportSecurityInfo.
- The TabParent implementation of GetSecInfo will always return null.
- Removed unnecessary QueryInterface calls
- Style adherence updates

MozReview-Commit-ID: Dzy6t2zYljL

--HG--
extra : rebase_source : b15f75e39d04c8485b4eb63416fd1f1e4175fafe
2018-07-13 11:48:55 -07:00
Coroiu Cristina
220232e2f4 Merge mozilla-central to autoland a=merge on a CLOSED TREE 2018-07-24 00:45:40 +03:00
Tim Nguyen
187dbcb6e0 Bug 1477708 - Make theme loading part of the Theme constructor in ext-theme.js. r=jaws
MozReview-Commit-ID: 2rZu7Iqtk7D

--HG--
extra : rebase_source : a7f590444c9faecce37f08993c7bd781cd4c2138
2018-07-23 14:22:06 +01:00
Tim Nguyen
cb6d2f84ed Bug 1477775 - Remove extensions.webextensions.themes.enabled preference. r=jaws
MozReview-Commit-ID: 2dnFhMGRLbG

--HG--
extra : rebase_source : 72e92fbcce1d15f7fd800241b7db9bc7224f1d31
2018-07-23 19:20:30 +01:00
shindli
bcc9b73a57 Backed out changeset 590299c07f06 (bug 1474163) for AddressSanitizer failures on a CLOSED TREE.
--HG--
rename : browser/modules/LightweightThemeChildHelper.jsm => browser/modules/LightweightThemeChildListener.jsm
2018-07-23 21:35:34 +03:00
Tim Nguyen
47579db045 Bug 1474163 - Make use of sharedData for content theme data. r=mconley
MozReview-Commit-ID: Etz8huX2YCt

--HG--
rename : browser/modules/LightweightThemeChildListener.jsm => browser/modules/LightweightThemeChildHelper.jsm
extra : rebase_source : ac87b4f18f2d03a8da00726bc9b39604ffd2e73b
2018-07-13 16:21:34 +01:00
shindli
fe6aa6d8b5 Backed out changeset 7fd40900b7c1 (bug 1474163) for assertion failure at /builds/worker/workspace/build/src/obj-firefox/dist/include/mozilla/dom/BindingUtils.h:1070 on a CLOSED TREE
--HG--
rename : browser/modules/LightweightThemeChildHelper.jsm => browser/modules/LightweightThemeChildListener.jsm
2018-07-23 20:41:23 +03:00
Tim Nguyen
2d03c6adef Bug 1474163 - Make use of sharedData for content theme data. r=mconley
MozReview-Commit-ID: Etz8huX2YCt

--HG--
rename : browser/modules/LightweightThemeChildListener.jsm => browser/modules/LightweightThemeChildHelper.jsm
extra : rebase_source : 00aa3b51403c5d8d9ac5fa3333f96567fe192613
2018-07-13 16:21:34 +01:00
Aaron Klotz
ae68a9de15 Bug 1467798: Fix problems with inlining and paths in TestDllInterceptorCrossProcess; r=handyman 2018-07-04 14:12:36 -06:00
Marco Castelluccio
9e4a436b47 Bug 1477202 - Avoid shipping PerTestCoverageUtils.jsm to users by only adding it to Marionette when MOZ_CODE_COVERAGE is defined. r=florian
--HG--
extra : rebase_source : 18fe9086546fa328dddfe35f307f383f832c9a75
2018-07-20 11:37:52 +02:00
Anny Gakhokidze
05520e664b Bug 1461465 - Implement async Clipboard APIs, r=nika,enndeakin
MozReview-Commit-ID: 3vCxbaGZtiv
2018-07-23 13:41:07 -04:00
Cosmin Sabou
3144e04a98 Backed out changeset 86bce8df5152 (bug 1461465) for build bustages on dom/Clipboard.h. CLOSED TREE 2018-07-23 19:16:37 +03:00
Paolo Amadini
8adbeb4164 Bug 1475916 - Use em instead of px for list heights to keep font scaling into account. r=bgrins
MozReview-Commit-ID: FDMwrHg27ad

--HG--
extra : rebase_source : 66c957f2516e4cded7c6e73da5ea30080ab2d37b
2018-07-23 10:07:38 +01:00
Anny Gakhokidze
2e0358b999 Bug 1461465 - Part 1: Implement async Clipboard APIs, r=nika,enndeakin
MozReview-Commit-ID: 3vCxbaGZtiv
2018-07-23 11:59:13 -04:00
Cosmin Sabou
c42ea64d0b Merge mozilla-central to mozilla-inbound. a=merge
--HG--
rename : devtools/client/inspector/fonts/test/browser_fontinspector.html => devtools/client/inspector/fonts/test/doc_browser_fontinspector.html
extra : rebase_source : 176b90278222fa0e5334b71bd898396651e061f7
2018-07-23 18:55:14 +03:00
Cosmin Sabou
f58174c712 Backed out changeset f840add2cdd4 (bug 1474163) for causing mochitest frequent leaks.
--HG--
rename : browser/modules/LightweightThemeChildHelper.jsm => browser/modules/LightweightThemeChildListener.jsm
2018-07-23 16:29:05 +03:00
Tim Nguyen
a874fa36fa Bug 1474163 - Make use of sharedData for content theme data. r=mconley
MozReview-Commit-ID: Etz8huX2YCt

--HG--
rename : browser/modules/LightweightThemeChildListener.jsm => browser/modules/LightweightThemeChildHelper.jsm
extra : rebase_source : bed95f7e99c88d22821b55b4e4b7b4ba15dcbe19
2018-07-13 16:21:34 +01:00
Valentin Gosu
7937c7c4cc Bug 1476928 - Remove nsIURI.CloneIgnoringRef and nsIURI.CloneWithNewRef r=JuniorHsu
The patch introduces NS_GetURIWithNewRef and NS_GetURIWithNewRef which perform the same function.

Differential Revision: https://phabricator.services.mozilla.com/D2239

--HG--
extra : moz-landing-system : lando
2018-07-23 11:28:47 +00:00
Paolo Amadini
9fcfbd311a Bug 1473931 - Load "progressmeter.css" as a document stylesheet. r=bgrins
MozReview-Commit-ID: 5sPik8wxZvf

--HG--
extra : rebase_source : 6b410ba2d3244f2e408453612bb227a496274275
extra : source : a866807aa3c2cda5697684b0227db07aadef9912
2018-07-06 17:22:22 +01:00
Paolo Amadini
5c4b6e9d2e Bug 1473925 - Load "dialog.css" as a document stylesheet. r=bgrins
MozReview-Commit-ID: HsjcQaeGN30

--HG--
extra : source : e6ade77773514fc3145f44f0801eac9a32fbb8fd
2018-07-06 17:06:24 +01:00
Paolo Amadini
8891a2360e Bug 1475202 - Fix double-click handler to work with non-anonymous content in the "richlistitem" element. r=bgrins
MozReview-Commit-ID: 422kMknrUUH

--HG--
extra : rebase_source : f56f7bdf1a6aaf8b71c07edd2d671f0d12970a3e
2018-07-20 13:23:12 +01:00
Sebastian Hengst
4d9d456ce8 Bug 1464903 - Add metadata to file bugs for toolkit/recordreplay into Core::Web Replay. r=test-fix 2018-07-23 11:06:50 +03:00
Brian Hackett
1c5735cc0d Bug 1465466 Part 4 - Send compositor updates to the UI process from the middleman, r=mccr8,nical.
--HG--
extra : rebase_source : 660a736cb9e6a49912eb535ced4b60766fcb668b
2018-07-22 12:03:06 +00:00
Brian Hackett
11d1005390 Bug 1465466 Part 2 - Synchronously composite into a graphics shmem buffer when recording/replaying, r=nical.
--HG--
extra : rebase_source : a89c5fd8f87f82e5a93f9b3311617317a67b3333
2018-07-22 12:02:26 +00:00
Brian Hackett
e6a4589c5b Bug 1465294 Part 14 - Use a single thread in stylo when recording/replaying, r=xidorn.
--HG--
extra : rebase_source : b15f4a8889bb2e379a75fabf331a79502a84dc7e
2018-07-22 12:01:34 +00:00
Brian Hackett
b0487e5938 Bug 1470795 Part 11 - Fix bug in record/replay channel initialization, r=mccr8.
--HG--
extra : rebase_source : 51aa6307326ffaf8fe1e169d94579b74b1ee3d89
2018-07-22 12:00:53 +00:00
Brian Hackett
f8489a95cf Bug 1470795 Part 10 - Include progress counter in record/replay assertion streams, r=froydnj.
--HG--
extra : rebase_source : ab97ec7f7602f5d2e05014374996288250c2d87c
2018-07-22 12:00:14 +00:00