Valentin Gosu
0a4d506e21
Bug 1354349 - Add nsIChannel.isDocument that checks if LOAD_DOCUMENT_URI is set, or if LOAD_HTML_OBJECT_DATA and the channel has the appropriate MIME type r=mcmanus,mystor
...
MozReview-Commit-ID: K28Opd9JTr2
--HG--
extra : rebase_source : d1a786d9b4318be15f195fdc330489121ebd6ece
2017-04-20 10:15:06 +08:00
Gijs Kruitbosch
5ae346e36b
Bug 1352348 - add a method to nsExternalHelperAppService that only fetches a string mimetype for an extension, r=bz,Paolo
...
MozReview-Commit-ID: 3p1pakC9g45
--HG--
extra : rebase_source : b8b9eb417d2e70b57f3ecc5b872ad678afe946df
2017-04-13 15:45:54 +01:00
Gijs Kruitbosch
8450fb0148
Bug 1352348 - don't do registry lookups for empty strings passed when we want to know a mimetype, r=Paolo
...
MozReview-Commit-ID: KZ9w7zMZ35g
--HG--
extra : rebase_source : 9913c46ebc885ee2de815811bfcb6a39a88f0d71
2017-04-13 15:46:45 +01:00
Sebastian Hengst
9f9cc5e2f4
Backed out changeset d56f0474acb3 (bug 1352348) for Windows build bustage (undeclare identifier 'aExtension' at nsOSHelperAppService.cpp(395). r=backout on a CLOSED TREE
2017-04-19 14:10:12 +02:00
Sebastian Hengst
87f4f1adf2
Backed out changeset 1e5f2ea404fe (bug 1352348)
2017-04-19 14:09:06 +02:00
Gijs Kruitbosch
3a9260f922
Bug 1352348 - add a method to nsExternalHelperAppService that only fetches a string mimetype for an extension, r=bz,Paolo
...
MozReview-Commit-ID: 3p1pakC9g45
--HG--
extra : rebase_source : ab1680ca37da83006e8c61deb5209c359807516e
2017-04-13 15:45:54 +01:00
Gijs Kruitbosch
1da74eafa7
Bug 1352348 - don't do registry lookups for empty strings passed when we want to know a mimetype, r=Paolo
...
MozReview-Commit-ID: KZ9w7zMZ35g
--HG--
extra : rebase_source : 9913c46ebc885ee2de815811bfcb6a39a88f0d71
2017-04-13 15:46:45 +01:00
Sebastian Hengst
2d544286e7
Backed out changeset ebecf0ff75be (bug 1352348) for crashing in e.g. browser/components/translation/test/browser_translation_yandex.js on Windows. r=backout on a CLOSED TREE
2017-04-19 12:58:12 +02:00
Sebastian Hengst
35adb5a3b5
Backed out changeset ea1bb4b8e325 (bug 1352348)
2017-04-19 12:57:35 +02:00
Gijs Kruitbosch
61394be0c6
Bug 1352348 - add a method to nsExternalHelperAppService that only fetches a string mimetype for an extension, r=bz,Paolo
...
MozReview-Commit-ID: 3p1pakC9g45
--HG--
extra : rebase_source : 9573f2391db006f3e98a5ee49682670332654488
2017-04-13 15:45:54 +01:00
Gijs Kruitbosch
283942025c
Bug 1352348 - don't do registry lookups for empty strings passed when we want to know a mimetype, r=Paolo
...
MozReview-Commit-ID: KZ9w7zMZ35g
--HG--
extra : rebase_source : 9913c46ebc885ee2de815811bfcb6a39a88f0d71
2017-04-13 15:46:45 +01:00
Mike Hommey
33a7e408ce
Bug 1357323 - Remove the gonk code that was referenced by the build system. r=gps
...
--HG--
extra : rebase_source : 1d30ebcbdbcf596c944e1eec981f85db341485e5
2017-04-18 17:46:39 +09:00
Mike Hommey
34e619d1c1
Bug 1357323 - Remove support for gonk in the build system. r=gps
...
Everything depending on the widget being gonk can go away, as well as
everything depending on MOZ_AUDIO_CHANNEL_MANAGER, which was only
defined on gonk builds under b2g/ (which goes away in bug 1357326).
--HG--
extra : rebase_source : 9f0aeeb7eea8417fa4e06d662d566d67ecaf2a24
2017-04-18 16:56:09 +09:00
Carsten "Tomcat" Book
7ba1b88f0b
Backed out changeset ec9fb39f7133 (bug 1354349) for bustage
2017-04-18 08:52:14 +02:00
Valentin Gosu
8f33abcc56
Bug 1354349 - Add nsIChannel.isDocument that checks if LOAD_DOCUMENT_URI is set, or if LOAD_HTML_OBJECT_DATA and the channel has the appropriate MIME type r=mcmanus,mystor
...
MozReview-Commit-ID: K28Opd9JTr2
--HG--
extra : rebase_source : 226ef1e6685a9608aa7c07d3c83b048d6e1e7278
2017-04-18 11:25:47 +08:00
Paolo Amadini
b904570335
Bug 1355582 - Only the most recently added file extension is saved in "mimeTypes.rdf". r=mak
...
This change is tested in detail as part of bug 1355585.
MozReview-Commit-ID: 74nDQjGlFjA
--HG--
extra : source : 3e70d2516749bbb586b419d71c298bc6cfb365c4
2017-04-11 20:38:14 +01:00
Florian Queze
f935ddc4b3
Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws.
2017-04-14 21:51:39 +02:00
Florian Queze
37f2343b9a
Bug 1356569 - Remove appendElement's last parameter when it is false, r=jaws.
2017-04-14 21:51:39 +02:00
Florian Queze
37ff4fc7cc
Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws.
2017-04-14 21:51:38 +02:00
Sebastian Hengst
a07223d699
Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout
2017-04-14 23:39:22 +02:00
Sebastian Hengst
9e0ecf32c5
Backed out changeset e1f191aad863 (bug 1356569)
2017-04-14 23:39:17 +02:00
Sebastian Hengst
738d097aae
Backed out changeset 55f3df15eaa6 (bug 1356569)
2017-04-14 23:39:17 +02:00
Florian Queze
3c564a2b02
Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws.
2017-04-14 21:51:39 +02:00
Florian Queze
93a734a3ce
Bug 1356569 - Remove appendElement's last parameter when it is false, r=jaws.
2017-04-14 21:51:39 +02:00
Florian Queze
95d4d20c17
Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws.
2017-04-14 21:51:38 +02:00
Michael Layzell
8503de8054
Bug 1352684
- Add json, js, jsm, iso, properties, and locale to defaultMimeEntries, as they are used at startup, r=pike
...
MozReview-Commit-ID: 9vqyWtDe11h
2017-04-13 08:41:54 -04:00
Paolo Amadini
9c01cb1c62
Bug 1350026 - Fix recognition of the handler type in the JSON handler service back-end, and add detailed testing of the file format. r=mak
...
On Android, nsIHandlerInfo instances representing protocols are also instances of nsIMIMEInfo. This causes the RDF back-end of the handler service to store them in the same cateory as MIME types. This fix corrects the situation for the JSON back-end, while leaving the RDF back-end unchanged for backwards compatibility.
Detailed testing is added using different RDF reference files for Desktop and Android.
MozReview-Commit-ID: B0ls60jfENe
--HG--
extra : source : 0bfa2e0ad6232cbaf66dd7e42326101e23b62352
2017-04-04 17:20:37 +01:00
Blake Kaplan
9708f9f50d
Bug 1350058 - Update the content context if we close the downloading window. r=mconley
...
MozReview-Commit-ID: A5LsapsljMY
--HG--
extra : rebase_source : bb35582e80c64f3cb8d563e14b24ed394a45ad5b
2017-03-23 17:01:30 -07:00
Paolo Amadini
bc9668cdff
Bug 1346716 - Remove the entry for "mimeTypes.rdf" in the directory service. r=mak
...
This improves performance because we won't try to fix the permissions of the file every time the nsIHandlerService implementation wants to open it, and makes it easier to access the file path from xpcshell tests.
MozReview-Commit-ID: DZmLa92qUnZ
--HG--
extra : source : bd0fdce03cc7442079e96318d3a9b519a4d403a9
2017-03-30 15:51:18 +01:00
Paolo Amadini
65b97eaee4
Bug 1350008 - Don't read the file type description from mimeTypes.rdf. r=mak
...
MozReview-Commit-ID: KBHdwq5J1Ls
--HG--
extra : source : beb3cb75d5317094133b5093565206c76bfb22fc
2017-03-23 17:37:33 +00:00
Honza Bambas
b64fd14704
Bug 1349987 - Init nsExtProtocolChannel.mLoadFlags to 0, r=jduell
2017-03-23 10:17:00 +01:00
Zibi Braniecki
3d91da8726
Bug 1347314 - Migrate calls to ChromeRegistry::GetSelectedLocale to use LocaleService::GetAppLocale. r=jfkthame,Pike
...
In cases, where the caller is looking for the locale to be used for JS Intl API,
we can now replace it with `undefined` which causes JS Intl API to use the default
locale which since bug 1346674 is resolved to the app locale.
This allows us to remove a lot of calls for the app locale.
The remaining ones are split between `AsBCP47` and `AsLangTag`.
Here, the `AsLangTag` is used, as described in the API docs, for cases where
the language string is used for localization purposes, such as language negotaition
matching to our language resources etc.
`AsBCP47` is used when the returned value is handed over to ICU API.
MozReview-Commit-ID: DzmFEUvMq3N
--HG--
extra : rebase_source : 513ed31d995864939aa893e73c81ffdf591a6617
2017-03-14 16:09:54 -07:00
Sebastian Hengst
0a04f3b9e2
Backed out changeset cc308a73ad05 (bug 1347314) for eslint failure in test_device.html. r=backout
2017-03-22 18:20:26 +01:00
Zibi Braniecki
c2cd68a689
Bug 1347314 - Migrate calls to ChromeRegistry::GetSelectedLocale to use LocaleService::GetAppLocale. r=jfkthame,Pike
...
In cases, where the caller is looking for the locale to be used for JS Intl API,
we can now replace it with `undefined` which causes JS Intl API to use the default
locale which since bug 1346674 is resolved to the app locale.
This allows us to remove a lot of calls for the app locale.
The remaining ones are split between `AsBCP47` and `AsLangTag`.
Here, the `AsLangTag` is used, as described in the API docs, for cases where
the language string is used for localization purposes, such as language negotaition
matching to our language resources etc.
`AsBCP47` is used when the returned value is handed over to ICU API.
MozReview-Commit-ID: DzmFEUvMq3N
--HG--
extra : rebase_source : 13fa4c397ba4c79303a2cd76684b5b8c4bd17331
2017-03-14 16:09:54 -07:00
Jorg K
243baf82b2
Bug 1347687 - Skip test if pref gecko.handlerService.defaultHandlersVersion not defined. r=alchen
2017-03-16 08:03:00 +01:00
Alphan Chen
3a09e7487d
Bug 1287660 - New implementation of nsIHandlerService for the JSON backend. r=Paolo
...
MozReview-Commit-ID: 46fQq1Pr8bT
--HG--
extra : rebase_source : a04153c9507b7f18c94b81d12e4167d1a12e9cce
2017-03-10 17:41:33 +08:00
Sylvestre Ledru
c12eaea678
Bug 1346859 - Remove dead code found by clang-tidy in unix/nsOSHelperAppService.cpp r=froydnj
...
MozReview-Commit-ID: H8lanTsuNxX
--HG--
extra : rebase_source : ab3745d6de24a787c7ae80edb98bbc213425a38b
2017-03-13 18:09:02 +01:00
Blake Kaplan
6ebea0d6d4
Bug 1301056 - Fix auto-closing of windows when they divert to an external app. r=mconley
...
It appears that we always meant to call
nsExternalHelperAppService::OnStartRequest even before we diverted (there's a
check for XRE_IsChildProcess in there) but forgot to. With this patch, we call
nsExternalHelperAppService::MaybeCloseWindow in the child and restore the old
behavior.
MozReview-Commit-ID: JedU3E0Eu26
--HG--
extra : rebase_source : 23e04fb5203018b4bd59c5ff349200d1c1951723
2017-03-08 08:24:08 -08:00
Andrea Marchesini
12b54aa0f5
Bug 1299500 - Get rid of DeviceStorage API - part 10 - DeviceStorage, r=ehsan, r=billm
2017-03-08 20:15:45 +01:00
Florian Quèze
cd762cc83c
Bug 1344711 - script-generated patch to remove try blocks around get*Pref calls, r=jaws.
...
--HG--
extra : rebase_source : c6e20e6e79b0ca5de751c52712d96cbea9432d26
2017-03-07 15:29:48 +01:00
Wei-Cheng Pan
29f4cc8d4a
Bug 1310127 - Part 16: Use MOZ_MUST_USE in netwerk/protocol/http r=smaug
...
MozReview-Commit-ID: Ihow5ushWou
--HG--
extra : rebase_source : 204dfbb446032fac0c9daeabeeb08fc6eb1a99bf
2016-12-20 11:40:29 +08:00
Honza Bambas
6db3552e69
Bug 1340803 - Make nsMIMEInfoWin::GetPossibleLocalHandlers check fileExt is non-empty before checking its first char. r=jimm
...
--HG--
extra : rebase_source : a3d43e53ddd9f0b5d084434bad88ac0463f8686f
2017-02-18 07:31:00 -05:00
Thomas Nguyen
65d9ef988a
Bug 1288633 - Add more information when an URL matches Safe Browsing list. r=dragana,francois
...
MozReview-Commit-ID: 6u0dUOB838F
--HG--
extra : rebase_source : 8800e60e6a3b787f1ebaeafb48057e3a3d509468
2017-02-21 09:46:36 +08:00
Tom Tromey
5f8f360823
Bug 1060419 - make log_print use Printf.h, r=froydnj
...
MozReview-Commit-ID: BIZ1GQEZ1vs
--HG--
extra : rebase_source : 2f1f0aa12493c44f352d9a7e8683e7bb72d2d75b
2016-12-15 20:16:31 -07:00
Sylvestre Ledru
40c53d8557
Bug 1338086 - Remove useless else blocks in order to reduce complexity in uriloader/exthandler/unix/ r=froydnj
...
MozReview-Commit-ID: HvmyxEwsnrg
--HG--
extra : rebase_source : c277cf5deb99e6ed47eaccea899f830efb59220b
2017-02-09 15:27:10 +01:00
Patrick McManus
d986482512
Bug 1333142 - audit asyncopen2 impls for callback release on failure r=dragana
2017-02-08 12:55:15 -05:00
Jorg K
fe29de7a14
Bug 770022 - Provide fallback when UnEscapeNonAsciiURI() fails in nsMIMEInfoWin::LoadUriInternal(). r=bz
...
--HG--
extra : rebase_source : 58802bc7512de0582c56a95d2a4127c9cb625c03
2017-02-08 14:37:00 +08:00
Chris Manchester
2db2a32d40
Bug 1336525 - Install test support binary in uriloader/exthandler/tests with moz.build, not Makefile.in r=mshal
...
MozReview-Commit-ID: CLk2YdGJG6a
--HG--
extra : rebase_source : 0214d32bc9c96d0b5558d56a72adf3933c7fcba5
2017-02-03 12:18:16 -08:00
Mark Banner
16e6d381ac
Bug 503613 - Remove old 'tail =' lines from xpcshell.ini files; r=gps
...
MozReview-Commit-ID: 62Hp5ISxowJ
--HG--
extra : rebase_source : daa8efb3409031fea553f4fd0c9d0746e38dc308
extra : histedit_source : b4c23aacf678ba0d0ac9c09191a7c494ead11a08
2017-01-18 10:30:39 +00:00
Blake Kaplan
f55394ad68
Bug 1303727 - Propagate whether we're dealing with a local file to the parent. r=jduell
...
MozReview-Commit-ID: GSx2WgNKN4T
--HG--
extra : rebase_source : 016787d933cb092300a10bbb179b773fc2e76e6b
2017-01-10 17:49:16 -08:00