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
Brian Grinstead
381332c51e
Bug 1544051 - Part 3 - Scripted change to remove references to AddTask.js r=ahal
...
This was generated with the script at https://bug1544051.bmoattachments.org/attachment.cgi?id=9058672
Differential Revision: https://phabricator.services.mozilla.com/D27761
--HG--
extra : moz-landing-system : lando
2019-04-18 16:51:01 +00:00
Brian Grinstead
911776d674
Bug 1544322 - Part 3 - Remove the [type] attribute for multiline <script> tags loading files in chrome://mochikit/content/ r=bzbarsky
...
This is an autogenerated commit to handle scripts loading mochitest harness files, in
the case where the script src is on the line below the script tag.
This was generated with https://bug1544322.bmoattachments.org/attachment.cgi?id=9058170
using the `--part 3` argument.
Differential Revision: https://phabricator.services.mozilla.com/D27458
--HG--
extra : moz-landing-system : lando
2019-04-16 03:59:25 +00:00
Brian Grinstead
ede8c44ef2
Bug 1544322 - Part 2.1 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in everything except for dom/ r=bzbarsky
...
This excludes dom/, otherwise the file size is too large for phabricator to handle.
This is an autogenerated commit to handle scripts loading mochitest harness files, in
the simple case where the script src is on the same line as the tag.
This was generated with https://bug1544322.bmoattachments.org/attachment.cgi?id=9058170
using the `--part 2` argument.
Differential Revision: https://phabricator.services.mozilla.com/D27456
--HG--
extra : moz-landing-system : lando
2019-04-16 03:50:44 +00:00
Andrea Marchesini
123be5d3c8
Bug 1543911 - Move BasePrincipal::CloneStrippingUserContextIdAndFirst into nsPermission to avoid misuses, r=johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D27235
--HG--
extra : moz-landing-system : lando
2019-04-15 10:26:09 +00:00
Sylvestre Ledru
7f60810d86
Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D27245
--HG--
extra : moz-landing-system : lando
2019-04-12 13:14:25 +00:00
Makoto Kato
e6c2e7bc87
Bug 1543585 - Clean up finding words for spellchecker. r=masayuki
...
`mozSpellChecker::Replace` and `mozSpellChecker::NextMisspelledWord` have a loop
to find word from text content. But `mozEnglishWordUtils::FindNextWord` always
returns `NS_OK` and some code doesn't check error even if `nsresult` local
variable is used.
So I would like to clean up this loop.
- `mozEnglishWordUtils::FindNextWord` should return true if word is found
- We should use reference type for some `TextServicesDocument`'s methods.
- Add more check for error
Differential Revision: https://phabricator.services.mozilla.com/D27037
--HG--
extra : moz-landing-system : lando
2019-04-12 03:54:18 +00:00
Andrea Marchesini
85f93c4ddc
Bug 1541934
- mozStorageConnection can crash on shutdown, r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D26491
--HG--
extra : moz-landing-system : lando
2019-04-11 16:43:13 +00:00
Andreea Pavel
35a8067dab
Backed out changeset 6e87244c4b89 (bug 1541934
) for failing xpcshell at test_removeDataFromDomain.js on a CLOSED TREE
2019-04-11 16:57:19 +03:00
Andrea Marchesini
afbad5faf0
Bug 1541934
- mozStorageConnection can crash on shutdown, r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D26491
--HG--
extra : moz-landing-system : lando
2019-04-11 11:14:51 +00:00
Henri Sivonen
ec150294ab
Bug 1513799 - Remove windows-1252 as a Japanese detection outcome. r=emk.
...
If this removal turns out to be OK, we should be able to make the detector
decide more quickly between the remaining options.
Differential Revision: https://phabricator.services.mozilla.com/D26283
2019-04-08 14:43:26 +03:00
Sylvestre Ledru
03c8e8c2dd
Bug 1519636 - clang-format-8: Reformat recent changes to the Google coding style r=Ehsan
...
clang-format-8 upstream had some improvements wrt macros
See: https://reviews.llvm.org/D33440
This is why the diff is bigger than usual
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D26098
--HG--
extra : moz-landing-system : lando
2019-04-05 21:41:42 +00:00
Csoregi Natalia
ba58e936bd
Backed out changeset 4ad80127f89f (bug 1519636) for bustage on MarkupMap.h and nsAccessibilityService.cpp. CLOSED TREE
2019-04-05 09:48:19 +03:00
Sylvestre Ledru
d1c1878603
Bug 1519636 - clang-format-8: Reformat recent changes to the Google coding style r=Ehsan
...
clang-format-8 upstream had some improvements wrt macros
See: https://reviews.llvm.org/D33440
This is why the diff is bigger than usual
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D26098
--HG--
extra : moz-landing-system : lando
2019-04-04 21:36:16 +00:00
Narcis Beleuzu
24dbe577a5
Backed out changeset 389b6bbd76db (bug 1519636) for bustages on MarkupMap.h . CLOSED TREE
2019-04-05 00:27:56 +03:00
Sylvestre Ledru
399dbd28fe
Bug 1519636 - clang-format-8: Reformat recent changes to the Google coding style r=Ehsan
...
clang-format-8 upstream had some improvements wrt macros
See: https://reviews.llvm.org/D33440
This is why the diff is bigger than usual
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D26098
--HG--
extra : moz-landing-system : lando
2019-04-04 20:12:23 +00:00
Erica Wright
fccf274cc5
Bug 1524883 - Clear storageAccessAPI permissions when history is cleared. r=johannh,Ehsan
...
When history is cleared, clear the flag that indicates a user has visited the domain.
Differential Revision: https://phabricator.services.mozilla.com/D24404
--HG--
extra : moz-landing-system : lando
2019-03-28 18:44:08 +00:00
Boris Zbarsky
92f7b5dd5e
Bug 1539716. Remove nsIHashable. r=froydnj
...
It's dead code.
Differential Revision: https://phabricator.services.mozilla.com/D25190
--HG--
extra : moz-landing-system : lando
2019-03-28 13:07:05 +00:00
Mark Banner
dba6983e75
Bug 1415265 - Remove now unnecessary .eslintrc.js files or entries. r=mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D23850
--HG--
extra : moz-landing-system : lando
2019-03-28 09:38:14 +00:00
Masayuki Nakano
0a753c3aac
Bug 1533293 - part 3: Make editor and ContentEventHandler not use Selection::Extend() due to too slow r=m_kato
...
`Selection::Extend()` is too slow but editor and ContentEventHandler use it in
some places. We should make them use `Selection::SetStartAndEndInLimiter()` or
`Selection::SetBaseAndExtentInLimiter()`. The former is usable only when caller
guarantees the start point is prior to the end point in the DOM tree.
Otherwise, we need to use the latter even though it's slower than the former.
Differential Revision: https://phabricator.services.mozilla.com/D23462
--HG--
extra : moz-landing-system : lando
2019-03-26 10:09:47 +00:00
Masayuki Nakano
534fd23ca4
Bug 1533293 - part 2: Rewrite EditorBase::SelectEntireDocument() and its overrides r=m_kato
...
`EditorBase::SelectEntierDocument()` uses `Selection::Extend()` but it's too
slow. It should use `Selection::SetStartAndEndInLimiter()` instead.
Additionally, `TextEditor::SelectEntierDocument()` shrink the result of
`EditorBase::SelectEntierDocument()` with `Selection::Extend()` if there is
a `moz-<br>` element. So, `TextEditor::SelectEntinerDocument()` should set
its expected selection with a call for saving the runtime cost.
Then, we don't need to make `EditorBase::SelectEntierDocument()` as non-pure
virtual method. So, this patch makes each its callers call
`Selection->SelectAllChildren()` directly.
Differential Revision: https://phabricator.services.mozilla.com/D23461
--HG--
extra : moz-landing-system : lando
2019-03-26 10:06:43 +00:00
Noemi Erli
165f0d8c1c
Backed out 3 changesets (bug 1533293) for causing Bug 1536595 a=backout
...
Backed out changeset d011dfe83683 (bug 1533293)
Backed out changeset e536f6e123d8 (bug 1533293)
Backed out changeset 19cff61f4fed (bug 1533293)
2019-03-20 13:29:17 +02:00
Masayuki Nakano
6dd0ecdd8e
Bug 1533293 - part 3: Make editor and ContentEventHandler not use Selection::Extend() due to too slow r=m_kato
...
`Selection::Extend()` is too slow but editor and ContentEventHandler use it in
some places. We should make them use `Selection::SetStartAndEndInLimiter()` or
`Selection::SetBaseAndExtentInLimiter()`. The former is usable only when caller
guarantees the start point is prior to the end point in the DOM tree.
Otherwise, we need to use the latter even though it's slower than the former.
Differential Revision: https://phabricator.services.mozilla.com/D23462
--HG--
extra : moz-landing-system : lando
2019-03-18 01:52:36 +00:00
Masayuki Nakano
448571fd81
Bug 1533293 - part 2: Rewrite EditorBase::SelectEntireDocument() and its overrides r=m_kato
...
`EditorBase::SelectEntierDocument()` uses `Selection::Extend()` but it's too
slow. It should use `Selection::SetStartAndEndInLimiter()` instead.
Additionally, `TextEditor::SelectEntierDocument()` shrink the result of
`EditorBase::SelectEntierDocument()` with `Selection::Extend()` if there is
a `moz-<br>` element. So, `TextEditor::SelectEntinerDocument()` should set
its expected selection with a call for saving the runtime cost.
Then, we don't need to make `EditorBase::SelectEntierDocument()` as non-pure
virtual method. So, this patch makes each its callers call
`Selection->SelectAllChildren()` directly.
Differential Revision: https://phabricator.services.mozilla.com/D23461
--HG--
extra : moz-landing-system : lando
2019-03-18 01:51:53 +00:00
Sebastian Hengst
cee711baf9
Bug 1535353 - update Core :: DOM: * bugzilla product and component meta data in moz.build files after reorganization in bug 1533440 r=hsinyi
...
Differential Revision: https://phabricator.services.mozilla.com/D23546
--HG--
extra : moz-landing-system : lando
2019-03-17 23:13:22 +00:00
Sylvestre Ledru
4aa92e3091
Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D22514
2019-03-13 10:19:06 +01:00
Nathan Froyd
646507261e
Bug 1533750 - pack members of PermissionEntry better on 64-bit platforms; r=jdm
...
The current ordering leaves a hole after `mExpireType` due to the need
to align a 64-bit `mExpireTime` and another one after
`mNonSessionExpireTime` to pad out the structure. We can group members
by their type (and initialize them in that order to avoid compiler
warnings) to avoid the holes and save a little bit of space.
Differential Revision: https://phabricator.services.mozilla.com/D22713
--HG--
extra : moz-landing-system : lando
2019-03-11 18:36:44 +00:00
Andrea Marchesini
b27c7a2194
Bug 1525245 - Stabilize cookiePolicy/cookiePermission for live documents - part 14 - Test for cookies policy, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D21697
--HG--
extra : moz-landing-system : lando
2019-03-08 09:04:57 +00:00
Andrea Marchesini
8e20bbbc9a
Bug 1525245 - Stabilize cookiePolicy/cookiePermission for live documents - part 12 - nsICookieSettings for the channel creation, r=ckerschb,asuth,Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D21538
--HG--
extra : moz-landing-system : lando
2019-03-08 09:04:11 +00:00
Andrea Marchesini
6b7df33f3a
Bug 1525245 - Stabilize cookiePolicy/cookiePermission for live documents - part 10 - Fix existing tests, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D18958
--HG--
extra : moz-landing-system : lando
2019-03-08 09:03:15 +00:00
Ciure Andrei
712dd2bb8c
Backed out 16 changesets (bug 1525245) for perma failing test_document_cookie.html CLOSED TREE
...
Backed out changeset 3fd27215698f (bug 1525245)
Backed out changeset d9a9e8e77873 (bug 1525245)
Backed out changeset 0e6f7be92e3f (bug 1525245)
Backed out changeset 6790802e2fa5 (bug 1525245)
Backed out changeset a5a9e01116ed (bug 1525245)
Backed out changeset 66e19a0c38dd (bug 1525245)
Backed out changeset fb90d51ba853 (bug 1525245)
Backed out changeset 4772db3625b3 (bug 1525245)
Backed out changeset 9affaf0cb998 (bug 1525245)
Backed out changeset a91b7ebe8bdd (bug 1525245)
Backed out changeset c2a13a7480e1 (bug 1525245)
Backed out changeset abe4482fa137 (bug 1525245)
Backed out changeset b3920c0bcf84 (bug 1525245)
Backed out changeset 0821b81f2724 (bug 1525245)
Backed out changeset 70bed2ad7899 (bug 1525245)
Backed out changeset 5f72ba232cc8 (bug 1525245)
2019-03-07 17:54:18 +02:00
Andrea Marchesini
f5aaaac0e2
Bug 1525245 - Stabilize cookiePolicy/cookiePermission for live documents - part 14 - Test for cookies policy, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D21697
--HG--
extra : moz-landing-system : lando
2019-03-07 10:22:18 +00:00
Andrea Marchesini
6856f88972
Bug 1525245 - Stabilize cookiePolicy/cookiePermission for live documents - part 12 - nsICookieSettings for the channel creation, r=ckerschb,asuth,Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D21538
--HG--
extra : moz-landing-system : lando
2019-03-07 10:21:15 +00:00
Andrea Marchesini
48b3f2b792
Bug 1525245 - Stabilize cookiePolicy/cookiePermission for live documents - part 10 - Fix existing tests, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D18958
--HG--
extra : moz-landing-system : lando
2019-03-07 10:18:07 +00:00
Dorel Luca
ac34e1d973
Backed out 16 changesets (bug 1525245) for Android failures. CLOSED TREE
...
Backed out changeset 9f8a1b410320 (bug 1525245)
Backed out changeset 0ef284a9a1d5 (bug 1525245)
Backed out changeset 835e5f642a03 (bug 1525245)
Backed out changeset 362f5a8d033c (bug 1525245)
Backed out changeset 9da3ab33cf67 (bug 1525245)
Backed out changeset 6aacd2d6e835 (bug 1525245)
Backed out changeset 8ff9e8f45e02 (bug 1525245)
Backed out changeset 2020227181cc (bug 1525245)
Backed out changeset fc3c64c330b9 (bug 1525245)
Backed out changeset 2762bf88e050 (bug 1525245)
Backed out changeset ffc10fdc50a6 (bug 1525245)
Backed out changeset bb6ade1207d7 (bug 1525245)
Backed out changeset 1875eb5085e4 (bug 1525245)
Backed out changeset 7e4f67a6d6f1 (bug 1525245)
Backed out changeset e671fc9581eb (bug 1525245)
Backed out changeset b89f5def8d0d (bug 1525245)
2019-03-06 21:07:49 +02:00
Andrea Marchesini
4643d957ad
Bug 1525245 - Stabilize cookiePolicy/cookiePermission for live documents - part 14 - Test for cookies policy, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D21697
--HG--
extra : moz-landing-system : lando
2019-03-06 17:04:55 +00:00
Andrea Marchesini
4fabb4a2a8
Bug 1525245 - Stabilize cookiePolicy/cookiePermission for live documents - part 12 - nsICookieSettings for the channel creation, r=ckerschb,asuth,Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D21538
--HG--
extra : moz-landing-system : lando
2019-03-06 17:04:06 +00:00