Rob Wu
fcb704f351
Bug 1589754 - Fix permissions.query in top-level document r=tnguyen
...
Differential Revision: https://phabricator.services.mozilla.com/D50067
--HG--
extra : moz-landing-system : lando
2019-10-23 16:12:13 +00:00
Emilio Cobos Álvarez
698db0028a
Bug 1589327 - Remove some other various fennec-dependent code. r=snorp,botond
...
Some of this may be able to be cleaned up further.
Differential Revision: https://phabricator.services.mozilla.com/D49587
--HG--
extra : moz-landing-system : lando
2019-10-18 18:49:49 +00:00
Ehsan Akhgari
dab85e2115
Bug 1588164 - Remove an unused declaration for nsPermissionManager::GetPermissionHashKey; r=pbz
...
Differential Revision: https://phabricator.services.mozilla.com/D48991
--HG--
extra : moz-landing-system : lando
2019-10-14 09:50:50 +00:00
Emilio Cobos Álvarez
536c1bc0bb
Bug 1581467 - Fix checks for display: inline{,-block} which don't account for inline list items. r=mats
...
Differential Revision: https://phabricator.services.mozilla.com/D48346
--HG--
extra : moz-landing-system : lando
2019-10-12 21:05:16 +00:00
Perry Jiang
d42e87a765
Bug 1587365 - Allow multiple callers to wait for permissions r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D49043
--HG--
extra : moz-landing-system : lando
2019-10-12 03:21:41 +00:00
Brian Grinstead
5cfb7798a4
Bug 1586878 - Replace <xul:textbox> with <html:input> in test_add_remove_dictionaries.xul;r=mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D48419
--HG--
extra : moz-landing-system : lando
2019-10-08 17:13:43 +00:00
Paul Zuehlcke
c34871acfc
Bug 1402957 - Removed URI based nsIPermissionManager methods. r=johannh,Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D47254
--HG--
extra : moz-landing-system : lando
2019-09-27 14:55:53 +00:00
Paul Zuehlcke
abeca18f1c
Bug 1402957 - Refactored nsIPermissionManager tests to use principals. r=johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D47251
--HG--
rename : extensions/permissions/test/unit/test_permmanager_getAllForURI.js => extensions/permissions/test/unit/test_permmanager_getAllForPrincipal.js
extra : moz-landing-system : lando
2019-09-27 09:48:39 +00:00
Sebastian Streich
88670a47e9
Bug 1580782 - Change Callsites to use nsIPrincipal->SchemeIs r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D45654
--HG--
extra : moz-landing-system : lando
2019-09-26 10:47:16 +00:00
David Major
8f0fcd819e
Bug 1583332 - Define HUNSPELL_STATIC to silence warnings on Windows about importing intra-DLL code r=nalexander
...
Differential Revision: https://phabricator.services.mozilla.com/D47069
--HG--
extra : moz-landing-system : lando
2019-09-26 09:19:22 +00:00
Paul Zuehlcke
7dbb6cb72e
Bug 1574473 - Updated nsContentBlocker::TestPermission to use LegacyTestPermissionFromURI. r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D46180
--HG--
extra : moz-landing-system : lando
2019-09-19 17:06:29 +00:00
Paul Zuehlcke
2189ac4496
Bug 1574469 - Implemented nsPermissionManager::LegacyTestPermissionFromURI for nsIURI queries with origin attributes. r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D45847
--HG--
extra : moz-landing-system : lando
2019-09-19 17:07:22 +00:00
Thomas Nguyen
cf867199bc
Bug 1560570- FeaturePolicy should be considered when permissions.query() is called r=baku,johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D44210
--HG--
extra : moz-landing-system : lando
2019-09-21 08:38:26 +00:00
Henri Sivonen
c193518677
Bug 1490601 part 2 - Move C++ entry points to encoding_c_mem to mfbt/. r=jwalden
...
Differential Revision: https://phabricator.services.mozilla.com/D43957
--HG--
extra : moz-landing-system : lando
2019-09-18 08:26:34 +00:00
Emma Malysz
6a694db9bd
Bug 599996, remove nsPermissionManager::Import to avoid main-thread IO r=mconley
...
Differential Revision: https://phabricator.services.mozilla.com/D45921
--HG--
extra : moz-landing-system : lando
2019-09-17 15:22:55 +00:00
Makoto Kato
50895a5db7
Bug 1571339 - Don't use nsTextFragment::AppendTo to get string in TextNodeContainsDOMWordSeparator. r=masayuki
...
Actually, spellchecker always allocates the heap to get text from text node. But it is unnecessary to allocate another heap here since `WordSplitState` walks text only and it is stack class.
If text is in '<textarea>', text node may be too large, so we shouldn't allocate memory to walk character in `WordSplitState` if possible. Because `TextNodeContainsDOMWordSeparator` will be called per input.
And `mWordUtil` is unused, so we should remove it.
Differential Revision: https://phabricator.services.mozilla.com/D42257
--HG--
extra : moz-landing-system : lando
2019-09-09 03:42:45 +00:00
Tom Ritter
d922064696
Bug 1547519 - Rename NS_STRINGIFY to MOZ_STRINGIFY, move to mfbt, and unify stragglers r=glandium
...
Differential Revision: https://phabricator.services.mozilla.com/D39961
--HG--
extra : moz-landing-system : lando
2019-09-04 02:40:32 +00:00
Dylan Roeh
9f71be1805
Bug 1572191 - Prevent nsPermissionManager from persisting certain permissions to disk under GeckoView. r=snorp,Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D43759
--HG--
extra : moz-landing-system : lando
2019-08-30 21:41:47 +00:00
Ehsan Akhgari
c771ae8334
Bug 1572240 - Part 6: Remove nsIPermissionManager.testPermissionOriginNoSuffix; r=baku
...
This is now dead code which will be kept alive by the vtable,
and introduces needless overhead inside the permission manager.
Differential Revision: https://phabricator.services.mozilla.com/D42207
--HG--
extra : moz-landing-system : lando
2019-08-19 14:38:47 +00:00
Ciure Andrei
9a123fb597
Backed out changeset 81156ff3f4fa (bug 1571656) for causing browser_PageActions.js and test_insertTree_fixupOrSkipInvalidEntries.js to perma fail CLOSED TREE
2019-08-19 13:00:44 +03:00
Moritz Birghan
240771fa29
Bug 1571656 - Use Assert.jsm numeric comparison functions in tests r=mixedpuppy,MattN
...
Differential Revision: https://phabricator.services.mozilla.com/D40614
--HG--
extra : moz-landing-system : lando
2019-08-19 07:17:12 +00:00
Paul Zuehlcke
f2675da6d6
Bug 1531303 - Implemented a PermissionTestUtils module. r=johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D41028
--HG--
extra : moz-landing-system : lando
2019-08-15 14:32:46 +00:00
Ciure Andrei
b454daea7a
Backed out 3 changesets (bug 1531303) for causing close_window/close.py and browser_permissions_dialog.js to perma fail CLOSED TREE
...
Backed out changeset 87305e83174e (bug 1531303)
Backed out changeset 0c75c3bac00b (bug 1531303)
Backed out changeset 865c2a5d40da (bug 1531303)
2019-08-14 13:07:55 +03:00
Paul Zuehlcke
160cf2c1df
Bug 1531303 - Implemented a PermissionTestUtils module. r=johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D41028
--HG--
extra : moz-landing-system : lando
2019-08-14 08:36:41 +00:00
Tom Schuster
0e913c22c4
Bug 1558915 - Use infallible nsIURI::SchemeIs in various places r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D40677
--HG--
extra : moz-landing-system : lando
2019-08-07 19:49:40 +00:00
Cosmin Sabou
c3430326e6
Backed out changeset ca88862d6b63 (bug 1558915) for causing build bustages on StartupCacheUtils. CLOSED TREE
2019-08-07 13:20:32 +03:00
Tom Schuster
8bc1f5ada8
Bug 1558915 - Use infallible nsIURI::SchemeIs in various places r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D40677
--HG--
extra : moz-landing-system : lando
2019-08-07 09:36:56 +00:00
Razvan Maries
eedbf1137f
Backed out changeset b197ca57677a (bug 1558915) for build bustages. CLOSED TREE
2019-08-07 01:04:43 +03:00
Tom Schuster
03c7998ef2
Bug 1558915 - Use infallible nsIURI::SchemeIs in various places r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D40677
--HG--
extra : moz-landing-system : lando
2019-08-06 20:19:41 +00:00
Makoto Kato
79bf4210ee
Bug 1565919 - Don't separate words by contextual-based character. r=Ehsan
...
Original regression was by bug 1362858, and bug 1418629 wasn't enough to fix.
By bug 1362858, we use `CHAR_CLASS_SEPARATOR` in additional to DOM word separator. But some characters such as single quote, `@` and etc are `CHAR_CLASS_SEPARATOR`, so we may check spell by incomplete word.
We shouldn't separate word by characters that is email part, URL part or conditional punctuation.
And I also update test cases for this situation. `<textarea>` is better for spell checking since it can has multiple anonymous text nodes.
Differential Revision: https://phabricator.services.mozilla.com/D39829
--HG--
extra : moz-landing-system : lando
2019-08-03 13:44:56 +00:00
Jorg K
864c351bc8
Bug 1570719 - Skip more elements in spellcheck for MailNews. r=masayuki
2019-08-02 10:49:17 +02:00
Kris Maglione
0962c2b731
Bug 1566182: Annotate mochitests that fail with Fission enabled. r=mccr8
...
My preference was to annotate most of the failing tests with `fail-if` so that
if they start passing, the `fail-if` needs to be removed and they need to keep
passing. That doesn't work for tests that timeout, or which trigger failures
from their cleanup functions, however, so those tests need skip-if. And tests
with fail in their cleanup functions likely leave the browser in an
inconsistent state for subsequent tests, anyway, so really should be skipped
regardless.
There are some remaining tests which still fail because of crashes. I chose
not to skip them here, but to fix the crashes in separate bugs instead.
Differential Revision: https://phabricator.services.mozilla.com/D38247
--HG--
extra : rebase_source : 39ba8fec2e882cfe577c5f2b58ab7e4b461f1178
2019-07-15 16:19:32 -07:00
Gurzau Raul
21df1f7413
Merge inbound to mozilla-central. a=merge
2019-07-17 06:48:50 +03:00
Mirko Brodesser
8135a5859f
Bug 1566046: move `nsContentUtils::ContentIsShadowIncludingDescendantOf` to `nsINode::IsShadowIncludingInclusiveDescendantOf`. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D38079
2019-07-16 09:25:02 +02:00
Noemi Erli
af897e281a
Merge inbound to mozilla-central. a=merge
2019-07-16 00:42:51 +03:00
Mirko Brodesser
2f40f072ab
Bug 1565584: move `nsIContentUtils::ContentIsDescendantOf` to `nsINode::IsInclusiveDescendantOf`. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D37880
2019-07-15 10:02:21 +02:00
Barret Rennie
c1d06a6c0c
Bug 1289211 - Rename InfallibleTArray to nsTArray in extensions/spellcheck/ r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D36952
--HG--
extra : moz-landing-system : lando
2019-07-10 03:28:47 +00:00
Boris Zbarsky
5062731c15
Bug 1565688. Remove unused IOService arg from NS_NewURI. r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D37968
--HG--
extra : moz-landing-system : lando
2019-07-15 13:39:51 +00:00
Sylvestre Ledru
e77bfc655d
Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D38057
--HG--
extra : moz-landing-system : lando
2019-07-16 07:33:44 +00:00
Ryan VanderMeulen
d4d246dca3
Bug 1517477 - Upgrade Hunspell to version 1.7.0. r=masayuki
...
Differential Revision: https://phabricator.services.mozilla.com/D15652
--HG--
extra : moz-landing-system : lando
2019-07-03 16:18:23 +00:00
Jonathan Kingston
31441f82ea
Bug 1560455 - rename CodebasePrincipal to ContentPrincipal. r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D35504
--HG--
extra : moz-landing-system : lando
2019-07-08 16:37:45 +00:00
Alex Catarineu
dbce01f2ff
Bug 467035 - Add new internal DTD content types r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D35232
--HG--
extra : moz-landing-system : lando
2019-07-03 17:28:25 +00:00
Sylvestre Ledru
fc2eb5393c
Bug 1562642 - Part 2 - Add missing MPL2 headers r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D37146
--HG--
extra : moz-landing-system : lando
2019-07-08 09:27:47 +00:00
Victor Porof
5af464dcc4
Bug 1561435 - Format extensions/, a=automatic-formatting
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D35902
--HG--
extra : source : 31cb194f2a6651332aa71a41c0f06a29daf8a186
2019-07-05 10:46:07 +02:00
Mirko Brodesser
6b67de025f
Bug 1562876: rename `Selection::RemoveRange` to `Selection::RemoveRangeAndUnselectFramesAndNotifyListeners`. r=smaug
...
The name of the corresponding webidl interface of course remains unchanged.
Differential Revision: https://phabricator.services.mozilla.com/D36607
2019-07-03 13:26:14 +02:00
Mirko Brodesser
63b4627d28
Bug 1562876: rename `Selection::AddRange` to `Selection::AddRangeAndSelectFramesAndNotifyListeners`. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D36602
2019-07-03 13:26:13 +02:00
Masayuki Nakano
da61ea3112
Bug 1444847 - part 3: Create `RangeUtils` to place public static methods of `nsRange` r=smaug
...
Some `nsRange` static methods are useful in `StaticRange` and some of them
are used in a lot of places but not related to `nsRange` directly. This
patch moves them into new static method only class, `mozilla::RangeUtils`.
Differential Revision: https://phabricator.services.mozilla.com/D35142
--HG--
extra : moz-landing-system : lando
2019-06-28 07:48:07 +00:00
Makoto Kato
5f9abd3366
Bug 1444847 - part 1: Create `mozilla::dom::AbstractRange` r=smaug
...
This patch is based on the patch created by Makoto Kato-san.
`Range` and `StaticRange` have common base interface, `AbstractRange`.
https://dom.spec.whatwg.org/#abstractrange
This interface has simply returns `startContainer`, `endContainer`,
`startOffset`, `endOffset` and `collapsed`.
Different from the original patch's approach, this patch moves related
members in `nsRange` to `AbstractRange` since this approach avoids
virtual call cost. Additionally, this patch makes them not throw as
declared by the spec. As far as I know, the destruction cost of
`ErrorResult` may appear in profile so that we should avoid creating
the instance if we can avoid it.
Unfortunately, the instance size of `nsRange` becomes larger with this
patch. The size is changed from 176 to 184. I.e., now, `nsRange`
requires bigger chunk.
Differential Revision: https://phabricator.services.mozilla.com/D35140
--HG--
extra : moz-landing-system : lando
2019-06-28 07:46:35 +00:00
Makoto Kato
cb97dec989
Bug 1560517
- Update LICENSE, README and license.hunspell to 1.6.1 r=RyanVM
...
No one includes `license.hunspell`, so we don't need our custimze block (`#include "config.h"`)
Also, some files isn't updated to 1.6.1, so we should update it.
Depends on D35516
Differential Revision: https://phabricator.services.mozilla.com/D35517
--HG--
extra : moz-landing-system : lando
2019-06-21 14:26:53 +00:00
Makoto Kato
e20f6f80c7
Bug 1560517
- Add update script and patch files for hunspell library r=masayuki
...
Add `update.sh` script and patch files to update hunspell library easily.
Differential Revision: https://phabricator.services.mozilla.com/D35516
--HG--
extra : moz-landing-system : lando
2019-06-21 18:57:35 +00:00
Boris Zbarsky
9de72a3ac6
Bug 1557793 part 2. Stop using [array] in nsIStringBundle. r=Pike
...
Differential Revision: https://phabricator.services.mozilla.com/D34196
--HG--
extra : moz-landing-system : lando
2019-06-11 15:51:51 +00:00
Boris Zbarsky
dc2b7685d7
Bug 1557231. Stop using [array] in nsIInlineSpellChecker. r=masayuki
...
Differential Revision: https://phabricator.services.mozilla.com/D33908
--HG--
extra : moz-landing-system : lando
2019-06-06 06:59:37 +00:00
Boris Zbarsky
d0cff2d0c6
Bug 1556925 part 2. Stop using [array] in mozISpellCheckingEngine.getDictionaryList. r=masayuki
...
Differential Revision: https://phabricator.services.mozilla.com/D33744
--HG--
extra : moz-landing-system : lando
2019-06-05 12:57:32 +00:00
Boris Zbarsky
bfd87b53d8
Bug 1556925 part 1. Stop using [array] in mozISpellCheckingEngine.suggest. r=masayuki
...
Differential Revision: https://phabricator.services.mozilla.com/D33743
--HG--
extra : moz-landing-system : lando
2019-06-05 12:50:13 +00:00
Boris Zbarsky
9b956f652d
Bug 1556922. Stop using [array] in nsIEditorSpellCheck. r=masayuki
...
Differential Revision: https://phabricator.services.mozilla.com/D33742
--HG--
extra : moz-landing-system : lando
2019-06-05 04:07:28 +00:00
Cosmin Sabou
e13e0af55b
Merge mozilla-inbound to mozilla-central. a=merge
2019-06-03 19:01:53 +03:00
Henri Sivonen
3c70419a2b
Bug 1543077 part 3 - Remove the old Japanese detector from the tree. r=emk.
...
Differential Revision: https://phabricator.services.mozilla.com/D27794
2019-06-03 15:30:41 +03:00
Andrea Marchesini
0a9fe4ff98
Bug 1553867 - Reduce the number of ClonePrincipalForPermission() call in CookieSettings, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D32364
--HG--
extra : moz-landing-system : lando
2019-06-03 11:14:38 +00:00
Cosmin Sabou
482c1fdb41
Backed out 2 changesets (bug 1554527, bug 1553867) as requested by Sylvestre for causing huge perf regressions. a=backout
...
Backed out changeset 1e85291f97de (bug 1554527)
Backed out changeset daf113171d63 (bug 1553867)
2019-05-29 09:57:29 +03:00
Mihai Alexandru Michis
1dd6cb6ee5
Backed out 6 changesets (bug 1543077) for causing bc failures at docshell/test/browser/browser_bug1543077.js
...
Backed out changeset f593045cc48f (bug 1543077)
Backed out changeset 25449ba8aceb (bug 1543077)
Backed out changeset ccc438262e29 (bug 1543077)
Backed out changeset 4573c25b1ce0 (bug 1543077)
Backed out changeset 1cbaafb9373a (bug 1543077)
Backed out changeset 1a0e7ced8e47 (bug 1543077)
--HG--
extra : rebase_source : f04bf405303fe03776f0e70b03db076c0a41ae45
2019-05-27 12:00:21 +03:00
Henri Sivonen
1447a771cc
Bug 1543077 part 3 - Remove the old Japanese detector from the tree. r=emk
...
Depends on D27793
Differential Revision: https://phabricator.services.mozilla.com/D27794
--HG--
extra : moz-landing-system : lando
2019-05-27 07:55:25 +00:00
Liang-Heng Chen
5b28bc4e4b
Bug 1330467 - part 7. Confirm FPI in permission manager tests; r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D19928
--HG--
extra : moz-landing-system : lando
2019-05-17 13:23:02 +00:00
Liang-Heng Chen
c42628e988
Bug 1330467 - part 1. Don't strip first party domain from permissions key; r=johannh,Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D19922
--HG--
extra : moz-landing-system : lando
2019-05-17 13:23:16 +00:00
Andrea Marchesini
c926d65d2f
Bug 1553867 - Reduce the number of ClonePrincipalForPermission() call in CookieSettings, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D32364
--HG--
extra : moz-landing-system : lando
2019-05-24 19:05:35 +00:00
Mark Banner
6971980f49
Bug 1554121 - Enable most ESLint rules for extensions/permissions, extensions/spellcheck and extensions/universalchardet. r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D32450
--HG--
extra : moz-landing-system : lando
2019-05-24 17:17:02 +00:00
Mihai Alexandru Michis
97df17e745
Backed out 11 changesets (bug 1330467) as requested by xeonchen on IRC. CLOSED TREE
...
Backed out changeset 0229d5353d50 (bug 1330467)
Backed out changeset 2f2308fe5747 (bug 1330467)
Backed out changeset 2cd09bae2bdf (bug 1330467)
Backed out changeset 2648f5bb1804 (bug 1330467)
Backed out changeset 4686eebd8962 (bug 1330467)
Backed out changeset b43fa07d5756 (bug 1330467)
Backed out changeset 35d96a4ff659 (bug 1330467)
Backed out changeset 6ac44130d2bb (bug 1330467)
Backed out changeset f939c61e051f (bug 1330467)
Backed out changeset 0ae215d91758 (bug 1330467)
Backed out changeset 1d48bdbb4035 (bug 1330467)
2019-05-17 16:19:06 +03:00
Andrea Marchesini
6cd7a6d9dd
Bug 1549912 - Support downgrade versioning of permissions database, r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D31192
--HG--
extra : moz-landing-system : lando
2019-05-16 19:51:34 +00:00
Oana Pop Rus
39769bf17e
Backed out changeset f8dfee6dc6e5 (bug 1549912) for xpcshell failure on test_permmanager_migrate_9-10.js CLOSE TREE.
2019-05-16 22:04:19 +03:00
Andrea Marchesini
221097ff40
Bug 1549912 - Support downgrade versioning of permissions database, r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D31192
--HG--
extra : moz-landing-system : lando
2019-05-16 14:24:45 +00:00
Liang-Heng Chen
55a638f5b0
Bug 1330467 - part 7. Confirm FPI in permission manager tests; r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D19928
--HG--
extra : moz-landing-system : lando
2019-05-07 22:18:56 +00:00
Liang-Heng Chen
bcff5a6630
Bug 1330467 - part 1. Don't strip first party domain from permissions key; r=johannh,Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D19922
--HG--
extra : moz-landing-system : lando
2019-05-08 13:41:57 +00:00
Makoto Kato
d75677fa6d
Bug 1524443 - Hold mozSpellChecker when using async IPC. r=masayuki
...
When using `CheckAsync` IPC, we don't hold `mozSpellChecker`. It causes that
`mozSpellChecker` may be destroyed during IPC call.
The destructor of `mozSpellChecker` destroys actor of spellchecker IPC via
`Send__delete__`. Although IPC rejects pending promises of async IPC during
destroying actor, it cannot remove replay messages from parent process.
So route error occurs.
So we have to keep `mozSpellChecker` during async IPC.
And we cannot convert attached test case to crashtest or mochitest since this
depends on navigation and timing. So I don't add it.
Differential Revision: https://phabricator.services.mozilla.com/D30347
--HG--
extra : moz-landing-system : lando
2019-05-08 13:21:55 +00:00
Makoto Kato
bda6300874
Bug 1418629 - Single quotation mark shouldn't always separator. r=Ehsan
...
This seems to be regression by bug 1362858.
Actually, single quotation mark is always separator for spellchecker after
landing bug 1462858. When user tries to input "doesn't", "'" becomes separator
for spellchecker. Then "doesn" will be misspell word.
So we shouldn't mark single quotation mark as separator if user is inputting
word.
Differential Revision: https://phabricator.services.mozilla.com/D29153
--HG--
extra : moz-landing-system : lando
2019-05-08 09:36:05 +00:00
Andrea Marchesini
d08ebf5a40
Bug 1320404 - Remove appId from origin attributes - part 3 - Permissionmanager, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D29355
--HG--
extra : moz-landing-system : lando
2019-05-03 17:14:21 +00:00
Andrea Marchesini
f8565bf748
Bug 1320404 - Remove appId from origin attributes - part 1 - OriginAttributes and nsIPrincipal, r=Ehsan,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D29353
--HG--
extra : moz-landing-system : lando
2019-05-03 17:13:17 +00:00
Bogdan Tara
386d23bfe7
Backed out 4 changesets (bug 1320404) for test_permmanager_load_invalid_entries.js failures
...
Backed out changeset 7c2f4e64d38e (bug 1320404)
Backed out changeset a7e7c0251179 (bug 1320404)
Backed out changeset dd741b25a244 (bug 1320404)
Backed out changeset de9073c57d20 (bug 1320404)
2019-05-03 06:12:25 +03:00
Andrea Marchesini
fdc4e5b220
Bug 1320404 - Remove appId from origin attributes - part 3 - Permissionmanager, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D29355
--HG--
extra : moz-landing-system : lando
2019-05-02 17:24:59 +00:00
Andrea Marchesini
138cee6dea
Bug 1320404 - Remove appId from origin attributes - part 1 - OriginAttributes and nsIPrincipal, r=Ehsan,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D29353
--HG--
extra : moz-landing-system : lando
2019-05-02 17:24:51 +00:00
Andrea Marchesini
4d844a27d0
Bug 1548580 - Remove a startup warning in PermissionManager, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D29682
--HG--
extra : moz-landing-system : lando
2019-05-02 16:28:14 +00:00
Cosmin Sabou
a884fb99d8
Backed out 4 changesets (bug 1320404) for xperf failures on permissions.sqlite-journal.
...
Backed out changeset fbacf18b6532 (bug 1320404)
Backed out changeset fed7c475d75c (bug 1320404)
Backed out changeset 557b586f774a (bug 1320404)
Backed out changeset 5a20b5f43280 (bug 1320404)
2019-05-02 04:51:18 +03:00
Andrea Marchesini
181c865701
Bug 1320404 - Remove appId from origin attributes - part 3 - Permissionmanager, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D29355
--HG--
extra : moz-landing-system : lando
2019-05-01 23:21:56 +00:00
Andrea Marchesini
7e61125d8f
Bug 1320404 - Remove appId from origin attributes - part 1 - OriginAttributes and nsIPrincipal, r=Ehsan,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D29353
--HG--
extra : moz-landing-system : lando
2019-05-01 23:21:45 +00:00
Sylvestre Ledru
e226046cb8
Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan
...
# ignore-this-changeset
Depends on D28954
Differential Revision: https://phabricator.services.mozilla.com/D28956
--HG--
extra : moz-landing-system : lando
2019-05-01 08:47:10 +00:00
Ehsan Akhgari
c541551107
Bug 1547397 - Part 3: Move the permission manager code to extensions/permissions; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D29116
--HG--
rename : extensions/cookie/nsPermission.cpp => extensions/permissions/nsPermission.cpp
rename : extensions/cookie/nsPermission.h => extensions/permissions/nsPermission.h
rename : extensions/cookie/nsPermissionManager.cpp => extensions/permissions/nsPermissionManager.cpp
rename : extensions/cookie/nsPermissionManager.h => extensions/permissions/nsPermissionManager.h
rename : extensions/cookie/test/.eslintrc.js => extensions/permissions/test/.eslintrc.js
rename : extensions/cookie/test/browser.ini => extensions/permissions/test/browser.ini
rename : extensions/cookie/test/browser_permmgr_sync.js => extensions/permissions/test/browser_permmgr_sync.js
rename : extensions/cookie/test/browser_permmgr_viewsrc.js => extensions/permissions/test/browser_permmgr_viewsrc.js
rename : extensions/cookie/test/gtest/PermissionManagerTest.cpp => extensions/permissions/test/gtest/PermissionManagerTest.cpp
rename : extensions/cookie/test/gtest/moz.build => extensions/permissions/test/gtest/moz.build
rename : extensions/cookie/test/moz.build => extensions/permissions/test/moz.build
rename : extensions/cookie/test/unit/test_permmanager_cleardata.js => extensions/permissions/test/unit/test_permmanager_cleardata.js
rename : extensions/cookie/test/unit/test_permmanager_default_pref.js => extensions/permissions/test/unit/test_permmanager_default_pref.js
rename : extensions/cookie/test/unit/test_permmanager_defaults.js => extensions/permissions/test/unit/test_permmanager_defaults.js
rename : extensions/cookie/test/unit/test_permmanager_expiration.js => extensions/permissions/test/unit/test_permmanager_expiration.js
rename : extensions/cookie/test/unit/test_permmanager_getAllForURI.js => extensions/permissions/test/unit/test_permmanager_getAllForURI.js
rename : extensions/cookie/test/unit/test_permmanager_getAllWithTypePrefix.js => extensions/permissions/test/unit/test_permmanager_getAllWithTypePrefix.js
rename : extensions/cookie/test/unit/test_permmanager_getPermissionObject.js => extensions/permissions/test/unit/test_permmanager_getPermissionObject.js
rename : extensions/cookie/test/unit/test_permmanager_idn.js => extensions/permissions/test/unit/test_permmanager_idn.js
rename : extensions/cookie/test/unit/test_permmanager_load_invalid_entries.js => extensions/permissions/test/unit/test_permmanager_load_invalid_entries.js
rename : extensions/cookie/test/unit/test_permmanager_local_files.js => extensions/permissions/test/unit/test_permmanager_local_files.js
rename : extensions/cookie/test/unit/test_permmanager_matches.js => extensions/permissions/test/unit/test_permmanager_matches.js
rename : extensions/cookie/test/unit/test_permmanager_matchesuri.js => extensions/permissions/test/unit/test_permmanager_matchesuri.js
rename : extensions/cookie/test/unit/test_permmanager_migrate_4-7.js => extensions/permissions/test/unit/test_permmanager_migrate_4-7.js
rename : extensions/cookie/test/unit/test_permmanager_migrate_4-7_no_history.js => extensions/permissions/test/unit/test_permmanager_migrate_4-7_no_history.js
rename : extensions/cookie/test/unit/test_permmanager_migrate_5-7a.js => extensions/permissions/test/unit/test_permmanager_migrate_5-7a.js
rename : extensions/cookie/test/unit/test_permmanager_migrate_5-7b.js => extensions/permissions/test/unit/test_permmanager_migrate_5-7b.js
rename : extensions/cookie/test/unit/test_permmanager_migrate_6-7a.js => extensions/permissions/test/unit/test_permmanager_migrate_6-7a.js
rename : extensions/cookie/test/unit/test_permmanager_migrate_6-7b.js => extensions/permissions/test/unit/test_permmanager_migrate_6-7b.js
rename : extensions/cookie/test/unit/test_permmanager_migrate_7-8.js => extensions/permissions/test/unit/test_permmanager_migrate_7-8.js
rename : extensions/cookie/test/unit/test_permmanager_notifications.js => extensions/permissions/test/unit/test_permmanager_notifications.js
rename : extensions/cookie/test/unit/test_permmanager_removeall.js => extensions/permissions/test/unit/test_permmanager_removeall.js
rename : extensions/cookie/test/unit/test_permmanager_removebytype.js => extensions/permissions/test/unit/test_permmanager_removebytype.js
rename : extensions/cookie/test/unit/test_permmanager_removebytypesince.js => extensions/permissions/test/unit/test_permmanager_removebytypesince.js
rename : extensions/cookie/test/unit/test_permmanager_removeforapp.js => extensions/permissions/test/unit/test_permmanager_removeforapp.js
rename : extensions/cookie/test/unit/test_permmanager_removepermission.js => extensions/permissions/test/unit/test_permmanager_removepermission.js
rename : extensions/cookie/test/unit/test_permmanager_removesince.js => extensions/permissions/test/unit/test_permmanager_removesince.js
rename : extensions/cookie/test/unit/test_permmanager_subdomains.js => extensions/permissions/test/unit/test_permmanager_subdomains.js
rename : extensions/cookie/test/unit/xpcshell.ini => extensions/permissions/test/unit/xpcshell.ini
extra : moz-landing-system : lando
2019-04-30 14:06:53 +00:00
Ehsan Akhgari
868c13b5e5
Bug 1547397 - Part 2: Move some xpcshell tests for cookies out of extensions/cookies; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D29115
--HG--
rename : extensions/cookie/test/unit/head_cookies.js => netwerk/test/unit/head_cookies.js
rename : extensions/cookie/test/unit/test_bug526789.js => netwerk/test/unit/test_bug526789.js
rename : extensions/cookie/test/unit/test_bug650522.js => netwerk/test/unit/test_bug650522.js
rename : extensions/cookie/test/unit/test_bug667087.js => netwerk/test/unit/test_bug667087.js
rename : extensions/cookie/test/unit/test_cookies_async_failure.js => netwerk/test/unit/test_cookies_async_failure.js
rename : extensions/cookie/test/unit/test_cookies_persistence.js => netwerk/test/unit/test_cookies_persistence.js
rename : extensions/cookie/test/unit/test_cookies_privatebrowsing.js => netwerk/test/unit/test_cookies_privatebrowsing.js
rename : extensions/cookie/test/unit/test_cookies_profile_close.js => netwerk/test/unit/test_cookies_profile_close.js
rename : extensions/cookie/test/unit/test_cookies_read.js => netwerk/test/unit/test_cookies_read.js
rename : extensions/cookie/test/unit/test_cookies_sync_failure.js => netwerk/test/unit/test_cookies_sync_failure.js
rename : extensions/cookie/test/unit/test_cookies_thirdparty.js => netwerk/test/unit/test_cookies_thirdparty.js
rename : extensions/cookie/test/unit/test_cookies_thirdparty_nonsecure_session.js => netwerk/test/unit/test_cookies_thirdparty_nonsecure_session.js
rename : extensions/cookie/test/unit/test_cookies_thirdparty_session.js => netwerk/test/unit/test_cookies_thirdparty_session.js
rename : extensions/cookie/test/unit/test_domain_eviction.js => netwerk/test/unit/test_domain_eviction.js
rename : extensions/cookie/test/unit/test_eviction.js => netwerk/test/unit/test_eviction.js
rename : extensions/cookie/test/unit/test_schema_2_migration.js => netwerk/test/unit/test_schema_2_migration.js
rename : extensions/cookie/test/unit/test_schema_3_migration.js => netwerk/test/unit/test_schema_3_migration.js
extra : moz-landing-system : lando
2019-04-30 14:06:27 +00:00
Ehsan Akhgari
3252b3943e
Bug 1547397 - Part 1: Move some mochitests and browser-chrome tests for cookies out of extensions/cookies; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D29117
--HG--
rename : extensions/cookie/test/browser_test_favicon.js => netwerk/test/browser/browser_test_favicon.js
rename : extensions/cookie/test/damonbowling.jpg => netwerk/test/browser/damonbowling.jpg
rename : extensions/cookie/test/damonbowling.jpg^headers^ => netwerk/test/browser/damonbowling.jpg^headers^
rename : extensions/cookie/test/beltzner.jpg => netwerk/test/mochitests/beltzner.jpg
rename : extensions/cookie/test/beltzner.jpg^headers^ => netwerk/test/mochitests/beltzner.jpg^headers^
rename : extensions/cookie/test/file_chromecommon.js => netwerk/test/mochitests/file_chromecommon.js
rename : extensions/cookie/test/file_domain_hierarchy_inner.html => netwerk/test/mochitests/file_domain_hierarchy_inner.html
rename : extensions/cookie/test/file_domain_hierarchy_inner_inner.html => netwerk/test/mochitests/file_domain_hierarchy_inner_inner.html
rename : extensions/cookie/test/file_domain_hierarchy_inner_inner_inner.html => netwerk/test/mochitests/file_domain_hierarchy_inner_inner_inner.html
rename : extensions/cookie/test/file_domain_inner.html => netwerk/test/mochitests/file_domain_inner.html
rename : extensions/cookie/test/file_domain_inner_inner.html => netwerk/test/mochitests/file_domain_inner_inner.html
rename : extensions/cookie/test/file_image_inner.html => netwerk/test/mochitests/file_image_inner.html
rename : extensions/cookie/test/file_image_inner_inner.html => netwerk/test/mochitests/file_image_inner_inner.html
rename : extensions/cookie/test/file_loadflags_inner.html => netwerk/test/mochitests/file_loadflags_inner.html
rename : extensions/cookie/test/file_localhost_inner.html => netwerk/test/mochitests/file_localhost_inner.html
rename : extensions/cookie/test/file_loopback_inner.html => netwerk/test/mochitests/file_loopback_inner.html
rename : extensions/cookie/test/file_subdomain_inner.html => netwerk/test/mochitests/file_subdomain_inner.html
rename : extensions/cookie/test/file_testcommon.js => netwerk/test/mochitests/file_testcommon.js
rename : extensions/cookie/test/file_testloadflags.js => netwerk/test/mochitests/file_testloadflags.js
rename : extensions/cookie/test/file_testloadflags_chromescript.js => netwerk/test/mochitests/file_testloadflags_chromescript.js
rename : extensions/cookie/test/image1.png => netwerk/test/mochitests/image1.png
rename : extensions/cookie/test/image1.png^headers^ => netwerk/test/mochitests/image1.png^headers^
rename : extensions/cookie/test/image1.png => netwerk/test/mochitests/image2.png
rename : extensions/cookie/test/image2.png^headers^ => netwerk/test/mochitests/image2.png^headers^
rename : extensions/cookie/test/test1.css => netwerk/test/mochitests/test1.css
rename : extensions/cookie/test/test1.css^headers^ => netwerk/test/mochitests/test1.css^headers^
rename : extensions/cookie/test/test1.css => netwerk/test/mochitests/test2.css
rename : extensions/cookie/test/test2.css^headers^ => netwerk/test/mochitests/test2.css^headers^
rename : extensions/cookie/test/test_different_domain_in_hierarchy.html => netwerk/test/mochitests/test_different_domain_in_hierarchy.html
rename : extensions/cookie/test/test_differentdomain.html => netwerk/test/mochitests/test_differentdomain.html
rename : extensions/cookie/test/test_image.html => netwerk/test/mochitests/test_image.html
rename : extensions/cookie/test/test_loadflags.html => netwerk/test/mochitests/test_loadflags.html
rename : extensions/cookie/test/test_same_base_domain.html => netwerk/test/mochitests/test_same_base_domain.html
rename : extensions/cookie/test/test_same_base_domain_2.html => netwerk/test/mochitests/test_same_base_domain_2.html
rename : extensions/cookie/test/test_same_base_domain_3.html => netwerk/test/mochitests/test_same_base_domain_3.html
rename : extensions/cookie/test/test_same_base_domain_4.html => netwerk/test/mochitests/test_same_base_domain_4.html
rename : extensions/cookie/test/test_same_base_domain_5.html => netwerk/test/mochitests/test_same_base_domain_5.html
rename : extensions/cookie/test/test_same_base_domain_6.html => netwerk/test/mochitests/test_same_base_domain_6.html
rename : extensions/cookie/test/test_samedomain.html => netwerk/test/mochitests/test_samedomain.html
extra : moz-landing-system : lando
2019-04-30 14:07:12 +00:00
Ehsan Akhgari
bba7e3c8b0
Bug 1547114 - Part 8: Move nsCookiePermission to netwerk/cookie; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D29078
--HG--
rename : extensions/cookie/nsCookiePermission.cpp => netwerk/cookie/nsCookiePermission.cpp
rename : extensions/cookie/nsCookiePermission.h => netwerk/cookie/nsCookiePermission.h
extra : moz-landing-system : lando
2019-04-26 22:31:57 +00:00
Ehsan Akhgari
a18d1e13f4
Bug 1547114 - Part 7: Get rid of nsCookieModule.h/cpp; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D28998
--HG--
extra : moz-landing-system : lando
2019-04-26 15:42:24 +00:00
Ehsan Akhgari
31a8a7053e
Bug 1547114 - Part 6: Convert network.cookie.lifetimePolicy into a static pref; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D28997
--HG--
extra : moz-landing-system : lando
2019-04-26 15:42:01 +00:00
Ehsan Akhgari
c8fea1ecad
Bug 1547114 - Part 5: Remove nsICookiePermission::CanAccess(); r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D28996
--HG--
extra : moz-landing-system : lando
2019-04-26 15:41:07 +00:00
Ehsan Akhgari
2fbc24f3bc
Bug 1547114 - Part 3: Remove nsCookiePermission::mThirdPartyUtil; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D28916
--HG--
extra : moz-landing-system : lando
2019-04-26 15:49:21 +00:00
Ehsan Akhgari
ee308fca8a
Bug 1547114 - Part 2: Read the cookie lifetime policy from nsContentUtils; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D28915
--HG--
extra : moz-landing-system : lando
2019-04-26 15:49:19 +00:00
Ehsan Akhgari
565bc7aba8
Bug 1547114 - Part 1: Remove nsICookiePermission::CanAccessURI(); r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D28914
--HG--
extra : moz-landing-system : lando
2019-04-26 15:49:17 +00:00
Andreea Pavel
81b8902215
Backed out 4 changesets (bug 1547114) for multiple failures e.g. xpcshell at test_SitePermissions.js on a CLOSED TREE
...
Backed out changeset 4167117f548f (bug 1547114)
Backed out changeset 0a4180b074ea (bug 1547114)
Backed out changeset c92df939a4d6 (bug 1547114)
Backed out changeset fc4e5936eeae (bug 1547114)
2019-04-26 18:35:28 +03:00
Ehsan Akhgari
502f90b3a8
Bug 1547114 - Part 3: Remove nsCookiePermission::mThirdPartyUtil; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D28916
--HG--
extra : moz-landing-system : lando
2019-04-26 12:02:21 +00:00
Ehsan Akhgari
29825d4324
Bug 1547114 - Part 2: Read the cookie lifetime policy from nsContentUtils; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D28915
--HG--
extra : moz-landing-system : lando
2019-04-26 14:30:27 +00:00
Ehsan Akhgari
9421931e25
Bug 1547114 - Part 1: Remove nsICookiePermission::CanAccessURI(); r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D28914
--HG--
extra : moz-landing-system : lando
2019-04-26 12:02:20 +00:00
Honza Bambas
5f945421d4
Bug 1493599 - Expose reason of security blocking on nsILoadInfo and add new http observer notification for failed asyncOpens, r=Honza,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D23150
--HG--
extra : moz-landing-system : lando
2019-04-26 10:59:41 +00:00
Andrew McCreight
f242e71c8a
Bug 1545822
- Clean up some whitespace in XPIDL files. r=froydnj
...
The attributes for an interface should be on the line right before the
interface.
Interface attributes should be separated by spaces.
Clean up some trailing whitespace in widget/.
Differential Revision: https://phabricator.services.mozilla.com/D28234
--HG--
extra : moz-landing-system : lando
2019-04-21 01:47:00 +00:00
Johann Hofmann
f296ce765f
Bug 1536454
- Part 2 - Add modificationTime attribute to nsIPermission.idl. r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D26943
--HG--
extra : moz-landing-system : lando
2019-04-18 13:43:10 +00:00