Commit Graph

9980 Commits

Author SHA1 Message Date
Michael Layzell
ab79668929 Bug 1354635 - Send permissions to the content process when debugging service workers, r=catalinb
MozReview-Commit-ID: 8cUh5znQcFN
2017-04-18 14:38:56 -04: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
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
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
95d4d20c17 Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Makoto Kato
55e9044079 Bug 1330912 - Part 1. Add async version of SetCurrentDictionary using list. r=Ehsan
Now, mozInlineSpellChecker::UpdateCurrentDictionary uses several sync IPC message to update spellcheck dictionary.  So I want async IPC to set dictionary.

Also, since nsEditorSpellCheck::DictionaryFetched calls SetCurrentDictionary several times (max: 6 times), so to reduce calls, we should use list of dictionary.

MozReview-Commit-ID: EVMAJxpMT2X

--HG--
extra : rebase_source : 5a1ed28bd6eb1dd9d3a6a634a286531b7ebb32c7
2017-04-10 18:29:16 +09:00
Mike Hommey
3deb62f2b2 Bug 1344038 - Move the gio protocol handler under netwerk/protocol. r=chmanchester,karlt
Historically, we had support for some GNOME VFS protocols through the
gnomevfs library, and this was under extension. This may not have been
built by default when it was introduced, but GNOME upstream moved those
things into Gtk itself, and we then got support for the new Gio-based
protocol, similar to what we had through the gnomevfs library.

Time passes, and we switched off the gnomevfs library entirely, and
enabled the Gio-based protocol handlers by default. We then removed
everything related to the gnomevfs library.

Fast forward to now, and disabling Gio support in Firefox just doesn't
make sense, and leaving the gio protocol handler as an extension doesn't
make sense either.

As it is a protocol handler, its natural place is under
netwerk/protocol, which is where we're moving it here.

The netwerk/protocol subdirectories being handled automatically, we
don't need to add the moved directory in any DIRS variable.

--HG--
rename : extensions/gio/moz.build => netwerk/protocol/gio/moz.build
rename : extensions/gio/nsGIOProtocolHandler.cpp => netwerk/protocol/gio/nsGIOProtocolHandler.cpp
extra : rebase_source : 071a9cb1769f013717357458df24e2fd9570ccf4
2017-04-05 13:48:52 +09:00
Iris Hsiao
15a34cacd2 Backed out 3 changesets (bug 1344038) for bustage
Backed out changeset 4befea89d81b (bug 1344038)
Backed out changeset c859506b2e4e (bug 1344038)
Backed out changeset 5d28a6382285 (bug 1344038)

--HG--
rename : netwerk/protocol/gio/moz.build => extensions/gio/moz.build
rename : netwerk/protocol/gio/nsGIOProtocolHandler.cpp => extensions/gio/nsGIOProtocolHandler.cpp
2017-04-06 10:35:56 +08:00
Mike Hommey
753d2ac01e Bug 1344038 - Move the gio protocol handler under netwerk/protocol. r=karlt
Historically, we had support for some GNOME VFS protocols through the
gnomevfs library, and this was under extension. This may not have been
built by default when it was introduced, but GNOME upstream moved those
things into Gtk itself, and we then got support for the new Gio-based
protocol, similar to what we had through the gnomevfs library.

Time passes, and we switched off the gnomevfs library entirely, and
enabled the Gio-based protocol handlers by default. We then removed
everything related to the gnomevfs library.

Fast forward to now, and disabling Gio support in Firefox just doesn't
make sense, and leaving the gio protocol handler as an extension doesn't
make sense either.

As it is a protocol handler, its natural place is under
netwerk/protocol, which is where we're moving it here.

The netwerk/protocol subdirectories being handled automatically, we
don't need to add the moved directory in any DIRS variable.

--HG--
rename : extensions/gio/moz.build => netwerk/protocol/gio/moz.build
rename : extensions/gio/nsGIOProtocolHandler.cpp => netwerk/protocol/gio/nsGIOProtocolHandler.cpp
extra : rebase_source : fe3c9480cee468aa2a24fd34e569b58e4f2c9c9a
2017-04-05 13:48:52 +09:00
Makoto Kato
cd753d1158 Bug 1351074 - Part 2. Use testing-common for AsyncSpellCheckTestHelper.jsm. r=masayuki
TESTING_JS_MODULES uses testing-common, not gre.  So we should replace gre with testing-common for mochitest.

MozReview-Commit-ID: BqsS2D3IGR6

--HG--
extra : rebase_source : a8553684f8f106c1dfb6e2d9b51df7ebeb15275d
2017-03-29 15:34:49 +09:00
Phil Ringnalda
7ac3bd5b7e Backed out 3 changesets (bug 1351074) for reftest harness and browser_all_files_referenced.js bustage
CLOSED TREE

Backed out changeset 941e0f9ff9a7 (bug 1351074)
Backed out changeset 4fdf3b87a70b (bug 1351074)
Backed out changeset 586428f69838 (bug 1351074)
2017-04-02 19:46:49 -07:00
Makoto Kato
cd8761e0f4 Bug 1351074 - Part 2. Use testing-common for AsyncSpellCheckTestHelper.jsm. r=masayuki
TESTING_JS_MODULES uses testing-common, not gre.  So we should replace gre with testing-common for mochitest.

MozReview-Commit-ID: BqsS2D3IGR6

--HG--
extra : rebase_source : 2143fcdf33c428c82c6b2e00b542649b958aeccc
2017-03-29 15:34:49 +09:00
Ryan VanderMeulen
dfcca02a7f Bug 1350908 - Upgrade Hunspell to version 1.6.1. r=masayuki
--HG--
extra : rebase_source : 0f8f351d0e5951a4d0a86a79fe8510c718a88c67
2017-03-30 22:30:35 -04:00
Ehsan Akhgari
1203da31b5 Bug 1350090 - Turn off the spammy warning that goes off every time we create an about:blank content viewer; r=mystor 2017-03-25 23:41:03 -04:00
Andrea Marchesini
1fd1bc3935 Bug 1343933 - Renaming Principal classes - part 2 - NullPrincipal, r=qdot
--HG--
rename : caps/nsNullPrincipal.cpp => caps/NullPrincipal.cpp
rename : caps/nsNullPrincipal.h => caps/NullPrincipal.h
rename : caps/nsNullPrincipalURI.cpp => caps/NullPrincipalURI.cpp
rename : caps/nsNullPrincipalURI.h => caps/NullPrincipalURI.h
2017-03-22 11:38:40 +01:00
Michael Layzell
bd18aec002 Bug 1337056 - Part 11: Change the permission key assertion to a fatal assert on debug builds, r=ehsan
MozReview-Commit-ID: HTxvlomRKWy
2017-03-21 11:08:03 -04:00
Michael Layzell
83c788960c Bug 1345573 - Part 2: Remove old tests for permissions syncing, and add test for new logic, r=baku
MozReview-Commit-ID: A2vYqdCpeu6
2017-03-21 11:08:03 -04:00
Michael Layzell
3ffc5e3ecd Bug 1345573 - Part 1: Key http, https, and ftp URIs on origin instead of eTLD+1, r=baku
MozReview-Commit-ID: Gihc4QFf11R
2017-03-21 11:08:03 -04:00
Michael Layzell
0d5232cf03 Bug 1337056 - Part 6: Disable nsPermissionManager::GetEnumerator in the content process, r=kitcambridge
This property allows enumerating over all permissions. As the content
process no longer has access to all permissions, this method cannot be
correctly implemented in the content process anymore.

Because of that, we now error with NS_ERROR_NOT_AVALIABLE when it is
accessed in the content process.

MozReview-Commit-ID: BLNeYYcZhIi
2017-03-21 11:08:03 -04:00
Michael Layzell
9803b986e3 Bug 1337056 - Part 5: Add support for finer-grained permission update messages to ContentParent, r=baku
MozReview-Commit-ID: 6y6eBLWPTue
2017-03-21 11:08:03 -04:00
Michael Layzell
092eeed6cf Bug 1337056 - Part 4: Assert that the ipcKey for a principal is avaliable when creating a PermissionKey in the child process, r=baku
MozReview-Commit-ID: G9TynCKgCVF
2017-03-21 11:08:03 -04:00
Michael Layzell
ba95fb3f71 Bug 1337056 - Part 2: Replace the synchronous ReadPermissions API with async APIs, r=baku
These APIs are intended to use the mechanism defined in Part 1.

Part 3 implements the usage of these APIs to synchronize permissions.

MozReview-Commit-ID: HNKyDPtoaHl
2017-03-21 11:08:03 -04:00
Michael Layzell
ca0fec349f Bug 1337056 - Part 1: Add a mechanism for grouping permissions into groups to be sent over IPC, r=baku
MozReview-Commit-ID: IQiSsVGaAOQ
2017-03-21 11:08:03 -04:00
Florian Quèze
9c4d40bb54 Bug 1345294 - script generated patch (+ some hand cleanup) to replace {get,set}ComplexValue for nsISupportsString by {get,set}StringPref, r=Mossop. 2017-03-16 19:26:01 +01:00
Sebastian Hengst
fcbd8c9861 Backed out changeset 7568383eb18d (bug 1337056) for crashing xpcshell test test_bug930456_child.js on debug. r=backout 2017-03-15 00:47:09 +01:00
Sebastian Hengst
1bb61f6114 Backed out changeset 2d2d603dbdaf (bug 1337056) 2017-03-15 00:46:35 +01:00
Sebastian Hengst
84d3bcc39c Backed out changeset 7a6e7570df3e (bug 1337056) 2017-03-15 00:46:25 +01:00
Sebastian Hengst
59df958663 Backed out changeset 0e4ee0af3ff0 (bug 1337056) 2017-03-15 00:46:20 +01:00
Sebastian Hengst
9e2e9cf66e Backed out changeset 33447647d4e8 (bug 1337056) 2017-03-15 00:46:15 +01:00
Sebastian Hengst
e1e7c0d5b1 Backed out changeset 1101f931d2d7 (bug 1345573) 2017-03-15 00:45:51 +01:00
Sebastian Hengst
9e070cfb3a Backed out changeset f5f05a774023 (bug 1345573) 2017-03-15 00:45:46 +01:00
Michael Layzell
12090b6df9 Bug 1345573 - Part 2: Remove old tests for permissions syncing, and add test for new logic, r=baku
MozReview-Commit-ID: A2vYqdCpeu6
2017-03-14 14:56:14 -04:00
Michael Layzell
b2dbbeb326 Bug 1345573 - Part 1: Key http, https, and ftp URIs on origin instead of eTLD+1, r=baku
MozReview-Commit-ID: Gihc4QFf11R
2017-03-14 14:56:13 -04:00
Michael Layzell
5aa9ab1a69 Bug 1337056 - Part 6: Disable nsPermissionManager::GetEnumerator in the content process, r=kitcambridge
This property allows enumerating over all permissions. As the content
process no longer has access to all permissions, this method cannot be
correctly implemented in the content process anymore.

Because of that, we now error with NS_ERROR_NOT_AVALIABLE when it is
accessed in the content process.

MozReview-Commit-ID: BLNeYYcZhIi
2017-03-14 14:56:06 -04:00
Michael Layzell
13c3e3acbe Bug 1337056 - Part 5: Add support for finer-grained permission update messages to ContentParent, r=baku
MozReview-Commit-ID: 6y6eBLWPTue
2017-03-14 14:56:05 -04:00
Michael Layzell
ce8ac3bacf Bug 1337056 - Part 4: Assert that the ipcKey for a principal is avaliable when creating a PermissionKey in the child process, r=baku
MozReview-Commit-ID: G9TynCKgCVF
2017-03-14 14:56:04 -04:00
Michael Layzell
e7fb4ee297 Bug 1337056 - Part 2: Replace the synchronous ReadPermissions API with async APIs, r=baku
These APIs are intended to use the mechanism defined in Part 1.

Part 3 implements the usage of these APIs to synchronize permissions.

MozReview-Commit-ID: HNKyDPtoaHl
2017-03-14 14:55:49 -04:00
Michael Layzell
7acc92de9c Bug 1337056 - Part 1: Add a mechanism for grouping permissions into groups to be sent over IPC, r=baku
MozReview-Commit-ID: IQiSsVGaAOQ
2017-03-14 14:54:11 -04:00
Eric Rahm
fab046bdc7 Bug 1344081 - Switch to Base64Decode in nsHttpNegotiateAuth::GenerateCredentials. r=jduell
MozReview-Commit-ID: 4A5tEV5Fb8
2017-03-13 19:09:26 -07:00
Ekanan Ketunuti
d8eab65dc1 Bug 1345018 - Add anaphylactic, anaphylaxis and anaphylaxes to the en-US dictionary. r=ehsan 2017-03-08 07:03:13 +07:00
Wei-Cheng Pan
32f9c5e80d Bug 1310127 - Part 8: Use MOZ_MUST_USE in netwerk/protocol/http r=mkaply
MozReview-Commit-ID: Cd7rL6rpy6e

--HG--
extra : rebase_source : 8c0f4b59cf5db745ef073401dc25b43b4f8f7efc
2016-12-20 17:19:46 +08:00
Tim Huang
fc6e097c7a Bug 1337893 - Part 4: Updating whole gecko to make all callers of DNS using correct originAttributes. r=baku
MozReview-Commit-ID: D6Vp8ANSzLI

--HG--
extra : rebase_source : f3608b09835040e4a4f8e7675aa53d003f298d32
2017-02-15 10:39:40 +08:00
Valentin Gosu
3eeff608a4 Bug 1340486 - Remove duplication of code at nsHttpNegotiate/NTLMAuth::TestPref and MatchesBaseURI r=mayhemer
MozReview-Commit-ID: L8oS7TFnHJm

--HG--
extra : rebase_source : aac598a3b3722d9bfb370de425d14fbb4960291f
2017-02-27 17:57:59 +01:00
Masatoshi Kimura
47d59c07d5 Bug 1338971 - Stop using non-standard JavaScript in AutoConfig files. r=mkaply
MozReview-Commit-ID: F2dDRHAw02S

--HG--
extra : rebase_source : ca74dd69aa51e4eb8d832161e05f98cc2b42df3c
2017-02-13 22:18:12 +09:00
Wes Kocher
a85d979e21 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 18xg2cleATb
2017-02-17 13:51:01 -08:00
Honza Bambas
7c53975ce1 Bug 1328791 - Fix trusted uri list parser for Negotiate/NTLM auth. r=jduell 2017-02-16 13:40:00 -05:00
Ekanan Ketunuti
b67b9b8bdc Bug 1340011 - Add inverter to the en-US dictionary. r=ehsan
--HG--
extra : rebase_source : f84e03f6cdd46d7b66a0c34d0cd6dae237107e16
2017-02-16 08:58:14 +07:00
Ekanan Ketunuti
1d6b4bdc87 Bug 1333591 - Add foundational to the en-US dictionary. r=ehsan 2017-02-15 08:16:29 +07:00