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

752894 Коммитов

Автор SHA1 Сообщение Дата
Jan de Mooij 69c0f82634 Bug 1704042 part 6 - Use GetLengthProperty overload returning uint64_t for CreateFilteredListFromArrayLike. r=lth
Depends on D111385

Differential Revision: https://phabricator.services.mozilla.com/D111386
2021-04-09 13:20:47 +00:00
Jan de Mooij 8d000c7016 Bug 1704042 part 5 - Use GetLengthProperty overload returning uint64_t for TypedArray set method. r=lth
Depends on D111384

Differential Revision: https://phabricator.services.mozilla.com/D111385
2021-04-09 13:20:47 +00:00
Jan de Mooij d0875cb5d2 Bug 1704042 part 4 - Use GetLengthProperty overload returning uint64_t for TypedArray fromObject. r=lth
Depends on D111383

Differential Revision: https://phabricator.services.mozilla.com/D111384
2021-04-09 13:20:46 +00:00
Jan de Mooij 8274c4fb30 Bug 1704042 part 3 - Use GetLengthProperty overload returning uint64_t for some internal functions. r=lth
These functions aren't available to content and we don't want to support
large lengths there, so just report an exception.

Depends on D111382

Differential Revision: https://phabricator.services.mozilla.com/D111383
2021-04-09 13:20:46 +00:00
Jan de Mooij b9387f6eec Bug 1704042 part 2 - Use GetLengthProperty overload returning uint64_t for function calls. r=lth
These clamp to or check for ARGS_LENGTH_MAX so there's no change in behavior.

Depends on D111381

Differential Revision: https://phabricator.services.mozilla.com/D111382
2021-04-09 13:20:46 +00:00
Jan de Mooij 83f12f28e9 Bug 1704042 part 1 - Make GetLengthProperty overload returning uint64_t available outside Array.cpp. r=lth
Differential Revision: https://phabricator.services.mozilla.com/D111381
2021-04-09 13:20:45 +00:00
Sebastian Hengst ebd583fd80 Backed out changeset d402c8657d3f (bug 1699701) for failing newtab's activity-stream:AboutPreferences Feed and more. CLOSED TREE 2021-04-09 15:35:48 +02:00
Emilio Cobos Álvarez 480efa657d Bug 1703592 - Deal with non-finite viewbox / viewports. r=longsonr
In the test-case we end up dividing viewbox/viewport, which is inf/inf,
end up with NaN, and boom.

Differential Revision: https://phabricator.services.mozilla.com/D111325
2021-04-09 13:10:55 +00:00
Emilio Cobos Álvarez 071bf77adf Bug 1703987 - Measure percentage stroke-widths on text/non-text svg content. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D111353
2021-04-09 13:07:07 +00:00
Andrei Oprea c7084aa8a7 Bug 1699701 - Convert all usages of ExperimentFeature to singleton API r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D110284
2021-04-09 12:49:00 +00:00
Marco Bonardo d5897fcce5 Bug 1701629 - Make notification icons style closer to other urlbar icons. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D111066
2021-04-09 12:25:41 +00:00
Christoph Kerschbaumer 47028a5674 Bug 1703847: Disable Mixed Content Auto-upgrading in Nightly (and in general) r=JulianWels,arthuredelstein
Differential Revision: https://phabricator.services.mozilla.com/D111272
2021-04-09 12:20:24 +00:00
Timothy Nikkel 36fb86825a Bug 1703497. Fix offset of synthesized double tap gestures on macos. r=botond
The point is in screen pixels but it is relative to the window.

Differential Revision: https://phabricator.services.mozilla.com/D111071
2021-04-09 12:16:08 +00:00
Andreas Farre 7e442f4c0e Bug 1701190 - Make sure that a current window context exists. r=dom-worker-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D111108
2021-04-09 12:03:52 +00:00
smolnar 39d4b3fc1e Backed out changeset 766c31839315 (bug 1703497) for causing mochitest failures in test_group_double_tap_zoom. CLOSED TREE 2021-04-09 15:05:43 +03:00
stransky d7e38be9ab Bug 1703763 [Wayland] Use fast track clipboard to get clipboard content when clipboard content is owned by Firefox, r=jhorak
Recently we use fast track clipboard shortcut to get clipboard data when clipboard content is owned by Firefox but
we ask Wayland compositor for clipboard content mime types.

That may lead to a bug when Firefox is faster and sets clipboard content internally but Wayland compositor does not have the content yet.
So use fast track to also get clipboard mime types.

Differential Revision: https://phabricator.services.mozilla.com/D111377
2021-04-09 11:33:55 +00:00
Nihanth Subramanya 0132582af0 Bug 1703989 - Add unit test for DoH parental controls heuristic. r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D111352
2021-04-09 11:25:58 +00:00
Timothy Nikkel e7018a5fea Bug 1703497. Fix offset of synthesized double tap gestures on macos. r=botond
The point is in screen pixels but it is relative to the window.

Differential Revision: https://phabricator.services.mozilla.com/D111071
2021-04-09 11:23:28 +00:00
Alex Ionescu d70036af39 Bug 1703530 Update test_url from manifest object to replace platform argument r=perftest-reviewers,davehunt
Differential Revision: https://phabricator.services.mozilla.com/D111238
2021-04-09 11:22:50 +00:00
Marco Bonardo af19ef5dc4 Bug 1703274 - Enable Proton Urlbar. r=jaws,extension-reviewers,zombie,rpl
Differential Revision: https://phabricator.services.mozilla.com/D110998
2021-04-09 11:05:17 +00:00
Sebastian Hengst 2a59ce8b3d Bug 1703853 - adjust expectations for background-color-animation-with-table3.html. DONTBUILD
Expectations got modified in bug 1702830 (committed as bug 1702829).

Differential Revision: https://phabricator.services.mozilla.com/D111391
2021-04-09 10:41:55 +00:00
Michelle Goossens b572bc91b6 Bug 1703708 - Drop middle paragraph of text in safe mode / refresh profile dialog r=Gijs,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D111302
2021-04-09 09:29:51 +00:00
Makoto Kato ef3c3e56b4 Bug 1700365 - Add workaround that disables zoom to focused input. r=masayuki
This test is often failure on debug build due to zoom to focused input.

Depends on D110198

Differential Revision: https://phabricator.services.mozilla.com/D111366
2021-04-09 09:25:36 +00:00
Makoto Kato 3ed8588b5a Bug 1700365 - synthesizeNativeMouseEvent works on mobile viewport. r=masayuki
We have to consider mobile viewport scale to calculate screen position.
And mozInnerScreen isn't valid position if that scale isn't 1 (bug 1701546).

Also, this function won't work on Fission+xorigin with mobile viewport due to
no way to get current mobile viewport scale since window.top isn't same
origin.

Differential Revision: https://phabricator.services.mozilla.com/D110198
2021-04-09 09:25:36 +00:00
Makoto Kato 636f8e1395 Bug 1700365 - SynthesizeNativeMouseEvent shouldn't set button state on ButtonUp. r=geckoview-reviewers,agi
Button state is current button push state. So when on ButtonUp, this is 0.

Differential Revision: https://phabricator.services.mozilla.com/D110197
2021-04-09 09:25:35 +00:00
Sebastian Hengst c2ad600d97 Bug 1703998 - set websockets/remove-own-iframe-during-onerror.window.html as intermittently passing on Android WebRender debug. DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D111374
2021-04-09 08:36:14 +00:00
Bob Owen 724dc56ddb Bug 1658991: Don't dev crash in LockD3DTexture when device has been removed. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D110929
2021-04-09 08:31:52 +00:00
Harry Twyford 5e9bbf7a17 Bug 1703838 - Stop triggering a ConfirmationHint when a tab is sent to a device. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D111327
2021-04-09 07:46:31 +00:00
Julian Descottes a1fe979044 Bug 1703806 - [devtools] Use the reloaded event in DAMP tests for the a11y panel r=nchevobbe,perftest-reviewers
Depends on D110247

Differential Revision: https://phabricator.services.mozilla.com/D111258
2021-04-09 07:30:48 +00:00
Masayuki Nakano 762db8b745 Bug 1691051 - Make edit action data which is being handled manage whether the editor was temporarily destroyed or not r=m_kato
The editing session is temporarily disabled when opening a document.  Then,
when the document is closed, the editing session is restored with same
`HTMLEditor` instance.  Therefore, initializing editor may occur during
an edit action is being handled.

Probably, this must not be used in normal webapps since mutation events are
used rarely.  So, I think that for avoiding further complicated things, we
should make editor won't accept new edit action handling after original
editing session ended.

This patch renames `AutoEditActionDataSetter::CanHandle()` to
`IsDataAvailable()` since it just checks whether the important resource is
available or not.  And makes new `CanHandle()` return `false` for
non-initializing edit actions if editing session has ended.

Differential Revision: https://phabricator.services.mozilla.com/D111241
2021-04-09 06:59:54 +00:00
Daisuke Akatsuka 5f24f0f1a2 Bug 1699039: Make components refering to time to uncontrolled component.r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D110790
2021-04-09 06:53:43 +00:00
Lee Salzman 398a6ad32a Bug 1703893 - More accurate uv_step for fast-paths. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D111359
2021-04-09 06:32:18 +00:00
Henrik Skupin 07e5e5eff0 Bug 1700557 - [geckodriver] Update changeset and release date for the 0.29.1 release. r=webdriver-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D111160
2021-04-09 06:17:55 +00:00
Tom Tung a48aba68bc Bug 1703464 - Bypass the CORP check when the loading principal is a system principal; r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D111056
2021-04-09 06:09:56 +00:00
Aaron Klotz 3ae6f9e444 Bug 1668952: Part 4 - Update GV tests for long URIs; r=geckoview-reviewers,droeh
Now that we can report long URI errors to the app using `NavigationDelegate`,
I have updated the tests accordingly.

I also added a test to ensure that long `data:` URIs are still accepted when we
are not dealing with a toplevel document. We generate a PNG image filled with
randomness, which compresses poorly (and thus is "large") and yet is a valid PNG
file. We expect its `onload` event to fire.

Differential Revision: https://phabricator.services.mozilla.com/D109429
2021-04-09 06:01:59 +00:00
Aaron Klotz 79d24bda0b Bug 1668952: Part 3 - update api.txt and changelog; r=geckoview-reviewers,droeh
I also fixed a bad reference in the `setEnterpriseRootsEnabled` entry.

Differential Revision: https://phabricator.services.mozilla.com/D109428
2021-04-09 06:01:59 +00:00
Aaron Klotz d248fe7914 Bug 1668952: Part 2 - Fix handling of long toplevel data URIs in GeckoView; r=geckoview-reviewers,agi
While I evaluated multiple approaches to this problem, I selected two:

The first is to handle the case in `GeckoSession.load` directly from within
Java, as this allows us to avoid a Java to Native string conversion, as well as
giving us better opportunities to report the exact nature of the failure back to
the embedding app.

We add a new error code specifically for this case.

In the case where no `NavigationDelegate` is registered, I used
`GeckoSession.load` throwing an exception as a crude way of notifying the app.

In the case where the load request originates from within web content, we deny
the request from within `nsWindow` to avoid requiring any conversion of the
URI spec from native into Java.

Differential Revision: https://phabricator.services.mozilla.com/D109427
2021-04-09 06:01:58 +00:00
Aaron Klotz 2ffd0ef1a2 Bug 1668952: Part 1 - Remove GeckoView-specific limits on URI length from Necko; r=necko-reviewers,valentin
For webcompat reasons, we have determined that we should only limit the length
of URIs in specific cases. We're going to handle this on the GV side instead.

Differential Revision: https://phabricator.services.mozilla.com/D109426
2021-04-09 06:01:58 +00:00
Masayuki Nakano 46da3502b3 Bug 1699866 - Make `HTMLEditor::SplitAncestorStyledInlineElementsAt` return "not handled" if there is no splitable element at given point r=m_kato
When given point is **in** a void element, e.g., this can be when JS inserts
nodes into a void element like `<meta>`,
`HTMLEditor::SplitNodeDeepWithTransaction` may return "not handled" state.
So, it's possible case, we shouldn't assert the case.

This patch adds both WPT and crashtests because I couldn't reproduce it
with WPT's simpler API use.

Differential Revision: https://phabricator.services.mozilla.com/D111231
2021-04-09 02:34:23 +00:00
Alexandru Michis 09b48c2afd Backed out changeset aab899c222a0 (bug 1702310) for causing talos failures. 2021-04-09 05:26:23 +03:00
Daisuke Akatsuka ade063249d Bug 1446828: Focus on urlbar upon middle clicking on home button. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D111208
2021-04-09 02:16:22 +00:00
Lee Salzman c3c9d1ce6b Bug 1694721 - Don't do a debug render if there is no debug overlay. r=gw
When toggling debug state, we can sometimes queue debug renders, without
any debug overlay to send them to. This patch ensures we don't actually
draw anything in the debug renderer when there is no debug overlay.

Differential Revision: https://phabricator.services.mozilla.com/D111355
2021-04-09 01:53:34 +00:00
Drew Willcoxon 039abf1efa Bug 1703389 - Fix failures in browser/modules/test/browser/browser_PageActions_newWindow.js with proton urlbar. r=mak
Depends on D111222

Differential Revision: https://phabricator.services.mozilla.com/D111330
2021-04-09 01:27:41 +00:00
Gijs Kruitbosch 79ad8f7e81 Bug 1703716 - Enable Proton panels. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D111202
2021-04-09 00:33:05 +00:00
Andrew Osmond 6094f4d097 Bug 1703839 - Defer OOM crashing for mapping in shared surfaces to frame rendering. r=jrmuizel
If we fail to map in a shared surface that we support unmapping for,
don't OOM crash immediately if this is the first time we are mapping it.
This is because we probably freed up a bunch of virtual memory already
purging the expiration tracker, but on Windows, this may take some time
before the virtual address space is available for reuse. Since there
will be some time gap between the mapping and the frame rendering, this
may be sufficient time to recover in some cases, avoiding a GPU process
OOM crash.

This should only affect 32-bit users, since we never unmap on 64-bit
builds.

Differential Revision: https://phabricator.services.mozilla.com/D111270
2021-04-09 00:27:54 +00:00
sotaro ef4b27093a Bug 1702953 - Stop RenderBackend's task from WebRenderAPI::DestroyRenderer() r=gfx-reviewers,kvark
WebRenderAPI::DestroyRenderer() destroys RendererOGL and WebRender's Renderer instance. After RendererOGL is destroyed, RenderBackend could not sent message to WebRender's Renderer via RenderBackend::result_tx.

Message sending by RenderBackend::result_tx needs to be stopped after destroying WebRender's Renderer instance.

After wr_api_stop_render_backend() call, RemoveRenderer have to be called via wr_api_send_external_event(). It actually destroys the renderer. Its message arrives when WR backend is in RenderBackendStatus::StopRenderBackend state. At the time, WR backend is stopped sending message to renderer.

Differential Revision: https://phabricator.services.mozilla.com/D110795
2021-04-09 00:23:39 +00:00
Alexandru Michis b40e464292 Backed out 5 changesets (bug 1702330) for causing failures in browser_aboutNewTab_defaultBrowserNotification.js
CLOSED TREE

Backed out changeset 365fd1bb6dde (bug 1702330)
Backed out changeset eba73c72be18 (bug 1702330)
Backed out changeset e1277c21543f (bug 1702330)
Backed out changeset 907e4fcda266 (bug 1702330)
Backed out changeset eb2a8569ed02 (bug 1702330)
2021-04-09 03:34:23 +03:00
Alexandru Michis 1d33d2e604 Backed out changeset fc811f9689e0 (bug 1703740) for causing sm failures in property-escapes/generated
CLOSED TREE
2021-04-09 03:33:33 +03:00
Kagami Sascha Rosylight a80acd6199 Bug 1697093 - Expose ongamepad[dis]connected IDL attributes r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D108528
2021-04-08 23:25:42 +00:00
Andrew McCreight 6ad26cb8a3 Bug 1703083 - Don't run maybeShowOtherBookmarksFolder if doc has gone away. r=kmag
This can also touch the doc, so we don't want to run it if the
doc has been unlinked.

Differential Revision: https://phabricator.services.mozilla.com/D111332
2021-04-08 23:21:43 +00:00