Ehsan Akhgari
b7a58af3de
Bug 1527505 - Part 8: Lift the handling of expanded principals out of CommonTestPermissionInternal() into CommonPrepareToTestPermission(); r=nika
...
This patch in the series ensures that the order of operations in
recursive invocations of CommonTestPermission() remains consistent
compared to before the patch series, even though it is not strictly
needed for the performance improvements that the series focuses on.
The core idea behind CommonPrepareToTestPermission() now is to do the checks
that do not depend on the host name being tested, and for
CommonTestPermissionInternal() itself to focus on the rest of the checks,
that is looking up our hashtable entry based on the host name being tested,
and everything else that's needed from that point on.
Depends on D20235
Differential Revision: https://phabricator.services.mozilla.com/D20236
--HG--
extra : moz-landing-system : lando
2019-02-21 22:54:26 +00:00
Ehsan Akhgari
b0243117bd
Bug 1527505 - Part 7: Compute the default permission in the recursive loop only once; r=nika
...
Depends on D20234
Differential Revision: https://phabricator.services.mozilla.com/D20235
--HG--
extra : moz-landing-system : lando
2019-02-21 22:54:24 +00:00
Ehsan Akhgari
d29bd70ee2
Bug 1527505 - Part 6: Use inline storage for storing the type array in order to speed up searching though it in the common case; r=nika
...
Depends on D20233
Differential Revision: https://phabricator.services.mozilla.com/D20234
--HG--
extra : moz-landing-system : lando
2019-02-21 22:54:16 +00:00
Ehsan Akhgari
0083cbb875
Bug 1527505 - Part 5: Inline nsPermissionManager::GetTypeIndex(); r=nika
...
Depends on D20232
Differential Revision: https://phabricator.services.mozilla.com/D20233
--HG--
extra : moz-landing-system : lando
2019-02-21 22:54:14 +00:00
Ehsan Akhgari
ef76693c35
Bug 1527505 - Part 4: Compute the type index in the recursive loop only once; r=nika
...
This patch alone decreases the runtime of the loop on my machine from about
1700 to 200-400ms ranges. It turns out that computing the type index is
the most expensive part. So perhaps we should look into improving that as
well.
The first thing that comes to mind is whether we can inline the loop in
GetTypeIndex(). The next part takes care of that, and it does help a bit.
But we need to do more still.
The next obvious thing is to optimize the memory access patterns. Right
now we iterate over an array of dynamically allocated strings to compare
them, which amounts to pointer chasing to read a bit of memory, kind of
the worst possible way to access memory. Then we look at replacing that
with fully sequential memory reads in the common cases.
Depends on D20231
Differential Revision: https://phabricator.services.mozilla.com/D20232
--HG--
extra : moz-landing-system : lando
2019-02-21 22:54:12 +00:00
Ehsan Akhgari
4268da8938
Bug 1527505 - Part 3: Compute the origin hash once when storing permissions; r=nika
...
Depends on D20230
Differential Revision: https://phabricator.services.mozilla.com/D20231
--HG--
extra : moz-landing-system : lando
2019-02-21 22:54:10 +00:00
Ehsan Akhgari
f017471b08
Bug 1527505 - Part 2: Inline the IsSystemPrincipal check; r=nika
...
Depends on D20229
Differential Revision: https://phabricator.services.mozilla.com/D20230
--HG--
extra : moz-landing-system : lando
2019-02-21 22:54:08 +00:00
Ehsan Akhgari
354461335a
Bug 1527505 - Part 1: Add a platform-bench test for measuring the performance of TestPermissionFromPrincipal() in the common case that the anti-tracking backend uses it; r=nika
...
We choose 100,000 iterations so that on a fast processor the test takes
times in the order of seconds.
Differential Revision: https://phabricator.services.mozilla.com/D20229
--HG--
rename : extensions/cookie/test/moz.build => extensions/cookie/test/gtest/moz.build
extra : moz-landing-system : lando
2019-02-21 22:54:06 +00:00
Junior Hsu
b7e28eddd2
Bug 1507110 - Allow hijacking localhost only if network.proxy.allow_hijacking_localhost is set r=Gijs,mayhemer,mkaply,jmaher
...
Differential Revision: https://phabricator.services.mozilla.com/D19325
--HG--
extra : moz-landing-system : lando
2019-02-19 21:53:22 +00:00
Kris Maglione
b2f85650a1
Bug 1524687: Part 12 - Convert everything else to static registration. r=erahm
...
--HG--
extra : source : 625f71135038f79c075f758e316fbb00097c9a18
extra : intermediate-source : 7a1ef487a9e74d66b112034051e49b77023860b8
extra : histedit_source : 88d19dbee4a99faa191e49e2847c4c59aba05b0c%2C5ee702f97153152d31124e0c5f3e8318cbeb3195
2019-01-29 16:03:41 -08:00
arthur.iakab
470dbf03b6
Backed out 5 changesets (bug 1524687) for causing build bustages on platform.h CLOSED TREE
...
Backed out changeset 0f06a6b51bfe (bug 1524687)
Backed out changeset 7a1ef487a9e7 (bug 1524687)
Backed out changeset accad7b4cbc7 (bug 1524687)
Backed out changeset eb33f7e6467c (bug 1524687)
Backed out changeset 86cf09db340b (bug 1524687)
2019-02-21 02:04:02 +02:00
Kris Maglione
95c0cf7aa9
Bug 1524687: Part 12 - Convert everything else to static registration. r=erahm
...
--HG--
extra : rebase_source : ccc1b4f8559152237e523b67ea76e2b406c1cb11
extra : intermediate-source : e8ad5619116c31fc4d38e0e789ddb9b5d2a5bb25
extra : source : 625f71135038f79c075f758e316fbb00097c9a18
2019-01-29 16:03:41 -08:00
Kris Maglione
dfc6aeef42
Backout most of bug 1524687 for Windows PGO xpcshell selftest failures. r=backout
2019-02-14 17:17:36 -08:00
Ekanan Ketunuti
d789b1398f
Bug 1527545 - Add words to en-US dictionary. r=ehsan
2019-02-13 17:05:59 +07:00
Kris Maglione
b718cffa0e
Bug 1524687: Part 12 - Convert everything else to static registration. r=erahm
...
--HG--
extra : rebase_source : 176f8fb3716d467e34a04d353b44acec314808cf
extra : source : 625f71135038f79c075f758e316fbb00097c9a18
2019-01-29 16:03:41 -08:00
Kris Maglione
aaf5a4acba
Bug 1524687: Part 4 - Convert Places module to static registration. r=mak
...
Differential Revision: https://phabricator.services.mozilla.com/D18399
--HG--
extra : rebase_source : c9e4273be9cfccb3588d82878a4b6e4aecce59b5
extra : source : c58caf41bb942d24efb5e108cdb7811be2930498
2019-01-24 15:46:19 -08:00
Csoregi Natalia
ecd94d6986
Backed out 79 changesets (bug 1524687, bug 1524688) for crashes on mozilla::dom::ScreenOrientation::ScreenOrientation(nsPIDOMWindowInner *,nsScreen *). CLOSED TREE
...
Backed out changeset 68a001a42406 (bug 1524687)
Backed out changeset 328de611bcd3 (bug 1524688)
Backed out changeset 68cffca6927a (bug 1524687)
Backed out changeset 81dc12cc9257 (bug 1524688)
Backed out changeset c7c49f64048f (bug 1524688)
Backed out changeset fb23a0271da0 (bug 1524688)
Backed out changeset 0c1d1248e59e (bug 1524688)
Backed out changeset 9e9ec7de4160 (bug 1524688)
Backed out changeset de0b9993bd5d (bug 1524688)
Backed out changeset 92877cf4fe33 (bug 1524688)
Backed out changeset b4938f2ff8fd (bug 1524688)
Backed out changeset 230d2feaf941 (bug 1524688)
Backed out changeset 6c63bc240972 (bug 1524688)
Backed out changeset 0ad5465eace1 (bug 1524688)
Backed out changeset 1e75ce91029b (bug 1524688)
Backed out changeset 34a978503b1d (bug 1524688)
Backed out changeset 183602e8a30b (bug 1524688)
Backed out changeset 12a9135dc005 (bug 1524688)
Backed out changeset 978ef5dac9db (bug 1524688)
Backed out changeset 28105bf7bf6a (bug 1524688)
Backed out changeset a9fb74beaf2b (bug 1524688)
Backed out changeset fe106b369a72 (bug 1524688)
Backed out changeset e657e77d4271 (bug 1524688)
Backed out changeset 09f626870ad0 (bug 1524688)
Backed out changeset fe9b6695212e (bug 1524688)
Backed out changeset 995ea188bc31 (bug 1524688)
Backed out changeset 01c4d3edb1b0 (bug 1524688)
Backed out changeset 1bb7dfbb9f48 (bug 1524688)
Backed out changeset 56c61e0a1f45 (bug 1524688)
Backed out changeset c819943ff466 (bug 1524688)
Backed out changeset a1dd5cec066e (bug 1524688)
Backed out changeset 517838ee0c3c (bug 1524688)
Backed out changeset f509a5759fdf (bug 1524688)
Backed out changeset 56f5c8f0d708 (bug 1524688)
Backed out changeset 5746311ef859 (bug 1524688)
Backed out changeset df02f7d25212 (bug 1524688)
Backed out changeset c9846136d105 (bug 1524688)
Backed out changeset 2bd48db9cd0f (bug 1524688)
Backed out changeset ff120b4eeb79 (bug 1524688)
Backed out changeset fe583e7aae8d (bug 1524688)
Backed out changeset 18f156d6355a (bug 1524688)
Backed out changeset f4eaebbe2e0f (bug 1524688)
Backed out changeset bf6b18e23f69 (bug 1524688)
Backed out changeset dd89eb7e9b0d (bug 1524688)
Backed out changeset 4cbbb367ba0b (bug 1524688)
Backed out changeset 4ed0cf6be580 (bug 1524688)
Backed out changeset d8efb5ed62b1 (bug 1524688)
Backed out changeset ea347d57d73a (bug 1524688)
Backed out changeset 911689ef9f33 (bug 1524688)
Backed out changeset 28670fdc418d (bug 1524688)
Backed out changeset 38e1e42a0fb0 (bug 1524688)
Backed out changeset 35a5f031dd1e (bug 1524688)
Backed out changeset b586d55d76d5 (bug 1524688)
Backed out changeset 6dcacead1746 (bug 1524688)
Backed out changeset 9895239d8ac6 (bug 1524688)
Backed out changeset 25f982fd53bd (bug 1524688)
Backed out changeset 4fb0f0a59fe2 (bug 1524688)
Backed out changeset fdc6c4ed241a (bug 1524688)
Backed out changeset 5ce5986068f0 (bug 1524688)
Backed out changeset ab64ed7388ae (bug 1524688)
Backed out changeset 56607c5a301a (bug 1524688)
Backed out changeset 6b3684e7d8f9 (bug 1524688)
Backed out changeset ee28258a5724 (bug 1524688)
Backed out changeset 9201a7ea3c54 (bug 1524688)
Backed out changeset d5dca413e2da (bug 1524688)
Backed out changeset 68eb174a337b (bug 1524688)
Backed out changeset 625f71135038 (bug 1524687)
Backed out changeset 46e13c453538 (bug 1524687)
Backed out changeset 614be688767f (bug 1524687)
Backed out changeset 9c24919ac5c2 (bug 1524687)
Backed out changeset b9862758b98c (bug 1524687)
Backed out changeset 92d9e927deec (bug 1524687)
Backed out changeset f4ee175bc5bd (bug 1524687)
Backed out changeset 191afe83da2e (bug 1524687)
Backed out changeset c58caf41bb94 (bug 1524687)
Backed out changeset df95a56dae04 (bug 1524687)
Backed out changeset 10c69df4444d (bug 1524687)
Backed out changeset 219b84a58f50 (bug 1524687)
Backed out changeset e96e61bd282f (bug 1524687)
--HG--
rename : browser/components/migration/360seProfileMigrator.jsm => browser/components/migration/360seProfileMigrator.js
rename : browser/components/migration/ChromeProfileMigrator.jsm => browser/components/migration/ChromeProfileMigrator.js
rename : browser/components/migration/EdgeProfileMigrator.jsm => browser/components/migration/EdgeProfileMigrator.js
rename : browser/components/migration/FirefoxProfileMigrator.jsm => browser/components/migration/FirefoxProfileMigrator.js
rename : browser/components/migration/IEProfileMigrator.jsm => browser/components/migration/IEProfileMigrator.js
rename : browser/components/migration/ProfileMigrator.jsm => browser/components/migration/ProfileMigrator.js
rename : browser/components/migration/SafariProfileMigrator.jsm => browser/components/migration/SafariProfileMigrator.js
rename : browser/components/newtab/AboutNewTabService.jsm => browser/components/newtab/aboutNewTabService.js
rename : browser/components/BrowserContentHandler.jsm => browser/components/nsBrowserContentHandler.js
rename : browser/components/BrowserGlue.jsm => browser/components/nsBrowserGlue.js
rename : browser/components/payments/PaymentUIService.jsm => browser/components/payments/paymentUIService.js
rename : browser/components/protocolhandler/WebProtocolHandlerRegistrar.jsm => browser/components/protocolhandler/WebProtocolHandlerRegistrar.js
rename : devtools/startup/AboutDebuggingNewRegistration.jsm => devtools/startup/aboutdebugging-new-registration.js
rename : devtools/startup/AboutDebuggingRegistration.jsm => devtools/startup/aboutdebugging-registration.js
rename : devtools/startup/aboutdevtools/AboutDevToolsRegistration.jsm => devtools/startup/aboutdevtools/aboutdevtools-registration.js
rename : devtools/startup/AboutDevToolsToolboxRegistration.jsm => devtools/startup/aboutdevtoolstoolbox-registration.js
rename : devtools/startup/DevToolsStartup.jsm => devtools/startup/devtools-startup.js
rename : dom/base/ProcessSelector.jsm => dom/base/ProcessSelector.js
rename : dom/base/SlowScriptDebug.jsm => dom/base/SlowScriptDebug.js
rename : dom/base/ContentAreaDropListener.jsm => dom/base/contentAreaDropListener.js
rename : dom/browser-element/BrowserElementParent.jsm => dom/browser-element/BrowserElementParent.js
rename : dom/console/ConsoleAPIStorage.jsm => dom/console/ConsoleAPIStorage.js
rename : dom/html/HTMLMenuBuilder.jsm => dom/html/htmlMenuBuilder.js
rename : dom/media/PeerConnection.jsm => dom/media/PeerConnection.js
rename : dom/notification/NotificationStorage.jsm => dom/notification/NotificationStorage.js
rename : dom/presentation/PresentationDataChannelSessionTransport.jsm => dom/presentation/PresentationDataChannelSessionTransport.js
rename : dom/presentation/PresentationNetworkHelper.jsm => dom/presentation/PresentationNetworkHelper.js
rename : dom/presentation/provider/AndroidCastDeviceProvider.jsm => dom/presentation/provider/AndroidCastDeviceProvider.js
rename : dom/presentation/provider/PresentationControlService.jsm => dom/presentation/provider/PresentationControlService.js
rename : dom/push/Push.jsm => dom/push/Push.js
rename : dom/push/PushComponents.jsm => dom/push/PushComponents.js
rename : dom/system/NetworkGeolocationProvider.jsm => dom/system/NetworkGeolocationProvider.js
rename : layout/tools/recording/RecordingCmdLine.jsm => layout/tools/recording/recording-cmdline.js
rename : netwerk/dns/mdns/libmdns/DNSServiceDiscovery.jsm => netwerk/dns/mdns/libmdns/nsDNSServiceDiscovery.js
rename : netwerk/protocol/http/UAOverridesBootstrapper.jsm => netwerk/protocol/http/UAOverridesBootstrapper.js
rename : netwerk/protocol/http/WellKnownOpportunisticUtils.jsm => netwerk/protocol/http/WellKnownOpportunisticUtils.js
rename : services/fxaccounts/FxAccountsPush.jsm => services/fxaccounts/FxAccountsPush.js
rename : services/settings/RemoteSettingsComponents.jsm => services/settings/RemoteSettingsComponents.js
rename : services/sync/Weave.jsm => services/sync/Weave.js
rename : toolkit/components/asyncshutdown/nsAsyncShutdown.jsm => toolkit/components/asyncshutdown/nsAsyncShutdown.js
rename : toolkit/components/backgroundhangmonitor/BHRTelemetryService.jsm => toolkit/components/backgroundhangmonitor/BHRTelemetryService.js
rename : toolkit/components/captivedetect/CaptiveDetect.jsm => toolkit/components/captivedetect/captivedetect.js
rename : toolkit/components/cleardata/ClearDataService.jsm => toolkit/components/cleardata/ClearDataService.js
rename : toolkit/components/contentprefs/ContentPrefService2.jsm => toolkit/components/contentprefs/ContentPrefService2.js
rename : toolkit/components/crashes/CrashService.jsm => toolkit/components/crashes/CrashService.js
rename : toolkit/components/crashmonitor/nsCrashMonitor.jsm => toolkit/components/crashmonitor/nsCrashMonitor.js
rename : toolkit/components/downloads/DownloadLegacy.jsm => toolkit/components/downloads/DownloadLegacy.js
rename : toolkit/components/gfx/SanityTest.jsm => toolkit/components/gfx/SanityTest.js
rename : toolkit/components/mozintl/mozIntl.jsm => toolkit/components/mozintl/mozIntl.js
rename : toolkit/components/mozprotocol/MozProtocolHandler.jsm => toolkit/components/mozprotocol/mozProtocolHandler.js
rename : toolkit/components/normandy/ShieldContentProcess.jsm => toolkit/components/normandy/shield-content-process.js
rename : toolkit/components/DefaultCLH.jsm => toolkit/components/nsDefaultCLH.js
rename : toolkit/components/passwordmgr/LoginInfo.jsm => toolkit/components/passwordmgr/nsLoginInfo.js
rename : toolkit/components/passwordmgr/LoginManager.jsm => toolkit/components/passwordmgr/nsLoginManager.js
rename : toolkit/components/passwordmgr/LoginManagerPrompter.jsm => toolkit/components/passwordmgr/nsLoginManagerPrompter.js
rename : toolkit/components/places/ColorAnalyzer.jsm => toolkit/components/places/ColorAnalyzer.js
rename : toolkit/components/places/PageIconProtocolHandler.jsm => toolkit/components/places/PageIconProtocolHandler.js
rename : toolkit/components/places/PlacesCategoriesStarter.jsm => toolkit/components/places/PlacesCategoriesStarter.js
rename : toolkit/components/places/UnifiedComplete.jsm => toolkit/components/places/UnifiedComplete.js
rename : toolkit/components/places/PlacesExpiration.jsm => toolkit/components/places/nsPlacesExpiration.js
rename : toolkit/components/places/TaggingService.jsm => toolkit/components/places/nsTaggingService.js
rename : toolkit/components/processsingleton/ContentProcessSingleton.jsm => toolkit/components/processsingleton/ContentProcessSingleton.js
rename : toolkit/components/processsingleton/MainProcessSingleton.jsm => toolkit/components/processsingleton/MainProcessSingleton.js
rename : toolkit/components/prompts/src/Prompter.jsm => toolkit/components/prompts/src/nsPrompter.js
rename : toolkit/components/remotebrowserutils/RemoteWebNavigation.jsm => toolkit/components/remotebrowserutils/RemoteWebNavigation.js
rename : toolkit/components/satchel/FormHistoryStartup.jsm => toolkit/components/satchel/FormHistoryStartup.js
rename : toolkit/components/satchel/FormAutoComplete.jsm => toolkit/components/satchel/nsFormAutoComplete.js
rename : toolkit/components/satchel/InputListAutoComplete.jsm => toolkit/components/satchel/nsInputListAutoComplete.js
rename : toolkit/components/search/SearchService.jsm => toolkit/components/search/nsSearchService.js
rename : toolkit/components/search/SearchSuggestions.jsm => toolkit/components/search/nsSearchSuggestions.js
rename : toolkit/components/search/Sidebar.jsm => toolkit/components/search/nsSidebar.js
rename : toolkit/components/telemetry/TelemetryStartup.jsm => toolkit/components/telemetry/TelemetryStartup.js
rename : toolkit/components/terminator/TerminatorTelemetry.jsm => toolkit/components/terminator/nsTerminatorTelemetry.js
rename : toolkit/components/thumbnails/PageThumbsStorageService.jsm => toolkit/components/thumbnails/PageThumbsStorageService.js
rename : toolkit/components/timermanager/UpdateTimerManager.jsm => toolkit/components/timermanager/nsUpdateTimerManager.js
rename : toolkit/components/tooltiptext/TooltipTextProvider.jsm => toolkit/components/tooltiptext/TooltipTextProvider.js
rename : toolkit/components/url-classifier/UrlClassifierHashCompleter.jsm => toolkit/components/url-classifier/nsUrlClassifierHashCompleter.js
rename : toolkit/components/url-classifier/UrlClassifierLib.jsm => toolkit/components/url-classifier/nsUrlClassifierLib.js
rename : toolkit/components/url-classifier/UrlClassifierListManager.jsm => toolkit/components/url-classifier/nsUrlClassifierListManager.js
rename : toolkit/components/urlformatter/URLFormatter.jsm => toolkit/components/urlformatter/nsURLFormatter.js
rename : toolkit/components/utils/SimpleServices.jsm => toolkit/components/utils/simpleServices.js
rename : toolkit/components/xulstore/XULStore.jsm => toolkit/components/xulstore/XULStore.js
rename : toolkit/mozapps/downloads/HelperAppDlg.jsm => toolkit/mozapps/downloads/nsHelperAppDlg.js
rename : toolkit/mozapps/extensions/amContentHandler.jsm => toolkit/mozapps/extensions/amContentHandler.js
rename : toolkit/mozapps/extensions/amInstallTrigger.jsm => toolkit/mozapps/extensions/amInstallTrigger.js
rename : toolkit/mozapps/extensions/amWebAPI.jsm => toolkit/mozapps/extensions/amWebAPI.js
rename : toolkit/mozapps/handling/ContentDispatchChooser.jsm => toolkit/mozapps/handling/nsContentDispatchChooser.js
rename : toolkit/mozapps/update/UpdateService.jsm => toolkit/mozapps/update/nsUpdateService.js
rename : toolkit/mozapps/update/UpdateServiceStub.jsm => toolkit/mozapps/update/nsUpdateServiceStub.js
rename : uriloader/exthandler/WebHandlerApp.jsm => uriloader/exthandler/nsWebHandlerApp.js
2019-02-14 11:50:23 +02:00
Kris Maglione
47c2c349a9
Bug 1524687: Part 12 - Convert everything else to static registration. r=erahm
...
--HG--
extra : rebase_source : 17756d218c39acadefbc6af9ef7ce31beef1ff36
2019-01-29 16:03:41 -08:00
Kris Maglione
a0c0a5b1cd
Bug 1524687: Part 4 - Convert Places module to static registration. r=mak
...
Differential Revision: https://phabricator.services.mozilla.com/D18399
--HG--
extra : rebase_source : c00f25e481e74a9f65fa82752acd1865a6b283fe
2019-01-24 15:46:19 -08:00
Jonathan Kingston
3421b8fcff
Bug 1520868 - Replacing AsyncOpen2 with AsyncOpen always r=valentin
...
Replacing js and text occurences of asyncOpen2
Replacing open2 with open
Differential Revision: https://phabricator.services.mozilla.com/D16885
--HG--
rename : layout/style/test/test_asyncopen2.html => layout/style/test/test_asyncopen.html
extra : moz-landing-system : lando
2019-02-12 16:08:25 +00:00
Tom Schuster
a60d06b5ef
Bug 1525006 - Add a new internal ContentPolicyType for ES6 modules. r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D19269
--HG--
extra : moz-landing-system : lando
2019-02-12 13:16:32 +00:00
Makoto Kato
eb0becd162
Bug 1503491 - Part 2. Remove PRemoteSpellcheckEngine::Check. r=mccr8,masayuki
...
Let's going away due to unused.
Depends on D19303
Differential Revision: https://phabricator.services.mozilla.com/D19304
--HG--
extra : moz-landing-system : lando
2019-02-10 22:28:45 +00:00
Makoto Kato
c1917e9616
Bug 1503491 - Part 1. Remove CheckCurrentWordNoSuggest. r=masayuki
...
No one uses CheckCurrentWordNoSuggest. So I would like to get a rid of this
method. And this method is only user of mozSpellChecker::CheckWord. So
mozSpellChecker::CheckWord shouldn't allow that aSuggestions is nullptr on
content process since we already have async API as mozSpellChecker::CheckWords.
Differential Revision: https://phabricator.services.mozilla.com/D19303
--HG--
extra : moz-landing-system : lando
2019-02-10 22:03:53 +00:00
Alex Gaynor
0f01791ffc
Bug 1512990
- Part 4 - remove declarations of Recv/Answer methods from IPDL protocol base class; r=froydnj
...
For cases where the class has direct calls (that is, we cast `this` to the
subclass before making the call) no longer declare Recv/Answer methods on the
base class at all. This should ensure that slots for them are not generated in
vtables, and also allow the derived class to choose the method signature (e.g.
whether it wants to take something by reference or by value).
Differential Revision: https://phabricator.services.mozilla.com/D18132
--HG--
extra : moz-landing-system : lando
2019-02-06 15:58:43 +00:00
Ehsan Akhgari
4d532aee2e
Bug 1525208 - Part 7: Devirtualize accesses to nsPermissionManager in the anti-tracking backend; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D18649
2019-02-05 18:49:36 -05:00
Ekanan Ketunuti
df721927c5
Bug 1523618 - add words to en-US dictionary. r=ehsan
2019-01-30 12:34:44 +07:00
Myk Melez
25349d2601
Bug 1518283 - prohibit blank lines at the beginning and end of blocks (eslint padded-blocks) r=mossop,Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D17526
--HG--
extra : moz-landing-system : lando
2019-01-30 17:26:25 +00:00
Kris Maglione
b83df4e952
Bug 1478124: Part 8a - Update toolkit module to use a static component manifest. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D15039
--HG--
extra : rebase_source : 1683d6ced9a6c10e6fa19425debbb51950b9b629
extra : source : d94039b199437180309264cb4c206ae7ebb7d21d
2018-12-16 16:03:00 -08:00
arthur.iakab
c1fae83952
Backed out 16 changesets (bug 1478124) for failing android geckoview-junit CLOSED TREE
...
Backed out changeset fce62c77a56b (bug 1478124)
Backed out changeset eb2fa3b5edf7 (bug 1478124)
Backed out changeset 8dacce59fcc0 (bug 1478124)
Backed out changeset 012fd0107204 (bug 1478124)
Backed out changeset 496aaf774697 (bug 1478124)
Backed out changeset 21f4fda03159 (bug 1478124)
Backed out changeset b0444e0bc801 (bug 1478124)
Backed out changeset d94039b19943 (bug 1478124)
Backed out changeset 5d85deac61c2 (bug 1478124)
Backed out changeset 929fd654c9df (bug 1478124)
Backed out changeset 1ddd80d9e91a (bug 1478124)
Backed out changeset b8d2dfdfc324 (bug 1478124)
Backed out changeset f500020a273a (bug 1478124)
Backed out changeset dd00365ebb55 (bug 1478124)
Backed out changeset 538e40c5ee13 (bug 1478124)
Backed out changeset bedaa9c437ad (bug 1478124)
2019-01-29 10:03:06 +02:00
Kris Maglione
d20f7f8e72
Bug 1478124: Part 8a - Update toolkit module to use a static component manifest. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D15039
--HG--
extra : rebase_source : 55c387662960d82986a2a0205d3b8e451304db4b
extra : absorb_source : bd201f3bcf08f70480f19a22bfb7a8bd9cb015a1
extra : histedit_source : ec13a9b248801ab36baa275e566765734e6f3717
2018-12-16 16:03:00 -08:00
Kris Maglione
e930b89c34
Bug 1514594: Part 3 - Change ChromeUtils.import API.
...
***
Bug 1514594: Part 3a - Change ChromeUtils.import to return an exports object; not pollute global. r=mccr8
This changes the behavior of ChromeUtils.import() to return an exports object,
rather than a module global, in all cases except when `null` is passed as a
second argument, and changes the default behavior not to pollute the global
scope with the module's exports. Thus, the following code written for the old
model:
ChromeUtils.import("resource://gre/modules/Services.jsm");
is approximately the same as the following, in the new model:
var {Services} = ChromeUtils.import("resource://gre/modules/Services.jsm");
Since the two behaviors are mutually incompatible, this patch will land with a
scripted rewrite to update all existing callers to use the new model rather
than the old.
***
Bug 1514594: Part 3b - Mass rewrite all JS code to use the new ChromeUtils.import API. rs=Gijs
This was done using the followng script:
https://bitbucket.org/kmaglione/m-c-rewrites/src/tip/processors/cu-import-exports.jsm
***
Bug 1514594: Part 3c - Update ESLint plugin for ChromeUtils.import API changes. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D16747
***
Bug 1514594: Part 3d - Remove/fix hundreds of duplicate imports from sync tests. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D16748
***
Bug 1514594: Part 3e - Remove no-op ChromeUtils.import() calls. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D16749
***
Bug 1514594: Part 3f.1 - Cleanup various test corner cases after mass rewrite. r=Gijs
***
Bug 1514594: Part 3f.2 - Cleanup various non-test corner cases after mass rewrite. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D16750
--HG--
extra : rebase_source : 359574ee3064c90f33bf36c2ebe3159a24cc8895
extra : histedit_source : b93c8f42808b1599f9122d7842d2c0b3e656a594%2C64a3a4e3359dc889e2ab2b49461bab9e27fc10a7
2019-01-17 10:18:31 -08:00
Randell Jesup
76bd9e73cc
Bug 1522150: Add a DeferredTimers queue ahead of the normal Idle EventQueue r=froyd
...
* * *
Bug 1522150: Rename NS_IdleDispatch* functions since they take queue identifiers r=froyd
2019-01-26 12:18:05 -05:00
Sylvestre Ledru
b61d90492b
Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
...
# ignore-this-changeset
Depends on D17388
Differential Revision: https://phabricator.services.mozilla.com/D17389
--HG--
extra : moz-landing-system : lando
2019-01-24 08:11:00 +00:00
Andrea Marchesini
ae7e7d4c3a
Bug 1521051 - Get rid of nsICookiePermission.ACCESS_ALLOW_FIRST_PARTY_ONLY, r=johannh, r=flod
2019-01-23 19:19:19 +01:00
Andrea Marchesini
dc777dc7a6
Bug 1521051 - nsICookiePermission.ACCESS_LIMIT_THIRD_PARTY, r=valentin, r=johannh
2019-01-23 19:19:18 +01:00
Razvan Maries
7ccb4bf803
Backed out 2 changesets (bug 1521051) for xpcshell fails on extensions/cookie/test/unit/test_cookies_thirdparty.js. CLOSED TREE
...
Backed out changeset 90bb620dd870 (bug 1521051)
Backed out changeset 483fa314e45e (bug 1521051)
2019-01-23 22:09:32 +02:00
Andrea Marchesini
8e0c688733
Bug 1521051 - Get rid of nsICookiePermission.ACCESS_ALLOW_FIRST_PARTY_ONLY, r=johannh, r=flod
2019-01-23 19:19:19 +01:00
Andrea Marchesini
fb5e2a4f57
Bug 1521051 - nsICookiePermission.ACCESS_LIMIT_THIRD_PARTY, r=valentin, r=johannh
2019-01-23 19:19:18 +01:00
Ekanan Ketunuti
50ac7d8c8b
Bug 1522007 - Add words to en-US dictionary. r=ehsan
2019-01-23 07:38:07 +07:00
Alastor Wu
7704ca51b0
Bug 1520361 - Add Telemetry to know how people add site to the exception list. r=smaug,cpearce,janerik
...
Add Telemetry to know the number of times user adds site to allow list, remove site from allow list, add site to block list and remove site from block list.
Differential Revision: https://phabricator.services.mozilla.com/D16642
--HG--
extra : moz-landing-system : lando
2019-01-22 18:22:44 +00:00
Ehsan Akhgari
e5e885ae31
Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre
...
# ignore-this-changeset
--HG--
extra : amend_source : 7221c8d15a765df71171099468e7c7faa648f37c
extra : histedit_source : a0cce6015636202bff09e35a13f72e03257a7695
2019-01-18 10:16:18 +01:00
Makoto Kato
bf48e8ad9d
Bug 1502661 - Part 3. Use async API for spell checking. r=masayuki
...
Previous implementation is
- Use idle runnable for spellchecker
- If spellchecker runnable spends 1ms (with 5 words), spellchecker is suspended,
then resume it after 1s.
- If misspell is 3/4 of extensions.spellchecker.inline.max-misspellings per
DoSpellCheck, spellchecker is stopped.
After this change, IPC is async, so we cannot count misspell words without
waiting the result of async call. So I would like to change to
- Use idle runnable for spellchecker
- If spellchecker runnable spends 1ms (with 5 words), spellchecker is suspended,
then resume it after 1s.
- If misspell reaches extensions.spellchecker.inline.max-misspellings, stop
spellcheck.
- spellchecker IPC is called per maximum 25
(INLINESPELL_MAXIMUM_CHUNKED_WORDS_PER_TASK) words.
As long as my MacBook (Core m3), spellchecker can check 100-150 words per 1ms
after this fix.
Also, INLINESPELL_MAXIMUM_CHUNKED_WORDS_PER_TASK define is less than 5, a lot of
a11y tests will be failed. Because it uses selection listener to count all misspell words without waiting completion.
Differential Revision: https://phabricator.services.mozilla.com/D14837
--HG--
extra : rebase_source : 59185554236409d3320cc77714a776f2228214af
2019-01-11 15:46:05 +09:00
Makoto Kato
7bc8f8b726
Bug 1502661 - Part 2. Add async method to check word by spellchecker. r=masayuki
...
For mozInlineSpellChecker, I would like to add promse-based method to check
word. But this method is
- On content process, it works by async.
- On chrome process, it works by sync.
Some reftests with non-e10s don't wait that spellchecker is finished correctly
due to race condition of spellchecker dictionary update. So it uses sync'd
promise on chrome.
Differential Revision: https://phabricator.services.mozilla.com/D14836
--HG--
extra : rebase_source : 63d8fb1b3a6f8754f5b7604ea920c1a26bcd4f5b
2018-12-18 20:23:44 +09:00
Makoto Kato
65e177f953
Bug 1502661 - Part 1. Add async IPC to check word by spellchecker. r=masayuki
...
Actually we have no async IPC for spellchecker, so I would like to add async
IPC to check word.
When using full check, spellchecker requests a lot of words to check word. New
async IPC should allow multiple words per IPC to reduce IPC call.
Differential Revision: https://phabricator.services.mozilla.com/D14835
--HG--
extra : rebase_source : e54177c1779dc7e2e48c189a65cbc212b4aa519a
2018-11-17 23:37:11 +09:00
Ekanan Ketunuti
ccda860171
Bug 1518008 - Add words to en-US dictionary. r=ehsan
2019-01-06 19:23:58 +07:00
Ehsan Akhgari
b63debc2d4
Bug 1517014 - Part 1: Add nsIPermissionManager.testPermissionOriginNoSuffix(), an API for testing permissions using an origin string without the overhead of parsing it into a URI; r=nika
...
For consumers which have an origin string, currently they need to parse it into
a URI before they can call testPermission(). Internally, in the common case this
nsIURI* argument will be immediately converted back into the same origin string
in PermissionKey::CreateFromURI(). This means that the cost of parsing the
original origin string will effectively end up being wasted in the common case.
This patch adds an API that allows the consumer to test a permission using the
origin string directly, and only parse it into an nsIURI when necessary, thereby
avoiding this overhead.
Differential Revision: https://phabricator.services.mozilla.com/D15543
--HG--
extra : moz-landing-system : lando
2019-01-07 18:45:26 +00:00
Emilio Cobos Álvarez
d2ed260822
Bug 1517241 - Rename nsIDocument to mozilla::dom::Document. r=smaug
...
Summary: Really sorry for the size of the patch. It's mostly automatic
s/nsIDocument/Document/ but I had to fix up in a bunch of places manually to
add the right namespacing and such.
Overall it's not a very interesting patch I think.
nsDocument.cpp turns into Document.cpp, nsIDocument.h into Document.h and
nsIDocumentInlines.h into DocumentInlines.h.
I also changed a bunch of nsCOMPtr usage to RefPtr, but not all of it.
While fixing up some of the bits I also removed some unneeded OwnerDoc() null
checks and such, but I didn't do anything riskier than that.
2019-01-03 17:48:33 +01:00
Ekanan Ketunuti
630643001b
Bug 1517173 - Add words to en-US dictionary. r=ehsan
2019-01-02 10:25:10 +07:00
Ehsan Akhgari
60238893a6
Bug 1517057 - Part 2: Avoid minting a new codebase principal in the channel-based version of AntiTrackingCommon::IsFirstPartyStorageAccessGrantedFor() in the common case to make things faster; r=baku
...
Depends on D15547
Differential Revision: https://phabricator.services.mozilla.com/D15548
--HG--
extra : moz-landing-system : lando
2019-01-02 15:41:59 +00:00
Ehsan Akhgari
61338d3be7
Bug 1517057 - Part 1: Remove support for the unused URI_FORBIDS_COOKIE_ACCESS protocol flag; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D15547
--HG--
extra : moz-landing-system : lando
2019-01-02 15:42:08 +00:00
Daniel Stenberg
704416cc5c
Bug 1503393 - adjust tests for localhost proxying r=mayhemer
...
--HG--
extra : rebase_source : 49fd0951c9bce6058a1a54a4772891aa28ebb354
extra : source : 52e8ef71af9b837be53b294d09381d70c5efceba
2018-12-03 16:28:14 +02:00
Henri Sivonen
61285e86b3
Bug 977540 - Avoid running Japanese, Russian and Ukrainian detectors on domains associated with different encoding legacies. r=emk.
2018-12-12 09:51:52 +02:00
Jean-Yves Avenard
99f56c67bc
Bug 1512214 - Use promise chaining. r=m_kato
...
Differential Revision: https://phabricator.services.mozilla.com/D13952
--HG--
extra : moz-landing-system : lando
2018-12-07 17:47:19 +00:00
Jean-Yves Avenard
48517afae6
Bug 1512298 - Make IPDL MozPromise exclusive. r=gerald,froydnj
...
MozPromise most common use is to have an single or exclusive listener. By making the MozPromise generated by IPDL exclusive we can also use move semantics.
While at it, we also use move semantics for the ResponseRejectReason and via the callback's reject method so that the lambda used with the MozPromise::Then can be identical to the one used by the IPDL callback.
As it currently is, it provides no advantage over a copy as it's just an enum; however, this will facilitate future changes where it may not be.
Differential Revision: https://phabricator.services.mozilla.com/D13906
--HG--
extra : moz-landing-system : lando
2018-12-11 19:22:26 +00:00
Csoregi Natalia
354257650e
Merge mozilla-central to autoland. CLOSED TREE
2018-12-11 18:29:02 +02:00
Mark Banner
8c00ef3f30
Bug 1512052 - Add more .eslintrc.js files for test directories. r=mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D13746
--HG--
extra : moz-landing-system : lando
2018-12-11 13:15:08 +00:00
Henri Sivonen
69ad08c987
Bug 1071816 - Support loading unlabeled/BOMless UTF-8 text/html and text/plain files from file: URLs. r=emk.
2018-12-11 10:36:46 +02:00
Ciure Andrei
ed617be144
Backed out 2 changesets (bug 1512052)for causing build bustages CLOSED TREE
...
Backed out changeset 4773a3f46c22 (bug 1512052)
Backed out changeset 2f48c5afbe57 (bug 1512052)
--HG--
rename : browser/components/attribution/test/xpcshell/.eslintrc.js => browser/components/attribution/test/.eslintrc.js
2018-12-05 05:47:39 +02:00
Mark Banner
8256078237
Bug 1512052 - Add more .eslintrc.js files for test directories. r=mossop
...
Depends on D13745
Differential Revision: https://phabricator.services.mozilla.com/D13746
--HG--
extra : moz-landing-system : lando
2018-12-04 22:27:35 +00:00
Tooru Fujisawa
7983faeb5d
Bug 1511393 - Use c-basic-offset: 2 in Emacs mode line for C/C++ code. r=nbp
2018-12-01 04:52:05 +09:00
Benjamin Bouvier
a7f1d173a0
Bug 1511383: Update vim modelines after clang-format; r=sylvestre
...
- modify line wrap up to 80 chars; (tw=80)
- modify size of tab to 2 chars everywhere; (sts=2, sw=2)
--HG--
extra : rebase_source : 7eedce0311b340c9a5a1265dc42d3121cc0f32a0
extra : amend_source : 9cb4ffdd5005f5c4c14172390dd00b04b2066cd7
2018-11-30 16:39:55 +01:00
Sylvestre Ledru
265e672179
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Cosmin Sabou
e1e8f2ea69
Merge mozilla-inbound to mozilla-central. a=merge
2018-11-28 06:08:19 +02:00
Ehsan Akhgari
2febd96e7e
Bug 1508472 - Part 2: Second batch of comment fix-ups in preparation for the tree reformat r=sylvestre
...
This is a best effort attempt at ensuring that the adverse impact of
reformatting the entire tree over the comments would be minimal. I've used a
combination of strategies including disabling of formatting, some manual
formatting and some changes to formatting to work around some clang-format
limitations.
Differential Revision: https://phabricator.services.mozilla.com/D13073
--HG--
extra : moz-landing-system : lando
2018-11-28 00:54:56 +00:00
Cosmin Sabou
0afa5aa670
Backed out 2 changesets (bug 1508472) for causing build bustages on JobScheduler_posix.cpp. CLOSED TREE
...
Backed out changeset af951294cf96 (bug 1508472)
Backed out changeset 2320933cb7bc (bug 1508472)
2018-11-28 00:08:11 +02:00
Ehsan Akhgari
7c937c2747
Bug 1508472 - Part 2: Second batch of comment fix-ups in preparation for the tree reformat r=sylvestre
...
This is a best effort attempt at ensuring that the adverse impact of
reformatting the entire tree over the comments would be minimal. I've used a
combination of strategies including disabling of formatting, some manual
formatting and some changes to formatting to work around some clang-format
limitations.
Differential Revision: https://phabricator.services.mozilla.com/D13073
--HG--
extra : moz-landing-system : lando
2018-11-27 21:36:18 +00:00
Ekanan Ketunuti
495265ab08
Bug 1509577 - Add words to en-US dictionary. r=ehsan
2018-11-27 18:09:38 +07:00
Ehsan Akhgari
691c192f43
Bug 1509047 - Part 1: Add a permission manager API for enumerating all permissions with a type prefix r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D12862
--HG--
extra : source : f8fc57f3ab6450a5f32e282c4f0d02cc8a9eb73e
2018-11-27 16:50:39 +00:00
Andreea Pavel
eb6a42f46f
Backed out changeset f8fc57f3ab64 (bug 1509047) for build bustages on a CLOSED TREE
2018-11-27 19:10:44 +02:00
Ehsan Akhgari
491663338c
Bug 1509047 - Part 1: Add a permission manager API for enumerating all permissions with a type prefix r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D12862
--HG--
extra : moz-landing-system : lando
2018-11-27 16:50:39 +00:00
Andreea Pavel
945463d394
Backed out changeset 11d6688b953f (bug 1508472) for build bustages on a CLOSED TREE
2018-11-27 18:28:30 +02:00
Ehsan Akhgari
d0a3a76106
Bug 1508472 - Part 2: Second batch of comment fix-ups in preparation for the tree reformat r=sylvestre
...
This is a best effort attempt at ensuring that the adverse impact of
reformatting the entire tree over the comments would be minimal. I've used a
combination of strategies including disabling of formatting, some manual
formatting and some changes to formatting to work around some clang-format
limitations.
Differential Revision: https://phabricator.services.mozilla.com/D13073
--HG--
extra : moz-landing-system : lando
2018-11-27 15:18:32 +00:00
Gabriele Svelto
566f669d07
Bug 1509450 - Remove unnecessary inclusions of ContentParent.h and ContentChild.h r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D12728
--HG--
extra : moz-landing-system : lando
2018-11-26 14:49:44 +00:00
byron jones
f7dfd8df9e
Bug 1508256 - replace hunspell's README.mozilla with moz.yaml; r=masayuki
...
Differential Revision: https://phabricator.services.mozilla.com/D12298
--HG--
rename : extensions/spellcheck/hunspell/src/license.hunspell => extensions/spellcheck/hunspell/src/LICENSE
extra : moz-landing-system : lando
2018-11-20 01:33:40 +00:00
Mike Hommey
c8cb111f94
Bug 1502457 - Move MOZ_APP_VERSION{,_DISPLAY} to python configure. r=nalexander
...
Depends on D11983
Differential Revision: https://phabricator.services.mozilla.com/D11984
--HG--
extra : source : 1cf7694c8aa247c169c93d279bd16201103b75a8
2018-11-16 01:15:35 +00:00
shindli
4756350be2
Backed out 6 changesets (bug 1502457) for causing Mn mozprocess automation failures in '/Users/cltbld/tasks/task_1542517470/build/venv/bin/python
...
Backed out changeset 9174dadf38b0 (bug 1502457)
Backed out changeset 2bc4c0bfa299 (bug 1502457)
Backed out changeset 1442604ea266 (bug 1502457)
Backed out changeset 1cf7694c8aa2 (bug 1502457)
Backed out changeset a73cfbabdd47 (bug 1502457)
Backed out changeset 2c2b09264a82 (bug 1502457)
2018-11-18 10:24:11 +02:00
Mike Hommey
9cc79e2096
Bug 1502457 - Move MOZ_APP_VERSION{,_DISPLAY} to python configure. r=nalexander
...
Depends on D11983
Differential Revision: https://phabricator.services.mozilla.com/D11984
--HG--
extra : moz-landing-system : lando
2018-11-16 01:15:35 +00:00
Narcis Beleuzu
df50f67e20
Backed out 6 changesets (bug 1502457) for build bustages. CLOSED TREE
...
Backed out changeset febdb867785a (bug 1502457)
Backed out changeset 7ea52c602445 (bug 1502457)
Backed out changeset 73bb6a74cad0 (bug 1502457)
Backed out changeset b172bda6e983 (bug 1502457)
Backed out changeset 0e283ddc6c3b (bug 1502457)
Backed out changeset 638fa0251123 (bug 1502457)
2018-11-16 02:13:57 +02:00
Mike Hommey
b1fdc6b2a4
Bug 1502457 - Move MOZ_APP_VERSION{,_DISPLAY} to python configure. r=nalexander
...
Depends on D11983
Differential Revision: https://phabricator.services.mozilla.com/D11984
--HG--
extra : moz-landing-system : lando
2018-11-15 23:22:24 +00:00
Magnus Melin
1fe4ae86be
Bug 1506390 - ensure the default permissions do not intefer with the permission tests that assume no defaults. r=johannh
2018-11-14 14:55:22 +02:00
Ekanan Ketunuti
9fafdd48d5
Bug 1506334 - Add words to en-US dictionary. r=ehsan
...
--HG--
extra : histedit_source : b0d7ee804b4207809ff517763a33f0eb9159a2ab
2018-11-10 14:22:18 +07:00
Ehsan Akhgari
0b85b8bd64
Bug 1504442 - Remove nsIReadConfig r=mkaply
...
Differential Revision: https://phabricator.services.mozilla.com/D11191
--HG--
extra : moz-landing-system : lando
2018-11-07 18:23:16 +00:00
Makoto Kato
b682338978
Bug 1504913 - Part 2. Get rid of nsISpellChecker. r=masayuki
...
No one uses nsISpellChecker, so let's get rid of nsISpellChecker.
Differential Revision: https://phabricator.services.mozilla.com/D10994
--HG--
extra : rebase_source : 1caeba2edf7677258c0406f087eaa41e12cbb8a8
extra : histedit_source : 6a90572e8ecddf0f13fbe5b1abf1bedf1c84a4d9
2018-11-06 12:32:04 +09:00
Makoto Kato
a9fe8aa60c
Bug 1504913 - Part 1. Use mozSpellChecker directly instead of nsISpellChecker. r=masayuki
...
When creating an instance of nsISpellChecker, we always use
mozSpellChecker::Create. So we should use mozSpellChecker directly instead of
nsISpellChecker.
Differential Revision: https://phabricator.services.mozilla.com/D10993
--HG--
extra : rebase_source : 0feffa60e6dc788904d212a77acbf416279af083
extra : histedit_source : b89cc8270c2df70ae414479f43ac30e8aa0a3d42
2018-11-06 12:31:36 +09:00
Edgar Chen
944027d0f7
Bug 1497480 - Part 2: Make spellchecking to work in ShadowDOM after anchor navigates away from it; r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D9543
--HG--
extra : moz-landing-system : lando
2018-11-02 00:07:30 +00:00
Edgar Chen
fbdd9bcacf
Bug 1497480 - Part 1: Set the root for spelling checker to shadow root if the contenteditable nodes are in the shadow DOM; r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D9542
--HG--
extra : moz-landing-system : lando
2018-11-02 00:07:30 +00:00
Ehsan Akhgari
1f7708bb64
Bug 1502774 - Part 3: Remove nsAuthModule r=valentin
...
Depends on D10026
Differential Revision: https://phabricator.services.mozilla.com/D10027
--HG--
rename : extensions/auth/nsAuthFactory.cpp => extensions/auth/nsIAuthModule.cpp
extra : moz-landing-system : lando
2018-11-01 10:39:58 +00:00
Ehsan Akhgari
164805ba94
Bug 1502774 - Part 2: Remove XPCOM component registrations for auth module classes r=valentin
...
Depends on D10025
Differential Revision: https://phabricator.services.mozilla.com/D10026
--HG--
extra : moz-landing-system : lando
2018-11-01 10:39:58 +00:00
Ehsan Akhgari
001d26e9ea
Bug 1502774 - Part 1: Remove XPCOM component registrations for HTTP authenticator classes r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D10025
--HG--
extra : moz-landing-system : lando
2018-11-01 14:21:47 +00:00
Jonathan Kingston
2a8b750345
Bug 1502743 - Replace black/whitelist within caps to block/allowlist r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D10013
--HG--
extra : moz-landing-system : lando
2018-10-31 17:56:43 +00:00
Cosmin Sabou
223a549fe5
Backed out 3 changesets (bug 1497480) for causing Android mochitest failures on editor/libeditor/tests/test_bug. CLOSED TREE
...
Backed out changeset 6c2a5ce9fad8 (bug 1497480)
Backed out changeset cf74ff09b141 (bug 1497480)
Backed out changeset 31d9a680fb90 (bug 1497480)
2018-10-31 19:06:35 +02:00
Edgar Chen
af96c255f6
Bug 1497480 - Part 2: Make spellchecking to work in ShadowDOM after anchor navigates away from it; r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D9543
--HG--
extra : moz-landing-system : lando
2018-10-31 14:35:42 +00:00
Edgar Chen
383ec68585
Bug 1497480 - Part 1: Set the root for spelling checker to shadow root if the contenteditable nodes are in the shadow DOM; r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D9542
--HG--
extra : moz-landing-system : lando
2018-10-31 15:16:52 +00:00
Ciure Andrei
57619c2e49
Merge autoland to mozilla-central. a=merge
2018-10-31 00:04:23 +02:00
Andreea Pavel
3770da1a92
Backed out 3 changesets (bug 1502774) for causing multiple crashes - bug 1503201 a=backout
...
Backed out changeset 6b821f5b12ae (bug 1502774)
Backed out changeset b3bf57d996a7 (bug 1502774)
Backed out changeset 32a581482291 (bug 1502774)
--HG--
rename : extensions/auth/nsIAuthModule.cpp => extensions/auth/nsAuthFactory.cpp
2018-10-30 21:18:29 +02:00
Ehsan Akhgari
8a4d8f4fa4
Bug 1501978 - Part 2: Remove the browser.contentblocking.enabled pref from the tests that set it to true needlessly r=baku
...
Depends on D10074
Differential Revision: https://phabricator.services.mozilla.com/D10075
--HG--
extra : moz-landing-system : lando
2018-10-30 07:47:56 +00:00
Ehsan Akhgari
f5264f90b2
Bug 1502774 - Part 3: Remove nsAuthModule r=valentin
...
Depends on D10026
Differential Revision: https://phabricator.services.mozilla.com/D10027
--HG--
rename : extensions/auth/nsAuthFactory.cpp => extensions/auth/nsIAuthModule.cpp
extra : moz-landing-system : lando
2018-10-29 14:59:24 +00:00
Ehsan Akhgari
51908697bd
Bug 1502774 - Part 2: Remove XPCOM component registrations for auth module classes r=valentin
...
Depends on D10025
Differential Revision: https://phabricator.services.mozilla.com/D10026
--HG--
extra : moz-landing-system : lando
2018-10-29 14:59:16 +00:00
Ehsan Akhgari
a064a33bed
Bug 1502774 - Part 1: Remove XPCOM component registrations for HTTP authenticator classes r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D10025
--HG--
extra : moz-landing-system : lando
2018-10-29 14:59:14 +00:00
Narcis Beleuzu
3467484554
Backed out 3 changesets (bug 1502774) for mingwclang bustages on include/sspi.h. CLOSED TREE
...
Backed out changeset a1f9c4666855 (bug 1502774)
Backed out changeset 07648e9d8400 (bug 1502774)
Backed out changeset b403c3c786ee (bug 1502774)
--HG--
rename : extensions/auth/nsIAuthModule.cpp => extensions/auth/nsAuthFactory.cpp
2018-10-29 17:01:21 +02:00
Ehsan Akhgari
7d9df9b0ec
Bug 1502774 - Part 3: Remove nsAuthModule r=valentin
...
Depends on D10026
Differential Revision: https://phabricator.services.mozilla.com/D10027
--HG--
rename : extensions/auth/nsAuthFactory.cpp => extensions/auth/nsIAuthModule.cpp
extra : moz-landing-system : lando
2018-10-29 14:40:30 +00:00
Ehsan Akhgari
acc9a12f81
Bug 1502774 - Part 2: Remove XPCOM component registrations for auth module classes r=valentin
...
Depends on D10025
Differential Revision: https://phabricator.services.mozilla.com/D10026
--HG--
extra : moz-landing-system : lando
2018-10-29 14:40:29 +00:00
Ehsan Akhgari
7a780d8462
Bug 1502774 - Part 1: Remove XPCOM component registrations for HTTP authenticator classes r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D10025
--HG--
extra : moz-landing-system : lando
2018-10-29 14:40:29 +00:00
Ehsan Akhgari
43f23459b2
Bug 1501286 - Part 4: Remove the browser.contentblocking.ui.enabled pref from several tests which now set it needlessly r=johannh
...
Depends on D9521
Differential Revision: https://phabricator.services.mozilla.com/D9522
--HG--
extra : moz-landing-system : lando
2018-10-25 16:46:42 +00:00
Dorel Luca
9529a31c66
Backed out 5 changesets (bug 1501286) for browser-chrome failures in browser/components/uitour/test/browser_trackingProtection.js
...
Backed out changeset cac0d4aa79d1 (bug 1501286)
Backed out changeset 578d395f555e (bug 1501286)
Backed out changeset d9940451c373 (bug 1501286)
Backed out changeset ca6c3139bdd2 (bug 1501286)
Backed out changeset 93d6f4d54f78 (bug 1501286)
--HG--
extra : rebase_source : 04083c456cd0df6243861cf53e5c39c08888c5ad
2018-10-25 17:52:59 +03:00
Ehsan Akhgari
0cc932a863
Bug 1501286 - Part 4: Remove the browser.contentblocking.ui.enabled pref from several tests which now set it needlessly r=johannh
...
Depends on D9521
Differential Revision: https://phabricator.services.mozilla.com/D9522
--HG--
extra : moz-landing-system : lando
2018-10-25 13:35:24 +00:00
Mark Banner
ceaeb93550
Bug 1486741 - Enable ESLint rule comma-dangle for all of mozilla-central (automatic fixes). r=mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D8389
--HG--
extra : moz-landing-system : lando
2018-10-19 12:55:39 +00:00
Csoregi Natalia
eef79962ba
Merge inbound to mozilla-central. a=merge
2018-10-17 13:03:35 +03:00
Andrea Marchesini
dafac54f4d
Bug 1499442 - Preload user-interaction permission, r=ehsan
2018-10-17 07:38:48 +02:00
Ekanan Ketunuti
97e6490eb7
Bug 1498084 - Add words to en-US dictionary. r=ehsan
2018-10-16 13:00:37 +07:00
Andrew McCreight
ea6021b769
Bug 1494127 - Fix trivial calls to do_QueryInterface that return an nsresult r=smaug
...
Calls to do_QueryInterface to a base class can be replaced by a static
cast, which is faster.
Differential Revision: https://phabricator.services.mozilla.com/D7224
--HG--
extra : moz-landing-system : lando
2018-10-01 21:38:43 +00:00
Andrew McCreight
837f0af066
Bug 1493737
- Fix many trivial calls to do_QueryInterface r=smaug
...
If class A is derived from class B, then an instance of class A can be
converted to B via a static cast, so a slower QI is not needed.
Differential Revision: https://phabricator.services.mozilla.com/D6861
--HG--
extra : moz-landing-system : lando
2018-10-01 21:38:01 +00:00
Ehsan Akhgari
999d070b06
Bug 1494145 - Reland bug 1491061 part 3 again (this time without the browser.contentblocking.rejecttrackers.ui.enabled pref)
2018-09-25 23:27:25 -04:00
Ekanan Ketunuti
ced19a86b0
Bug 1493920
- Add words to en-US dictionary and remove the problematic word "hangry". r=ehsan
2018-09-26 06:49:22 +07:00
Andrea Marchesini
b958c6f170
Bug 1260399 - Remove deprecated messages in nsICookieManager methods - part 3 - nsICookieManager.cookieExists, r=ehsan
2018-09-24 11:37:57 +02:00
Andrea Marchesini
61a7f9a598
Bug 1260399 - Remove deprecated messages in nsICookieManager methods - part 1 - nsICookieManager.add(), r=ehsan
2018-09-24 11:37:56 +02:00
Ehsan Akhgari
f62ff8f898
Bug 1493148
- Backout changeset 7a1ee0e4b6d7 (bug 1491061 part 3)
2018-09-21 15:25:16 -04:00
Ehsan Akhgari
8ee6edfff8
Bug 1491061 - Part 3: Update existing tests that require the content blocking prefs; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D6356
2018-09-20 13:43:05 -04:00
Ehsan Akhgari
ad7b8c9b02
Bug 1491569 - Remove the XPCOM registration for mozSpellChecker; r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D5946
2018-09-15 20:13:51 -04:00
Jorg K
73b02cccc3
Bug 1490212 - Follow-up: Remove NS_{JA,RU,UK}*DETECTOR_CID defines. r=hsivonen
2018-09-14 01:07:00 +03:00
Ehsan Akhgari
6d56a36888
Bug 1489793 - Part 1: Remove the XPCOM component registration for EditorSpellCheck; r=masayuki
...
Differential Revision: https://phabricator.services.mozilla.com/D5371
2018-09-12 18:58:53 -04:00
Jorg K
2ed840c40b
Bug 1490212 - Remove the *XPCOMStringDetector classes. r=hsivonen
2018-09-12 10:11:00 +03:00
Ekanan Ketunuti
4999563d5f
Bug 1490541 - Bug - Add words to en-US dictionary. r=ehsan
2018-09-12 16:48:38 -04:00
shindli
53d4f9c065
Backed out 2 changesets (bug 1489793) for failures in editor/spellchecker/tests/test_bug1219928.html
...
Backed out changeset 9d793ccd3fca (bug 1489793)
Backed out changeset 30219dab424e (bug 1489793)
2018-09-12 05:59:31 +03:00
Ehsan Akhgari
d536808f38
Bug 1489793 - Part 1: Remove the XPCOM component registration for EditorSpellCheck; r=masayuki
...
Differential Revision: https://phabricator.services.mozilla.com/D5371
2018-09-11 19:17:46 -04:00
Ehsan Akhgari
d212ff2809
Bug 1489787 - Part 1: Remove nsITextServicesFilter and replace nsIEditorSpellCheck.setFilter() with nsIEditorSpellCheck.setFilterType(); r=masayuki
...
Differential Revision: https://phabricator.services.mozilla.com/D5353
2018-09-10 08:14:59 -04:00
Ehsan Akhgari
38e3c284c9
Bug 1488659 - Part 2: Remove some dead code and mark the remaining detector classes as final; r=hsivonen
...
Differential Revision: https://phabricator.services.mozilla.com/D5393
2018-09-10 07:59:42 -04:00
Ehsan Akhgari
15fb2860c4
Bug 1488659 - Part 1: Remove the XPCOM registrations for character detector classes; r=hsivonen
...
Differential Revision: https://phabricator.services.mozilla.com/D5392
2018-09-10 07:59:42 -04:00
Ekanan Ketunuti
f3f6216cc7
Bug 1488970 - Add words to en-US dictionary. r=Ehsan
2018-09-06 11:49:36 +07:00
Ehsan Akhgari
6bbaf2cf8c
Bug 1489147 - Remove the XPCOM component registration for nsXPConnect; r=mccr8
...
We move the XPConnect() singleton accessor to nsIXConnect to make it available for consumers outside of XPConnect. Most of the consumers of the singleton accessor just need the nsIXPConnect public interface, except for the IsShuttingDown() member which this patch adds to nsIXPConnect as well.
Differential Revision: https://phabricator.services.mozilla.com/D5151
2018-09-06 16:39:35 -04:00
shindli
2a86142e74
Backed out changeset d4ae1994c20c (bug 1489147) for bustages in JSDebugger.cpp on a CLOSED TREE
2018-09-06 22:12:44 +03:00
Ehsan Akhgari
bb7fcd9d69
Bug 1489147 - Remove the XPCOM component registration for nsXPConnect; r=mccr8
...
We move the XPConnect() singleton accessor to nsIXConnect to make it available for consumers outside of XPConnect. Most of the consumers of the singleton accessor just need the nsIXPConnect public interface, except for the IsShuttingDown() member which this patch adds to nsIXPConnect as well.
Differential Revision: https://phabricator.services.mozilla.com/D5151
2018-09-06 14:52:07 -04:00
Ehsan Akhgari
bff765cf05
Bug 1488784 - Part 2: Remove the XPCOM component registration for nsCookiePermission; r=jdm
...
Differential Revision: https://phabricator.services.mozilla.com/D5038
2018-09-05 11:56:17 -04:00
Jonathan Kew
b5d54610de
Bug 1487098 - Reorder boolean expression to take advantage of short-circuiting. r=decoder
2018-09-01 22:41:59 +01:00
Gurzau Raul
f9a81a3e5a
Merge mozilla-central to autoland. a=merge CLOSED TREE
2018-08-31 00:51:52 +03:00
Kershaw Chang
08bb991b4d
Bug 1357676 - Modify failed tests r=jdm
...
We've introduced a new pref network.cookie.quotaPerHost and also a rule that the value of network.cookie.maxPerHost should always be bigger than network.cookie.quotaPerHost. So, before changing the value of network.cookie.maxPerHost, we have to set network.cookie.quotaPerHost first.
This patch only sets network.cookie.quotaPerHost equal to network.cookie.maxPerHost - 1 in all failed tests.
Differential Revision: https://phabricator.services.mozilla.com/D4346
--HG--
extra : moz-landing-system : lando
2018-08-30 15:41:37 +00:00
Michael Kaply
f58d28b6fd
Bug 1487372 - Update Autoconfig sandboxing URL. r=rtestard
2018-08-30 07:34:28 -05:00
Nicholas Nethercote
fe34f19459
Bug 1486690 - Rename nsMemory::Clone() and remove unnecessary checks after it. r=glandium
...
The 'x' in the new name makes it clearer that it's infallible.
--HG--
extra : rebase_source : 51fd946c482befe8a8ca5bd88ecc967971f455da
2018-08-28 15:59:19 +10:00
Nicholas Nethercote
ac5efebb4b
Bug 1486690 - Remove unnecessary checks after moz_xmalloc() calls. r=glandium
...
There are surprisingly many of them.
(Plus a couple of unnecessary checks after `new` calls that were nearby.)
--HG--
extra : rebase_source : 47b6d5d7c5c99b1b50b396daf7a3b67abfd74fc1
2018-08-28 15:56:01 +10:00
Ekanan Ketunuti
780ed8d1ec
Bug 1486338 - Add words to en-US dictionary. r=ehsan
2018-08-27 08:20:40 +07:00
Ehsan Akhgari
a83bd2cb71
Bug 1486185 - Part 1: Make the Disable Protection button in the control centre UI work for the reject tracker cookie behavior; r=baku
2018-08-28 08:29:32 -04:00
Kris Maglione
3a5c05e76f
Bug 1484496: Part 5e - Convert remaining nsISimpleEnumerator users to use JS iteration. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D3733
--HG--
extra : rebase_source : c0fac176d7b3d840c4dbb14f8d95ccfc7f83a5a8
extra : histedit_source : a92c40117d0808a3ad68c972f622a7a42c9ae8ba
2018-08-18 18:13:14 -07:00
Kris Maglione
2dee0aae3c
Bug 1484496: Part 4b - Add intrinsic type information to most nsSimpleEnumerators. r=froydnj
...
This allows JS callers to automatically get the correct types during
interation, without having to explicitly specify them.
Differential Revision: https://phabricator.services.mozilla.com/D3728
--HG--
extra : rebase_source : b708f382d8ea571d199c669bfed5b5a7ca9ffac4
extra : histedit_source : 7df6feb82088c8a5ca45dc28fe4d2b852c177fee
2018-08-18 21:06:32 -07:00
Ehsan Akhgari
c3fdede510
Bug 1485114 - Avoid creating nsPermission objects in the permission manager needlessly; r=nika
2018-08-21 16:23:57 -04:00
Ehsan Akhgari
12e9766425
Bug 1484868 - Add the nsIPermissionManager::removeByType() API; r=nika
2018-08-21 15:10:13 -04:00
Ehsan Akhgari
edb2dd1da5
Bug 1483541 - DeCOMtaminate nsAutoConfig; r=mkaply
2018-08-16 12:56:54 -04:00
Ekanan Ketunuti
35acc70c65
Bug 1481231 - Add words to en-US dictionary. r=Ehsan
...
--HG--
extra : amend_source : 9f3778a6d2913671f147a31f917257e62f6fbf49
2018-08-07 08:13:32 +07:00
Michael Kaply
63b4018555
Bug 1479857 - Use pref for Autoconfig on release, off by default r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D2801
--HG--
extra : moz-landing-system : lando
2018-08-09 14:57:42 +00:00
Makoto Kato
5074358d1a
Bug 1480699 - Use IPDL's promise instead in PRemoteSpellcheckEngine. r=masayuki
...
Summary:
When implementing async call for PRemoteSpellcheckEngine, IPDL doesn't support
Promise. But now, IPDL supports it, so I should convert to it to avoid
unexpected leak.
And SetDictionary supports empty string as parameter to clear dictionary. So
SetDictionaryFromList should support empty string to clear it to remove
SetDictionary sync call.
Reviewers: masayuki
Tags: #secure-revision
Bug #: 1480699
Differential Revision: https://phabricator.services.mozilla.com/D2714
--HG--
extra : rebase_source : 17fe76e6484f2af4021fe0d963e4fc47f53bebd8
2018-07-31 16:36:43 +09:00
Boris Zbarsky
d4993da381
Bug 1476142 part 4. Remove some unnecessary QIs on window in various parts of the tree. r=kmag
...
The crashtest was not testing anything useful, because getInterface is no longer exposed to web content.
2018-08-02 15:26:48 -04:00