Граф коммитов

767699 Коммитов

Автор SHA1 Сообщение Дата
Makoto Kato cceec66897 Bug 1670129 - Changing inputmode to none should dismiss software keyboard. r=geckoview-reviewers,agi
When focus isn't changed and inputmode in focused element is changed to none,
we should dismiss software keyboard.

Also, this has same issue for changing from none to text to show software
keyboard.

When changing inputmode, icNotifyIMEContext is called then we should control
software keyboard open/close state too.

Differential Revision: https://phabricator.services.mozilla.com/D122491
2021-08-30 01:30:30 +00:00
Makoto Kato ba08fadd56 Bug 1670129 - InputContext has to synchronize with current inputmode or enterkeyhint if this value is updated. r=masayuki
Blink and WebKit support dynamically change of `inputmode`.  When the focused
element's `inputmode` value is changed, software keyboard layout will be
changed by new value.

Actually, Gecko references it when getting focus only now.  So we should apply
dynamically change like other browsers.

Also, `enterkeyhint` has same issue.  Current WebKit is same behaviour as
Gecko, but Blink is same as `inputmode` behaviour.  So I would like to change
this like `inputmode`.

And since WebKit and Blink doesn't commit composition when changing this value,
So we also add "Don't commit composition" flags for it. It depends on IME.

Differential Revision: https://phabricator.services.mozilla.com/D122490
2021-08-30 01:30:29 +00:00
Glenn Watson bc95f6481b Bug 1726708 - Add stable key for spatial nodes r=gfx-reviewers,kvark
Add an interface (and update Gecko to provide) a stable unique
identifier for each spatial node that is consistent across
display lists.

Although this patch doesn't _do_ anything useful with this yet,
we'll use this in future to allow interning, persisting and caching
a lot more information related to primitives and clips.

For now, it just asserts that the calling code never supplies a
duplicate unique identifier - which will be useful to have running
in nightly for a couple of weeks before starting to make use of
these identifiers.

Differential Revision: https://phabricator.services.mozilla.com/D123177
2021-08-30 00:33:22 +00:00
Glenn Watson db30aac4f1 Bug 1724846 - Split DL spatial tree to separate payload r=gfx-reviewers,nical
This will allow experimenting with different representations of
the spatial tree (such as interning and/or providing stable
indices during display list building). It may also simplify
future changes to the public API to expose the spatial tree
directly.

As part of these changes, refactor how the debug representation
for the capture format is (de)serialized, to make it simpler to
add different payload vector types in future.

Differential Revision: https://phabricator.services.mozilla.com/D122183
2021-08-30 00:33:22 +00:00
Paul Bone 7bb60676ad Bug 1727972 - Use the user activity flag in the CCGCScheduler r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D123889
2021-08-30 00:04:56 +00:00
Jeff Muizelaar 4fd2dca330 Bug 1728004 - Remove a bunch of layer dumping. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D123900
2021-08-29 23:09:45 +00:00
Olli Pettay 17c700658b Bug 1727829 - Consider to not initialize AboutReaderChild actor for initial about:blank documents when pagehide fires, r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D123827
2021-08-29 21:55:50 +00:00
Greg V 074f1e8220 Bug 1728014 - [Wayland] fix FreeBSD/libc++ build by adding forgotten include to SurfacePoolWayland.h r=rmader
Differential Revision: https://phabricator.services.mozilla.com/D123901
2021-08-29 19:34:54 +00:00
Sonia Singla 5a362eb7d0 Bug 1727302 - Add onsecuritypolicyviolation event handler.r=smaug
`onsecuritypolicyviolation` attribute has been added to `GlobalEventHandlers` by https://github.com/whatwg/html/pull/2651

List of tests:
1. w3c/web-platform-tests/dom/idlharness.window.html
2. w3c/web-platform-tests/html/webappapis/scripting/events/event-handler-all-global-events.html
3. w3c/web-platform-tests/html/webappapis/scripting/events/event-handler-attributes-body-window.html
4. w3c/web-platform-tests/mathml/relations/html5-tree/math-global-event-handlers.tentative.html

This new spec addition is already implemented in Safari[0] recently and Chromium[1] will be working on it soon.

[0] https://bugs.webkit.org/show_bug.cgi?id=229381
[1] https://bugs.chromium.org/p/chromium/issues/detail?id=1242893

Differential Revision: https://phabricator.services.mozilla.com/D123891
2021-08-29 18:05:01 +00:00
Nils Ohlmeier 797c9f2e3b Bug 1727196: stop making ssrc-group depend on stream-id. r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D123672
2021-08-29 17:53:12 +00:00
Michelle Goossens cb0d9f9ca1 Bug 1727943 - Part 1: Migrate Windows 10 ccov from AWS to Azure r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D123865
2021-08-29 15:02:56 +00:00
Andrew Sutherland ae02905b1c Bug 1641372 - Emit structured records.
This is the corresponding mozilla-central landing of the searchfox upstream
clang indexing changes from https://github.com/mozsearch/mozsearch/pull/408
that is r=kats.

Differential Revision: https://phabricator.services.mozilla.com/D108360
2021-08-29 03:15:44 +00:00
Edgar Chen c6c971a4fd Bug 1727631 - Part 2: Make nsIRadioVisitor and subclasses use HTMLInputElement directly; r=smaug
Depends on D123681

Differential Revision: https://phabricator.services.mozilla.com/D123686
2021-08-28 18:53:15 +00:00
Edgar Chen dcc9800af0 Bug 1727631 - Part 1: Make nsRadioGroupStruct::mRadioButtons use nsTArray<RefPtr<HTMLInputElement>; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D123681
2021-08-28 18:53:15 +00:00
Csoregi Natalia cc3c96cc5f Backed out changeset 60697a776b8a (bug 1581889) for causing failures on browser_removeAllDialog.js. CLOSED TREE 2021-08-28 21:14:00 +03:00
Robert Longson 19aecfe758 Bug 1727881 - Add onbegin/onend/onrepeat event handler IDL attributes to SVGAnimationElement r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D123890
2021-08-28 16:06:20 +00:00
Marian-Vasile Laza ac5730a6de Backed out changeset 2c24c285ed0a (bug 1727780) for breaking browsertime tasks (new yargs version requires node 12 but version 10 is used). CLOSED TREE 2021-08-28 16:38:45 +03:00
Andreea Pavel 37fde4bee3 Bug 1710079 - disable /browser_aaa_eventTelemetry_run_first.js on OSX64 not debug r=intermittent-reviewers,jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D123893
2021-08-28 12:40:37 +00:00
Andreea Pavel 6a81e64cf3 Bug 1581889 - disable browser_openSite.js on linux64 for frequent failures r=intermittent-reviewers,jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D123892
2021-08-28 12:40:25 +00:00
Jon Coppeard 3d4adf3b3a Bug 1721562 - Remove unimplemented GCVector methods from MutableWrappedPtrOperations for GCVector r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D123654
2021-08-28 12:17:58 +00:00
Sylvestre Ledru e234d447b0 Bug 1727824 - Update to Sphinx 4.1.2 & copybutton 0.4.0 r=firefox-source-docs-reviewers,championshuttler
Differential Revision: https://phabricator.services.mozilla.com/D123817
2021-08-28 04:10:22 +00:00
Matt Woodrow 4adc8a1013 Bug 1727876 - Remove BasicCompositor. r=jrmuizel
Depends on D123882

Differential Revision: https://phabricator.services.mozilla.com/D123883
2021-08-28 03:54:24 +00:00
Matt Woodrow 5c99a19709 Bug 1727683 - Remove LayerTreeInvalidation. r=jrmuizel
Depends on D123881

Differential Revision: https://phabricator.services.mozilla.com/D123882
2021-08-28 03:54:23 +00:00
Matt Woodrow 7960f3b11b Bug 1727684 - Remove ContentHost/ImageHost. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D123881
2021-08-28 03:54:23 +00:00
Sonia Singla 8577eff6ca Bug 1501983 - Add onslotchange event handler.r=smaug
Reflects following spec changes:
- https://github.com/whatwg/html/pull/4129
- https://github.com/whatwg/dom/pull/785

Those new spec addition is already implemented in Safari and Chromium is working on it.

Differential Revision: https://phabricator.services.mozilla.com/D123775
2021-08-27 20:15:30 +00:00
Olivier Tilloy 27a83cc305 Bug 1726808 - Un-hardcode the snap name to check against in nsToolkitProfileService::IsSnapEnvironment(). r=stransky,mossop
Differential Revision: https://phabricator.services.mozilla.com/D123239
2021-08-27 18:51:41 +00:00
André Bargull 6008d35712 Bug 1670033 - Part 8: Add tests for canonical time zones. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D116011
2021-08-27 17:30:09 +00:00
André Bargull 9df1f02d04 Bug 1670033 - Part 7: Implement "unit" support for the "Intl Enumeration API" proposal. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D120607
2021-08-27 17:30:09 +00:00
André Bargull 415ecb6295 Bug 1670033 - Part 6: Implement "timeZone" support for the "Intl Enumeration API" proposal. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D120606
2021-08-27 17:30:08 +00:00
André Bargull 987b7dc825 Bug 1670033 - Part 5: Implement "numberingSystem" support for the "Intl Enumeration API" proposal. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D120605
2021-08-27 17:30:08 +00:00
André Bargull ba8131269e Bug 1670033 - Part 4: Implement "currency" support for the "Intl Enumeration API" proposal. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D120604
2021-08-27 17:30:08 +00:00
André Bargull 0044ff6b13 Bug 1670033 - Part 3: Implement "collation" support for the "Intl Enumeration API" proposal. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D120603
2021-08-27 17:30:07 +00:00
André Bargull 2836486a1b Bug 1670033 - Part 2: Implement "calendar" support for the "Intl Enumeration API" proposal. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D116010
2021-08-27 17:30:07 +00:00
André Bargull 133e6ea49f Bug 1670033 - Part 1: Add CompareStrings for JSLinearString arguments. r=tcampbell
The next part will sort linear strings, so in preparation for that, add a
new `CompareStrings` overload. Also change the parameters to `const`, so the
function can be called with `const` arguments.

Differential Revision: https://phabricator.services.mozilla.com/D120602
2021-08-27 17:30:06 +00:00
Iulian Moraru cd31ddf343 Backed out 5 changesets (bug 1726360) for causing build bustages on nsClipboardWayland.cpp. CLOSED TREE
Backed out changeset 8dbac57c6d97 (bug 1726360)
Backed out changeset f6a2a6120840 (bug 1726360)
Backed out changeset f1a23246cda9 (bug 1726360)
Backed out changeset 8b0f13706131 (bug 1726360)
Backed out changeset 252a8a030a49 (bug 1726360)
2021-08-27 21:29:18 +03:00
Michelle Goossens 507b8cb850 Bug 1727925 - Part 1: Migrate windows32-tests from AWS to Azure r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D123857
2021-08-27 16:31:30 +00:00
Michelle Goossens 5a65af96a6 Bug 1727801 - Create the windows10-32-2004 worker definitions r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D123787
2021-08-27 16:31:30 +00:00
Jonathan Kew eadc207a4e Bug 1725555 - patch 3 - Also use continuations array to accelerate nsTextFrame::SelectionStateChanged. r=emilio
After CollectClientRectsAndText is eliminated from the profiles here, SelectionStateChanged
is the next obvious hotspot, and it can similarly be accelerated by binary-searching the continuations.

Depends on D122999

Differential Revision: https://phabricator.services.mozilla.com/D123000
2021-08-27 16:23:25 +00:00
Jonathan Kew e8d3a05cc4 Bug 1725555 - patch 2 - Enable the primary nsTextFrame to provide, and cache, an array of all the continuations in the chain. r=emilio
This allows us to binary-search the continuations from nsRange::CollectClientRectsAndText,
instead of linear-searching the linked list for every range we need to look up.

Depends on D122998

Differential Revision: https://phabricator.services.mozilla.com/D122999
2021-08-27 16:23:24 +00:00
Jonathan Kew 065c50ed6d Bug 1725555 - patch 1 - Cache first-continuation pointer in nsContinuingTextFrame so that accessing FirstContinuation() is constant-time. r=emilio
This is helpful when we have extremely long continuation chains, to avoid having to
follow all the back-pointers to find the primary frame. By itself it makes little
difference to the testcase here, but is a basis for the patch that follows.

Differential Revision: https://phabricator.services.mozilla.com/D122998
2021-08-27 16:23:24 +00:00
Jonathan Kew 4f6c99e59c Bug 1724095 - Fix css/css-fonts/fallback-remote-to-data-url.html by explicitly loading the dataFont before the test runs. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D123851
2021-08-27 16:05:00 +00:00
criss 1ecd12d2a0 Backed out 8 changesets (bug 1670033) for causing build bustage in IntlObject. CLOSED TREE
Backed out changeset 11f4374e88ca (bug 1670033)
Backed out changeset 1cf112afb9ef (bug 1670033)
Backed out changeset 5eab40f17dff (bug 1670033)
Backed out changeset e5c156bd2ac5 (bug 1670033)
Backed out changeset 188edb43f141 (bug 1670033)
Backed out changeset 602274ba8d1a (bug 1670033)
Backed out changeset 0f1250ac5b84 (bug 1670033)
Backed out changeset 30467188ac38 (bug 1670033)
2021-08-27 19:24:46 +03:00
criss 10c4c4351f Backed out changeset 25acfe977062 (bug 1727511) for causing valgrind build bustages. CLOSED TREE 2021-08-27 18:24:28 +03:00
Tom Ritter 2026e22e30 Bug 1727914: Fix fuzzing build caused by paren error r=decoder
Differential Revision: https://phabricator.services.mozilla.com/D123856
2021-08-27 14:53:17 +00:00
André Bargull 8f8eee69da Bug 1670033 - Part 8: Add tests for canonical time zones. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D116011
2021-08-27 13:42:21 +00:00
André Bargull b0d253eee7 Bug 1670033 - Part 7: Implement "unit" support for the "Intl Enumeration API" proposal. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D120607
2021-08-27 13:42:20 +00:00
André Bargull c40e1abb33 Bug 1670033 - Part 6: Implement "timeZone" support for the "Intl Enumeration API" proposal. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D120606
2021-08-27 13:42:20 +00:00
André Bargull d1eea3960d Bug 1670033 - Part 5: Implement "numberingSystem" support for the "Intl Enumeration API" proposal. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D120605
2021-08-27 13:42:19 +00:00
André Bargull 8c85517c81 Bug 1670033 - Part 4: Implement "currency" support for the "Intl Enumeration API" proposal. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D120604
2021-08-27 13:42:19 +00:00
André Bargull df1b5f5bc0 Bug 1670033 - Part 3: Implement "collation" support for the "Intl Enumeration API" proposal. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D120603
2021-08-27 13:42:19 +00:00