Commit Graph

724480 Commits

Author SHA1 Message Date
Ting-Yu Lin
be1519920a Bug 1661874 Part 2 - Remove the support of ColumnSetFrame being an abs.pos container. r=heycam
The support of this was added in
https://hg.mozilla.org/mozilla-central/rev/fb0790d28846

After supporting column-span, ColumnSetFrame isn't the top-level
multicol container anymore, and is not served as an abs.pos container.
Thus, we can simply the reflow code a bit.

Differential Revision: https://phabricator.services.mozilla.com/D88698
2020-08-31 03:45:15 +00:00
Ting-Yu Lin
218e47c67f Bug 1661874 Part 1 - Rename mColMaxBSize to mColBSize in ReflowConfig. r=heycam
Rename so that its naming is consistent with ReflowConfig::mColISize,
and to avoid confusion with ColumnBalanceData::mMaxBSize.

Differential Revision: https://phabricator.services.mozilla.com/D88697
2020-08-31 03:45:13 +00:00
Keefer Rourke
715c10338f Bug 1649596: Use IOUtils instead of OS.File in CrashService.jsm r=barret,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D87495
2020-08-28 15:51:04 +00:00
Keefer Rourke
b26b303daf Bug 1649595: Use IOUtils instead of OS.File in CrashMonitor.jsm r=barret
Differential Revision: https://phabricator.services.mozilla.com/D87488
2020-08-28 15:50:56 +00:00
Keefer Rourke
4e01f4b54f Bug 1649593: Use IOUtils instead of OS.File in ExtensionParent.jsm r=barret,zombie
Differential Revision: https://phabricator.services.mozilla.com/D87483
2020-08-28 15:50:41 +00:00
Andrew Halberstadt
36bafe8efd Bug 1655750 - [tryselect] Handle --list/edit-presets even on selectors that don't support presets, r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D88645
2020-08-30 17:44:20 +00:00
Paul Bone
d4a42076ec Bug 1661884 - Update link to DMD docs r=njn
Differential Revision: https://phabricator.services.mozilla.com/D88706
2020-08-31 01:23:59 +00:00
sotaro
d97a94eb95 Bug 1661189 - Make directly texture bounded buffers are not held by AsyncImagePipelineManager::mTexturesInUseByGPU on Android r=mattwoodrow
For android SurfaceTexture and AndroidHardwareBuffer, GPU/hardware task end could be checked by android fence. Then their TextureHost do not need to be held by AsyncImagePipelineManager::mTexturesInUseByGPU.

Differential Revision: https://phabricator.services.mozilla.com/D88239
2020-08-30 04:41:24 +00:00
Olivier Tilloy
f300a8180b Bug 1661715 - Move GTK function stubs to the correct section. r=karlt
Differential Revision: https://phabricator.services.mozilla.com/D88588
2020-08-30 23:15:30 +00:00
Jonathan Kew
8746e16a2f Bug 1533462 - Run font-info loader immediately for WPT tests, for more consistent behavior. r=jwatt
Depends on D88545

Differential Revision: https://phabricator.services.mozilla.com/D88546
2020-08-30 06:22:50 +00:00
Jonathan Kew
b7d6067688 Bug 1533462 - Run font-info loader immediately for accessiblecaret and forms tests, for more consistent behavior. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D88545
2020-08-30 22:59:57 +00:00
Jonathan Kew
84a6685131 Bug 1533462 - Execute the deferred font-info loader immediately when running spell-check and animation mochitests, to avoid intermittent issues. r=jwatt
Depends on D87194

Differential Revision: https://phabricator.services.mozilla.com/D87195
2020-08-30 22:59:57 +00:00
Jonathan Kew
936d5b55b1 Bug 1533462 - Execute the deferred font-info loader immediately when running reftests, to avoid intermittent issues due to async completion triggering an extra reflow mid-test. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D87194
2020-08-21 14:28:50 +00:00
Jonathan Kew
755977bdb4 Bug 1533462 - Update expectations in mainthreadio.js for behavior when shared fontlist is enabled. r=jwatt
Depends on D87177

Differential Revision: https://phabricator.services.mozilla.com/D87178
2020-08-21 14:25:41 +00:00
Razvan Maries
b16f595134 Backed out changeset b99610a6833f (bug 1661427) for Talos perma failures. 2020-08-30 21:13:42 +03:00
André Bargull
7144bdce89 Bug 1660599: Only StoreDenseElementHole with handleAdd=true guarantees writable array length. r=jandem
We can only assert that the array length is writable for the
`handleTrue = true` case. This also requires to reintroduce the writable array
length check to the Ion IC code.

Added tests to cover multiple scenarios where the StoreDenseElementHole IC is
used.

Differential Revision: https://phabricator.services.mozilla.com/D88031
2020-08-28 09:18:50 +00:00
Kartikaya Gupta
bff55b334f Bug 1661745 - Defer calls to NotifyApzTransaction until all the metadata are built. r=mattwoodrow
There are cases where the code rebuilds the ScrollMetadata for a scrollframe
multiple times. This violates implicit assumptions in the NotifyApzTransaction
code that it will only be called after the ScrollMetadata is built for a particular
transaction. This patch moves the NotifyApzTransaction call to the end of the
metadata-building phase so that those assumptions are upheld.

Differential Revision: https://phabricator.services.mozilla.com/D88650
2020-08-30 05:11:38 +00:00
Philipp Fischbeck
7c1c23dbfc Bug 1622680 - Make dom/canvas flake8 compliant. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D88734
2020-08-30 10:20:51 +00:00
Joel Maher
f518fc31dc Bug 1661920 - Adjust wpt expectations for 2d.path.isPointIn<Path.basic/Stroke.scaleddashes>.html in beta. r=jmaher
adjust wpt expectations for beta

Differential Revision: https://phabricator.services.mozilla.com/D88722
2020-08-30 00:46:25 +00:00
James Teh
03249628cb Bug 1661382: Remove header and footer a11y semantics for print modal. r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D88368
2020-08-27 19:53:02 +00:00
James Teh
2055b2c6c9 Bug 1660400: Include sheet count in Print modal a11y description and make it a live region. r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D87978
2020-08-27 13:58:33 +00:00
Edgar Chen
71cb06b861 Bug 1653949 - Part 5: Add tests; r=smaug
It is easy to hit bug 1659940 on test-verfiy, so skip it.

Differential Revision: https://phabricator.services.mozilla.com/D87277
2020-08-27 17:19:18 +00:00
Edgar Chen
e4efe37095 Bug 1653949 - Part 4: Add MouseExitFromWidget event to the delayed event queue if event handling is suppressed; r=smaug
So that we won't lost it if it happens in nested event loop.

Differential Revision: https://phabricator.services.mozilla.com/D86953
2020-08-27 17:19:07 +00:00
Edgar Chen
85d4338685 Bug 1653949 - Part 3: Dispatch MouseExitFromWidget event with proper ExitFrom type based on the "direction" of movement; r=smaug
There are three cases,
- Move to inner OOP frame.
- Move to outer OOP frame.
- Move to an OOP frame that is in different sub-tree.

We could use common BrowserParent ancestor to determine which case is and
dispatch MouseExitFromWidget event with proper ExitFrom type.

Depends on D84748

Differential Revision: https://phabricator.services.mozilla.com/D84761
2020-08-29 21:11:41 +00:00
Edgar Chen
55691da377 Bug 1653949 - Part 2: Add ePuppet to WidgetMouseEvent::ExitFrom; r=smaug
eTopLevel is reused in content process to indicates that the mouse leaves
the puppet widget rendering area, now we add a separated type, ePuppet, for it.

Differential Revision: https://phabricator.services.mozilla.com/D84748
2020-08-27 17:19:14 +00:00
Edgar Chen
36ccda1d13 Bug 1653949 - Part 1: Change mExitFrom in WidgetMouseEvent to be Maybe<ExitFrom>; r=smaug
mExitFrom now contains a value only when mMessage is eMouseExitFromWidget

Differential Revision: https://phabricator.services.mozilla.com/D88225
2020-08-27 17:19:03 +00:00
longsonr
226b57059c Bug 1661912 - Convert remaining typedefs in SVG code to 'using' r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D88718
2020-08-29 14:24:37 +00:00
Cosmin Sabou
ff1b5b5cc4 Bug 1650494 - Add NOTRUN to reporting-popup-same-origin-allow-popups-report-to.https.html expectation on windows. a=test-only DONTBUILD 2020-08-29 19:23:23 +03:00
Cosmin Sabou
163a22f396 Bug 1661908 - Update expectations for reporting-popup-same-origin-report-to.https.html. r=jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D88720
2020-08-29 13:46:50 +00:00
James Teh
7a3cde428c Bug 1660359 part 3: Give the print preview browser an a11y label. r=mstriemer,fluent-reviewers,flod,jwatt
This is reported by a11y tools when the print preview has focus.

Differential Revision: https://phabricator.services.mozilla.com/D87998
2020-08-27 10:59:10 +00:00
Cosmin Sabou
6eed24ee54 Bug 1661315 - Set [Animation interface: attribute timeline] to fail on non-nightly builds. r=birtles DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D88710
2020-08-29 08:50:24 +00:00
Andreea Pavel
2cb6eec082 Bug 1507900 - skip browser_startup_flicker.js on devedition on beta r#?intermittent-reviewers r=intermittent-reviewers,jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D88587
2020-08-28 16:55:40 +00:00
mcrawford@mozilla.com
661817538b Bug 1659862 - Added logic to only show Pioneer study content if the users' locale is set to EN-US r=rhelmer,flod
Differential Revision: https://phabricator.services.mozilla.com/D88449
2020-08-29 05:28:20 +00:00
Narcis Beleuzu
969fc7fa6c Bug 1661876 - Disable reporting-popup-same-origin-report-to.https.html on Linux fission. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D88701
2020-08-29 03:32:15 +00:00
harry
e89f24d809 Bug 1660681 - Replace gURLBar.setSearchMode({}) calls in tests with exitSearchMode helper. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D88671
2020-08-29 00:51:21 +00:00
Harry Twyford
f35d54532b Bug 1655849 - Allow engagement events to start from click event. r=adw
Solving this is as simple as adding "click" to the list of events allowed to start an engagement event. Previously, we didn't have any clicks that could start an engagement event (although we allowed `mousedown` for focusing the Urlbar). Now, we have a few click events that start something that could be considered engagement: clicking a one off and clicking the exit button on the search mode indicator.

When engagementEvent.start() is called, [we bail](https://searchfox.org/mozilla-central/rev/ce21a13035623c1d349980057d09000e70669802/browser/components/urlbar/UrlbarController.jsm#720) if we're currently in an engagement. I can no longer trigger the error in the bug in regular Firefox use; I assume at the time this bug was filed, it was possible to record/discard an engagement by clicking the one-offs a second time. The second click would call `engagementEvent.start()` again and the error would be throw since we discarded the previous engagement event. This no longer seems to be the case. I can trigger it from tests though. That's because this is a common pattern in our tests:
```
  await UrlbarTestUtils.promiseAutocompleteResultPopup({
    window,
    value: TEST_QUERY,
  });
  await UrlbarTestUtils.enterSearchMode(window);
```
If we don't include `fireInputEvent: true` in our call to `promiseAutocompleteResultPopup`, the view is opened without ever starting an engagement event. Then when `enterSearchMode` clicks a one-off, we call `UrlbarInput.startQuery`, which starts an engagement event. The error follows.

Adding click to the list of allowedEvents fixes this in tests and addresses any edge cases we might create in the future where the user is able to click a one-off without already being in an engagement event.

Depends on D87510

Differential Revision: https://phabricator.services.mozilla.com/D88480
2020-08-29 00:42:51 +00:00
Daniel Holbert
c2ab752d47 Bug 1659005 part 4: Check for page-range-skipped pages for tab-modal print preview, and group them as unpainted additional children on the nearest PrintedSheetFrame. r=TYLin
For now, we *only* use this new page-skipping code during print preview, via a
PresContext::IsScreen() check.  There's a separate legacy codepath that we'll
continue to use for skipping pages during actual printing; see e.g.
nsPageSequenceFrame::DetermineWhetherToPrintPage().  I intend to replace that
codepath soon, but for now I'm leaving it intact, in the interests of making
this patch minimally invasive & low-risk for beta uplift.

Differential Revision: https://phabricator.services.mozilla.com/D87394
2020-08-29 00:58:14 +00:00
Joel Maher
8526914633 Bug 1661351 - Move windows10 web-platform-tests from aws to hardware. r=NarcisB
Move windows10 web-platform-tests from aws to hardware

Differential Revision: https://phabricator.services.mozilla.com/D88693
2020-08-29 00:04:20 +00:00
Ting-Yu Lin
0cdadc6d83 Bug 1365982 followup - Update FrameProperties::Has() document. r=jfkthame
The `HasSkippingBitCheck` variant has been removed in
https://hg.mozilla.org/mozilla-central/rev/b37e4d256cd6

DONTBUILD NPOTB because this is a comment-only change.

Differential Revision: https://phabricator.services.mozilla.com/D88687
2020-08-29 00:04:18 +00:00
Erik Nordin
3e0abcedbe Bug 1661823 - Fix Default Print Settings Unwriteable Margins Units r=AlaskanEmily
Print settings stores margin units in TWIPS, but the API expects inches.
This was causing an extra conversion from inches to TWIPS on values that
were already in TWIPS.

Differential Revision: https://phabricator.services.mozilla.com/D88674
2020-08-28 21:53:34 +00:00
Daniel Holbert
1a45a89182 Bug 1659005 part 3: Remove checks for a hypothetical pre-existing pageFrame next-in-flow (which can't happen, in practice). r=TYLin
This patch shouldn't change behavior at all.

Since our print reflow pipeline doesn't try to handle incremental reflow (per
the early return in nsPageSequenceFrame::Reflow), we can safely assume that our
page frames don't have a preexisting next-in-flow (until we explicitly create
one for them).

This simplifies the logic & the number of scenarios that we need to consider.

Differential Revision: https://phabricator.services.mozilla.com/D88470
2020-08-28 22:31:50 +00:00
Daniel Holbert
f2ab159f03 Bug 1659005 part 2: Make nsPageSequenceFrame determine its page range information earlier on, at the start of reflow. r=TYLin
This patch shouldn't change behavior.

After this change, we'll be able to reason about the page range during reflow
(in a later patch in this series). The old place where we determine the
page-range information -- in nsPageSequenceFrame::StartPrint -- unfortunately
runs *after* reflow.  So that was running too late for the information to be
useful when we're laying out pages on sheets.

Differential Revision: https://phabricator.services.mozilla.com/D88469
2020-08-28 22:27:42 +00:00
Daniel Holbert
2e3917b1b1 Bug 1659005 part 1: Move nsPageSequenceFrame's page-range-specific members into nsSharedPrintData. r=TYLin
This patch shouldn't change behavior at all; it's just moving some member
variables to a new home on a helper-struct (and the struct's lifetime is the
same as the lifetime of the nsPageSequenceFrame where these member variables
lived, prior to this patch).

These members need to move so that PrintedSheetFrame can have access to them.
PrintedSheetFrame is now where pages are generated, and it will handle our
page-range-induced page skipping, as of a later patch in this series.

Differential Revision: https://phabricator.services.mozilla.com/D88468
2020-08-28 22:27:34 +00:00
Lee Salzman
d3aa4d7686 Bug 1661427 - Allow SWGL SwCompositor to split up compositing work between SwComposite and render threads. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D88392
2020-08-28 22:27:54 +00:00
Ryan VanderMeulen
acda281b9e Bug 1661777 - Update pdf.js to version 2.6.324. r=bdahl
Differential Revision: https://phabricator.services.mozilla.com/D88646
2020-08-28 22:20:24 +00:00
Mike Hommey
95629a4c24 Bug 1661635 - Make windows/!windows and python2/python3 entries in virtualenv.txt non-optional. r=firefox-build-system-reviewers,rstewart
Except when optional is actually specified.

Differential Revision: https://phabricator.services.mozilla.com/D88527
2020-08-28 14:49:00 +00:00
Zibi Braniecki
e32d8044f7 Bug 1661646 - Extend YSOD Telemetry with error_code and location. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D88535
2020-08-28 22:04:13 +00:00
Botond Ballo
35448ccbee Bug 1661608 - Use correct viewport type in RecordMouseLocation(). r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D88676
2020-08-28 21:44:16 +00:00
Noemi Erli
1b5c9ebf54 Backed out changeset ca085d770da4 (bug 1660686) for causing bustage in PrintBackgroundTask.h CLOSED TREE 2020-08-29 01:28:14 +03:00
Toshihito Kikuchi
3b8a3fad8f Bug 1657208 - Dynamic-load urlmon.dll for x86 system. r=freddyb,mhowell
Our data indicates a few users of x86 system hit failure to load urlmon.dll
for unknown reasons.  Since we don't always require urlmon.dll,
we delay-load it, which causes a crash if loading urlmon.dll fails.

A proposed fix is to dynamically load urlmon.dll on x86.

Differential Revision: https://phabricator.services.mozilla.com/D88534
2020-08-28 21:27:22 +00:00