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

49849 Коммитов

Автор SHA1 Сообщение Дата
Brian Hackett 4be736018d Bug 1207696 Part 4b - Make recording optional in mozilla mutexes and monitors, r=froydnj.
--HG--
extra : rebase_source : c00f199b38c6bdd47ed1793edf2ce90fbf2ff420
2018-07-21 14:22:54 +00:00
Cosmin Sabou b5b2c78493 Merge mozilla-central to autoland. a=merge 2018-07-21 00:48:28 +03:00
Cosmin Sabou 0d3874d7d6 Merge mozilla-inbound to mozilla-central. a=merge 2018-07-21 00:42:01 +03:00
Michael Kaply 96e550bb6b Bug 1477076 - Add POST support to addEngineWithDetails. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D2254

--HG--
extra : moz-landing-system : lando
2018-07-20 18:40:00 +00:00
Tim Nguyen d647accd97 Bug 1470382 - Fix visibility issues in WebRTC permission popup. r=johannh
MozReview-Commit-ID: 3wZNuC4bQS1

--HG--
extra : rebase_source : eaf2f841f7ce37b55b061a4435114ea1136337c4
2018-07-20 16:07:47 +01:00
Andrea Marchesini 28962b5168 Bug 1468501 - Implement a way to delete network cache by nsIPrincipal, r=mayhemer, r=michal 2018-07-20 13:57:18 +02:00
Andreea Pavel b5a482c899 Backed out 3 changesets (bug 1475073, bug 1304645, bug 1474537) for failing wpt and mochitest on a CLOSED TREE
Backed out changeset 4fbeea69b10d (bug 1475073)
Backed out changeset d3ac68d9ead9 (bug 1304645)
Backed out changeset 113b601a3b59 (bug 1474537)
2018-07-20 14:00:09 +03:00
Tiberius Oros 5955cda3e1 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-07-20 13:00:01 +03:00
Tiberius Oros 10e6320abc Merge inbound to mozilla-central. a=merge 2018-07-20 12:56:59 +03:00
Christoph Kerschbaumer f33c5faa8f Bug 1474537 - CSP 'self' should translate to 'self' and not be resolved to actual self URI. r=dveditz 2018-07-20 10:39:31 +02:00
Jan Beich 7d61fe74ac Bug 1475970 - Disable e10s on FreeBSD by default due to kernel bug. r=froydnj
MozReview-Commit-ID: UqaO9sZWr

--HG--
extra : rebase_source : eab027f9fa60d7c6ad65f14c5793b2025cba9ef3
2018-07-19 18:43:40 +00:00
Chris Pearce 33cfb93398 Bug 1476853 - Don't block WebAudio autoplay by default. r=padenot
Pending figuring out how we want to block autoplay of WebAudio content, we
should just not block it by default for the initial release of block autoplay,
and follow up once we've figured out how to not break the web.

MozReview-Commit-ID: ClfdrHcugLs

--HG--
extra : rebase_source : 54f61b0765f1d0ed9c754c90da9c2809a7de8676
2018-07-16 16:08:49 +12:00
Bogdan Tara b6e2939995 Merge inbound to mozilla-central. a=merge 2018-07-20 00:49:06 +03:00
Kris Maglione d43db51b53 Bug 1474155: Part 3 - Move WebChannel message listeners to a separate JSM. r=mconley
MozReview-Commit-ID: AHCTFDBnChn

--HG--
rename : toolkit/content/browser-content.js => toolkit/modules/WebChannelContent.jsm
extra : rebase_source : cd39745775f1b8ad94f9563f75faa9cb7d5249f1
extra : amend_source : 13950bf852f9bbe2534135c879bb639ea26ad5b7
2018-07-07 20:15:45 -07:00
Kris Maglione 8cfe473f10 Bug 1473631: Part 15 - Use a single pref observer for all telemetry environment preferences. r=gfritzsche
MozReview-Commit-ID: dGJDjUP4Vm

--HG--
extra : rebase_source : d7e801b2d5b3b0e1b390a78c835e445eda1d9ac6
extra : amend_source : 342b24fec8ee3cea9677080f588593405b233734
2018-07-05 15:26:37 -07:00
Bogdan Tara 97830f0e63 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-07-20 00:55:33 +03:00
Ehsan Akhgari 3441526820 Bug 1476796 - Enable AntiTrackingCommon::AddFirstPartyStorageAccessGrantedFor() to notify consumers about completion of asynchronous results; r=baku
Right now consumers can't know when the parent process has finished talking
to the permission manager.  It would be nice to enable consumers to depend
on the status of the asynchronous task using a promise.
2018-07-19 17:04:56 -04:00
Coroiu Cristina edada2f46b Backed out changeset bc6d7dc3f10f (bug 1476796) for build bustage on a CLOSED TREE 2018-07-19 23:51:35 +03:00
Ehsan Akhgari 7c156959da Bug 1476796 - Enable AntiTrackingCommon::AddFirstPartyStorageAccessGrantedFor() to notify consumers about completion of asynchronous results; r=baku
Right now consumers can't know when the parent process has finished talking
to the permission manager.  It would be nice to enable consumers to depend
on the status of the asynchronous task using a promise.
2018-07-19 16:20:20 -04:00
Csoregi Natalia 84b71b7c4e Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-07-19 19:12:06 +03:00
Csoregi Natalia 8384a65194 Merge inbound to mozilla-central. a=merge 2018-07-19 19:09:50 +03:00
Neil Deakin c68cebacd6 Bug 1461742, shared method to indicate that a custom element implements one or more interfaces, r=bgrins 2018-07-19 08:38:51 -04:00
Csoregi Natalia 143b18ba60 Backed out 2 changesets (bug 1461742) for build bustage on CustomElementRegistry.cpp:97. CLOSED TREE
Backed out changeset ca5415dbc51a (bug 1461742)
Backed out changeset 30bd77de7bf5 (bug 1461742)
2018-07-19 13:36:31 +03:00
Neil Deakin 422f787d47 Bug 1461742, shared method to indicate that a custom element implements one or more interfaces, r=bgrins 2018-07-19 06:15:29 -04:00
Gurzau Raul 8a871a6c46 Merge inbound to mozilla-central. a=merge 2018-07-19 12:54:18 +03:00
Nathan Froyd e8ffb68819 Bug 1476799 - remove references to Stylo from bindgen configure code; r=gps
At some point, either bindgen will begin generating not-related-to-Stylo
things or we will start using bindgen in multiple places.  Either way,
the references to Stylo should go away.
2018-07-18 19:11:07 -04:00
Margareta Eliza Balazs 8f114fd737 Backed out changeset 6cc8354ce3c5 (bug 1378647) for causing failures in toolkit/components/extensions/test/mochitest/test_ext_webrequest_basic.html on a CLOSED TREE 2018-07-19 15:17:42 +03:00
Shane Caraveo 1466ab5a62 Bug 1378647 - support creating lazy tabs from extensions, r=mikedeboer,rpl
MozReview-Commit-ID: 9QMkNtCQG6P

--HG--
extra : rebase_source : 97a1e41f681ae3614c5db87d40c12bbe54ef18ed
2018-07-18 16:17:30 -03:00
shindli 6cdfd81b2e Merge inbound to mozilla-central. a=merge 2018-07-19 00:45:25 +03:00
Luca Greco c8560a19b2 Bug 1470213 - Collect some per-addon telemetry related to the storage.local data migration results. r=chutten,mixedpuppy
MozReview-Commit-ID: BOWPHEwE9Cg

--HG--
extra : rebase_source : 91bf44a2c28521085d75ad52deb2f110c5ef7d19
2018-07-06 18:56:20 +02:00
Gurzau Raul 636e7285e3 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-07-19 12:57:55 +03:00
Tim Nguyen 6813f7f034 Bug 1435191 - Enforce limit in additional_backgrounds field. r=jaws
MozReview-Commit-ID: E5QuWn48kdm

--HG--
extra : rebase_source : c3adb3b6133d32df94fd6160176fb45d4a720016
2018-07-18 23:05:36 +01:00
Cosmin Sabou 099320d8ad Merge mozilla-central to autoland. a=merge 2018-07-18 20:21:59 +03:00
Cosmin Sabou 88199de427 Merge mozilla-inbound to mozilla-central. a=merge 2018-07-18 20:19:59 +03:00
Robert Bartlensky e0e5aaf219 Bug 1476014: Remove unnecessary postincrement. r=froydnj
MozReview-Commit-ID: 6tvC4VWcUiC

--HG--
extra : rebase_source : b40fe3e8cd827f15a947a889b154fd1ba0ffca75
2018-07-16 17:36:36 +01:00
Robert Bartlensky 85ef2b4c49 Bug 1475282: Fix DEAD_STORE issues in ProfileReset. r=erahm
MozReview-Commit-ID: 45COqLBdEze

--HG--
extra : rebase_source : 915361d1464c751c693f091cc2926661d6dbfa59
2018-07-16 18:27:16 +01:00
Jan-Erik Rediger 392c429071 Bug 1475988 - Track histogram memory usage r=gfritzsche
Differential Revision: https://phabricator.services.mozilla.com/D2160

--HG--
extra : moz-landing-system : lando
2018-07-18 13:47:19 +00:00
Jan-Erik Rediger 57a3d0e057 Bug 1475988 - Report memory usage per Telemetry submodule r=gfritzsche
Differential Revision: https://phabricator.services.mozilla.com/D2159

--HG--
extra : moz-landing-system : lando
2018-07-18 13:46:27 +00:00
Rob Wu 7d65dd2559 Bug 1459404 - Add permalink of explanation to garbageCollection logic r=mixedpuppy
At the time of the commit that introduced the original comment in
damp.js, the non-permalink pointed to
https://searchfox.org/mozilla-central/rev/33c21c060b7f3a52477a73d06ebcb2bf313c4431/xpcom/base/nsMemoryReporterManager.cpp#2574-2585
This commit changes the non-permalink to the following permalink:
https://searchfox.org/mozilla-central/rev/33c21c060b7f3a52477a73d06ebcb2bf313c4431/xpcom/base/nsMemoryReporterManager.cpp#2574-2585,2591-2594

This permalink does not only include the original snippet, but also
highlights the member and explanation that explains the need for the
three iterations of the loop (at https://bugzil.la/610166#c12 ).

MozReview-Commit-ID: 14Ypsq4mdIy

--HG--
extra : rebase_source : ca92f07e122b3655b7477c751f620626b49379d5
2018-07-17 22:01:46 +02:00
Rob Wu 34e59e9d47 Bug 1459404 - Add regression test for GC of ExtensionPageContextChild r=mixedpuppy
MozReview-Commit-ID: 65NexMbRlDh

--HG--
extra : rebase_source : 1785ef9bd3f6ea6e281fc7fa9dead9552913c317
2018-07-17 18:22:27 +02:00
Rob Wu 49d25fee18 Bug 1459404 - Ensure that ChildAPIManager can be garbage-collected. r=mixedpuppy
MozReview-Commit-ID: IEGq1mo4WWq

--HG--
extra : rebase_source : fac5e24382cdeda4fb2573f09f85e111c629fe47
2018-07-17 18:17:52 +02:00
Luca Greco dd38ea4159 Bug 1475306 - Changes to the detection of extensions already migrated to ExtensionStorageIDB and rename successfully migrated JSONFile. r=mixedpuppy
This patch applies the following changes to the storage.local data migration behaviors:

- An about:config preference is set when an extension has been migrated successfully to the
  storage.local IndexedDB backend (cleared automatically if the addon is uninstalled).
- If the above about:config preference is set, the storage.local IndexedDB backend is enabled
  without attempting to open an IndexedDB connection for the new backend.
- While migrating an extension, if we fail to open the IndexedDB connection, the data migration
  is cancelled and the storage.local API is going to fallback to the storage.local JSONFile backend
  (until the next extension startup, when a new data migration is going to be tried).
- When a migration is completed successfully, the old JSONFile is renamed (by appending ".migrated"
  to its original file name) instead of being removed.

MozReview-Commit-ID: LPM0fQUagTd

--HG--
extra : rebase_source : 11c3e291ac8323a679c2bb29efc7df3700023591
2018-07-06 19:07:28 +02:00
Oriol Brufau a50c798f7a Bug 1474132 - Choose right add-on icon size in about:addons and install popup r=rpl
MozReview-Commit-ID: L5O2OwlK879

--HG--
extra : rebase_source : ee405d9a41a940f5a77df8eba2249ca9c9164101
2018-07-13 13:51:28 +02:00
Andrea Marchesini 7e0d9ec5c0 Bug 1476324 - Storage activation via window.open(URL) applies across top-level domains - part 2 - tests, r=ehsan 2018-07-18 15:44:55 +02:00
Andrea Marchesini e9d8f213e0 Bug 1476324 - Storage activation via window.open(URL) applies across top-level domains - part 1 - window.open() from top-level, r=ehsan 2018-07-18 15:44:55 +02:00
Margareta Eliza Balazs 42e6813f3f Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-07-18 12:42:29 +03:00
Margareta Eliza Balazs fb3762edac Merge inbound to mozilla-central. a=merge 2018-07-18 12:33:29 +03:00
Tiberius Oros d385db1af9 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-07-18 00:57:55 +03:00
Tiberius Oros d701ae940f Merge inbound to mozilla-central. a=merge 2018-07-18 00:55:33 +03:00
Paolo Amadini 56d700c398 Bug 1461793 - Remove the "popup-base" binding and import the "popup.css" file as a document stylesheet. r=bgrins
The new "tooltip.css" file allows styling the default tooltip, which is created as native anonymous content.

MozReview-Commit-ID: ADWsFTNPfhw

--HG--
rename : toolkit/themes/linux/global/popup.css => toolkit/themes/linux/global/tooltip.css
rename : toolkit/themes/osx/global/popup.css => toolkit/themes/osx/global/tooltip.css
rename : toolkit/themes/windows/global/popup.css => toolkit/themes/windows/global/tooltip.css
extra : rebase_source : bd79b86fb44ac0dc77d0d21fdc003105da6f43eb
extra : intermediate-source : a06a200098013d5dbc42c2431f845ca1dd8b0b76
extra : source : 4d511f7fc5b5c16fdfea91242dea6086cd57c8c3
2018-07-17 19:04:43 +01:00
Tim Nguyen 0f271c720b Bug 1474931 - Restore splitter visibility on lightweight themes. r=dao
MozReview-Commit-ID: 9FowKyw9Qgv

--HG--
extra : rebase_source : 9f491ea27c943cb97ab80ef5f72fe212739855f4
2018-07-17 14:02:31 +01:00
Coroiu Cristina 8fe92bdd53 Merge mozilla-central to autoland a=merge on a CLOSED TREE 2018-07-17 12:47:40 +03:00
Coroiu Cristina c296d5b239 Merge inbound to mozilla-central a=merge 2018-07-17 12:41:37 +03:00
Marco Bonardo 8f043e9170 Bug 1475500 - Reduce maximum favicon size from 256 to 192px. r=adw
MozReview-Commit-ID: KXeGegF9Pu9

--HG--
extra : rebase_source : 9d12e228ea47b333e046fc1b1040daee3c332758
2018-07-16 17:56:41 +02:00
Dave Townsend 9dd211856e Bug 1474981: Allow newly added search engines to use the tab icon if it is a data uri. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D2123

--HG--
extra : moz-landing-system : lando
2018-07-16 20:51:34 +00:00
Bogdan Tara 1a6ffb9e1e Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-07-17 01:02:10 +03:00
Bogdan Tara a8850882a7 Merge autoland to mozilla-central. a=merge 2018-07-17 00:58:15 +03:00
Julian Descottes 28776da332 Bug 1449968 - Add support for Inspect Element in Shadow DOM;r=bgrins
MozReview-Commit-ID: HhwyDMyZe1k

--HG--
rename : devtools/client/inspector/markup/test/browser_markup_shadowdom_pick_nested.js => devtools/client/inspector/markup/test/browser_markup_shadowdom_nested_pick_inspect.js
extra : rebase_source : 4276e3f88251075fd41d1e7f41a2f229be905f99
2018-07-05 18:48:24 +02:00
Brian Grinstead e09fd8bb6c Bug 1469339 - Put strings needed for the edit context menu into ftl at toolkit/locales;r=flod
This also registers the locale through the build system and browser glue since
it's the first ftl file in toolkit/.

MozReview-Commit-ID: 7XDqKmVU0vh

--HG--
extra : rebase_source : b179e78554f667fdaf3c3fc32a020a8c176b5021
2018-07-16 08:53:23 -07:00
Stephen A Pohl b25dbdce5c Bug 1290972: Remove linker flags for macOS that are no longer necessary and cause crashes such as bug 1471366 due to an inability to handle native exceptions when these flags are used. r=froydnj 2018-07-17 10:27:46 -04:00
Coroiu Cristina f3162b921c Merge mozilla-central to mozilla-inbound a=merge on a CLOSED TREE 2018-07-17 12:48:47 +03:00
Andrea Marchesini 14262bdc7c Bug 1418241 - CSP violation: blockedURI inline/eval, r=ckerschb 2018-07-17 11:13:12 +02:00
Kris Maglione da381d04b7 Bug 1474155: Part 5 - Null out frame script singleton init methods after they're called. r=mconley
Believe it or not, the memory these references hold alive is significant.
Nulling them out saves 5-10K per process.

MozReview-Commit-ID: JONjE48yE8I

--HG--
extra : rebase_source : 49adc538070eecb9183e6e052e6e43db9c4c7a99
extra : histedit_source : 699f49fad1bfa69b8c511bf96187096e751c8606
2018-07-07 20:49:30 -07:00
Kris Maglione 83fef3fa1e Bug 1474155: Part 2 - Move AutoCompletePopup to a separate JSM. r=mconley
MozReview-Commit-ID: HH2kiS12aEV

--HG--
rename : toolkit/content/browser-content.js => toolkit/modules/AutoCompletePopupContent.jsm
extra : rebase_source : 9b0dffd9c3b675cd8b810a45b0c13d9c71f7952e
extra : histedit_source : 8daf2a49d6f7c0855681b277c612abf98317bb0f
2018-07-10 11:57:47 -07:00
Kris Maglione 5f8dcbabad Bug 1474155: Part 1 - Move PopupBlocking to a separate JSM. r=mconley
MozReview-Commit-ID: FbVGSsmt8C3

--HG--
rename : toolkit/content/browser-content.js => toolkit/modules/PopupBlocking.jsm
extra : rebase_source : 979f6bf273f9f380c80219d24d7aa334d0d0e8a7
extra : histedit_source : 9920049a7129c5ae45c3167a08a596eae22d76ea
2018-07-10 11:57:55 -07:00
Kris Maglione 9604944ae4 Bug 1473631: Part 5 - Replace pref observers with callbacks in RFPService. r=njn
MozReview-Commit-ID: 6rzZNyY8cun

--HG--
extra : rebase_source : 651ba7e475548ab28a678662fbf287faf2dec0aa
2018-07-05 13:49:22 -07:00
Kris Maglione 0bfdb4329f Bug 1473631: Part 0a - Make preference callbacks typesafe. r=njn
I initially tried to avoid this, but decided it was necessary given the number
of times I had to repeat the same pattern of casting a variable to void*, and
then casting it back in a part of code far distant from the original type.

This changes our preference callback registration functions to match the type
of the callback's closure argument to the actual type of the closure pointer
passed, and then casting it to the type of our generic callback function. This
ensures that the callback function always gets an argument of the type it's
actually expecting without adding any additional runtime memory or
QueryInterface overhead for tracking it.

MozReview-Commit-ID: 9tLKBe10ddP

--HG--
extra : rebase_source : 7524fa8dcd5585f5a31fdeb37d95714f1bb94922
2018-07-06 12:24:41 -07:00
Cosmin Sabou 8cd0e59ac5 Merge mozilla-central to inbound. a=merge 2018-07-18 20:23:16 +03:00
Paolo Amadini 98b8539d10 Bug 1472555 - Part 4 - Remove the "listbox" bindings. r=bgrins
MozReview-Commit-ID: Cw90DjEMJpn

--HG--
extra : rebase_source : 74a64794699d65b2a9fe5ae4cb215403657d9e4a
2018-07-18 11:23:22 +01:00
Paolo Amadini 84701651c4 Bug 1472555 - Part 3 - Convert Toolkit tests to use the "richlistbox" element. r=bgrins
MozReview-Commit-ID: By1FhB70wOh

--HG--
extra : rebase_source : 629275e04d7ffef82307f32dee219771e18617f4
2018-07-07 19:43:17 +01:00
Trisha Gupta dd4332f07c Bug 1475025 - Vertically center the various error pages r=johannh
--HG--
extra : rebase_source : 3f43e92511c39a58e7bcb1e524175490dcf24639
2018-07-17 21:36:53 +05:30
Oriol Brufau 48e892f643 Bug 1475714 - Remove webextension code for legacy 18x18 icons r=mixedpuppy
MozReview-Commit-ID: CNU1c7IA3Hn

--HG--
extra : rebase_source : 6dfb48b079415601113c69d923dfb73a8425fb45
2018-07-15 18:00:26 +02:00
Drew Willcoxon df91e88f35 Bug 1476103 - Remove nsNavHistory::invalidateFrecencies since it's now unused. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D2170

--HG--
extra : moz-landing-system : lando
2018-07-17 07:59:45 +00:00
ahillier 46aa6eadb7 Bug 1471350: Add Jexl transforms for ASRouter topFrecentSites targeting r=k88hudson,mythmon
MozReview-Commit-ID: E48oxYmfAAv

--HG--
extra : rebase_source : 899ded7eaa6f90798eaeaf36980a764378e8ccfd
2018-07-13 14:30:35 -07:00
Xidorn Quan 823be07d6e Bug 1476128 - Have HIDDEN_VIEWPORT_OVERFLOW_TYPE recorded on main process as well. r=botond
--HG--
extra : source : fdf8a2b9cd052dd192001889149b88ce97c7740e
2018-07-17 08:54:37 +10:00
Nathan Froyd 6026bc4fec Bug 1471347 - part 2 - store an nsCString for SharedLibrary::mBreakpadId; r=njn
Similar to the previous part, we convert mBreakpadId to an nsCString to
avoid issues with locale-dependent std::string operations.

There are a lot of non-profiler changes here because a bunch of things
depend on the SharedLibrary object that the profiler defines.
2018-07-19 10:32:07 -04:00
Nathan Froyd 0115588ec9 Bug 1471347 - part 1 - store an nsCString for SharedLibrary::mVersion; r=njn
Using operator<< on stringstream on Windows dives into the registry for
locale-specific formatting details.  This behavior is neither desired
or (probably) anticipated by the code.  Instead, let's use our normal
Gecko string classes for SharedLibrary::mVersion.
2018-07-19 10:32:07 -04:00
Neil Deakin a9bdfae60b Bug 1461742, test for getCustomInterfaceCallback, r=bgrins 2018-07-19 09:32:18 -04:00
Petru Lingurar 417a481b63 Bug 1467461 - Migrate CrashReportingService to JobIntentService. r=snorp
Use the fact that a JobIntentService is still a Service to keep most of the
previous implementation and method of starting CrashReportingService.
On 26+ devices it will be called with "start-foreground-service".
This ensures it can be started even from background and the crash reporting
process would work as before but ActivityManager will post an ANR error to
logcat after 5 seconds because we aren't calling Service.startForeground()
(which would mean a user visible notification).

Will use different Job Ids depending on if the app is Firefox Release or
Firefox Beta.
The Job Id will be passed to GeckoThread when first initializing and then be
made available to CrashHandler and nsExceptionHandler.cpp to be sent in the
Intent that starts the CrashReporterService.

MozReview-Commit-ID: GATl6Waa9St

--HG--
extra : amend_source : 70bc130b9411df336181e825ebb3e19bdc5a778c
2018-07-02 17:32:10 +03:00
Tiberius Oros d6492ca47e Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-07-18 00:59:21 +03:00
Drew Willcoxon 376fc6ad87 Bug 1474755 - Change autofill threshold calculation to multiply the standard deviation by a constant, which is stored in prefs. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D2233

--HG--
extra : moz-landing-system : lando
2018-07-19 17:44:18 +00:00
Drew Willcoxon c972b1f32b Bug 1476674 - Fix crash in nsNavHistory::RecalculateOriginFrecencyStats r=mak
Differential Revision: https://phabricator.services.mozilla.com/D2232

--HG--
extra : moz-landing-system : lando
2018-07-19 17:15:02 +00:00
Csoregi Natalia 7528d854dc Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-07-19 19:11:23 +03:00
Michael Kaply 53432d4bf9 Bug 1462015 - Remove browser.search.countryCode pref. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D2187

--HG--
extra : moz-landing-system : lando
2018-07-18 13:55:16 +00:00
Gurzau Raul 78bf6cbd3a Backed out changeset 47b3297877fa (bug 1476314) for bustage at z:/build/build/src/config/rules.mk [nsAppRunner.obj] on a CLOSED TREE 2018-07-19 17:36:31 +03:00
Robert Bartlensky cc7457bf9e Bug 1476314: Fix errors reported by infer in toolkit/*. r=Ehsan
MozReview-Commit-ID: DUVbLo6f4G6

--HG--
extra : rebase_source : bc2ef3c84e0fe7966244585b137f2440e1e74d51
2018-07-17 17:27:49 +01:00
Shane Caraveo 43b464a409 Bug 1455405 fix intermittent by using real events, r=rpl
This test was testing that files are loaded/executed/etc in the page, but
what we really care about is that the webrequest api works.  Other tests
are responsible for stuff like css and js actually work.  The patch does
maintain (fixed) the js test, but removes the css test for lack of a good
way to properly wait for css to apply.

MozReview-Commit-ID: B2uByaxNeK2

--HG--
extra : rebase_source : 6779116f9f1a4a7ce24cd32c3648d1027343db93
2018-07-16 09:08:30 -03:00
Polly Shaw 226a5beff6 Bug 356831 - Proxy autodiscovery doesn't check DHCP (option 252) r=bagder,valentin
This patch addresses an issue with Firefox's proxy detection on networks which
do not have their a proxy auto-configuration (PAC) file hosted at
http://wpad/wpad.dat, and instead make use of DHCP option 252 for broadcasting
the address of the PAC file. See https://findproxyforurl.com/wpad-introduction/
for an introduction to the protocol.

Prior to this patch, proxy auto-detect missed out the DHCP query stage, and just
 looked for a PAC file at http://wpad/wpad.dat


This patch only addresses the issue for Firefox on Windows, although it defines a
DHCP client interface which could be implemented on other platforms.

The high-level components of this patch are:
 * nsIDHCPClient.idl - this is an interface which has been defined for querying the
   DHCP server.
 * nsPACMan.cpp - where previously when the PAC URL was simply set to a constant of
   http://wpad/wpad.dat, it now dispatches an asynchronous command to the proxy
   thread. The class ExecutePACThreadAction has been augmented to include an
   instruction to 'ConfigureWPAD' (Configure Web-proxy auto-detect), and a new class,
   'ConfigureWPADComplete' has been created to relay the result (the URL of the PAC
   file) back to the nsPACMan object.
 * nsProtocolProxyService.cpp
   Minor changes to reflect the fact that the PAC URL not being set does not always
   mean there is no PAC to be used; instead it could be in the process of being
   detected.
 * TestPACMan.cpp
   This is a new file, and tests only the DHCP auto-detect functionality.
   Some tests use multiple threads, as they test the non-blocking proxy detection.
 * DHCPUtils.cpp
   A class containing the main logic for querying DHCP.
 * WindowsNetworkFunctionsWrapper.cpp
   A very thin wrapper around the Windows API calls needed by DHCPUtils.
   This class was introduced so it could be mocked out in tests.
 * nsWindowsDHCPClient.cpp
 * An implementation of the interface defined in nsIDHCPClient.idl. Fairly thin:
   most logic is implemented in DHCPUtils.
 * TestDHCPUtils.cpp
   Tests for DHCPUtils and nsWindowsDHCPClient

MozReview-Commit-ID: 4xFQz3tOLEx

--HG--
extra : rebase_source : dfd5c588406a8b0d92f91cc8a0038ca722b7140a
2018-06-07 23:07:28 +01:00
Chris Pearce 5d98d9108c Bug 1471485 - Hide autoplay permission doorhanger if user plays video. r=johannh
If we're showing a permission UI prompt for "autoplay-media", the user can
still actually play media without interacting with the doorhanger; if they
click a "play" button in the document, they'll "gesture activate" the document
and unblock autoplay and be able to start playback.

It doesn't make sense to keep showing the permission doorhanger to approve
autoplay when the page is already playing, as playback has already started, and
if they clicked on "block" then the site would receive a promise reject on the
promise returned on the first call to HTMLMediaElement.play() for which we were
showing the permission prompt for, even though the media is actually playing.
This will likely confuse JS video players.

So we should hide the permission prompt when playback in the page starts.

MozReview-Commit-ID: 1XU47AfT6vf

--HG--
extra : rebase_source : 3d5c164527e26ba8f58f0baac3474d5b2d7fb587
2018-07-03 11:17:16 +12:00
Ciure Andrei 14976cd6b3 Merge inbound to mozilla-central. a=merge 2018-07-15 12:52:50 +03:00
Csoregi Natalia b220f0c0d3 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-07-14 12:45:25 +03:00
Olli Pettay 5adedd4945 Bug 1439153 - try to fix ESlint failures, CLOSED TREE, r=bustage 2018-07-14 06:13:08 +03:00
Olli Pettay de99e4460b Bug 1439153 - Make WebExtensions work with Shadow DOM/WebComponents, r=kmag
--HG--
extra : rebase_source : 83638cba42eea1523d32d06a2eb14df20cbab404
2018-07-14 05:26:15 +03:00
Drew Willcoxon cce37bd375 Bug 1475398 - Update "Firefox 63 uses schema version 52" comment in Database.cpp. r=mak
MozReview-Commit-ID: DAkHO1Hubb3

--HG--
extra : rebase_source : 9c5972cf9d15548766da1b6215af855e20ad66a5
2018-07-12 16:39:33 -07:00
Noemi Erli e9d21cd259 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-07-14 01:22:25 +03:00
Noemi Erli 9793ca2da4 Merge inbound to mozilla-central. a=merge 2018-07-14 00:52:51 +03:00
Brindusan Cristian a68383b333 Backed out 12 changesets (bug 1471025) for build bustages on dom/ipc/ContentProcess.cpp. CLOSED TREE
Backed out changeset 398ccedc20dc (bug 1471025)
Backed out changeset 599895de063e (bug 1471025)
Backed out changeset dc7ec17179d1 (bug 1471025)
Backed out changeset 5051f15fc200 (bug 1471025)
Backed out changeset faef4df47b20 (bug 1471025)
Backed out changeset d344247b8706 (bug 1471025)
Backed out changeset 83d98ea5ebac (bug 1471025)
Backed out changeset 38f690f30e78 (bug 1471025)
Backed out changeset 4b7a8a35ed95 (bug 1471025)
Backed out changeset e3bbc87b71af (bug 1471025)
Backed out changeset 68bb03c63b3c (bug 1471025)
Backed out changeset 4a8fbb472c91 (bug 1471025)
2018-07-13 22:11:24 +03:00
Paolo Amadini 36a131aadc Bug 1472716 - Part 2 - Convert the listbox in "languages.xul" to "richlistbox". r=jaws,gandalf
Support for "listbox" in preferences is also removed, in preparation for the removal of the "listbox" element and binding.

MozReview-Commit-ID: Bi2VKKi5rdk

--HG--
extra : source : 762819bac1b9efe0e939be07394bd7d293638c40
2018-07-10 15:07:15 +01:00
Kris Maglione 0fb080d242 Bug 1471025: Part 8 - Add tests for shared memory preferences. r=njn
MozReview-Commit-ID: 8452JoTBHCU

--HG--
extra : rebase_source : dadc22ef0909102f93f6de3afb99f5b6e65db2f5
extra : absorb_source : 62a77303c36c3af308ee5529d81c637f81449370
2018-07-03 20:17:15 -07:00
Luca Greco ede4ac5025 Bug 1474557 - Clear the dbPromise cached by ext-storage when IndexedDB raises an exception while opening the db. r=mixedpuppy
MozReview-Commit-ID: 9qsDYI0wgmI

--HG--
extra : rebase_source : f7ee4469841559d166f0b7c48b49a729ceabdec0
2018-07-02 21:37:58 +02:00
Luca Greco f49ffe6940 Bug 1474557 - Prevent ExtensionStorageIDB and child/ext-storage from caching a stale or rejected selectBackend promise. r=mixedpuppy
MozReview-Commit-ID: Kgwtm7QXW9o

--HG--
extra : rebase_source : dc28d2f622876a359592d8e44a6cf449237acc30
2018-07-09 22:35:12 +02:00
Mike Conley ff9485d612 Bug 1456843 - Compute FormLike elements lazily on <form>-less fields. r=MattN
MozReview-Commit-ID: 3blElMxkejf

--HG--
extra : rebase_source : 62a43ecb879bd033fb72436dc3a23d488cf32e52
2018-07-13 12:41:06 -04:00
ahillier 659bda3774 Bug 1475012 - fix ordering of getTopFrecentSites in ActivityStreamProvider r=ursula
MozReview-Commit-ID: Eymz3kAoHuX

--HG--
extra : rebase_source : af84f35c0674679b17a09eacca518cc62793a499
2018-07-11 12:26:39 -07:00
Mike de Boer d3b8d2bdfe Bug 1463860 - Don't play a beep when the find string is not find when Whole Word matching is enabled; it simply beeps too much. r=Ehsan
MozReview-Commit-ID: S6dvbV5Q5d

--HG--
extra : rebase_source : 5852765bee02e4fae1370050db84b608dea3c0da
2018-07-13 13:25:02 +02:00
Lina Cambridge 699fdba348 Bug 1472963 - Add a `totalSyncChanges` counter and use it in the bookmarks mirror. r=mak
This patch:

* Exposes a global Sync change counter on `nsINavBookmarksService`.
  This is similar to SQLite's `total_changes()`, but just for changes
  to bookmarks that affect Sync, and accounts for changes from multiple
  threads and connections.
* Adds a SQL function to bump the counter, and extends the
  `moz_bookmarks` triggers to call it.
* Moves merging outside the transaction in the bookmarks mirror, and
  checks that the counters match before applying.

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

--HG--
extra : moz-landing-system : lando
2018-07-13 15:03:40 +00:00
Kris Maglione 6c6960d4c8 Bug 1471025: Part 3c - Also pass the shared preference map handle to Android content processes. r=jld
MozReview-Commit-ID: CTjDzVC9gcD

--HG--
extra : rebase_source : c06aa38ff4bc2bdfa09a4aae359e1f418727ce29
extra : absorb_source : c68cd5f0e8f52980d35432cf21e1fc5552542bf2
2018-07-13 11:06:58 -07:00
Kris Maglione de31493580 Bug 1471025: Part 3b - Refactor Android shared FD API to require fewer modifications per change. r=jld
Adding or removing an FD from this API currently requires changes in about a
half dozen places. Ignoring the Java side of things. This patch changes the
API to pass a struct, rather than additional arguments for each FD, so that
adding and removing FDs only requires changing one declaration, and the two
call sites that add and consume the FDs.

MozReview-Commit-ID: CToSEVp1oqP

--HG--
extra : rebase_source : 28e8c6075bacf5f610058227a9731aeadb50f320
extra : absorb_source : f63602a163ed19fb65e26640319750fdd9b92ad1
2018-07-02 15:01:25 -07:00
Andrea Marchesini eb58d7637b Bug 1475236 - Expiration time for the anti-tracking permission should be controllable via pref, r=ehsan 2018-07-13 19:19:26 +02:00
Andrea Marchesini f1d9bed10f Bug 1473718 - Speculative connection should start using the correct OriginAttributes values, r=mconley 2018-07-13 19:17:58 +02:00
Andrea Marchesini 9fc78a12aa Bug 1475189 - Block storage access in tracking sub-resources when not in iframes - part 3 - image cache, r=ehsan
--HG--
rename : toolkit/components/antitracking/test/browser/script.sjs => toolkit/components/antitracking/test/browser/subResources.sjs
2018-07-13 12:02:19 +02:00
Andrea Marchesini 1892fdf469 Bug 1475189 - Block storage access in tracking sub-resources when not in iframes - part 2 - subresources, r=ehsan 2018-07-13 12:02:19 +02:00
Andrea Marchesini 2df3284f16 Bug 1475189 - Block storage access in tracking sub-resources when not in iframes - part 1 - tests, r=ehsan 2018-07-13 12:02:19 +02:00
Andrea Marchesini 1498612e1b Bug 1474812 - No needs to store granted storage access in nsILoadInfo and in the inner window, r=ehsan 2018-07-13 12:02:19 +02:00
Paolo Amadini 7555809ad6 Bug 1470870 - Load "menu.css" as a document stylesheet. r=bgrins
The specificity of some Windows rules is reduced to match other platforms.

MozReview-Commit-ID: 28oUf7b6vCW

--HG--
extra : source : 3c131dac495ed46d524f4de2f92cfe79049aff8f
extra : intermediate-source : 7c1de225e4ab5dff9443c763ad59f5aecd72a593
2018-07-13 10:20:21 +01:00
Margareta Eliza Balazs 448f792f96 Merge inbound to mozilla-central. a=merge 2018-07-13 11:52:00 +03:00
Francois Marier 3aa5d0aeda Bug 1362761 - Make WritePrefixes() more readable. r=dimi
Add assertions to highlight what the various data structures
should look like.

Also assert to ensure that mIndexPrefixes is always the same
length as mIndexDeltas and avoid writing the prefixes to disk
if that's not the case.

Do a single fallible allocation before we create the indexStarts
array instead of checking on each AppendElement() to simplify
the loop and emphasize the number of elements that the array
will receive (indexSize + 1). Remove the last element since we
don't actually end up writing it to disk.

MozReview-Commit-ID: HIg7ZmgaL7x

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

--HG--
extra : moz-landing-system : lando
2018-07-11 09:10:31 +00:00
Francois Marier b81007a163 Bug 1362761 - Safer Clean() and IsEmpty() handling in PrefixSet. r=dimi
This simplifies the logic around clearing the prefix set and also adds
the clearing of the mIndexDeltasChecksum which should have been done
as part of 3a00711bb0e6.

Additionally, the checks for whether or not the prefix set is empty
include some sanity-checking asserts.

Finally, mTotalPrefixes could be out of sync with mIndexPrefixes
and mIndexDeltas if LoadPrefixes() or MakePrefixSet() fail so we
now only update it once all elements have been added successfully.

There is now a release assert to catch grossly out-of-sync (or
corrupt) values of mTotalPrefixes.

MozReview-Commit-ID: BSbyD2dGsUY

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

--HG--
extra : moz-landing-system : lando
2018-07-11 12:40:34 +00:00
Francois Marier 6d1a4291f4 Bug 1362761 - Add more specific warnings in case of file corruption. r=dimi
MozReview-Commit-ID: KsgcQWLGulH

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

--HG--
extra : moz-landing-system : lando
2018-07-11 08:58:15 +00:00
Francois Marier 3e4ea00c5f Bug 1362761 - Force file and streams to use smart pointers. r=dimi
MozReview-Commit-ID: GscB9PaaN02

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

--HG--
extra : moz-landing-system : lando
2018-07-12 22:19:40 +00:00
Francois Marier 53ee4cb546 Bug 1362761 - Make prefix and chunk sets as const as possible. r=dimi
MozReview-Commit-ID: JdnNOxnBAgC

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

--HG--
extra : moz-landing-system : lando
2018-07-11 12:52:37 +00:00
Marco Bonardo d932936d53 Bug 1475276 - Remove some no more necessary usage of promiseItemGuid. r=lina
Some code is unnecessarily using promiseItemGuid

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

--HG--
extra : moz-landing-system : lando
2018-07-12 21:38:21 +00:00
Andreea Pavel 10f6df7c1f Merge mozilla-central to autoland. a=merge on a CLOSED TREE
--HG--
rename : dom/webidl/ScrollBoxObject.webidl => dom/chrome-webidl/XULScrollElement.webidl
rename : layout/xul/ScrollBoxObject.cpp => dom/xul/XULScrollElement.cpp
rename : layout/xul/ScrollBoxObject.h => dom/xul/XULScrollElement.h
2018-07-13 00:53:43 +03:00
Andreea Pavel b0e30af17e Merge mozilla-inbound to mozilla-central. a=merge 2018-07-13 00:51:26 +03:00
Andreea Pavel 1e8d2e6f7d Backed out 7 changesets (bug 1420514) for breaking bc on different files on a CLOSED TREE
Backed out changeset 5a46a221b6e8 (bug 1420514)
Backed out changeset 48ed6dfe8772 (bug 1420514)
Backed out changeset 01bf643c77e5 (bug 1420514)
Backed out changeset 5791b17ccb82 (bug 1420514)
Backed out changeset 416e398d942f (bug 1420514)
Backed out changeset de4a4592dbd9 (bug 1420514)
Backed out changeset d3399edf0197 (bug 1420514)
2018-07-12 21:22:32 +03:00
Florian Quèze c23f304b7f Bug 1474990 - Remove the 'Memory usage of Subprocesses' table from about:performance, r=mconley. 2018-07-12 20:01:23 +02:00
Mike Conley c045933e61 Bug 1373408 - Make nsUpdateTimerManager notify callbacks on idle. r=rhelmer
MozReview-Commit-ID: INSvHMEXOxt

--HG--
extra : rebase_source : f91bc401f283b593d0c4bdf012923450676d7cbc
2018-07-12 14:38:38 -04:00
Emma Malysz ce8c74748f Bug 1454358, removes unneccessary implementation of ScrollBoxObject rr?enndeakin+6102 r=bz,enndeakin+6102
MozReview-Commit-ID: LBQ0RoS0ZVc

--HG--
rename : dom/webidl/ScrollBoxObject.webidl => dom/chrome-webidl/XULScrollElement.webidl
rename : layout/xul/ScrollBoxObject.cpp => dom/xul/XULScrollElement.cpp
rename : layout/xul/ScrollBoxObject.h => dom/xul/XULScrollElement.h
extra : rebase_source : 6a0de76dfdacbc29d261a4aea703a44f87ad7e12
2018-06-25 10:11:31 -07:00
Chris Pearce 02f3883d8d Bug 1472580 - Test that starting play from tab audio indicator overrides block autoplay. r=mconley
MozReview-Commit-ID: 6RB09cd1PHP

--HG--
extra : rebase_source : f6a97dcdbc12cb53d58be6e7fe19de7825755425
2018-06-25 13:25:34 +12:00
Chris Pearce 063906e5bd Bug 1472580 - Gesture activate documents which are played via the tab audio indicator. r=mconley
(This patch was first presented for review in bug 1463919, I've split it off
into its own bug here).

If the user opens a tab in the background, and that tab tries to play media,
we'll delay playing that media until the tab is brought to the foreground.
But the user can explicitly start playback of such delayed media by clicking
the "play" icon we show in the tab indicator. Then if autoplay is disabled,
we'll block the play (unless the origin is whitelisted). This is bad, as the
user has clearly indicated intent to play media in this tab.

So this patch "gesture activates" the root content document when the tab audio
indicator play button is pressed. This means the block autoplay logic will
behave as if there's been a user gesture in the tab (mouse click or keypress),
and not block the play. Gesture activation state is per document, so it does
not persist across document loads.

MozReview-Commit-ID: 3pgrADRrJqt
***
fix

--HG--
extra : rebase_source : a099cd3eedf6785a7af0b95613c5bd210e791a53
2018-07-04 09:32:22 +12:00
Kris Maglione 84aacf4890 Bug 1470783: Migrate extensions framework to use sharedData for cross-process data. r=zombie
initialProcessData has the unfortunate side-effect of sending an entire copy
of all of its data to all content processes, and eagerly decoding it. For the
extension framework, this means that we wind up loading an entire copy of all
of our schema data, and of every extension's manifest and locale data, into
every process, even if we'll never need it.

The sharedData helper allows us to store an encoded copy of that data in a
shared memory region, and clone it into the current process only when we need
it, which can be a significant savings. For screenshots alone, it saves about
15K on locale and manifest data per content process, plus the size we save on
not copying schema data.

MozReview-Commit-ID: KkIOoLsBd99

--HG--
extra : rebase_source : 21cb433e8897a3d33943ebbd3d788d8d54e0844b
extra : source : 8074c985095c9951171311dac840684b915a57f6
2018-06-24 16:34:44 -07:00
Andreea Pavel 5754c092dc Backed out changeset c64603aec7e5 (bug 1469825) for breaking mochitest chrome at toolkit/content/tests/chrome/test_tree.xul on a CLOSED TREE 2018-07-13 06:10:19 +03:00
Mark Banner 5dd10a94cb Bug 1469825 - The tree component should only set the editing attribute after the input field is ready.
Summary: MozReview-Commit-ID: 1bQEn0yfg63

Reviewers: NeilDeakin

Reviewed By: NeilDeakin

Bug #: 1469825

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

--HG--
extra : rebase_source : 7168f7a3ba3dbf30de9c1e36e6499800e6d62b28
2018-07-13 05:04:45 +03:00
Mark Banner 601b9aaed9 Bug 1474637 - Make DownloadCore.jsm responsible for adding all downloads to history, rather than sharing with nsExternalHelperAppService. r=paolo
MozReview-Commit-ID: GRzLlDPPsCU

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

--HG--
extra : moz-landing-system : lando
2018-07-13 15:06:56 +00:00
Tarek Ziadé a46c616883 Bug 1474844 - Filter out empty categories - r=baku
Filters out empty categories when ChromeUtils.requestPerformanceMetrics() is called.

This test also:

- adds more test coverage
- uses the worker windowId when it has no linked window.
- properly walk to the worker parent

MozReview-Commit-ID: 3UH9a0UtVmx

--HG--
extra : rebase_source : 337b95466c7e7a30f881e881358d3b8d290f8f5b
2018-07-13 11:57:59 +02:00
Dão Gottwald bb4ce365a2 Bug 1471705 - Fix findbar status text color for lightweight themes. r=ntim
MozReview-Commit-ID: 7mta63GhgrW

--HG--
extra : rebase_source : 5735f2a0197ce5779e52a50c615ac201d4e8183b
2018-07-12 16:28:41 +02:00
Olli Pettay 2699d358da Bug 1475485, CLOSED TREE, add missing semicolon, r=bustage 2018-07-14 05:08:05 +03:00
Olli Pettay 6f378a4ffa Bug 1475485, @title tooltips should work also inside ShadowDOM, r=mrbkap 2018-07-14 04:48:19 +03:00
Kris Maglione 041ceee442 Bug 1471025: Part 8 - Add tests for shared memory preferences. r=njn
MozReview-Commit-ID: 8452JoTBHCU

--HG--
extra : intermediate-source : 200bec7e766a7937e71a4805083fb71e16c5e111
extra : absorb_source : 6d765b55cc120d8cb4aa842a4e1a3a1b33cfe2ba
extra : source : 398ccedc20dc1c3f29332dd5a4791b9ab96eb547
extra : histedit_source : f86dc1d1fdc4341799157ca8051fa0fd3dd3b975
2018-07-03 20:17:15 -07:00
Kris Maglione b744713e4e Bug 1471025: Part 3c - Also pass the shared preference map handle to Android content processes. r=jld
MozReview-Commit-ID: CTjDzVC9gcD

--HG--
extra : intermediate-source : 7c03b7dd00e9675f9ac045ed1ea733eb0486904f
extra : absorb_source : c79df6bd9ebbec3454fcca1a81cbfa540ad91a3e
extra : source : 38f690f30e78764763bb012045073fa781efa691
extra : histedit_source : 544ff4257f38fae99a800276d06eb0d719882ca2
2018-07-13 11:06:58 -07:00
Kris Maglione f071708db7 Bug 1471025: Part 3b - Refactor Android shared FD API to require fewer modifications per change. r=jld
Adding or removing an FD from this API currently requires changes in about a
half dozen places. Ignoring the Java side of things. This patch changes the
API to pass a struct, rather than additional arguments for each FD, so that
adding and removing FDs only requires changing one declaration, and the two
call sites that add and consume the FDs.

MozReview-Commit-ID: CToSEVp1oqP

--HG--
extra : intermediate-source : ff41551f5ff1b98b72ed771a6f2a3f66a8b79a57
extra : absorb_source : c9fe7423fcbb47655b05209b44fb02b69b272d07
extra : source : 4b7a8a35ed956159e2f443c6211164c0cbf3d926
extra : histedit_source : b98b792791274f00a5e649c82dc25043cc1d699a
2018-07-02 15:01:25 -07:00
Ehsan Akhgari 29e57a2096 Bug 1475708 - Block setting cookies using document.cookie when restricting 3rd party storage; r=baku 2018-07-13 15:37:00 +03:00
Kirk Steuber 3762ee848e Bug 1420514 - Replace app.update.enabled with app.update.disabledForTesting in update tests r=rstrong
MozReview-Commit-ID: D92P83EB7EE

--HG--
extra : rebase_source : 00b6717e95045ab12194a3eb64f3d46a53c29458
extra : intermediate-source : cbdcf73682554bfc97d8004c4d34af75dfc48bf8
extra : source : 4fc8e79998aaf32b1de7ba8c92fa00e96909f626
2018-05-22 09:16:33 -07:00
Kirk Steuber 6ade94b18a Bug 1420514 - Replace app.update.enabled with app.update.disabledForTesting in update tests r=rstrong
MozReview-Commit-ID: D92P83EB7EE

--HG--
extra : rebase_source : e0a6177efd8c750dfd0bed21f3256e687e54af16
extra : source : 4fc8e79998aaf32b1de7ba8c92fa00e96909f626
2018-05-22 09:16:33 -07:00
Kirk Steuber da107c225e Bug 1420514 - Replace app.update.enabled with app.update.disabledForTesting in the test harness r=ato,chutten,jmaher,lina
MozReview-Commit-ID: GCGKQ5QCC7o

--HG--
extra : rebase_source : ba135c7d285987fd030fef4e18a5aa701a43cdba
extra : intermediate-source : e6c89a0ff0c7a7e7cd1c028e49660bab0416a531
extra : source : 646080a591c0d2365d6e8f4a493607fa3fff86c9
2018-05-22 09:14:19 -07:00
Kirk Steuber 35d8c30dbb Bug 1420514 - Replace app.update.enabled with app.update.disabledForTesting in the test harness r=ato,chutten,jmaher,lina
MozReview-Commit-ID: GCGKQ5QCC7o

--HG--
extra : rebase_source : e38cf587711192c3020cd9ac6a39cdbd97d2600b
extra : source : 646080a591c0d2365d6e8f4a493607fa3fff86c9
2018-05-22 09:14:19 -07:00
Kirk Steuber b04d66bbb9 Bug 1420514 - Remove telemetry probes tracking app.update.enabled r=chutten
Telemetry probes reporting the status of app.update.enabled or nsUpdateService::_enabled have been removed since those values no longer exist. They were replaced with a probe indicating whether update was disabled by policy.

MozReview-Commit-ID: 3YhY5P0gFYG

--HG--
extra : rebase_source : 7c5d110fda6d6372020182f31553abd31301fb42
extra : intermediate-source : c264598b210e39a88c65efff31bb93f1b63617fb
extra : source : b225a413e86801989ce48fc670f8a24734f5b690
2018-05-14 14:24:52 -07:00
Kirk Steuber 35440f6dd0 Bug 1420514 - Remove pref app.update.enabled from the update mechanism r=rstrong
Getting rid of this pref allowed some other code to be removed:
 - Changed nsIUpdateService::stopChecking(duration) to nsIUpdateService::stopCurrentCheck() and got rid of the constants representing durations. The available durations were CURRENT_CHECK, CURRENT_SESSION, and ANY_CHECKS, but only CURRENT_CHECK was ever used.
 - nsIUpdateChecker::stopChecking(CURRENT_SESSION) and nsIUpdateChecker::stopChecking(ANY_CHECKS) were the only mechanisms for setting Checker::_enabled to false, so Checker::_enabled and Checker::enabled were removed. References to Checker::enabled were replaced with checks for nsUpdateService::canCheckForUpdates.
 - In browser/base/content/aboutDialog-appUpdater.js, the updateDisabledAndLocked() function was renamed to updateDisabledByPolicy, since the old name is no longer accurate and the new function name is a better description of the function's actual use.

MozReview-Commit-ID: 4wwqo4ROr1V

--HG--
extra : rebase_source : ea2e0f157dccc02eece585d3d15ebb67a38813d8
extra : intermediate-source : 00f6d87c63dfb940c439b49c8310b3a91be3a912
extra : source : 83c69c5f289572aee6ff5a8c85237bbeaac3cb8b
2018-05-21 14:58:34 -07:00
Kirk Steuber 2d874c9c12 Bug 1420514 - Remove telemetry probes tracking app.update.enabled r=chutten
Telemetry probes reporting the status of app.update.enabled or nsUpdateService::_enabled have been removed since those values no longer exist. They were replaced with a probe indicating whether update was disabled by policy.

MozReview-Commit-ID: 3YhY5P0gFYG

--HG--
extra : rebase_source : 65823dd48715e978242df34c29e68a66d7af7ab9
extra : source : b225a413e86801989ce48fc670f8a24734f5b690
2018-05-14 14:24:52 -07:00
Kirk Steuber d906cf0adb Bug 1420514 - Remove pref app.update.enabled from the update mechanism r=rstrong
Getting rid of this pref allowed some other code to be removed:
 - Changed nsIUpdateService::stopChecking(duration) to nsIUpdateService::stopCurrentCheck() and got rid of the constants representing durations. The available durations were CURRENT_CHECK, CURRENT_SESSION, and ANY_CHECKS, but only CURRENT_CHECK was ever used.
 - nsIUpdateChecker::stopChecking(CURRENT_SESSION) and nsIUpdateChecker::stopChecking(ANY_CHECKS) were the only mechanisms for setting Checker::_enabled to false, so Checker::_enabled and Checker::enabled were removed. References to Checker::enabled were replaced with checks for nsUpdateService::canCheckForUpdates.
 - In browser/base/content/aboutDialog-appUpdater.js, the updateDisabledAndLocked() function was renamed to updateDisabledByPolicy, since the old name is no longer accurate and the new function name is a better description of the function's actual use.

MozReview-Commit-ID: 4wwqo4ROr1V

--HG--
extra : rebase_source : 036099b7cd1f5fc74284ae8800ec30b3037f0d4a
extra : source : 83c69c5f289572aee6ff5a8c85237bbeaac3cb8b
2018-05-21 14:58:34 -07:00
Ted Mielczarek 7d0f5a44b5 bug 1475278 - don't use rust demangle in Breakpad when building with tup. r=mshal
MozReview-Commit-ID: I7YQbfzBo0p
2018-07-12 12:47:17 -04:00
Mark Banner 404a37b5c0 Bug 1475245 - Remove some unused/test-only functions on nsIAnnotationService. r=mak
MozReview-Commit-ID: LIIvA0eCpDI

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

--HG--
extra : moz-landing-system : lando
2018-07-12 14:48:17 +00:00
Mike Hommey 1ad733c5c4 Bug 1474871 - Link dump_syms against rustc-demangle. r=ted
The new version of breakpad imported in bug 1309172 doesn't demangle
rust symbols at all, contrary to before, where it tried to C++ demangle
them, which worked for many, although far from all. It however has
rust-demangle support as long as it's linked against a copy of the
rust-demangle-capi crate from https://github.com/luser/rust-demangle-capi/

This imports the code from the rust-demangle-capi crate but because of
some build system complications it's not taken as-is:
- it uses rusty-cheddar, which is deprecated, to generate a C header.
- rusty-cheddar depends on syntex_syntax, which now fails to build.
- rust-demangle-capi has crate-type staticlib, which can't be used
  as a dependency in a Cargo.toml. For that reason, we can't create
  a fake crate that depends on it to have it vendored.

Overall, it's only a few lines of rust, and the C header can be written
manually, so this is what we do here. The created crate is named in a way
specific to dump_syms.

The build system doesn't know how to figure out what system libraries
are required to link rust static libraries, although the rust compiler
has /some/ support to get the information, so we handle that manually.

--HG--
extra : rebase_source : 9f5a9bfe2148d3040e11c7121a88e85a7f2d5c53
2018-07-12 10:23:12 +09:00
Bogdan Tara 6dbc2726d8 Backed out changeset b099e7e0b264 (bug 1454358) for build bustages on Element.h CLOSED TREE
--HG--
rename : dom/chrome-webidl/XULScrollElement.webidl => dom/webidl/ScrollBoxObject.webidl
rename : dom/xul/XULScrollElement.cpp => layout/xul/ScrollBoxObject.cpp
rename : dom/xul/XULScrollElement.h => layout/xul/ScrollBoxObject.h
2018-07-12 01:50:53 +03:00
Emma Malysz c28a132d13 Bug 1454358, removes unneccessary implementation of ScrollBoxObject rr?enndeakin+6102 r=bz,enndeakin+6102
MozReview-Commit-ID: LBQ0RoS0ZVc

--HG--
rename : dom/webidl/ScrollBoxObject.webidl => dom/chrome-webidl/XULScrollElement.webidl
rename : layout/xul/ScrollBoxObject.cpp => dom/xul/XULScrollElement.cpp
rename : layout/xul/ScrollBoxObject.h => dom/xul/XULScrollElement.h
extra : rebase_source : ad00e7030e50229975b0bc0d3c622af4fe244a79
2018-06-25 10:11:31 -07:00
Gurzau Raul fff6ccd0b0 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-07-12 01:08:09 +03:00
Gurzau Raul cf965b1f59 Merge inbound to mozilla-central. a=merge 2018-07-12 01:04:09 +03:00
Mark Banner 19a4447068 Bug 1474638 - Remove nsIDownloadHistory::removeAllDownloads. r=mak
Depends on D2056

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

--HG--
extra : moz-landing-system : lando
2018-07-11 18:10:22 +00:00
Mark Banner d887b96d07 Bug 1474638 - Change users of nsIDownloadHistory::removeAllDownloads() to PlacesUtils.history.removeVisitsByFilter. r=mak
Also change PlacesUtils.history.removeVisitsByFilter to be able to remove by transition type.

MozReview-Commit-ID: Bkiv0ScUi07

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

--HG--
rename : toolkit/components/places/tests/unit/test_download_history.js => toolkit/components/places/tests/history/test_download_history.js
extra : moz-landing-system : lando
2018-07-11 16:04:25 +00:00
Igor Oliveira 323d22682c Bug 1474306 - Fix typo in the extension optionsType handler. r=Mossop
AddonManager.OPTIONS_INLINE_BROWSER was replaced by
AddonManager.OPTIONS_TYPE_INLINE_BROWSER.
2018-07-09 07:24:00 +03:00
Dão Gottwald 2b76c4ee7a Backed out changeset 953772c799a6 (bug 1470870) for causing bug 1474631
--HG--
extra : rebase_source : 5923b74ae5ff1c0916963ea8f4b5277c60bee82d
2018-07-11 15:46:39 +02:00
Jan de Mooij ef58e3064f Bug 1474835 - Use implicit_jscontext for nsIWebNavigation.setOriginAttributesBeforeLoading. r=smaug 2018-07-11 15:23:54 +02:00
Lina Cambridge 5daa4014be Bug 1463938 - Recalculate frecency in chunks on idle. r=mak
MozReview-Commit-ID: 7Mp0hT3Ziw5

--HG--
extra : rebase_source : 76db4d423004b95a0f75b582725053912dacfe2e
2018-07-04 18:29:25 -07:00
Lina Cambridge 839dd30680 Bug 1463938 - Recalculate frecency in chunks for synced bookmarks. r=mak
MozReview-Commit-ID: HrpzBnQisDK

--HG--
extra : rebase_source : 09c6b239e60d2f447c619ea4f15112e81644e68f
2018-07-04 18:28:46 -07:00
Tim Nguyen 20257bbe6d Bug 1413144 - Make accentcolor and textcolor optional. r=jaws
MozReview-Commit-ID: 3jERl4H9vcv

--HG--
extra : rebase_source : 833dcbb8c21a930e7b09119545ce623664237528
2018-07-10 13:27:55 +01:00
Brindusan Cristian 4d556d4962 Backed out changeset 97d4a22307ac (bug 1473910) for browser-chrome failures on browser/components/places/tests/browser/browser_toolbar_overflow.js. CLOSED TREE 2018-07-11 17:46:08 +03:00
dlee 6f76698fc0 Bug 1469412 - Convert nsIUrlClassifierCacheInfo* objects to smart pointers. r=francois
Differential Revision: https://phabricator.services.mozilla.com/D2048

--HG--
extra : moz-landing-system : lando
2018-07-10 17:12:42 +00:00
Paolo Amadini 3e9249538d Bug 1473910 - Load "tabprompts.css" as a document stylesheet in the browser window. r=bgrins,dao
MozReview-Commit-ID: HEf70HtNiqQ

--HG--
extra : rebase_source : 8a81b8da19e5506629626c34dd17a2032d4fcafe
2018-07-09 10:09:17 +01:00
Jan de Mooij 4f7b2378dc Bug 1474273 - Add xpc::CurrentNativeGlobal and use it instead of NativeGlobal(JS::CurrentGlobalOrNull(cx)). r=bz 2018-07-11 14:07:02 +02:00
shindli c1bbe21ac6 Backed out 2 changesets (bug 1474651) for lint failure in /builds/worker/checkouts/gecko/toolkit/components/antitracking/test/browser/popup.html:8:126 on a CLOSED TREE
Backed out changeset f05247b25d5e (bug 1474651)
Backed out changeset acee48580902 (bug 1474651)
2018-07-11 13:57:22 +03:00
Magnus Melin baae926f53 Bug 1456988 - don't use strict compatibility for dictionaries. r=kmag 2018-07-11 13:42:29 +03:00
Andrea Marchesini c5c00ad639 Bug 1474651 - Grant storage access to 3rd party, tracking resource on window.open() - tests, r=me 2018-07-11 12:38:47 +02:00
Andrea Marchesini 06d77e5419 Bug 1474651 - Grant storage access to 3rd party, tracking resource on window.open(), r=ehsan 2018-07-11 12:38:47 +02:00
Dão Gottwald a0ee9ed37a Backed out changeset e711420b85f7 (bug 1461793) for causing bug 1474538 2018-07-11 12:14:26 +02:00
Noemi Erli d218f98059 Backed out changeset 101f97abc1d4 (bug 1458917) for Talos failures on a CLOSED TREE 2018-07-11 05:11:11 +03:00
Mathieu Leplatre 068afbc416 Bug 1458917 - Register dedicated timer for Remote Settings r=Gijs
MozReview-Commit-ID: K5Rf1McJUHy

--HG--
extra : rebase_source : 171ed0ff11e2b60a17055412c64584dfe5ab90d5
2018-06-14 20:54:19 +02:00
Chris Peterson 2ef77b9ac9 Bug 1472618 - Make navigator.platform return "Win32", even on Win64 OS. r=peterv
navigator.platform returns "Win64" in 64-bit Firefox and IE, but "Win32" in 64-bit Chrome and Edge. "Win32" appears to be the de facto platform value for Windows. This change doesn't hide the OS architecture from web content because navigator.userAgent still mentions "Win64; x64" in 64-bit Firefox, Chrome, Edge, and IE.

MozReview-Commit-ID: CplYnGDQgTe

--HG--
extra : rebase_source : c00a1a7462ea91d44700dd0581c88c1c4cad2346
extra : source : 1976c327f251702be255a9d0769121c6bc5303a1
2018-07-02 11:02:23 -07:00
Cosmin Sabou 26e792fe42 Merge autoland to mozilla-central. a=merge 2018-07-11 00:50:32 +03:00
Marco Bonardo e9e4f16179 Bug 1474401 - Replace probes owner for PLACES_DATABASE_CORRUPTION_HANDLING_STAGE and PLACES_MOST_RECENT_EXPIRED_VISIT_DAYS r=Standard8,chutten
The probe owner should be an actual contact and not a mailing list

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

--HG--
extra : moz-landing-system : lando
2018-07-10 15:32:03 +00:00
Michael Kaply cda5e3b2cd Bug 1460419 - Remove geoSpecificPref code from search service. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D2036

--HG--
extra : moz-landing-system : lando
2018-07-10 13:17:20 +00:00
Andrew Swan 0696fa5e78 Bug 1451513 Part 1: Allow registering chrome: content resources r=kmag
MozReview-Commit-ID: IuUnzb24jCN

--HG--
extra : rebase_source : 4c9c3e2c0ddbb64df47af88c74ee1267a15a6af3
2018-07-05 13:59:25 -07:00
Mathieu Leplatre 4300c52ada Bug 1458917 - Register dedicated timer for Remote Settings r=Gijs
MozReview-Commit-ID: K5Rf1McJUHy

--HG--
extra : rebase_source : f6932e5c3014ce0bb8e29e08468e4e533130273e
2018-06-14 20:54:19 +02:00
Marco Bonardo 83afbb929b Bug 1388123 - re-enable some of the satchel tests on Linux. r=MattN
MozReview-Commit-ID: 2Xu3WEOei3s

--HG--
extra : rebase_source : be0b7c37575cb1996ef6823491fc3a8cf30fe596
2018-07-10 16:25:06 +02:00
Marco Bonardo 021fc63b95 Bug 1388123 - Make autocomplete handle Enter on keydown. r=MattN
Some pages, like the Google login form, submit information on keydown, that
causes us to not autocomplete, because we handle keypress instead.
The patch changes autocomplete to happen on keydown.
Unfortunately formautofill also uses keydown and tries to access popup data too
late, thus it needs some hacks to work properly.
In general the formautofill code has too many indirections due to e10s, and that
makes the fix more fragile than we'd want. Ideally content autocomplete should
have its own codebase, rather than sharing the same controller as chrome code.

MozReview-Commit-ID: oAyASmDFm1

--HG--
extra : rebase_source : 64c1e7c85b203904b59e3a1e019e7f52f290cfea
2018-06-22 12:37:09 +02:00
Timothy Guan-tin Chien 5f71e2aa7f Bug 1474574 - Ensure <video> is the only focusable element in TopLevelVideoDocument r=Gijs
Instead of re-dispatch an untrusted event, simply make sure the keyboard event is handled
by the video controls.

MozReview-Commit-ID: 9Kj7E3UP77w

--HG--
extra : rebase_source : 8bbc787c7e5dd3d4351270b17f521f49b0f1a21c
2018-07-11 11:51:48 +08:00
Jacek Caban 52efb2adb3 Bug 1443471 - Take clang mingw into account in moz.build files r=glandium
MozReview-Commit-ID: 2vKiHjmI9Hn

--HG--
extra : rebase_source : 0a527700795ab624926ca4d6de9ec33ab59f31a6
2018-06-25 20:01:39 +02:00
Shane Caraveo 88f981198b Bug 1474626 - fix timestamp test and values, r=rpl
The test was incorrect and the timestamp should be milliseconds, not microseconds.

MozReview-Commit-ID: 2d79r6PHH4Z

--HG--
extra : rebase_source : edd97899f0646f2cae2fbf119206ec470a6b97a0
2018-07-11 14:54:03 -03:00
imjching 01b7c92eb4 Bug 1416066 - Add a new flag to nsIAboutModule to load URIs in privileged content processes if feature is enabled. r=mconley
We will apply the URI_CAN_LOAD_IN_PRIVILEGED_CHILD flag to Activity Stream about: pages instead of hardcoding the URLs in a Set.

MozReview-Commit-ID: F6AGmsKs1SR

--HG--
extra : rebase_source : e0435776b7bd390a2a62190ba6c72d4d312538d1
2018-07-03 19:31:37 -04:00
Matt Howell 5464744b1d Bug 1448804 Part 2 - Offer an opt-in survey at the end of the Windows uninstaller. r=agashlin
MozReview-Commit-ID: 2yPAfY3S2Bl

--HG--
extra : rebase_source : 936e6e4edd555059ac5ae95d40e7e4aa807a843f
2018-07-09 10:54:05 -07:00
Shane Caraveo 07b2358529 Bug 1452348 - disable intermittent test on android + debug r=mixedpuppy
MozReview-Commit-ID: 9A2P2jkTwWK

--HG--
extra : rebase_source : 32a53093dd8fc79d89fe3344d15852e4a2727eb0
2018-07-11 15:41:52 -03:00
Andreea Pavel 41fc51d32b Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-07-10 19:38:34 +03:00
Andreea Pavel a80651653f Merge mozilla-inbound to mozilla-central. a=merge 2018-07-10 19:33:22 +03:00
Jan-Erik Rediger 5d29509a5f Bug 1472715 - Show actual state of Telemetry upload on about:telemetry r=gfritzsche
Differential Revision: https://phabricator.services.mozilla.com/D2029

--HG--
extra : moz-landing-system : lando
2018-07-10 11:21:13 +00:00
Margareta Eliza Balazs b2410865d4 Backed out changeset d04bd6e1521f (bug 1472715) for ES lint failure in components/telemetry/TelemetrySend.jsm on a CLOSED TREE 2018-07-10 14:15:34 +03:00
Jared Wein 4f4f62eb2b Bug 1211647 - Runtime graphics testing visible during session restore. r=mchang
--HG--
extra : rebase_source : 802c4758f4b020c6f610e0e341e949b8f6df2729
2018-07-09 13:18:10 -04:00
Paolo Amadini 850645e816 Bug 1474258 - Remove the "listheader" binding and move the remaining styles to "richlistbox.css". r=bgrins
The content of this element is always overridden and the "xul:button" display mode is unnecessary, so the binding can be removed. The styles that control color are moved to "richlistbox.css" in preparation for the removal of the "listbox" element.

MozReview-Commit-ID: 5pGVE6n34EL

--HG--
extra : rebase_source : 8c5e37736c92382486ac605cc2d30085c16b7de7
extra : source : 8be7c63ea5c620641816664d9be81e58a912f9f3
2018-07-09 12:45:41 +01:00
Paolo Amadini 6e680744e4 Bug 1472750 - Convert simple "listbox" instances to "richlistbox". r=bgrins
These simple lists are converted to normal layout by setting a fixed height that isn't a multiple of the row height, which is already the case for most other lists in the user interface.

MozReview-Commit-ID: 1tV4MIoRp0d

--HG--
rename : toolkit/themes/windows/global/richlistbox.css => toolkit/themes/linux/global/richlistbox.css
extra : rebase_source : d6c53aa341bc5711f6ecf16485b5bd03d4f9caf2
extra : intermediate-source : 1355778929be17234ca3ced4f9930f05fb2cf20a
extra : source : 2e4527da76bba52492353aa5a40c128b09f389f1
2018-07-09 10:38:42 +01:00
Paolo Amadini 1599cced2e Bug 1463320 - Remove the "wizard-base" binding and import the "wizard.css" file as a document stylesheet. r=bgrins
MozReview-Commit-ID: JRw6jnAhql2

--HG--
extra : source : 2b9e7a8b23b7ca9304262fbcf4a3e33e59c151b3
2018-07-10 14:39:35 +01:00
Gijs Kruitbosch 7ef150303b Bug 1472749 - fix reader mode on nytimes website (sync from github 7d03bec52d0a0c4b22d044e06af84abb15a9f02b), r=jaws
--HG--
extra : rebase_source : 43eefd79922e66d0e381b1da9a91a65f00281792
2018-07-10 14:24:43 +01:00
Andrea Marchesini b57c0f116e Bug 1469993 - Grant storage access to a 3rd party, tracking resource if a opened document has user-interaction - part 8 - tests, r=ehsan 2018-07-10 10:09:59 +02:00
Tarek Ziadé 47344f4b4a Bug 1474253 - Improve ReportPerformanceInfo() - r=baku
- modifies how we get the top window id, adds isTopLevel
- renames pwid to windowId, worker to isWorker
- removes the wid field
- uses the url in case the host is empty

It also fixes PerformanceInfoDictionary.host type

MozReview-Commit-ID: 4AzO3UnJ2LM

--HG--
extra : rebase_source : 5dee8a650064fd45e7a9e694c2593d517f74d766
2018-07-10 09:58:48 +02:00
Jan-Erik Rediger d20ffc41ac Bug 1472715 - Show actual state of Telemetry upload on about:telemetry r=gfritzsche
Differential Revision: https://phabricator.services.mozilla.com/D2029

--HG--
extra : moz-landing-system : lando
2018-07-10 10:11:36 +00:00
Andreea Pavel 1a18e3e824 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-07-10 13:09:49 +03:00
Tiberius Oros 92ba19b150 Merge inbound to mozilla-central. a=merge 2018-07-10 12:45:13 +03:00
Nathan Froyd 5c5a455e97 Bug 1444171 - use the order file during re-link with clang-cl; r=glandium
Now that we've generated an order file of the first N functions invoked
during startup, let's tell the linker about said functions so it can
cluster them appropriately.
2018-07-09 18:36:14 -04:00
Ciure Andrei 79aa5c6ec9 Merge inbound to mozilla-central. a=merge 2018-07-10 00:59:02 +03:00
Paolo Amadini 432ba73eeb Bug 1461793 - Remove the "popup-base" binding and import the "popup.css" file as a document stylesheet. r=bgrins
MozReview-Commit-ID: ADWsFTNPfhw

--HG--
extra : source : 4d511f7fc5b5c16fdfea91242dea6086cd57c8c3
extra : intermediate-source : 721ad06a848fa442f7f406c8bceb8d31db2aed0d
2018-07-09 08:59:33 +01:00
Paolo Amadini 985ecbab06 Bug 1474193 - Part 2 - Increase specificity of richlistitem rules for in-content categories. r=mossop
MozReview-Commit-ID: 9BNoMsHkc4V

--HG--
extra : rebase_source : 0123c99822d21b541e2ed1c8a5c0e2a6ce2afc4d
2018-07-08 22:34:13 +01:00
Paolo Amadini af8fbdbc91 Bug 1474193 - Part 1 - Increase specificity of richlistitem rules for add-on items. r=mossop
MozReview-Commit-ID: 12BcJPju05e

--HG--
extra : rebase_source : 9ca13b852aa251788ec0b2d35f8bc18ad435894f
2018-07-08 22:18:34 +01:00
Daniel Stenberg 9cdf207464 bug 1473333 - add Telemetry probe HTTP_CHANNEL_ONSTART_SUCCESS r=mcmanus
Measure success rate in nsHttpChannel::OnStartRequest

MozReview-Commit-ID: Ia8h8acIvSA
2018-07-08 23:02:00 +03:00
Ciure Andrei 19611b7362 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-07-10 01:01:03 +03:00
Chris Manchester dc4c4637b0 Bug 1468547 - Re-factor gtest mach command to not invoke make when not necessary. r=mshal
MozReview-Commit-ID: 6j7t0YIZc8n

--HG--
extra : rebase_source : e4478904d4f4e54ead473435df2c9e9a47a9294c
2018-07-09 14:28:59 -07:00
Mike Cooper 96465b5cd1 Bug 1472797 - Add OS information to filter expression context r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D1920

--HG--
extra : moz-landing-system : lando
2018-07-10 08:11:21 +00:00
Paolo Amadini 99fbb28d42 Bug 1473275 - Remove the details expander in the Clear Recent History dialog. r=johannh
MozReview-Commit-ID: 99XDExBbRkp

--HG--
extra : source : 12fca1ba05db3a3eefe4a293e42f642dd6e217cc
2018-07-04 17:27:15 +01:00
Chris Manchester ff7a5531ac Bug 1472857 - Allow rustc 1.27 to build in automation for the sake of the base-toolchains build. r=glandium
MozReview-Commit-ID: EQj9aLbbckA

--HG--
extra : rebase_source : 072ec286faefb00480ab51e099a36636cb05233b
2018-07-03 15:27:20 -07:00
Andreea Pavel c815b24ed0 Merge mozilla-inbound to mozilla-central. a=merge 2018-07-08 00:52:14 +03:00
Paolo Amadini 0e6d306642 Bug 1470872 - Load "dropmarker.css", "groupbox.css", and "splitter.css" as document stylesheets. r=bgrins
MozReview-Commit-ID: 3jF7wbLpc7R

--HG--
extra : source : 2fc97c8e2e2c6a6f74b533921162f6256f4be249
2018-07-07 11:18:36 +01:00
Matt Woodrow 6f70c89500 Bug 1473908 - Add new telemetry measurement for recording time spent in FrameLayerBuilder. r=bas,francois
MozReview-Commit-ID: 9oilZL1lPGp

--HG--
extra : rebase_source : 6682218e660b9345e020027aa6f445125d070bf2
2018-07-06 19:10:56 -07:00
Dorel Luca 1a9c4aa2b8 Merge mozilla-central to mozilla-inbound 2018-07-07 13:37:33 +03:00
Paolo Amadini f7ef74fd6d Bug 1470871 - Load "toolbar.css" as a document stylesheet. r=bgrins
MozReview-Commit-ID: H23ANkGchh7

--HG--
extra : source : d9445d9acb8a57f9dfa942b09d4aeecfc39cbac6
2018-07-05 17:07:49 +01:00
Bogdan Tara f06fbe92ac Merge inbound to mozilla-central. a=merge 2018-07-07 01:00:41 +03:00
Alessio Placitelli 342c121d33 Bug 1467871 - Update HCT docs to mention that HTTPS is required for testing. r=janerik,chutten
Differential Revision: https://phabricator.services.mozilla.com/D1998

--HG--
extra : moz-landing-system : lando
2018-07-06 15:13:44 +00:00
Tarek Ziadé bcf6f4c256 Bug 1471517 - Converts ChromeUtils.requestPerformanceMetrics as Promise - r=baku
This ChromeUtils API now returns a promise that gets resolved once all the data
has been collected via IPDL and the main process. The existing notification
design and its related XPCOM classes are removed.

MozReview-Commit-ID: CYKukBOC8yh

--HG--
extra : rebase_source : 1e27524726ace0bfed5297d48af8be268c5b4945
2018-07-05 16:32:03 +02:00
shindli c76354430a Backed out changeset 7c5a7b0b6bc6 (bug 1465424) for bustages in /builds/worker/checkouts/gecko/js/src/devtools/rootAnalysis/run_complete on a CLOSED TREE 2018-07-06 16:39:55 +03:00
Paolo Amadini f17fd8d8ae Bug 1473623 - Load "notification.css" as a document stylesheet. r=bgrins
MozReview-Commit-ID: 5kFQmQR7bmr

--HG--
extra : source : 9105a8670fc3ebf300fdf2c6a6e7d87e66c60bba
2018-07-05 17:07:09 +01:00
Paolo Amadini 9a186571b7 Bug 1473521 - Load "richlistbox.css" as a document stylesheet. r=bgrins
This adds an ID selector to the rules meant to override "richlistitem". This was missing only in the Downloads Panel and the Downloads View.

MozReview-Commit-ID: D6NEQlICGQi

--HG--
extra : source : 6e8b64c40476c995c94440c38a6263fd9989770c
2018-07-06 19:25:18 +01:00
Paolo Amadini 098536b2b8 Bug 1473832 - Load "autocomplete.css" and "autocomplete-item.css" as document stylesheets. r=bgrins
MozReview-Commit-ID: G9OUUmxPivU

--HG--
extra : source : e06778079d84df9f46cd06a2fac626fb04bbc34f
2018-07-06 10:11:25 +01:00
Dão Gottwald 27cfb0f382 Bug 1442960 - Remove workaround for bug 1438504. r=bgrins
MozReview-Commit-ID: 9IdoPCF3LA5

--HG--
extra : rebase_source : 8f94397908abf3d7bdfcb1fd2b38ae4c4c201903
2018-07-04 21:53:53 +02:00
ozoder 6b491fa02a Bug 1472611 - Don't link DBus 1.5.12 symbol dbus_validate_bus_name(), r=stransky
MozReview-Commit-ID: 6scVh8DOex2

--HG--
extra : rebase_source : d66577a13d06b1a1bdcd1ec0e25fd1dc75d84a1e
2018-07-04 09:24:34 +02:00
Patrick Brosset 948983b91e Bug 1465424 - Added 3 histograms to test font editor usage assumptions; r=rcaliman
MozReview-Commit-ID: 5RWjUqRhtyH

--HG--
extra : rebase_source : a585fd2a7b85f553f030b83ca163d63a572e4c0a
2018-06-29 18:20:25 +02:00
Tim Nguyen adb92a3fa0 Bug 1473270 - Handle tab detaching for new tab page per-window themes. r=mconley
MozReview-Commit-ID: BmyeEZCe4vy

--HG--
extra : rebase_source : e0f9656c293866f1985102bf43c56caa41bfb791
2018-07-05 15:05:29 +01:00
Shane Caraveo 32ab30bda6 Bug 1471959 - leave keaGroupName and signatureSchemeName undefined if value is none, r=rpl
MozReview-Commit-ID: 2Ca7xCMOPAH

--HG--
extra : rebase_source : 2fa9d6b80c9ead0d90927878ce10390791cbadd9
2018-07-06 09:41:56 -03:00
Shane Caraveo 8273682972 Bug 1445836 - finalize topSites api on platform APIs that will be stable, r=Mardak,rpl
MozReview-Commit-ID: Esj5sJweJ4K

--HG--
extra : rebase_source : b965ebb11dc0038574150b78a535798a16fe7226
2018-07-06 09:33:50 -03:00
Chris H-C 1cd9afb82a bug 1460900 - Cease timing how long it takes to load pings from disk r=janerik
We introduced these measures in bug 1033860 because of the variety of different
things besides pings we were sending using Telemetry. We don't do that any more
and haven't looked at these probes in at least two years.

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

--HG--
extra : moz-landing-system : lando
2018-07-09 15:59:51 +00:00
Dão Gottwald 092a352343 Bug 1472472 - Use PlacesCommandHook.bookmarkLink instead of PlacesCommandHook.bookmarkPage in activity stream. r=Mardak
MozReview-Commit-ID: EszRhVlaNky

--HG--
extra : rebase_source : e2357135b8a048415479342f8562b271985a37a8
2018-07-06 13:02:59 +02:00
Margareta Eliza Balazs fd5c37f1dd Merge inbound to mozila-central. a=merge 2018-07-06 12:47:20 +03:00
Neil Deakin f08f9ce4af Bug 1437638, move frame, browser and editor to be based on XULFrameElement, a new subclass of XULElement, r=paolo,bz 2018-07-05 20:14:18 -04:00
Lina Cambridge 90d76a7da4 Bug 1472241 - Reparent Places roots on startup and handle misparented roots in the Sync mirror. r=mak
This patch fixes up user content roots that aren't children of the
Places root. This patch also changes the Sync mirror to always prefer
the local root structure when merging, since the roots on the server
might be wrong.

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

--HG--
extra : moz-landing-system : lando
2018-07-05 23:43:42 +00:00
Mike Hommey ae6d6fb05e Bug 1473436 - Disable elfhack on local builds. r=chmanchester
Because of bug 1423822, we can't enable elfhack and lld at the same
time. OTOH, elfhack is not really useful on local builds: it's only used
on `make package`. Since we're going to make lld the default if it's
available, let's just completely disable elfhack by default on local
builds.

While here, hide the configure flag when compile environment is
disabled.

--HG--
extra : rebase_source : 154d3059db4f0f073bd219670ef4c9bc6ebcfd26
2018-07-05 09:23:56 +09:00
Cosmin Sabou 884a900a1c Backed out changeset ddb83501ed00 (bug 1472241) for xpcshell failures on test_current_from_v43. CLOSED TREE 2018-07-06 01:53:46 +03:00
Gurzau Raul 51fdfe5279 Backed out changeset 9912325cd073 (bug 1460900) for Linting failure on gecko/toolkit/components/telemetry/TelemetryStorage.jsm on a CLOSED TREE 2018-07-09 18:36:02 +03:00
Chris H-C 268ec922a0 bug 1460900 - Cease timing how long it takes to load pings from disk r=janerik
We introduced these measures in bug 1033860 because of the variety of different
things besides pings we were sending using Telemetry. We don't do that any more
and haven't looked at these probes in at least two years.

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

--HG--
extra : moz-landing-system : lando
2018-07-09 07:40:55 +00:00
Lina Cambridge 48335a1fdc Bug 1474033 - Ensure `PlacesUtils.bookmarks.moveToFolder` bumps the Sync change counter for items moved between different parents. r=Standard8
This patch unifies `updateBookmark` and `moveBookmark`.
`update` already handles the Sync change counter, and `move` specially
optimizes for moves. We can consolidate the two by reusing the queries
from `move` in `update`, moving its extra `setAncestorsLastModified`
call to `PlacesUtils.bookmarks.update`, and removing its transaction
and wrapper.

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

--HG--
extra : moz-landing-system : lando
2018-07-09 14:12:41 +00:00
Gurzau Raul dd9a507efe Backed out 4 changesets (bug 1445921) for Linting failure on components/telemetry/tests/unit/test_TelemetryController.js on a CLOSED TREE
Backed out changeset b5bff80b9d18 (bug 1445921)
Backed out changeset b859e76fcc67 (bug 1445921)
Backed out changeset 7c23db3a5f53 (bug 1445921)
Backed out changeset f3ef58bc6b38 (bug 1445921)

--HG--
extra : rebase_source : 00bc0e17ea782a73c5067c1f8d615fc7b80bbabb
2018-07-09 13:06:17 +03:00
Jan-Erik Rediger 3e9c318baa Bug 1445921 - Document new optout ping r=Dexter
MozReview-Commit-ID: FCjCpozJ5yS

Depends on D1949

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

--HG--
extra : moz-landing-system : lando
2018-07-05 15:52:39 +00:00
Jan-Erik Rediger e3f1af33ec Bug 1445921 - Test for canary client id in received pings. r=Dexter
MozReview-Commit-ID: 8aPTGmYv6Wf

Depends on D1948

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

--HG--
extra : moz-landing-system : lando
2018-07-04 15:58:43 +00:00
Jan-Erik Rediger 5d51186ddc Bug 1445921 - Implement and test new optout ping logic. r=Dexter,chutten
This follows the steps from the specification and also ensures sending
the optout ping is only tried once and discarded if that fails.

Depends on D1947

MozReview-Commit-ID: 99peURNq9jx

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

--HG--
extra : moz-landing-system : lando
2018-07-06 15:12:45 +00:00
Jan-Erik Rediger 03ac1850f6 Bug 1445921 - Allow client ID to be set and reset. r=Dexter
MozReview-Commit-ID: K4O9SXlmQkI

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

--HG--
extra : moz-landing-system : lando
2018-07-05 10:49:45 +00:00
Paolo Amadini 6312e2d6a5 Bug 1472744 - Remove the listbox in "browser/base/content/sanitize.xul". r=johannh
Support for "listitem" in preferences is also removed, in preparation for the removal of the "listbox" element and binding.

MozReview-Commit-ID: JQgdITzKoUz

--HG--
extra : source : f85e8811f574e7e75ffbbe2b9782ef601251db93
2018-07-04 12:14:17 +01:00
Margareta Eliza Balazs af46e30cce Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-07-06 12:55:40 +03:00
shindli c59bc47e0e Backed out changeset ba0ea459e222 (bug 1473521) for bc failures in browser/extensions/formautofill/test/browser/browser_dropdown_layout.js on a CLOSED TREE 2018-07-06 11:13:12 +03:00