Commit Graph

3117 Commits

Author SHA1 Message Date
Christian Holler
66d030b34d Bug 1612711 - Enable Mochitests and XPCShell tests for TSan. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D62628

--HG--
extra : moz-landing-system : lando
2020-02-12 19:03:36 +00:00
Gijs Kruitbosch
a3d7372669 Bug 1545167 - write default pdf behaviour to handlers.json without going to the OS, r=florian,mkaply
I'm taking the opportunity to remove isDefaultHandlerApp messaging as the
content-side calls were removed in bug 1353029.

Depends on D59788

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

--HG--
extra : moz-landing-system : lando
2020-02-10 23:52:21 +00:00
Ryan VanderMeulen
fc773ab807 Bug 1614330 - Update pdf.js to version 2.4.349. r=bdahl
Differential Revision: https://phabricator.services.mozilla.com/D62255

--HG--
extra : moz-landing-system : lando
2020-02-10 21:13:02 +00:00
Nihanth Subramanya
47120318ab Bug 1613994 - Wait for state telemetry event after resetting enabled pref to ensure add-on has a chance to react. r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D62102

--HG--
extra : moz-landing-system : lando
2020-02-10 08:07:26 +00:00
Daniel Varga
b3b9fbdc55 Backed out changeset 2176eab309a8 (bug 1613953) for causing xpcshell failures at browser/extensions/doh-rollout/test/unit/test_localStorageMigration.js
CLOSED TREE
2020-02-07 18:52:02 +02:00
Nihanth Subramanya
68aa52dd77 Bug 1613953 - Install doh-rollout add-on as builtin rather than temporary in local storage migration test. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D62047

--HG--
extra : moz-landing-system : lando
2020-02-07 15:57:20 +00:00
Nihanth Subramanya
09a54a4c12 Bug 1613659 - Ensure proper rollback if no longer enabled after a restart. r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D62022

--HG--
extra : moz-landing-system : lando
2020-02-07 15:43:43 +00:00
Nihanth Subramanya
3a915325be Bug 1613659 - Remove network listeners and reset TRR mode when enabled pref is rolled back. r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D61845

--HG--
extra : moz-landing-system : lando
2020-02-06 22:22:26 +00:00
Bogdan Tara
3f6cc7f3b5 Backed out changeset 28a9e4b075af (bug 1613659) for doh-rollout related failures CLOSED TREE 2020-02-06 21:54:47 +02:00
Nihanth Subramanya
1dc638a167 Bug 1613659 - Remove network listeners and reset TRR mode when enabled pref is rolled back. r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D61845

--HG--
extra : moz-landing-system : lando
2020-02-06 18:35:10 +00:00
Narcis Beleuzu
c8f08e0930 Backed out 2 changesets (bug 1547693, bug 1545167) for xpcshell failures on test_handlerService.js . CLOSED TREE
Backed out changeset 0e6e758f47b5 (bug 1545167)
Backed out changeset f74a32d5753a (bug 1547693)
2020-02-06 18:49:44 +02:00
Gijs Kruitbosch
f3a6914b76 Bug 1545167 - write default pdf behaviour to handlers.json without going to the OS, r=florian,mkaply
I'm taking the opportunity to remove isDefaultHandlerApp messaging as the
content-side calls were removed in bug 1353029.

Depends on D59788

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

--HG--
extra : moz-landing-system : lando
2020-01-23 15:27:26 +00:00
Ryan VanderMeulen
20e7951d6c Bug 1613426 - Update pdf.js to version 2.4.326. r=bdahl
Differential Revision: https://phabricator.services.mozilla.com/D61713

--HG--
extra : moz-landing-system : lando
2020-02-05 17:18:48 +00:00
Ryan VanderMeulen
3adabd99a5 Bug 1611175 - Update pdf.js to version 2.4.292. r=bdahl
Differential Revision: https://phabricator.services.mozilla.com/D60852

--HG--
extra : moz-landing-system : lando
2020-02-04 16:46:55 +00:00
Christian Holler
71231ac083 Bug 1612707 - Disable various slow tests under TSan. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D61562

--HG--
extra : moz-landing-system : lando
2020-02-04 14:34:07 +00:00
Andrew Swan
ac50447267 Bug 1611715 Fix screenshots Copy/Download buttons to include img and text r=_6a68
Differential Revision: https://phabricator.services.mozilla.com/D61138

--HG--
extra : moz-landing-system : lando
2020-02-03 21:41:33 +00:00
Ksenia Berezina
7455ec021f Bug 1612909 - Import WebCompat GoFaster 7.0.0 sources; r=miketaylr
Differential Revision: https://phabricator.services.mozilla.com/D61482

--HG--
extra : moz-landing-system : lando
2020-02-03 18:01:37 +00:00
Brian Grinstead
3d2d2d0ea7 Bug 1608281 - Automated rewrite away from reading properties on the global this in JSM files - round 1 r=mossop
This patch was generated with a script. It doesn't include all files:

- Files that use the preprocessor or fail to parse are skipped
- Files that are loaded as JSMs but don't use the .jsm extension are skipped (those will be renamed in Bug 1609269)

It was generated with the following command using d855222aa2/no-this-property-read.js:

```
hg revert --all &&
cp .gitignore .rgignore &&
rg --files-without-match -g '*.jsm' '^#endif|^#include|^#filter' | jscodeshift --stdin --transform ~/Code/jsm-rewrites/no-this-property-read.js --ignore-pattern ./mobile/android/modules/Sanitizer.jsm --ignore-pattern ./js/xpconnect/tests/unit/syntax_error.jsm &&
./mach eslint `hg st | rg '^M ' | sed 's/^M //'`
```

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

--HG--
extra : moz-landing-system : lando
2020-01-29 21:50:04 +00:00
Mike Conley
3defe1872c Bug 1610993 - Adjust Picture-in-Picture toggle to be at 25% from the top for Instagram videos. r=denschub
Depends on D61010

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

--HG--
extra : moz-landing-system : lando
2020-01-28 08:50:53 +00:00
Mike Conley
97955a01e0 Bug 1606195 - Adjust Picture-in-Picture toggle to be at 25% from the top for Udemy videos. r=denschub
Depends on D61009

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

--HG--
extra : moz-landing-system : lando
2020-01-28 08:50:25 +00:00
Mike Conley
9745b30124 Bug 1608425 - Adjust Picture-in-Picture toggle to be at 25% from the top for Twitch videos. r=denschub
Differential Revision: https://phabricator.services.mozilla.com/D61009

--HG--
extra : moz-landing-system : lando
2020-01-28 08:50:02 +00:00
Andrew Swan
906e1a31e3 Bug 1587544 Part 2: Migrate screenshots to fluent r=fluent-reviewers,_6a68,flod,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D49785

--HG--
extra : moz-landing-system : lando
2020-01-25 17:09:54 +00:00
Andrew Swan
1de1359036 Bug 1587544 Part 1: Remove screenshots onboarding r=_6a68
Screenshots is now part of the browser first-run experience so get rid of
the onboarding slides embedded in screenshots.  This means fewer strings
that need to be ported to fluent.

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

--HG--
extra : moz-landing-system : lando
2020-01-25 15:35:25 +00:00
Nihanth Subramanya
53ec6e72dc Bug 1605297 - Don't expect telemetry after restarting add-on in policy override test. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D60804

--HG--
extra : moz-landing-system : lando
2020-01-24 08:55:51 +00:00
Nihanth Subramanya
5d02e4862b Bug 1609037 - DoH Rollout Extension: Wait until a top-level location change to show the doorhanger. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D59833

--HG--
extra : moz-landing-system : lando
2020-01-23 08:39:49 +00:00
Nihanth Subramanya
ec2865c8d7 Bug 1608320 - DoH Rollout Extension: Don't show the doorhanger if the user has seen the post-DoH privacy statement. r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D59830

--HG--
extra : moz-landing-system : lando
2020-01-22 22:16:44 +00:00
Nihanth Subramanya
150f590937 Bug 1600109 - Fix network change handling and test telemetry. r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D58196

--HG--
extra : moz-landing-system : lando
2020-01-22 22:16:46 +00:00
Nihanth Subramanya
cb4ffdf160 Bug 1600109 - Implement setup function in head.js to set up prefs and telemetry, and call it in all tests. r=dragana,JuniorHsu
Differential Revision: https://phabricator.services.mozilla.com/D58195

--HG--
extra : moz-landing-system : lando
2020-01-22 22:16:48 +00:00
Andreea Pavel
950995415e Backed out 2 changesets (bug 1587544) for failing browser_all_files_referenced.js on a CLOSED TREE
Backed out changeset 919eb56fa574 (bug 1587544)
Backed out changeset 483a2f094c2b (bug 1587544)
2020-01-24 00:42:32 +02:00
Andrew Swan
38d82e180b Bug 1587544 Part 1: Remove screenshots onboarding r=_6a68
Screenshots is now part of the browser first-run experience so get rid of
the onboarding slides embedded in screenshots.  This means fewer strings
that need to be ported to fluent.

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

--HG--
extra : moz-landing-system : lando
2020-01-23 19:30:02 +00:00
Andrew Swan
6a910cddaf Bug 1587544 Part 2: Migrate screenshots to fluent r=fluent-reviewers,_6a68,flod
Differential Revision: https://phabricator.services.mozilla.com/D49785

--HG--
extra : moz-landing-system : lando
2020-01-23 19:27:50 +00:00
Cosmin Sabou
158024baa6 Backed out 4 changesets (bug 1600109, bug 1609037, bug 1608320) for turning bug 1605297 into permafail.
Backed out changeset ca3381ffade1 (bug 1609037)
Backed out changeset 6f3358db89c7 (bug 1608320)
Backed out changeset 0614bbf65c82 (bug 1600109)
Backed out changeset ea650c48ddcb (bug 1600109)
2020-01-23 00:12:00 +02:00
Kris Maglione
ab5a99dd15 Bug 1602898: Rename Window.getWindowGlobalChild() to .windowGlobalChild. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D56609

--HG--
extra : moz-landing-system : lando
2020-01-21 21:32:28 +00:00
Mihai Alexandru Michis
745c94b1df Backed out changeset 006f4e50e8e5 (bug 1602898) for causing multiple failures.
CLOSED TREE
2020-01-21 22:55:37 +02:00
Kris Maglione
aa0306477e Bug 1602898: Rename Window.getWindowGlobalChild() to .windowGlobalChild. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D56609

--HG--
extra : moz-landing-system : lando
2020-01-21 18:48:26 +00:00
Nihanth Subramanya
dde23c4501 Bug 1609037 - DoH Rollout Extension: Wait until a top-level location change to show the doorhanger. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D59833

--HG--
extra : moz-landing-system : lando
2020-01-21 08:28:25 +00:00
Nihanth Subramanya
7dc0b07882 Bug 1608320 - DoH Rollout Extension: Don't show the doorhanger if the user has seen the post-DoH privacy statement. r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D59830

--HG--
extra : moz-landing-system : lando
2020-01-21 08:22:03 +00:00
Nihanth Subramanya
0d2a8199d0 Bug 1600109 - Fix network change handling and test telemetry. r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D58196

--HG--
extra : moz-landing-system : lando
2020-01-21 08:22:01 +00:00
Nihanth Subramanya
eee7b4fa3c Bug 1600109 - Implement setup function in head.js to set up prefs and telemetry, and call it in all tests. r=dragana,JuniorHsu
Differential Revision: https://phabricator.services.mozilla.com/D58195

--HG--
extra : moz-landing-system : lando
2020-01-21 08:21:59 +00:00
Cosmin Sabou
6ed6078578 Backed out 2 changesets (bug 1600109) for browser chrome failures on browser_policyOverride.js CLOSED TREE
Backed out changeset 18ebd4ba0148 (bug 1600109)
Backed out changeset 76363bc85344 (bug 1600109)
2020-01-18 01:17:07 +02:00
Cosmin Sabou
9b6e5f8e66 Backed out changeset 4c303f6ec2e6 (bug 1602898) for browser chrome failures on browser_ssb_windowlocation. 2020-01-18 01:06:34 +02:00
Kris Maglione
036e960542 Bug 1602898: Rename Window.getWindowGlobalChild() to .windowGlobalChild. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D56609

--HG--
extra : moz-landing-system : lando
2020-01-17 21:36:10 +00:00
Narcis Beleuzu
a024104573 Backed out 2 changesets (bug 1609037, bug 1608320) for bc failures on browser_cleanFlow.js . CLOSED TREE
Backed out changeset 44539f8e0cea (bug 1609037)
Backed out changeset 3dddea4c5d73 (bug 1608320)
2020-01-17 19:18:49 +02:00
Nihanth Subramanya
73ad962480 Bug 1609037 - DoH Rollout Extension: Wait until a top-level location change to show the doorhanger. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D59833

--HG--
extra : moz-landing-system : lando
2020-01-17 14:58:52 +00:00
Nihanth Subramanya
2a5d7c0fe8 Bug 1608320 - DoH Rollout Extension: Don't show the doorhanger if the user has seen the post-DoH privacy statement. r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D59830

--HG--
extra : moz-landing-system : lando
2020-01-17 15:00:46 +00:00
Nihanth Subramanya
1ff5f9a747 Bug 1600109 - Fix network change handling and test telemetry. r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D58196

--HG--
extra : moz-landing-system : lando
2020-01-15 16:08:10 +00:00
Nihanth Subramanya
c64c07e5af Bug 1600109 - Implement setup function in head.js to set up prefs and telemetry, and call it in all tests. r=dragana,JuniorHsu
Differential Revision: https://phabricator.services.mozilla.com/D58195

--HG--
extra : moz-landing-system : lando
2020-01-08 10:21:38 +00:00
Dimi Lee
45330c2c4e Bug 1601310 - Add GetContentBlockingEvents IPC method for the child to retrive content blocking event in the parent. r=timhuang,twisniewski,Ehsan
This patch does the following:
1. Add a WindowGlobalChild IPC method - GetContentBlockingEvents. Documents can use the method
   retrieve content blocking events stored in the parent process.
2. Update nsIDocShell::GetHasTrackingContentBlocked to return a promise.
3. Replace API in report-site-issue to use the promise-based GetHasTrackingContentBlocked API

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

--HG--
extra : moz-landing-system : lando
2019-12-17 11:05:06 +00:00
shindli
fca74ac308 Bug 1603014 - unskip browser_pdfjs_zoom.js on mac r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D59271

--HG--
extra : moz-landing-system : lando
2020-01-15 07:53:22 +00:00
Masayuki Nakano
90cd2122dd 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 07:18:51 +00:00