Commit Graph

3117 Commits

Author SHA1 Message Date
Masayuki Nakano
18b65250c8 Bug 970802 - part 4: Make TextControlState dispatch "beforeinput" event if there is no TextEditor r=smaug
If `TextControlState` does not have `TextEditor` and its `SetValue()` is called
from `SetUserInput()`, `TextControlState` itself needs to dispatch `beforeinput`
event.

If the value is modified by `beforeinput` event listener, it's intended that
`preventDefault()` is called by the web apps.  However, the behavior in this
case is not mentioned by UI Events nor Input Events spec.  We should just file
a spec issue instead of emulating Chrome's behavior for now because it requires
more changes, but this case must be an edge case.
The spec issue is: https://github.com/w3c/input-events/issues/106

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

--HG--
extra : moz-landing-system : lando
2020-01-14 07:16:34 +00:00
Masayuki Nakano
0bf0eeeaa0 Bug 970802 - part 1: Add beforeinput event tests into existing mochitests r=smaug
This patch adds a lot of `beforeinput` event tests into existing mochitests
which test `input` events.  But this does not add tests of canceling
`beforeinput` event because it requires really complicated path until
implementing `beforeinput` actually.

Note that `beforeinput` event is not fired with `Document.execCommand()`.
Therefore, this patch does not add WPT for testing `beforeinput` event.
And unfortunately, WPT cannot test most cases of the new tests.

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

--HG--
extra : moz-landing-system : lando
2020-01-14 07:14:50 +00:00
Razvan Maries
0df75c8122 Backed out 5 changesets (bug 970802) for xpcshell perma fails. CLOSED TREE
Backed out changeset 5511edd700f7 (bug 970802)
Backed out changeset 1fb9cf2264b6 (bug 970802)
Backed out changeset 6b185296c742 (bug 970802)
Backed out changeset ce6853e64ed6 (bug 970802)
Backed out changeset aa9bd45c09b1 (bug 970802)
2020-01-14 04:41:15 +02:00
Masayuki Nakano
00f4c31bb7 Bug 970802 - part 5: Make AutoEditActionDataSetter created method dispatch "beforeinput" event r=smaug,m_kato
`AutoEditActionDataSetter` is created in the stack when editor's public method
is called and that guarantees lifetime of global objects in editor such as
editor itself, selection controller, etc.

The dispatcher of `beforeinput` event returns `NS_ERROR_EDITOR_ACTION_CANCELED`
if an event is actually dispatched but canceled.  The reason why it's an error
is, editor code must stop handling anything when any methods return error.
So, returning an error code is reasonable in editor module.  But when it's
filtered by `EditorBase::ToGenericNSResult()` at return statement of public
methods, it's converted to `NS_SUCCESS_DOM_NO_OPERATION`.  This avoids throwing
new exception, but editor class users in C++ can distinguish whether each edit
action is canceled or handled.  The reason why we should not throw new
exception from XPCOM API is, without taking care of each caller may break some
our UI (especially for avoiding to break comm-central).  Therefore, this patch
does not make XPCOM methods return error code when `beforeinput` event is
canceled.

In most cases, immediately after creating `AutoEditActionDataSetter` is good
timing to dispatch `beforeinput` event since editor has not touched the DOM
yet.  If `beforeinput` requires `data` or `dataTransfer`, methods need to
dispatch `beforeinput` event after that.  Alhtough this is not a good thing
from point of view of consistency of the code.  However, I have no better
idea.

Note 1: Our implementation does NOT conform to the spec about event order
between `keypress` and `beforeinput` (dispatching `beforeinput` event after
`keypress` event).  However, we follow all other browsers' behavior so that it
must be safe and the spec should be updated for backward compatibility.
Spec issue: https://github.com/w3c/uievents/issues/220

Note 2: Our implementation does NOT conform to the spec about event order
between `compositionupdate` and `beforeinput`.  Our behavior is same as
Safari, but different from Chrome.  This might cause web-compat issues.
However, our behavior does make sense from point of view of consistency of
event spec.  Additionally, at both `compositionupdate` and `beforeinput`,
composition string in editor has not been modified yet.  Therefore, this
may not cause web-compat issues (and I hope so).
Spec issue: https://github.com/w3c/input-events/issues/49

Note that this patch makes editor detect bugs that `beforeinput` event hasn't
been handled yet when it dispatches `input` event or modifying `data` and
`dataTransfer` value are modified after dispatching `beforeinput` event with
`MOZ_ASSERT`s.

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

--HG--
extra : moz-landing-system : lando
2020-01-14 01:09:45 +00:00
Masayuki Nakano
f52c17a188 Bug 970802 - part 4: Make TextControlState dispatch "beforeinput" event if there is no TextEditor r=smaug
If `TextControlState` does not have `TextEditor` and its `SetValue()` is called
from `SetUserInput()`, `TextControlState` itself needs to dispatch `beforeinput`
event.

If the value is modified by `beforeinput` event listener, it's intended that
`preventDefault()` is called by the web apps.  However, the behavior in this
case is not mentioned by UI Events nor Input Events spec.  We should just file
a spec issue instead of emulating Chrome's behavior for now because it requires
more changes, but this case must be an edge case.
The spec issue is: https://github.com/w3c/input-events/issues/106

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

--HG--
extra : moz-landing-system : lando
2020-01-08 09:24:33 +00:00
Masayuki Nakano
583465bce4 Bug 970802 - part 1: Add beforeinput event tests into existing mochitests r=smaug
This patch adds a lot of `beforeinput` event tests into existing mochitests
which test `input` events.  But this does not add tests of canceling
`beforeinput` event because it requires really complicated path until
implementing `beforeinput` actually.

Note that `beforeinput` event is not fired with `Document.execCommand()`.
Therefore, this patch does not add WPT for testing `beforeinput` event.
And unfortunately, WPT cannot test most cases of the new tests.

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

--HG--
extra : moz-landing-system : lando
2020-01-08 09:22:50 +00:00
Johann Hofmann
620e65a48a Bug 1608763 - Assign DoH Rollout component to Firefox::Security. r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D59659

--HG--
extra : moz-landing-system : lando
2020-01-14 00:34:17 +00:00
Tooru Fujisawa
8a7e982608 Bug 1259822 - Part 2: Show property key in the error message when target object value is null or undefined. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D58104

--HG--
extra : moz-landing-system : lando
2020-01-11 05:10:54 +00:00
Ryan VanderMeulen
5af29b2e62 Bug 1608186 - Update pdf.js to version 2.4.264. r=bdahl
Differential Revision: https://phabricator.services.mozilla.com/D59379

--HG--
extra : moz-landing-system : lando
2020-01-10 21:29:12 +00:00
Nihanth Subramanya
3be5f39f0a Bug 1605008 - Don't overwrite skip heuristics pref to ensure heuristics aren't run after network changes. r=maxxcrawford
Ported from Github PR #214 https://github.com/mozilla/doh-rollout/pull/214

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

--HG--
extra : moz-landing-system : lando
2020-01-09 02:10:29 +00:00
Kris Maglione
d85d1fedb7 Bug 1603014: Wait for content tasks to add listener before triggering things they're listening for. r=mccr8
SpecialPowers.spawn bounces tasks off SpecialPowersParent before sending them
to SpecialPowersChild, which means that any operations which are sent
immediately afterwards and take a more direct route (like zoom changes) will
get to the content process before the task starts running. In the case of
tasks which depending on registering a listener before said operations take
place, this is obviously a problem.

So this patch fixes those cases in this test to wait for the listeners to be
setup before continuing.

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

--HG--
extra : moz-landing-system : lando
2020-01-05 00:38:19 +00:00
Brindusan Cristian
3a213de941 Bug 1603014 - Disable on OSX for frequent failures. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D58698

--HG--
extra : moz-landing-system : lando
2020-01-05 11:51:47 +00:00
Daniel Varga
1d798d7582 Bug 1605297 - disable browser_policyOverride.js for frequent failures. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D58421

--HG--
extra : moz-landing-system : lando
2020-01-01 23:34:25 +00:00
Emily McDonough
2847897c46 Bug 1606342 - Make sure dropdowns in the saved addresses preferences keep within their parent max-width. r=MattN
This was broken by bug 1591925, which changed the min-size calculation for
auto/unspecified min-width on elements inside of flexbox.

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

--HG--
extra : moz-landing-system : lando
2020-01-02 18:14:42 +00:00
Michael Kaply
ce18ace1e4 Bug 1599935 - Make unsupported PDF features a warning. r=bdahl
Differential Revision: https://phabricator.services.mozilla.com/D55527

--HG--
extra : moz-landing-system : lando
2020-01-02 18:30:16 +00:00
Ryan VanderMeulen
c0c02a8427 Bug 1606634 - Update pdf.js to version 2.4.254. r=bdahl
Differential Revision: https://phabricator.services.mozilla.com/D58521

--HG--
extra : moz-landing-system : lando
2020-01-02 18:20:07 +00:00
Noemi Erli
eb29d678e9 Backed out changeset b2027d7f6480 (bug 1605297) for failures in browser_cleanFlow.js CLOSED TREE 2020-01-02 20:22:39 +02:00
Nihanth Subramanya
15616d95ec Bug 1605297 - Wait for balrog migration at test start to prevent intermittent failures in DoH tests. r=JuniorHsu
There was a race between the add-on adding its pref listener and us flipping the enabled pref. By waiting for
the balrog migration, we give the add-on time to start listening for the pref before setting it.

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

--HG--
extra : moz-landing-system : lando
2020-01-01 23:34:25 +00:00
Mike Conley
8bdfa0e67a Bug 1592286 - Add a WebCompat experimental API for mapping MatchPatterns to Picture-in-Picture toggle position policies. r=denschub
Differential Revision: https://phabricator.services.mozilla.com/D57375

--HG--
extra : moz-landing-system : lando
2019-12-20 21:10:25 +00:00
shindli
143073ad50 Backed out changeset bf4b4d3108f9 (bug 1602898) for causing bc failures in browser/components/ssb/tests/browser/browser_ssb_windowlocation.js CLOSED TREE 2019-12-21 02:22:06 +02:00
Kris Maglione
a8523a3bae Bug 1602898: Rename Window.getWindowGlobalChild() to .windowGlobalChild. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D56609

--HG--
extra : moz-landing-system : lando
2019-12-20 21:41:26 +00:00
Nihanth Subramanya
e033906053 Bug 1598221 - Implement tests for DoH rollout add-on. r=JuniorHsu,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D57414

--HG--
extra : moz-landing-system : lando
2019-12-19 23:27:48 +00:00
mcrawford@mozilla.com
c584b43463 Bug 1603478 - The 1.3.0 in-tree add-on doesn't respect user's set policies r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D57118

--HG--
extra : moz-landing-system : lando
2019-12-17 17:05:28 +00:00
Matt Woodrow
a925a86ada Bug 1574372 - Add API to test stream converters to find out their output type. r=bzbarsky
We don't want to run stream conversion in the parent (since a lot of them require access to the document), so this instead adds a way to find out what their output type will be.

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

--HG--
extra : moz-landing-system : lando
2019-12-17 03:02:02 +00:00
Oana Pop Rus
5545e5a016 Backed out 9 changesets (bug 1574372) for bustage and wpt failures. on a CLOSED TREE
Backed out changeset b0183a606fec (bug 1574372)
Backed out changeset b7c96254826e (bug 1574372)
Backed out changeset 196d61adc272 (bug 1574372)
Backed out changeset 419b94b1210e (bug 1574372)
Backed out changeset c192e499eb47 (bug 1574372)
Backed out changeset 4e57038c3518 (bug 1574372)
Backed out changeset 6ec2aa542b59 (bug 1574372)
Backed out changeset d71b4c0aac1a (bug 1574372)
Backed out changeset a05c3b113ac1 (bug 1574372)
2019-12-17 03:26:38 +02:00
Matt Woodrow
d1851fa263 Bug 1574372 - Add API to test stream converters to find out their output type. r=bzbarsky
We don't want to run stream conversion in the parent (since a lot of them require access to the document), so this instead adds a way to find out what their output type will be.

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

--HG--
extra : moz-landing-system : lando
2019-12-16 21:40:06 +00:00
Kirk Steuber
b882153384 Bug 1603554 - Replace XULElement.align with getAttribute/setAttribute r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D57157

--HG--
extra : moz-landing-system : lando
2019-12-13 21:26:05 +00:00
Kris Maglione
3cb2072737 Bug 1596918: Part 4e - Fix callers which rely on frame message manager globals. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D53746

--HG--
extra : moz-landing-system : lando
2019-12-13 20:36:40 +00:00
Kris Maglione
9853440599 Bug 1596918: Part 3b - Run code formatters on files changed by previous patch. r=mccr8,remote-protocol-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D53741

--HG--
extra : moz-landing-system : lando
2019-12-13 20:36:24 +00:00
Kris Maglione
94e3b0bd8d Bug 1596918: Part 3a - Scripted rewrite of most ContentTask.spawn calls to SpecialPowers.spawn calls. r=mccr8,remote-protocol-reviewers,ato
This is generally pretty straightforward, and rewrites nearly all calls. It
skips the ones that it can detect using frame script globals like
`sendAsyncMessage`, though.

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

--HG--
extra : moz-landing-system : lando
2019-12-13 20:36:16 +00:00
Emma Malysz
be0238569b Bug 1601090, rename .xul files to .xhtml in toolkit/mozapps r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D55837

--HG--
rename : toolkit/mozapps/downloads/content/unknownContentType.xul => toolkit/mozapps/downloads/content/unknownContentType.xhtml
rename : toolkit/mozapps/extensions/content/blocklist.xul => toolkit/mozapps/extensions/content/blocklist.xhtml
rename : toolkit/mozapps/extensions/content/extensions.xul => toolkit/mozapps/extensions/content/extensions.xhtml
rename : toolkit/mozapps/handling/content/dialog.xul => toolkit/mozapps/handling/content/dialog.xhtml
rename : toolkit/mozapps/update/content/updateElevation.xul => toolkit/mozapps/update/content/updateElevation.xhtml
extra : moz-landing-system : lando
2019-12-12 16:30:59 +00:00
Ryan VanderMeulen
0e1aa31bb9 Bug 1602858 - Update pdf.js to version 2.4.176. r=bdahl
Differential Revision: https://phabricator.services.mozilla.com/D56568

--HG--
extra : moz-landing-system : lando
2019-12-11 22:59:06 +00:00
Neil Deakin
e27bc63563 Bug 1595154, make sure the message observer is removed after focus is complete in form autofill tests, also move removing of observer from willDestroy to didDestroy so it is more consistently called, r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D54945

--HG--
extra : moz-landing-system : lando
2019-12-11 13:38:35 +00:00
Neil Deakin
a3b79c2f38 Bug 1595154, add a test for form fillin that uses a child iframe loaded in a separate process, r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D52723

--HG--
extra : moz-landing-system : lando
2019-12-11 13:38:13 +00:00
Neil Deakin
c93677f198 Bug 1595154, change FormAutofillParent to inherit from JSWindowActor, r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D52722

--HG--
extra : moz-landing-system : lando
2019-12-11 13:37:59 +00:00
Neil Deakin
75efe08ebc Bug 1595154, replace the frame script FormAutofillFrameScript.js with an actor and fix up setTimeout calls in places that were relying on Timer.jsm being loaded in that frame script, r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D52721

--HG--
rename : browser/extensions/formautofill/content/FormAutofillFrameScript.js => browser/extensions/formautofill/FormAutofillChild.jsm
extra : moz-landing-system : lando
2019-12-11 13:37:51 +00:00
shindli
91924fedc7 Backed out 9 changesets (bug 1596918) for causing mochitest permafailures in toolkit/content/tests/chrome/test_findbar_events.xhtml CLOSED TREE
Backed out changeset 45a1c42118f2 (bug 1596918)
Backed out changeset db09910ffa56 (bug 1596918)
Backed out changeset 5c9d9f141c10 (bug 1596918)
Backed out changeset 6a135670d603 (bug 1596918)
Backed out changeset 3a0184e0df72 (bug 1596918)
Backed out changeset 2f0036486823 (bug 1596918)
Backed out changeset a770c6d08d52 (bug 1596918)
Backed out changeset ef062eb7a6ee (bug 1596918)
Backed out changeset a6ea596e98db (bug 1596918)
2019-12-11 03:09:26 +02:00
Kris Maglione
cee320b5fb Bug 1596918: Part 4g - Misc cleanup/fixes. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D53748

--HG--
extra : moz-landing-system : lando
2019-12-10 23:07:41 +00:00
Kris Maglione
d7164b11c3 Bug 1596918: Part 4e - Fix callers which rely on frame message manager globals. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D53746

--HG--
extra : moz-landing-system : lando
2019-12-10 23:07:28 +00:00
Kris Maglione
3ca78ce8e3 Bug 1596918: Part 3b - Run code formatters on files changed by previous patch. r=mccr8,remote-protocol-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D53741

--HG--
extra : moz-landing-system : lando
2019-12-10 23:07:21 +00:00
Kris Maglione
16a9b29848 Bug 1596918: Part 3a - Scripted rewrite of most ContentTask.spawn calls to SpecialPowers.spawn calls. r=mccr8,remote-protocol-reviewers,ato
This is generally pretty straightforward, and rewrites nearly all calls. It
skips the ones that it can detect using frame script globals like
`sendAsyncMessage`, though.

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

--HG--
extra : moz-landing-system : lando
2019-12-10 23:07:13 +00:00
Kirk Steuber
589b7532ea Bug 1585482 - Restructure all <xul:dialog> usages such that they are not the top level element r=bgrins
This patch also includes necessary JS changes to support this. Most commonly, the dialog was accessed with document.documentElement, which needed to be changed now that the dialog is not the top level element.

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

--HG--
extra : moz-landing-system : lando
2019-12-10 18:25:59 +00:00
Noemi Erli
82d41a33b2 Backed out 9 changesets (bug 1596918) for causing multiple browser-chrome failures
Backed out changeset 415007efd8c9 (bug 1596918)
Backed out changeset 011eb5ce927b (bug 1596918)
Backed out changeset e5fd3ee22ea1 (bug 1596918)
Backed out changeset 0bca4de31d40 (bug 1596918)
Backed out changeset 11ec4393f23d (bug 1596918)
Backed out changeset c5404a7c286d (bug 1596918)
Backed out changeset 7e9304405a46 (bug 1596918)
Backed out changeset fa0f0aeabf99 (bug 1596918)
Backed out changeset de196b077000 (bug 1596918)
2019-12-07 22:26:43 +02:00
Kris Maglione
84fa9ffb2a Bug 1596918: Part 4g - Misc cleanup/fixes. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D53748

--HG--
extra : moz-landing-system : lando
2019-12-07 18:44:35 +00:00
Kris Maglione
63b8ddb1c0 Bug 1596918: Part 4e - Fix callers which rely on frame message manager globals. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D53746

--HG--
extra : moz-landing-system : lando
2019-12-07 18:44:35 +00:00
Kris Maglione
fa3556c3fc Bug 1596918: Part 3b - Run code formatters on files changed by previous patch. r=mccr8,remote-protocol-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D53741

--HG--
extra : moz-landing-system : lando
2019-12-07 18:44:34 +00:00
Kris Maglione
910eab35d2 Bug 1596918: Part 3a - Scripted rewrite of most ContentTask.spawn calls to SpecialPowers.spawn calls. r=mccr8,remote-protocol-reviewers,ato
This is generally pretty straightforward, and rewrites nearly all calls. It
skips the ones that it can detect using frame script globals like
`sendAsyncMessage`, though.

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

--HG--
extra : moz-landing-system : lando
2019-12-07 19:11:58 +00:00
Daniel Varga
84a601a6d4 Backed out 17 changesets (bug 1596918) for multiple browser-chrome and dev-tools failures. On a CLOSED TREE
Backed out changeset ab87d2c1afae (bug 1596918)
Backed out changeset 775f3b06a687 (bug 1596918)
Backed out changeset 67cc63ef5d7f (bug 1596918)
Backed out changeset 7d290bcd2067 (bug 1596918)
Backed out changeset 048db9f4db7c (bug 1596918)
Backed out changeset 96a79d2ba614 (bug 1596918)
Backed out changeset be770d112dd8 (bug 1596918)
Backed out changeset 302c8ab8391c (bug 1596918)
Backed out changeset 44ef8f20732e (bug 1596918)
Backed out changeset 38c11ebfb8ff (bug 1596918)
Backed out changeset b586fc081374 (bug 1596918)
Backed out changeset 12283166716f (bug 1596918)
Backed out changeset 99b0421015d8 (bug 1596918)
Backed out changeset 97ec49dbbbf3 (bug 1596918)
Backed out changeset ec79478f58f1 (bug 1596918)
Backed out changeset c6d356833bb8 (bug 1596918)
Backed out changeset 5ef6026806c8 (bug 1596918)
2019-12-07 03:12:07 +02:00
Kris Maglione
cd579034cc Bug 1596918: Part 4g - Misc cleanup/fixes. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D53748

--HG--
extra : moz-landing-system : lando
2019-12-06 22:14:43 +00:00
Kris Maglione
41c61c2bb9 Bug 1596918: Part 4e - Fix callers which rely on frame message manager globals. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D53746

--HG--
extra : moz-landing-system : lando
2019-12-06 22:15:29 +00:00
Kris Maglione
b5238224ba Bug 1596918: Part 3b - Run code formatters on files changed by previous patch. r=mccr8,remote-protocol-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D53741

--HG--
extra : moz-landing-system : lando
2019-12-06 22:14:22 +00:00
Kris Maglione
20da940e14 Bug 1596918: Part 3a - Scripted rewrite of most ContentTask.spawn calls to SpecialPowers.spawn calls. r=mccr8,remote-protocol-reviewers,ato
This is generally pretty straightforward, and rewrites nearly all calls. It
skips the ones that it can detect using frame script globals like
`sendAsyncMessage`, though.

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

--HG--
extra : moz-landing-system : lando
2019-12-06 22:14:14 +00:00
Ryan VanderMeulen
df44a5ec51 Bug 1600994 - Update pdf.js to version 2.4.163. r=bdahl
Differential Revision: https://phabricator.services.mozilla.com/D55694

--HG--
extra : moz-landing-system : lando
2019-12-05 17:12:56 +00:00
Ciure Andrei
7229b5803b Backed out 5 changesets (bug 1595154) for causing talos performance tests failures CLOSED TREE
Backed out changeset 498f750ed88a (bug 1595154)
Backed out changeset 45481561c120 (bug 1595154)
Backed out changeset 8ca3c106fc8d (bug 1595154)
Backed out changeset 7ffa8f958d0a (bug 1595154)
Backed out changeset 444505b4936b (bug 1595154)

--HG--
rename : browser/extensions/formautofill/FormAutofillChild.jsm => browser/extensions/formautofill/content/FormAutofillFrameScript.js
2019-12-04 21:07:05 +02:00
Nihanth Subramanya
8d40aaaad5 Bug 1601247 - Call AddonTestUtils.overrideCertDB() in doh-rollout test to ensure it's considered privileged. r=zombie
Differential Revision: https://phabricator.services.mozilla.com/D55792

--HG--
extra : moz-landing-system : lando
2019-12-04 15:32:47 +00:00
Neil Deakin
93bebc1ca0 Bug 1595154, make sure the message observer is removed after focus is complete in form autofill tests, also move removing of observer from willDestroy to didDestroy so it is more consistently called, r=MattN
Depends on D54944

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

--HG--
extra : moz-landing-system : lando
2019-12-03 16:18:04 +00:00
Neil Deakin
f1796bcf55 Bug 1595154, add a test for form fillin that uses a child iframe loaded in a separate process, r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D52723

--HG--
extra : moz-landing-system : lando
2019-12-04 11:45:17 +00:00
Neil Deakin
84e9411376 Bug 1595154, change FormAutofillParent to inherit from JSWindowActor, r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D52722

--HG--
extra : moz-landing-system : lando
2019-12-04 11:45:15 +00:00
Neil Deakin
0fe11bd612 Bug 1595154, replace the frame script FormAutofillFrameScript.js with an actor and fix up setTimeout calls in places that were relying on Timer.jsm being loaded in that frame script, r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D52721

--HG--
rename : browser/extensions/formautofill/content/FormAutofillFrameScript.js => browser/extensions/formautofill/FormAutofillChild.jsm
extra : moz-landing-system : lando
2019-12-04 11:45:10 +00:00
Geoff Brown
9e59579c39 Bug 1601076 - Fix some broken BUG_COMPONENTS in moz.build files; r=jmaher
Some of these were obvious typos. Others probably reflect once-correct components
that have been combined, split, or otherwise obsoleted; for these I've tried to
use the component associated with the bugs for recent changes to the affected files.

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

--HG--
extra : moz-landing-system : lando
2019-12-04 13:55:45 +00:00
Nihanth Subramanya
874e5c0f9e Bug 1600783 - Test doh-rollout addon's local storage migration. r=mixedpuppy,maxxcrawford
Differential Revision: https://phabricator.services.mozilla.com/D55558

--HG--
extra : moz-landing-system : lando
2019-12-03 23:45:14 +00:00
Noemi Erli
d67d8f7e90 Backed out changeset a5a8226554d8 (bug 1600783) for causing failures in browser_localStorageMigration.js CLOSED TREE 2019-12-03 01:33:03 +02:00
Nihanth Subramanya
fc4bbb0381 Bug 1600783 - Test doh-rollout addon's local storage migration. r=mixedpuppy,maxxcrawford
Differential Revision: https://phabricator.services.mozilla.com/D55558

--HG--
extra : moz-landing-system : lando
2019-12-02 22:08:58 +00:00
Nihanth Subramanya
f81d57320e Bug 1598223 - Bump version to 1.3.0. r=rhelmer
Differential Revision: https://phabricator.services.mozilla.com/D55341

--HG--
extra : moz-landing-system : lando
2019-11-30 02:41:19 +00:00
Nihanth Subramanya
a9804fa232 Bug 1598223 - Set strict_min_version to 72.0a1. r=maxxcrawford
Differential Revision: https://phabricator.services.mozilla.com/D55332

--HG--
extra : moz-landing-system : lando
2019-11-29 22:20:52 +00:00
Nihanth Subramanya
0f44874bdb Bug 1598223 - Remove en_CA and en_GB strings - identical to en_US for now. r=maxxcrawford,flod
Differential Revision: https://phabricator.services.mozilla.com/D55153

--HG--
extra : moz-landing-system : lando
2019-11-29 22:14:35 +00:00
Nihanth Subramanya
82f3978948 Bug 1598223 - Properly abort at init if disabled. r=mixedpuppy,maxxcrawford
Differential Revision: https://phabricator.services.mozilla.com/D54627

--HG--
extra : moz-landing-system : lando
2019-11-29 21:37:35 +00:00
Nihanth Subramanya
405c78fdc4 Bug 1598223 - Clean up and fix captive portal logic. r=mixedpuppy,maxxcrawford
Differential Revision: https://phabricator.services.mozilla.com/D54626

--HG--
extra : moz-landing-system : lando
2019-11-29 22:21:53 +00:00
Nihanth Subramanya
47813a6a87 Bug 1598223 - Replace netChange WEE with networkStatus API. r=mixedpuppy,maxxcrawford
Differential Revision: https://phabricator.services.mozilla.com/D54625

--HG--
extra : moz-landing-system : lando
2019-11-28 19:13:02 +00:00
Nihanth Subramanya
a25e8fd518 Bug 1598223 - Clean up background scripts. r=mixedpuppy,maxxcrawford
Differential Revision: https://phabricator.services.mozilla.com/D54624

--HG--
extra : moz-landing-system : lando
2019-11-28 19:14:10 +00:00
Nihanth Subramanya
dc008a108f Bug 1598223 - Clean up experiment APIs and schemas. r=mixedpuppy,maxxcrawford
Differential Revision: https://phabricator.services.mozilla.com/D54623

--HG--
extra : moz-landing-system : lando
2019-11-28 16:05:18 +00:00
Nihanth Subramanya
ff584f741a Bug 1598223 - Fix scoping issues with imports in WEE api scripts. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D54622

--HG--
extra : moz-landing-system : lando
2019-11-28 16:04:50 +00:00
Nihanth Subramanya
e48ad7ccc0 Bug 1598223 - Pass an object to ExtensionPreferencesManager.getSettingsAPI instead of split arguments. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D54621

--HG--
extra : moz-landing-system : lando
2019-11-28 16:04:27 +00:00
Nihanth Subramanya
18f3b61881 Bug 1598223 - Remove Normandy study remnants. r=mixedpuppy,maxxcrawford
Differential Revision: https://phabricator.services.mozilla.com/D54620

--HG--
extra : moz-landing-system : lando
2019-11-28 16:03:59 +00:00
Nihanth Subramanya
27dee3bb90 Bug 1598223 - Add moz.build. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D54619

--HG--
extra : moz-landing-system : lando
2019-11-28 16:03:36 +00:00
Nihanth Subramanya
adaa4d2a6f Bug 1598223 - Fix issues caught by eslint in initial import. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D54618

--HG--
extra : moz-landing-system : lando
2019-11-28 16:03:16 +00:00
Nihanth Subramanya
c6da6883d3 Bug 1598223 - Import doh-rollout src from github into browser/extensions. r=mixedpuppy
Based on upstream 0bb6e992f7

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

--HG--
extra : moz-landing-system : lando
2019-11-28 16:21:52 +00:00
Ryan VanderMeulen
ecce4a80cd Bug 1598435 - Update pdf.js to version 2.4.152. r=bdahl
Differential Revision: https://phabricator.services.mozilla.com/D54182

--HG--
extra : moz-landing-system : lando
2019-11-26 19:45:52 +00:00
Sylvestre Ledru
e94f355d96 Bug 1596911 - Add missing license headers on the new managed extensions r=Gijs,MattN
Depends on D53267

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

--HG--
extra : moz-landing-system : lando
2019-11-26 15:00:00 +00:00
Andreea Pavel
03a2c54d6f Backed out 3 changesets (bug 1595154) for failing bc at browser_autocomplete_marked_detached_tab.js on a CLOSED TREE
Backed out changeset f512953534ac (bug 1595154)
Backed out changeset 803a2dfdda82 (bug 1595154)
Backed out changeset ddd336d5bf1a (bug 1595154)

--HG--
rename : browser/extensions/formautofill/FormAutofillChild.jsm => browser/extensions/formautofill/content/FormAutofillFrameScript.js
2019-11-20 05:03:37 +02:00
Ksenia Berezina
16ae1b1a99 Bug 1593684 - Send additional metadata via postMessage instead of POST from report site issue extension r=twisniewski,miketaylr
Differential Revision: https://phabricator.services.mozilla.com/D52391

--HG--
extra : moz-landing-system : lando
2019-11-19 17:30:41 +00:00
Neil Deakin
626faebde9 Bug 1595154, add a test for form fillin that uses a child iframe loaded in a separate process, r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D52723

--HG--
extra : moz-landing-system : lando
2019-11-20 01:25:40 +00:00
Neil Deakin
0541c1228b Bug 1595154, change FormAutofillParent to inherit from JSWindowActor, r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D52722

--HG--
extra : moz-landing-system : lando
2019-11-20 01:25:27 +00:00
Neil Deakin
a6095ebaf4 Bug 1595154, replace the frame script FormAutofillFrameScript.js with an actor and fix up setTimeout calls in places that were relying on Timer.jsm being loaded in that frame script, r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D52721

--HG--
rename : browser/extensions/formautofill/content/FormAutofillFrameScript.js => browser/extensions/formautofill/FormAutofillChild.jsm
extra : moz-landing-system : lando
2019-11-20 01:25:20 +00:00
Agi Sferro
46ba797423 Bug 1530402 - Refactor desktop's ext-{page,browser}Action. r=mixedpuppy
This patch refactors Desktop's implementation of Page and Browser actions to
decouple the logic inside a common Action object that can be used to implement
actions on other platforms, like mobile, without re-implementing it.

A follow-up commit will use this common logic on the mobile implementation.

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

--HG--
extra : moz-landing-system : lando
2019-11-18 16:48:48 +00:00
Noemi Erli
9548dd980a Backed out 13 changesets (bug 1530402, bug 1533156) for causing raptor failures CLOSED TREE
Backed out changeset 6d7b7d22b0c6 (bug 1530402)
Backed out changeset acea32ec5975 (bug 1530402)
Backed out changeset 597e32ad2f5b (bug 1530402)
Backed out changeset 352068fe68bc (bug 1530402)
Backed out changeset e0ae4f16f7ed (bug 1530402)
Backed out changeset 282b033c7daa (bug 1530402)
Backed out changeset 72274a5a821b (bug 1530402)
Backed out changeset 3d3366fe476f (bug 1530402)
Backed out changeset 7400c3fd2b5f (bug 1530402)
Backed out changeset 23d43a425641 (bug 1530402)
Backed out changeset 83b9603f5fa1 (bug 1530402)
Backed out changeset 50c50a80e881 (bug 1533156)
Backed out changeset 5975264fd34b (bug 1530402)

--HG--
rename : toolkit/components/extensions/schemas/browser_action.json => browser/components/extensions/schemas/browser_action.json
rename : toolkit/components/extensions/schemas/page_action.json => browser/components/extensions/schemas/page_action.json
extra : rebase_source : 551e88b6719692756499387e93f797454a336180
2019-11-15 18:57:20 +02:00
Agi Sferro
f300e5291b Bug 1530402 - Refactor desktop's ext-{page,browser}Action. r=mixedpuppy
This patch refactors Desktop's implementation of Page and Browser actions to
decouple the logic inside a common Action object that can be used to implement
actions on other platforms, like mobile, without re-implementing it.

A follow-up commit will use this common logic on the mobile implementation.

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

--HG--
extra : moz-landing-system : lando
2019-11-15 16:33:39 +00:00
Andreea Pavel
30f5e9486a Backed out 13 changesets (bug 1530402, bug 1533156) for failing test_ext_tabs_query.html on a CLOSED TREE
Backed out changeset aa9499a196e3 (bug 1530402)
Backed out changeset ce12e494a189 (bug 1530402)
Backed out changeset 1b053a203af9 (bug 1530402)
Backed out changeset f57bc0ee284b (bug 1530402)
Backed out changeset 701de7bcb484 (bug 1530402)
Backed out changeset ab7b21969769 (bug 1530402)
Backed out changeset c7b8cc91f245 (bug 1530402)
Backed out changeset e2be10dbad5e (bug 1530402)
Backed out changeset f52a8fedcded (bug 1530402)
Backed out changeset 4fcca36d5b3e (bug 1530402)
Backed out changeset 82b28001164b (bug 1530402)
Backed out changeset 1dc6a4ebc9e1 (bug 1533156)
Backed out changeset ae5ead19921d (bug 1530402)

--HG--
rename : toolkit/components/extensions/schemas/browser_action.json => browser/components/extensions/schemas/browser_action.json
rename : toolkit/components/extensions/schemas/page_action.json => browser/components/extensions/schemas/page_action.json
2019-11-15 05:48:23 +02:00
Ryan VanderMeulen
58ed80e871 Bug 1595519 - Update pdf.js to version 2.4.127. r=bdahl
Differential Revision: https://phabricator.services.mozilla.com/D52545

--HG--
extra : moz-landing-system : lando
2019-11-14 16:37:46 +00:00
Agi Sferro
13a7622d26 Bug 1530402 - Refactor desktop's ext-{page,browser}Action. r=mixedpuppy
This patch refactors Desktop's implementation of Page and Browser actions to
decouple the logic inside a common Action object that can be used to implement
actions on other platforms, like mobile, without re-implementing it.

A follow-up commit will use this common logic on the mobile implementation.

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

--HG--
extra : moz-landing-system : lando
2019-11-14 19:08:33 +00:00
Csoregi Natalia
4cf34e2666 Backed out 13 changesets (bug 1530402, bug 1533156) for multiple failures e.g columnrule-linestyles.html and test_composite.html. CLOSED TREE
Backed out changeset 9e55fee783ff (bug 1530402)
Backed out changeset f6af9d6a5482 (bug 1530402)
Backed out changeset bf09025d6f98 (bug 1530402)
Backed out changeset 9717ba255826 (bug 1530402)
Backed out changeset e34768ee01db (bug 1530402)
Backed out changeset b540d7b34ef6 (bug 1530402)
Backed out changeset 126af041394b (bug 1530402)
Backed out changeset cf16e02e62cd (bug 1530402)
Backed out changeset 3638fcff5bed (bug 1530402)
Backed out changeset 9630bed0ca2c (bug 1530402)
Backed out changeset 1aa5898efa5f (bug 1530402)
Backed out changeset 7462bbe4e676 (bug 1533156)
Backed out changeset 536a4cac3ffe (bug 1530402)

--HG--
rename : toolkit/components/extensions/schemas/browser_action.json => browser/components/extensions/schemas/browser_action.json
rename : toolkit/components/extensions/schemas/page_action.json => browser/components/extensions/schemas/page_action.json
2019-11-14 03:46:37 +02:00
Agi Sferro
ae10f88165 Bug 1530402 - Refactor desktop's ext-{page,browser}Action. r=mixedpuppy
This patch refactors Desktop's implementation of Page and Browser actions to
decouple the logic inside a common Action object that can be used to implement
actions on other platforms, like mobile, without re-implementing it.

A follow-up commit will use this common logic on the mobile implementation.

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

--HG--
extra : moz-landing-system : lando
2019-11-13 20:28:56 +00:00
Michael Kaply
8b473b9f57 Bug 1497909 - Properly remove preview when pdf is disabled. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D14777

--HG--
extra : moz-landing-system : lando
2019-11-13 17:16:41 +00:00
Kashav Madan
500d979cf5 Bug 1592027 - Make browser/extensions/pdfjs/test/ Fission-compatible, r=bdahl
Differential Revision: https://phabricator.services.mozilla.com/D52373

--HG--
extra : moz-landing-system : lando
2019-11-08 16:35:39 +00:00
Ryan VanderMeulen
78df076449 Bug 1593668 - Update pdf.js to version 2.4.107. r=bdahl
Differential Revision: https://phabricator.services.mozilla.com/D51611

--HG--
extra : moz-landing-system : lando
2019-11-06 22:29:23 +00:00
Ryan VanderMeulen
055a35a2e2 Bug 1592804 - Update pdf.js to version 2.4.91. r=bdahl
Differential Revision: https://phabricator.services.mozilla.com/D51191

--HG--
extra : moz-landing-system : lando
2019-11-01 15:34:06 +00:00
Itiel
dc8477eb57 Bug 1592367 - Fix Edit Address's label-text location for RTL r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D50974

--HG--
extra : moz-landing-system : lando
2019-10-29 20:16:49 +00:00
Itiel
ba4d0ad27c Bug 1588818 - Cleanup .float-right from aboutCompat.css r=miketaylr
Differential Revision: https://phabricator.services.mozilla.com/D50936

--HG--
extra : moz-landing-system : lando
2019-10-29 16:23:21 +00:00
Itiel
16588d2164 Bug 1588367 - Convert all relevant uses of float: right/left to logical properties on browser/ r=johannh,MattN
Differential Revision: https://phabricator.services.mozilla.com/D49087

--HG--
extra : moz-landing-system : lando
2019-10-28 18:46:38 +00:00
Ryan VanderMeulen
99384c9856 Bug 1590105 - Update pdf.js to version 2.4.71. r=bdahl
Differential Revision: https://phabricator.services.mozilla.com/D49930

--HG--
extra : moz-landing-system : lando
2019-10-23 22:53:00 +00:00