Commit Graph

730827 Commits

Author SHA1 Message Date
Mitchell Hentges
5835177a65 Bug 1669934: Virtualenv should use the correct python packages r=firefox-build-system-reviewers,glandium
Due to the MacOS `__PYVENV_LAUNCHER__` environment variable, some
virtualenv operations were being run with the system python (and
packages), rather than the python and packages within the venv.

This was already partially solved by having `__PYVENV_LAUNCHER__`
get unset when some virtualenv operations were run.
This change makes this more consistent by unsetting the environment
variable once a `VirtualenvManager` is created.

Differential Revision: https://phabricator.services.mozilla.com/D93615
2020-10-16 16:14:22 +00:00
Henrik Skupin
b51b43a0ee Bug 1666204 - [marionette] Use "browsing-context-discarded" notification to detect a closing frame. r=marionette-reviewers,maja_zf
When waiting for a navigation to complete the
"browsing-context-discarded" observer notification
is used to determine if the currently selected
browsing context has been closed or just replaced
due to a remoteness change.

Differential Revision: https://phabricator.services.mozilla.com/D93747
2020-10-16 16:58:56 +00:00
Emilio Cobos Álvarez
c0e75d0f39 Bug 1670643 - Ignore DOMWindowClose events fired at the preview browser. r=jfkthame
See the comment.

https://phabricator.services.mozilla.com/D90808 made it so that we
reused the print document (and thus <browser>) to do the actual print
job.

When a print job finishes, we call window.close(), which is used as a
signal to the front-end to clean up the <browser> element. Before that
patch we sent that signal to the browser created in printUtils.js, but
afterwards we send it to the preview window which causes this badness
when the event bubbles up.

Ignoring it effectively restores the previous behavior, so let's do it.

Differential Revision: https://phabricator.services.mozilla.com/D93499
2020-10-16 16:57:57 +00:00
Tim Huang
014d4e0836 Bug 1671199 - Enable privacy.partition.network_state for EARLY_BETA_OR_EARLIER. r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D93585
2020-10-14 19:47:19 +00:00
James Graham
6eebe300dd Bug 1669445 - Fix geckodriver documentation to pass in correct content type headers, r=whimboo,webdriver-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D92619
2020-10-16 12:39:25 +00:00
James Graham
670bca4d42 Bug 1490969 - Convert reftest-paged tests to print reftests, r=TYLin
Differential Revision: https://phabricator.services.mozilla.com/D93669
2020-10-16 16:23:49 +00:00
James Graham
4d810b44de Bug 1490969 - Convert object-fit tests to use image-rendering:crisp-edges, r=mats,TYLin,emilio
This better matches the original mozilla-central copies of these tests

Differential Revision: https://phabricator.services.mozilla.com/D93200
2020-10-16 13:29:09 +00:00
James Graham
487dced571 Bug 1490969 - Remove duplicate reftest harness tests, r=mats,TYLin,emilio
This patch deletes the whole layout/reftests/w3c-css/ directory.

These tests are duplicated across the reftest harness and the wpt
reftest harness. This has a number of problems:

* We run every test twice, taking unnecessary time and resources.

* A bespoke sync process is required for this directory.

* We often get metadata out of sync between the two copies, so they
seem to have different results.

* Other vendors often don't realise these tests exist, so they're less
useful for interop.

* When others do realise the test exist, they don't feel able to fix
issues in them because of the complex sync.

This patch removes the reftest harness copy of the tests. It seems
like the wpt reftest harness is sufficiently aligned with the reftest
harness that this shouldn't lose much in the way of coverage (and any
remaining differences are obviously a problem for all other wpt
reftests as well so should be fixed in general if there's a problem).

Differential Revision: https://phabricator.services.mozilla.com/D93127
2020-10-16 13:20:52 +00:00
James Graham
74cc6d9d9e Bug 1490969 - Move conditional3 tests for moz-document to reftest harness, r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D93755
2020-10-16 13:20:46 +00:00
James Graham
e119e6620d Bug 1490969 - Remove intermittent annotations on mask-image tests, r=heycam,mats,TYLin,emilio
I couldn't reproduce this bug with a try push containing 20
retriggers, so I think it's safe to remove the annotations. If this
comes up again as an intermittent, we can revert this patch and
investigate further.

Differential Revision: https://phabricator.services.mozilla.com/D93126
2020-10-16 13:30:23 +00:00
James Graham
a9a4b35a9c Bug 1490969 - Copy some missing annotations from submitted reftests to vendor-import, r=mats,TYLin,emilio
Differential Revision: https://phabricator.services.mozilla.com/D93125
2020-10-16 13:30:41 +00:00
Gregory Mierzwinski
5f87b8eb22 Bug 1669999 - Rename ytp-h264-std to ytp-hfr. r=perftest-reviewers,Bebe
Differential Revision: https://phabricator.services.mozilla.com/D93665
2020-10-16 16:05:20 +00:00
Gregory Mierzwinski
af9fc3a358 Bug 1670000 - Enable ytp browsertime tests in mozilla-central. r=perftest-reviewers,davehunt
This patch enables youtube-playback tests running on browsertime.

Differential Revision: https://phabricator.services.mozilla.com/D93664
2020-10-16 16:04:49 +00:00
Gregory Mierzwinski
171050737a Bug 1671415 - Disable 2019 youtube-playback tests. r=perftest-reviewers,davehunt
This patch removes the 2019 youtube-playback tests from mozilla-central.

Differential Revision: https://phabricator.services.mozilla.com/D93663
2020-10-16 16:05:07 +00:00
Marco Bonardo
a6cfe7f452 Bug 1670958 - Wrap tab-to-search action text at narrow window widths. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D93745
2020-10-16 15:57:05 +00:00
Bogdan Tara
2df6edfdf1 Backed out 3 changesets (bug 1669673) for test_pointerevent_drag_interaction-manual.html failures
Backed out changeset 3150ac63c05e (bug 1669673)
Backed out changeset 6bc4e4281e96 (bug 1669673)
Backed out changeset a28ad4aebb13 (bug 1669673)
2020-10-16 18:24:21 +03:00
Jon Coppeard
cef7f2e978 Bug 1671125 - Relax assertions to allow pre-barrier verifier to turn on barriers on the self hosting zone as well as the atoms zone r=sfink
The comments in PreWriteBarrierImpl mention that the per-barrier verifer can
turn on incremental barriers in the atoms zone outside of a GC. This also
applies to the self hosting zone so we just need to relax the assertions to
cover that too.

Differential Revision: https://phabricator.services.mozilla.com/D93760
2020-10-16 14:32:10 +00:00
Jon Coppeard
fdba9fd6c3 Bug 948739 - Improve AutoSuppressGC documentation comments r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D93742
2020-10-16 14:28:57 +00:00
tanner drake
60df9c6452 Bug 1642878 - update context menu items disabled states after _maybeSelectAll in contextmenu open. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D91151
2020-09-30 14:22:42 +00:00
julianwels
47a5f60a37 Bug 1658921 - Updated HTTPS-Only Mode error page UX. r=desktop-theme-reviewers,ckerschb,fluent-reviewers,ntim
Differential Revision: https://phabricator.services.mozilla.com/D93602
2020-10-16 14:38:45 +00:00
Cristina Coroiu
040846d832 Merge mozilla-central to autoland a=merge 2020-10-16 17:58:34 +03:00
smolnar
3dcf0813f9 Backed out changeset 5303394c527b (bug 1642308) for causing crashes on OSX (bug 1658986) a=backout 2020-10-16 17:12:33 +03:00
Mark Banner
89ab87a874 Bug 1665938 - Add telemetry to report if a WebExtension engine is saved in the search settings but not in the add-on manager. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D91920
2020-10-16 12:51:58 +00:00
Mark Banner
fd67c74cb7 Bug 1671404 - Add Provider Name to the urlbar engagement telemetry. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D93660
2020-10-16 14:39:50 +00:00
Zhao Jiazhong
40b561b9ac Bug 1671534 - [MIPS] Split uint8_clamped from vm/ArrayBufferObject.h r=jandem
Port D92959 to MIPS platform.

Differential Revision: https://phabricator.services.mozilla.com/D93714
2020-10-16 06:35:39 +00:00
Masayuki Nakano
053daa2052 Bug 1627924 - Make HTMLEditor::HideGrabberInternal() reset dragging state r=emilio
When the grabber to move absolutely positioned element is disabled,
`HTMLEditor::HideGrabberInternal()` is called to delete it.  However,
it does not reset dragging state.  Therefore, `mousemove` event listener
will try to handle drag even after the grabber is removed.

This patch makes `HideGrabberInternal()` reset the dragging state to
make the event listener stop handling the drag action.

However, I hit a buggy assertion in `EventStateManager`.  It tries to
set active state to parent of the grabber (in this case, absolutely positioned
element).  However, editable element in `contenteditable` cannot have
active state.  Therefore, `leaf` becomes `nullptr`, but `newleaf` is the
absolutely positioned element.  Therefore, this patch adds this condition
into the `MOZ_ASSERT`.

Differential Revision: https://phabricator.services.mozilla.com/D93632
2020-10-16 02:34:15 +00:00
Jean-Yves Avenard
c161e47a80 Bug 1671266 - Skip reftest on Windows for ARM. r=mattwoodrow
the AV1 decoder isn't available on this platform due to the lack of RDD support.

Differential Revision: https://phabricator.services.mozilla.com/D93713
2020-10-16 03:11:02 +00:00
Andrew Osmond
4d1f0a070a Bug 1642308 - Fix some snapping related picture cache tile rect calculations. r=gw
Our fract offset for the tiles should be a simple mapping of the snapped
device position back to picture space. If no snapping is required, then
the position will be precisely the origin. When using this value to
decide if the position has changed for glyph subpixel offset purposes,
we must consider it in device space, since picture to device space can
be effectively arbitrary.

We update the stored fract offset at which a tile was rendered whenever
we invalidate the whole tile, not just when we detect the fract offset
has changed by a notable amount. This should reduce spurious
invalidations since the tile was actually rendered at a different offset
that we had recorded prior to this patch.

Also, when evaluating the tile's valid rect, we cannot use the local
valid rect. The device valid rect we use is the local mapped from
picture space, but also snapped. Thus it makes far more sense to compare
that which we used for drawing purposes which has the bonus of avoiding
floating point errors.

Differential Revision: https://phabricator.services.mozilla.com/D91156
2020-10-16 02:30:49 +00:00
Tarek Ziadé
f3c2b155b5 Bug 1670631 - browsertime keeps on reinstalling itself r=sparky
Let's use `_from` instead of `_resolved`

Differential Revision: https://phabricator.services.mozilla.com/D93629
2020-10-15 14:07:09 +00:00
Harry Twyford
447fc3d66a Bug 1670944 - Allow tabbing past tab-to-search results after focusing the Urlbar with the keyboard. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D93601
2020-10-16 13:53:03 +00:00
Emilio Cobos Álvarez
fdd82701fe Bug 1670051 - Also add the marker on the child process.
As the profile in bug 1668875 doesn't seem to have hit the marker in the
parent process somehow.

Differential Revision: https://phabricator.services.mozilla.com/D93761
2020-10-16 13:27:01 +00:00
David Major
d8306f9c33 Bug 1670738 - Try to make autoconf deduce ac_exeext for mingw r=glandium
In clang trunk 12, mingw builds started adding an `.exe` extension by default. We need to have `ac_exeext` know about this so that we'll search for `conftest.exe` rather than `conftest`. Calling `AC_EXEEXT` will go through some logic and set the right value of `ac_exeext`.

Differential Revision: https://phabricator.services.mozilla.com/D93252
2020-10-16 13:14:31 +00:00
julianwels
633b42bb92 Bug 1671291 - Clarified that HTTPS-Only identity-panel UI only affects the current page. r=ntim,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D93651
2020-10-16 12:54:31 +00:00
Masayuki Nakano
049c973fbf Bug 1671197 - Make HTMLEditor::SelectAllInternal() select all children of <body> element if computed selection root is an ancestor of the <body> element r=m_kato
In strictly speaking, we should shrink selection ranges at very first time
of edit action handling.  However, we support multiple selection ranges and
it makes the check cost really expensive, and the code would be really
complicated since ranges cannot be overlapped.  I.e., changing one range
could affect some of the others.

Therefore, this patch changes `HTMLEditor::SelectAllInternal()` instead.
If computed selection root is an ancestor of `<body>` element in HTML document,
it use the `<body>` element instead.

Note that, in HTML document, there should be only one `<body>` element and
only its content should be editable at least for now.  (Note that in XHTML
document, no `<body>` is allowed, multiple `<body>` elements allowed.)

Differential Revision: https://phabricator.services.mozilla.com/D93712
2020-10-16 09:38:56 +00:00
Edgar Chen
6ecb24d4d2 Bug 1669673 - Part 3: Wrap manual wpt pointerevent_drag_interaction-manual.html into mochitest test; r=smaug
Depends on D93296

Differential Revision: https://phabricator.services.mozilla.com/D93295
2020-10-15 23:08:28 +00:00
Edgar Chen
4c27dea7ec Bug 1669673 - Part 2: Add test for setPointerCapture on mousedown event; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D93296
2020-10-15 16:33:33 +00:00
Edgar Chen
fd2c481654 Bug 1669673 - Part 1: setPointerCapture shoult not make a draggable element to be undraggable; r=smaug
See https://w3c.github.io/pointerevents/#the-pointercancel-event.

Differential Revision: https://phabricator.services.mozilla.com/D93294
2020-10-16 12:27:55 +00:00
Harry Twyford
4590354bf7 Bug 1670926 - Fix tab-to-search animation in RTL locales. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D93661
2020-10-16 09:03:44 +00:00
smolnar
389b147bc1 Backed out changeset b2847ee96340 (bug 1658921) for causing browser_errorpage_timeout failures. CLOSED TREE 2020-10-16 17:03:37 +03:00
smolnar
de60aa270b Bug 1638396 - add backed changes test_file_os_delete.html CLOSED TREE 2020-10-16 16:59:37 +03:00
smolnar
a3756e9077 Backed out changes to dom/indexedDB/test/browser_* from bug 1638396 because they depend on a preference which is disabled by default. CLOSED TREE 2020-10-16 16:31:20 +03:00
smolnar
bb2cc96565 Backed out 2 changesets (bug 1665938, bug 1671404) for causing browser_urlbar_event_telemetry failures. CLOSED TREE
Backed out changeset ce37b9b99fd6 (bug 1665938)
Backed out changeset fa95a02b2c90 (bug 1671404)
2020-10-16 15:43:47 +03:00
julianwels
05e076a825 Bug 1658921 - Updated HTTPS-Only Mode error page UX. r=desktop-theme-reviewers,ckerschb,fluent-reviewers,ntim
Differential Revision: https://phabricator.services.mozilla.com/D93602
2020-10-16 11:39:02 +00:00
Itiel
ff1e6cc7f8 Bug 1671373 - Visual improvements to about:certificate r=johannh
1. Fix border-radius at the top of the tabs for RTL
2. Make every <list-item> flush with the panel
3. Force LTR / set dir=auto where needed

Differential Revision: https://phabricator.services.mozilla.com/D93690
2020-10-16 11:50:59 +00:00
Mark Banner
c8b4c00e9c Bug 1665938 - Add telemetry to report if a WebExtension engine is saved in the search settings but not in the add-on manager. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D91920
2020-10-16 11:17:07 +00:00
Mark Banner
6de3a96e83 Bug 1671404 - Add Provider Name to the urlbar engagement telemetry. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D93660
2020-10-16 11:17:07 +00:00
Simon Giesecke
1517059ce0 Bug 1638396 - Generate keys per database. r=dom-workers-and-storage-reviewers,jcj,janv
Differential Revision: https://phabricator.services.mozilla.com/D77020
2020-10-16 11:09:36 +00:00
Simon Giesecke
10ec0e2f11 Bug 1638396 - Integrate blob encryption in private browsing mode. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D75588
2020-10-16 10:50:03 +00:00
Simon Giesecke
62839c5f60 Bug 1638396 - Enable support for IndexedDB in private browsing mode. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D75586
2020-10-16 10:50:01 +00:00
Bob Owen
e9515cbc26 Bug 1654477 P5: Add crashtest to trigger texture handle open failures. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D93674
2020-10-16 10:57:16 +00:00