Граф коммитов

10633 Коммитов

Автор SHA1 Сообщение Дата
Christian Holler aef146a43a Bug 1597931 - Add libFuzzer instrumentation to extensions/auth/. r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D53988

--HG--
extra : moz-landing-system : lando
2019-11-22 14:46:17 +00:00
Christian Holler fcad9f8bf9 Bug 1595692 - Handle missing base64 challenge in NegotiateAuth. r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D53989

--HG--
extra : moz-landing-system : lando
2019-11-22 21:17:10 +00:00
Masayuki Nakano b91249c508 Bug 1599318 - `TextEditor` shouldn't put `\r` into its anonymous text node r=m_kato
Starting from bug 1597679, `HTMLTextAreaElement::GetValueInternal()` stops
converting `\r\n` and `\r` with `\n` because it may be in hot path and the scan
cost of `\r` in `nsContentUtils::PlatformToDOMLineBreaks()` is redundant in
most cases.

However, there are still some paths to input `\r`.  This patch makes them
call `nsContentUtils::PlatformToDOMLineBreaks()` if they have not done it.

Differential Revision: https://phabricator.services.mozilla.com/D54906

--HG--
extra : moz-landing-system : lando
2019-11-28 05:51:41 +00:00
Masayuki Nakano 20699e2189 Bug 1597679 - part 2: Make `nsITextControlElement` inherit `nsGenericHTMLFormElementWithState` r=smaug
Sub classes of `nsITextControlElement` are only `HTMLInputElement` and
`HTMLTextAreaElement`. And both base class is
`nsGenericHTMLFormElementWithState`.  Therefore, we can make
`nsITextControlElement` inherit `nsGenericHTMLFormElementWithState` and
make `HTMLInputElement` and `HTMLTextAreaElement` inherit
`nsITextControlElement`.  Then, we can get rid of a lot of QI between
`nsINode`/`nsIContent`/`Element` and `nsITextControlElement` (and note that
some of them in a hot path).

Additionally, this patch renames `nsITextControlElement` to
`mozilla::TextControlElement`.

Differential Revision: https://phabricator.services.mozilla.com/D54330

--HG--
rename : dom/html/nsITextControlElement.h => dom/html/TextControlElement.h
extra : moz-landing-system : lando
2019-11-25 06:35:15 +00:00
Coroiu Cristina 84bf2b6d25 Backed out 3 changesets (bug 1597679) for Android debug build bustage at build/src/dom/base/nsContentAreaDragDrop.cpp
Backed out changeset 6a73b58e0db4 (bug 1597679)
Backed out changeset 90a172eff2de (bug 1597679)
Backed out changeset d4a156cf28ff (bug 1597679)

--HG--
rename : dom/html/TextControlElement.h => dom/html/nsITextControlElement.h
2019-11-24 09:02:53 +02:00
Masayuki Nakano eea1784f2d Bug 1597679 - part 2: Make `nsITextControlElement` inherit `nsGenericHTMLFormElementWithState` r=smaug
Sub classes of `nsITextControlElement` are only `HTMLInputElement` and
`HTMLTextAreaElement`. And both base class is
`nsGenericHTMLFormElementWithState`.  Therefore, we can make
`nsITextControlElement` inherit `nsGenericHTMLFormElementWithState` and
make `HTMLInputElement` and `HTMLTextAreaElement` inherit
`nsITextControlElement`.  Then, we can get rid of a lot of QI between
`nsINode`/`nsIContent`/`Element` and `nsITextControlElement` (and note that
some of them in a hot path).

Additionally, this patch renames `nsITextControlElement` to
`mozilla::TextControlElement`.

Differential Revision: https://phabricator.services.mozilla.com/D54330

--HG--
rename : dom/html/nsITextControlElement.h => dom/html/TextControlElement.h
extra : moz-landing-system : lando
2019-11-24 05:38:02 +00:00
Paul Zuehlcke 97a444cc97 Bug 1597541 - Added pref and disabled nsContentBlocker by default. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D53975

--HG--
extra : moz-landing-system : lando
2019-11-22 14:32:44 +00:00
alwu 0d289c99b1 Bug 1596988 - remove telemetry ping 'AUTOPLAY_SITES_SETTING_CHANGE'. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D53752

--HG--
extra : moz-landing-system : lando
2019-11-19 14:39:16 +00:00
Ehsan Akhgari 659d5a38ee Bug 1596843 - Part 4: Remove some native only methods from nsIPermissionManager; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D53240

--HG--
extra : moz-landing-system : lando
2019-11-17 22:22:34 +00:00
Ehsan Akhgari d3690a33cf Bug 1596843 - Part 3: Remove the unused nsIPermissionManager.updateExpireTime() method; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D53239

--HG--
extra : moz-landing-system : lando
2019-11-17 22:22:26 +00:00
Ehsan Akhgari 64828b7697 Bug 1596843 - Part 2: Stop exposing nsIPermissionManager.removePermissionsWithAttributes(); r=baku
Differential Revision: https://phabricator.services.mozilla.com/D53238

--HG--
extra : moz-landing-system : lando
2019-11-17 22:22:24 +00:00
Ehsan Akhgari d793147c0c Bug 1596843 - Part 1: Remove the unused nsIPermissionManager.testPermissionFromWindow() method; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D53237

--HG--
extra : moz-landing-system : lando
2019-11-17 22:22:21 +00:00
Moritz Birghan 975648e245 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-11-18 13:03:58 +00:00
Noemi Erli 117375bafe Backed out 4 changesets (bug 1596843) for causing nsPermissionManager related failures
Backed out changeset 48577632f4b3 (bug 1596843)
Backed out changeset b9061f93d045 (bug 1596843)
Backed out changeset 691397c2fde6 (bug 1596843)
Backed out changeset 88e8383dc3e4 (bug 1596843)
2019-11-17 23:00:23 +02:00
Ehsan Akhgari ce669bf3af Bug 1596843 - Part 4: Remove some native only methods from nsIPermissionManager; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D53240

--HG--
extra : moz-landing-system : lando
2019-11-17 20:06:11 +00:00
Ehsan Akhgari 5478509264 Bug 1596843 - Part 3: Remove the unused nsIPermissionManager.updateExpireTime() method; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D53239

--HG--
extra : moz-landing-system : lando
2019-11-17 20:06:08 +00:00
Ehsan Akhgari c05273a531 Bug 1596843 - Part 2: Stop exposing nsIPermissionManager.removePermissionsWithAttributes(); r=baku
Differential Revision: https://phabricator.services.mozilla.com/D53238

--HG--
extra : moz-landing-system : lando
2019-11-17 20:06:06 +00:00
Ehsan Akhgari bab3fe707f Bug 1596843 - Part 1: Remove the unused nsIPermissionManager.testPermissionFromWindow() method; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D53237

--HG--
extra : moz-landing-system : lando
2019-11-17 20:06:04 +00:00
Ehsan Akhgari 7abf369283 Bug 1595935 - Remove a couple of long expired telemetry probes from the permission manager; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D52762

--HG--
extra : moz-landing-system : lando
2019-11-17 07:22:02 +00:00
Gurzau Raul 9c990aad98 Backed out 4 changesets (bug 1596843) for XPCShellTestsTests build bustage ona CLOSED TREE.
Backed out changeset 69ee727d5b45 (bug 1596843)
Backed out changeset a9827fae8655 (bug 1596843)
Backed out changeset 8b2220bc47af (bug 1596843)
Backed out changeset b10aec041377 (bug 1596843)
2019-11-17 11:07:15 +02:00
Ehsan Akhgari 0ad4207862 Bug 1596843 - Part 4: Remove some native only methods from nsIPermissionManager; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D53240

--HG--
extra : moz-landing-system : lando
2019-11-17 07:23:39 +00:00
Ehsan Akhgari 2e390a7aa7 Bug 1596843 - Part 3: Remove the unused nsIPermissionManager.updateExpireTime() method; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D53239

--HG--
extra : moz-landing-system : lando
2019-11-17 07:23:32 +00:00
Ehsan Akhgari a6b7fa0902 Bug 1596843 - Part 2: Stop exposing nsIPermissionManager.removePermissionsWithAttributes(); r=baku
Differential Revision: https://phabricator.services.mozilla.com/D53238

--HG--
extra : moz-landing-system : lando
2019-11-17 07:23:29 +00:00
Ehsan Akhgari 7664cbc2d4 Bug 1596843 - Part 1: Remove the unused nsIPermissionManager.testPermissionFromWindow() method; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D53237

--HG--
extra : moz-landing-system : lando
2019-11-17 07:23:27 +00:00
Valentin Gosu eb1c1972b8 Bug 1595242 - Move the offthread negotiate auth to dispatch to the background thread pool r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D52904

--HG--
extra : moz-landing-system : lando
2019-11-15 19:45:17 +00:00
Andrew McCreight c18473df1d Bug 1596834 - Use forceNewProcess in browser_permmgr_sync.js. r=mconley
Also fix a few typos in comments.

Differential Revision: https://phabricator.services.mozilla.com/D53229

--HG--
extra : moz-landing-system : lando
2019-11-15 17:24:11 +00:00
Michael Kaply fcf89c6721 Bug 1594584 - Marionette test for autoconfig. r=whimboo,kmag
Differential Revision: https://phabricator.services.mozilla.com/D52106

--HG--
extra : moz-landing-system : lando
2019-11-12 18:18:49 +00:00
Thomas Nguyen 17a6860942 Bug 1591113 - Remove support for third-party vibrate r=baku,snorp
Differential Revision: https://phabricator.services.mozilla.com/D52531

--HG--
extra : moz-landing-system : lando
2019-11-12 08:42:02 +00:00
Thomas Nguyen 7e65be9414 Bug 1583142 - Remove third-party "persistent-storage" prompting support r=baku
Differential Revision: https://phabricator.services.mozilla.com/D50908

--HG--
extra : moz-landing-system : lando
2019-11-07 14:29:02 +00:00
Ciure Andrei c5a6643d39 Backed out changeset dde0354521ab (bug 1583142) for causing PermissionDelegateHandler.cpp bustages CLOSED TREE 2019-11-07 14:17:02 +02:00
Thomas Nguyen f431604a62 Bug 1583142 - Remove third-party "persistent-storage" prompting support r=baku
Differential Revision: https://phabricator.services.mozilla.com/D50908

--HG--
extra : moz-landing-system : lando
2019-11-07 11:56:28 +00:00
Coroiu Cristina 27a753cc4a Backed out changeset 96048cce4b80 (bug 1571656) for xpcshell failures at toolkit/components/places/tests/unifiedcomplete/test_autofill_origins.js on a CLOSED TREE 2019-11-06 22:59:45 +02:00
Moritz Birghan 70c7a633fb 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-11-06 18:07:54 +00:00
Jorg K 376642ff2c Bug 1592922 - Fix typo in autoconfig's prefcalls.js. r=mkaply DONTBUILD
Adding DONTBUILD for a one character change in a string.

Differential Revision: https://phabricator.services.mozilla.com/D51256

--HG--
extra : moz-landing-system : lando
2019-10-31 16:18:57 +00:00
Paul Zuehlcke 7fcc94c765 Bug 1422056 - Put remaining permission userContextId OA stripping behind pref. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D50811

--HG--
extra : moz-landing-system : lando
2019-10-30 12:21:14 +00:00
Ehsan Akhgari a8a01884db Bug 1591803 - Part 2: Rename nsIPermissionManager.enumerator to all and turn it into an Array; r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D50753

--HG--
extra : moz-landing-system : lando
2019-10-29 01:56:25 +00:00
Arthur Iakab 9c93bb3a7a Backed out 2 changesets (bug 1591803) for causing build bustages on XULAlerts.cpp CLOSED TREE
Backed out changeset 7eff50262110 (bug 1591803)
Backed out changeset c0b6f37d24d2 (bug 1591803)
2019-10-29 03:37:07 +02:00
Ehsan Akhgari 8c1d9bf15d Bug 1591803 - Part 2: Rename nsIPermissionManager.enumerator to all and turn it into an Array; r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D50753

--HG--
extra : moz-landing-system : lando
2019-10-28 20:26:21 +00:00
Ehsan Akhgari 05b288d47f Bug 1591746 - Make nsIPermissionManager.getAllForPrincipal() return an Array<> instead of an XPCOM enumerator; r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D50717

--HG--
extra : moz-landing-system : lando
2019-10-29 01:13:57 +00:00
Arthur Iakab 470c5a07f1 Backed out 2 changesets (bug 1591803) for causing build busatges on PermissionManager.idl. CLOSED TREE
Backed out changeset 060f159fa43d (bug 1591803)
Backed out changeset b53a3d8c408d (bug 1591803)
2019-10-28 22:12:01 +02:00
Ehsan Akhgari f7eef9ebc5 Bug 1591803 - Part 2: Rename nsIPermissionManager.enumerator to all and turn it into an Array; r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D50753

--HG--
extra : moz-landing-system : lando
2019-10-28 13:55:56 +00:00
Ehsan Akhgari 9a5d7b4dfa Bug 1589407 - Part 1: Avoid calling nsPermissionManager::GetAllForPrincipal() if no permissions are available in the current process; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D50710

--HG--
extra : moz-landing-system : lando
2019-10-28 10:57:51 +00:00
Rob Wu 57e66afc2a Bug 1589754 - Rename nsGlobalWindowInner::GetTopLevelPrincipal r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D50068

--HG--
extra : moz-landing-system : lando
2019-10-24 12:57:21 +00:00
Rob Wu 1884e2a75a 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-24 12:57:23 +00:00
Paul Zuehlcke 46e33fe965 Bug 1422056 - Added permission manager OA strip test. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D49960

--HG--
extra : moz-landing-system : lando
2019-10-24 14:20:03 +00:00
Paul Zuehlcke c462a0fcba Bug 1422056 - Updated tests to account for permission manager OA stripping. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D48665

--HG--
extra : moz-landing-system : lando
2019-10-24 14:19:57 +00:00
Paul Zuehlcke 7b483252bd Bug 1588461 - Added OA StripAttributes flag for privateBrowsingId. r=johannh,ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D49174

--HG--
extra : moz-landing-system : lando
2019-10-24 14:18:54 +00:00
Paul Zuehlcke b68b9d1297 Bug 1422056 - nsPermissionManager: Disabled OA stripping for private browsing and added OA strip prefs. r=johannh,Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D48664

--HG--
extra : moz-landing-system : lando
2019-10-25 10:26:45 +00:00
Narcis Beleuzu ba16f78901 Backed out 2 changesets (bug 1589754) for mochitest failures on test_notification_permissions.html CLOSED TREE
Backed out changeset 120203cf34b0 (bug 1589754)
Backed out changeset 49e887cef91d (bug 1589754)

--HG--
extra : rebase_source : 9444ef674a85faec70c0d891caeb59af557d2de7
2019-10-24 15:51:34 +03:00
Rob Wu bcccc1d738 Bug 1589754 - Rename nsGlobalWindowInner::GetTopLevelPrincipal r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D50068

--HG--
extra : moz-landing-system : lando
2019-10-23 18:14:44 +00:00