Commit Graph

754656 Commits

Author SHA1 Message Date
Dana Keeler
241c47c8cc Bug 1688703 - reuse certviewer utility files in devtools r=johannh,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D106340
2021-04-21 17:48:21 +00:00
Andrew Halberstadt
22a9c1397e Bug 1696005 - [ci] Run mochitest-webgl1-ext-fis on shippable builds, r=jmaher
This adds the following tasks on central:
> test-linux1804-64-shippable-qr/opt-mochitest-webgl1-ext-fis-e10s
> test-windows10-64-shippable-qr/opt-mochitest-webgl1-ext-fis-e10s

Differential Revision: https://phabricator.services.mozilla.com/D112983
2021-04-21 17:43:31 +00:00
Ting-Yu Lin
7a28dd676d Bug 1692676 - Disable gfx.font_rendering.fallback.async for css-counter-styles/myanmar/ tests. r=layout-reviewers,jfkthame
Also, adjust test expectations because they are now running reliably.

Differential Revision: https://phabricator.services.mozilla.com/D112874
2021-04-21 17:36:24 +00:00
stransky
65dbb1452b Bug 1706023 [Linux] Remove LOGDRAW and LOGFOCUS and use only one widget logging for widget/gtk, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D112916
2021-04-21 17:29:45 +00:00
stransky
33c1175041 Bug 1706624 [Wayland] Use wl_seat0 from Gtk, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D112965
2021-04-21 17:29:21 +00:00
oneminch
6a9dcf098b Bug 1705749 - Remove save code from screenshots. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D112879
2021-04-21 17:26:06 +00:00
Emma Malysz
e49b73b717 Bug 1704242, reenable toolkit/content/tests/widgets/test_popupanchor.xhtml on mac r=aryx
Differential Revision: https://phabricator.services.mozilla.com/D112792
2021-04-21 16:49:10 +00:00
Bob Owen
131d0cdd4b Bug 1695725 p2: Guard against a failure to create sErrorTarget in CanvasRenderingContext2D. r=lsalzman
Depends on D112963

Differential Revision: https://phabricator.services.mozilla.com/D112964
2021-04-21 16:48:12 +00:00
Bob Owen
b911da878c Bug 1695725 p1: Use mSoftwareBackend if we don't have a fallback canvas backend. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D112963
2021-04-21 16:48:12 +00:00
Emma Malysz
b32b6f3de8 Bug 1706460: update fxa disconnected string r=mhowell,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D112838
2021-04-21 16:40:13 +00:00
Gijs Kruitbosch
250fcfd179 Bug 1706259 - fix styling in the protocol handler dialogs to be more like the design, r=mconley
This starts using the same spacing as commonDialog for these dialogs
with proton enabled. It also updates the checkbox spacing, alignment
and colour (bug 1705882 will fix the correct colour choice here.)

The spacing is still not ideal in the second dialog (after you click
'Choose Application') but there isn't much we can do about that unless
we get rid of the confirmation text about where to change the preference,
or we start creating ways for the dialog to tell SubDialog to resize
it when items are added/removed, which is not straightforward, so I
decided not to tackle that here.

Differential Revision: https://phabricator.services.mozilla.com/D112788
2021-04-21 16:33:56 +00:00
Gijs Kruitbosch
022215df5f Bug 1706567 - fix layout issues in window-modal prompts and fix macOS sheet titles to be bold, r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D112977
2021-04-21 16:31:00 +00:00
Alexandru Michis
72951aa826 Backed out changeset ff7488019a95 (bug 1672455) for causing test crashes.
CLOSED TREE
2021-04-21 19:24:54 +03:00
James Graham
cb3389e7be Bug 1705385 - Pass a timeout when signalling firefox in wptrunner, r=ahal
This allows the SIGTERM-then-SIGKILL logic to work as intended.

Differential Revision: https://phabricator.services.mozilla.com/D112611
2021-04-21 15:56:30 +00:00
James Graham
c171bbb4f3 Bug 1705385 - Allow passing a timeout to mozrunner.Runner.stop, r=ahal
This allows us to handle the case where the runner doesn't stop
e.g. by using a more aggressive signal.

Differential Revision: https://phabricator.services.mozilla.com/D112610
2021-04-21 15:56:29 +00:00
James Graham
3c0bcb202c Bug 1705385 - Allow passing a timeout to mozprocess.ProcessHandler.kill, r=ahal
Unlike the stdlib Popen class, ProcessHandler.kill implictly waits for
the process to end. To avoid hangs in the case where the process
doesn't end, allow passing through a timeout to this function (on
posix only).

This is somewhat unfortunate as it means that ProcessHandler isn't
interchangable with Popen. But the only other option here appears to
be not doing the implicit wait which presumably consumers are relying on.

Differential Revision: https://phabricator.services.mozilla.com/D112609
2021-04-21 15:56:29 +00:00
James Graham
68e74e4f40 Bug 1705385 - [mozprocess] Remove custom process wait code on posix, r=ahal
This is not obviously doing more than the stdlib code does these days,
and also doesn't support timeouts, so we're perhaps better just always
defering to the stdlib.

Differential Revision: https://phabricator.services.mozilla.com/D112608
2021-04-21 15:56:29 +00:00
Lee Salzman
96cf843676 Bug 1706537 - Silence SwCompositor tsan warning. r=aosmond
This forces current_job to null as soon as it is known whether there are no more
bands available so that current_job is always null if job_count is zero.

Differential Revision: https://phabricator.services.mozilla.com/D112891
2021-04-21 15:56:14 +00:00
Chris H-C
fb8949fe7c Bug 1672455 - If FOG pings escape automation ensure they are tagged r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D112821
2021-04-21 15:42:14 +00:00
Chris H-C
3eb7a8d0be Bug 1704846 - Add Quantity metric type to FOG (C++, JS) r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D112425
2021-04-21 15:40:47 +00:00
Chris H-C
014dcdd14f Bug 1704846 - Add Quantity metric type to FOG (Rust) r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D112424
2021-04-21 15:40:46 +00:00
Alexandru Michis
1b2962d3ec Backed out changeset ca4d87f2ec7b (bug 1676657) for causing webrender bustages.
CLOSED TREE
2021-04-21 18:41:23 +03:00
Mitchell Hentges
50483887d0 Bug 1705444: Pipe IPDL test status to exit code r=sheehan
By returning non-zero when tests fail, `make` can pick up the failure.

Differential Revision: https://phabricator.services.mozilla.com/D112789
2021-04-21 15:34:42 +00:00
Daniel Holbert
003b3c7136 Bug 1706516: Use GetCrossDocParentFrameInProcess() in nsNativeThemeCocoa.mm. r=emilio
This patch doesn't change behavior.  The "InProcess" version of this API (which
we're migrating to in this patch) is used to annotate GetCrossDocParentFrame()
callsites that have been vetted as being OK with the fact that this API returns
null at the boundary of a cross-origin iframe, if fission is enabled.

This particular callsite is in MacOS "source-list" rendering code, which seems
to be a XUL-only feature; and that means it should be parent-process-only and
shouldn't need to traverse process boundaries / origins. So, it's reasonable to
annotate.  (And if it does somehow hit a process boundary, this function will
just return false and take the "not-in-a-source-list" rendering codepath
elsewhere in this file.)

Differential Revision: https://phabricator.services.mozilla.com/D112882
2021-04-21 15:28:35 +00:00
Florian Quèze
8579c53f5b Bug 1706432 - mochitest --profiler should open the captured profile at the end of accessibility tests, r=gbrown.
Differential Revision: https://phabricator.services.mozilla.com/D112800
2021-04-21 15:19:44 +00:00
Kershaw Chang
bda14c1414 Bug 1654899 - Close a h2 stream if it receives a DATA frame before HEADER frame, r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D111257
2021-04-21 15:16:00 +00:00
Miko Mynttinen
8249149314 Bug 1676657 - Port paint phase weight histograms to WebRender r=nical
Differential Revision: https://phabricator.services.mozilla.com/D108043
2021-04-21 15:13:42 +00:00
Brad Werth
ba5468df89 Bug 1704628 Part 5: Avoid use of ESC to close context menu in browser_toolbox_textbox_context_menu.js. r=mac-reviewers,mstange
Depends on D112795

Differential Revision: https://phabricator.services.mozilla.com/D112829
2021-04-21 15:08:39 +00:00
Brad Werth
d3496e7477 Bug 1704628 Part 4: Avoid use of ESC to close context menu in browser_toolbox_contentpage_contextmenu.js. r=mac-reviewers,mstange
Differential Revision: https://phabricator.services.mozilla.com/D112795
2021-04-21 15:08:39 +00:00
Brad Werth
4561cd2312 Bug 1704628 Part 3: Rework part of test browser_menu_api.js on macOS. r=mac-reviewers,mstange
This test contains a section that checks arrow key navigation of context menus,
which doesn't work with macOS native context menus. This patch disables that
section of the test and uses a more declarative context menu API when the pref
is set, which is an indicator that the test is being run on macOS with native
context menus.

Differential Revision: https://phabricator.services.mozilla.com/D112119
2021-04-21 15:08:38 +00:00
Brad Werth
03815b9a18 Bug 1704628 Part 2: Make a breakpoint context menu test await the correct number of dispatch events. r=ochameau
Bug 1524374 has landed and making the proposed change makes this test work
correctly with macOS native context menus.

Differential Revision: https://phabricator.services.mozilla.com/D111948
2021-04-21 15:08:38 +00:00
Jan de Mooij
0ad727394f Bug 1706573 - Don't generate a new shape for updated dictionary properties. r=jonco
When changing a dictionary property, we have to generate a new shape for the
object (last property shape) and we can then mutate the property in place.
This removes the extra shape allocation for the mutated property.

This reverts the change in bug 703157: the issue fixed there no longer applies.

`replaceWithNewEquivalentShape` is then only used for `generateOwnShape`, to generate
a new shape for the last property, so we can inline it into `generateOwnShape` and
simplify the code a bit.

Differential Revision: https://phabricator.services.mozilla.com/D112907
2021-04-21 15:06:10 +00:00
Luz De La Rosa
e13149b9af Bug 1701055 - Update block margins around Learn more links in permission panels with Proton enabled. r=prathiksha
Differential Revision: https://phabricator.services.mozilla.com/D112968
2021-04-21 14:48:37 +00:00
Sean Feng
e4010e70f8 Bug 1705251 - InputTaskManager should expect vsync to run when the input vsync state is InputVsyncState::HasPendingVsync r=smaug
We have seen a lot of crashes with the new vsync input alignment code
because a possible case is
  1. Input event runs when there's a pending vsync (state=HasPendingVsync)
  2. Input event handler starts an event loop (state=HasPendingVsync)
  3. Vsync runs (state=HasPendingVsync) and crashes.

It crashes because the `DidRunTask` method for the input event doesn't
get a chance to run, which supposes to set the state to RunVsync.

Differential Revision: https://phabricator.services.mozilla.com/D112799
2021-04-21 14:46:26 +00:00
Jan Varga
604404dd23 Bug 1706350 - Follow-up cleanup for bug 1648399; r=dom-storage-reviewers,asuth
This patch addresses remaining review comments from
https://phabricator.services.mozilla.com/D81680.
It also adds missing origin initialization to the tests which was causing
unnecessary warnings during test execution.

Differential Revision: https://phabricator.services.mozilla.com/D112759
2021-04-21 13:55:04 +00:00
Emilio Cobos Álvarez
8b64a1a4bf Bug 1706496 - Fix proton checkbox styles for HCM. r=Gijs
Specifying a system color foreground with a non-system-color background
is not good.

Differential Revision: https://phabricator.services.mozilla.com/D112910
2021-04-21 13:42:41 +00:00
Emilio Cobos Álvarez
6a50b6080e Bug 1706496 - Specify background along with color for menupopups. r=desktop-theme-reviewers,dao
Otherwise the menupopup retains the native "Menu" color, which inherits
to menuitems, and can cause contrast issues for HCM users.

It also makes more sense to specify color along with background anyways.

Differential Revision: https://phabricator.services.mozilla.com/D112909
2021-04-21 13:42:20 +00:00
Emilio Cobos Álvarez
8814b4ab14 Bug 1706223 - Fix whitespace handling in clamp() parsing. r=xidorn
We should just restore the state when seeing whitespace and an unknown
token like when we do when finding any other token a few lines below.

This is not an issue for most callers (it's only an issue for clamp())
because the other callers use either `parse_comma_separated()` (for
min/max), or `parse_nested_block()` (for parens / nested calc()).

Both of those functions restrict the input in such a way that
is_exhausted returns true (a few lines above) and thus we parse
successfully.

Differential Revision: https://phabricator.services.mozilla.com/D112681
2021-04-21 13:39:13 +00:00
Alexandru Michis
8084c55348 Backed out changeset 2df231be7500 (bug 1706259) for causing bc failures in browser_parsable_css.js and browser_protocol_ask_dialog_permission.js
CLOSED TREE
2021-04-21 17:42:23 +03:00
Alexandru Michis
630ebf7be0 Backed out changeset 505b7fdbb498 (bug 1700374) for causing bc failures in browser_suppressFocusBorder.js
CLOSED TREE
2021-04-21 17:03:09 +03:00
Gijs Kruitbosch
afd1330370 Bug 1706259 - fix styling in the protocol handler dialogs to be more like the design, r=mconley
This starts using the same spacing as commonDialog for these dialogs
with proton enabled. It also updates the checkbox spacing, alignment
and colour (bug 1705882 will fix the correct colour choice here.)

The spacing is still not ideal in the second dialog (after you click
'Choose Application') but there isn't much we can do about that unless
we get rid of the confirmation text about where to change the preference,
or we start creating ways for the dialog to tell SubDialog to resize
it when items are added/removed, which is not straightforward, so I
decided not to tackle that here.

Differential Revision: https://phabricator.services.mozilla.com/D112788
2021-04-21 13:31:47 +00:00
Garima
44de785f30 Bug 1524481 Hide names 'ScratchDoubleReg' and 'ScratchFloat32Reg' in tier-1 back-ends. r=lth
Differential Revision: https://phabricator.services.mozilla.com/D112694
2021-04-21 13:19:18 +00:00
Mirko Brodesser
ff55282cb1 Bug 1706613: part 2) Change NS_ASSERTIONs to MOZ_ASSERTs in mozInlineSpellWordUtil. r=smaug
Depends on D112958

Differential Revision: https://phabricator.services.mozilla.com/D112959
2021-04-21 13:06:57 +00:00
Mirko Brodesser
d45f47b9a0 Bug 1706613: part 1) Change NS_ASSERTIONs to MOZ_ASSERTs in mozInlineSpellChecker. r=smaug
Helps to detect violations during Try runs.

Differential Revision: https://phabricator.services.mozilla.com/D112958
2021-04-21 13:06:56 +00:00
smolnar
66bc0de987 Backed out changeset 36427e64399a (bug 1685503) for causing build bustages. CLOSED TREE 2021-04-21 16:11:09 +03:00
Edgar Chen
29b856d6dd Bug 1615541 - Wait for oop iframe's layer get flushed in test_event_screenXY_in_cross_origin_iframe.html r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D112524
2021-04-21 13:02:23 +00:00
Paul Adenot
f3aa75b833 Bug 1685503 - Use AwakeTimeStamp to count time for media telemetry. r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D112797
2021-04-21 12:55:54 +00:00
Lars T Hansen
843803743d Bug 1697371 - Templatize baseline compiler part 5: eqz and wrap. r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D109611
2021-04-21 12:52:09 +00:00
Lars T Hansen
1b7bd6c272 Bug 1697371 - Templatize baseline compiler part 4: Shifts and 32-bit rotates. r=rhunt
Shifts and rotates may require a variable RHS to be in a specific
register.  We can express this generically by passing an rhs-popper
function to the emitter.

(64-bit rotates are additionally complicated by requiring a temp, and
are not translated in this patch.)

Differential Revision: https://phabricator.services.mozilla.com/D109610
2021-04-21 12:52:09 +00:00
Lars T Hansen
283c987c95 Bug 1697371 - Templatize baseline compiler part 3: Popcnt. r=rhunt
Popcount may need a temp; whether it does depends on both the platform
and the CPU.  A custom temp allocator function can be passed to the
emitter and used generically.

Differential Revision: https://phabricator.services.mozilla.com/D109609
2021-04-21 12:52:08 +00:00