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

689944 Коммитов

Автор SHA1 Сообщение Дата
Boris Zbarsky 9b0b56bfc7 Bug 1612213 part 3. Switch Promise::RejectWithDOMException consumers to new convenience methods. r=smaug,jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D61269

--HG--
extra : moz-landing-system : lando
2020-02-03 20:37:32 +00:00
Boris Zbarsky 7a16020858 Bug 1612213 part 2. Move the DOMException definitions from ErrorResult.h into a separate file. r=smaug
This way we can use the for Promise too.

Differential Revision: https://phabricator.services.mozilla.com/D61268

--HG--
extra : moz-landing-system : lando
2020-01-30 08:57:42 +00:00
Boris Zbarsky b88d5ac5a8 Bug 1612213 part 1. Switch most consumers of ThrowDOMException to the new methods. r=smaug,jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D61267

--HG--
extra : moz-landing-system : lando
2020-02-03 20:19:11 +00:00
Harald Kirschner 59a2e7a58b Bug 1612621 - Fix regressed time localization for WS by removing Intl use r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D61498

--HG--
extra : moz-landing-system : lando
2020-02-03 20:18:00 +00:00
Jim Blandy 2436afd008 Bug 1571974: Simplify orientation handling in line decoration shaders. r=kvark
We want to use the same line decoration (dashed, dotted, wavy) shader code for
both horizontal and vertical lines, so it makes sense for them to use a
coordinate system that has been rotated (transposed, actually) so that .x always
runs parallel to the line being decorated, and .y is always perpendicular.

Before this patch, we passed the orientation enum as a vertex attribute, used a
switch to swap coordinates in the vertex shader, and then swapped them again in
the fragment shader.

This patch trades the orientation for a f32 'axis select' vertex attribute, and
uses `mix` to swap them in the vertex shader. Then no consideration is necessary
in the fragment shader: the vLocalPos varying is already in the appropriate form.

Since get_line_decoration_sizes is already thinking in terms of line-parallel
coordinates, it might seem like a good idea for decoration jobs to simply use
line-parallel coordinates throughout. However, this actually results in more
swapping and opportunities for confusion: much of the CPU work is concerned with
the rectangle the decoration's mask occupies in the texture cache, which is
axis-aligned.

Differential Revision: https://phabricator.services.mozilla.com/D60926

--HG--
extra : rebase_source : 8dcd8455c664067dd25f583c944d611a35c25e79
extra : source : dfb21632ea198c1acdc6a34ee08113d516f666d5
2020-01-24 21:46:56 +00:00
Jim Blandy 3e1f7b939b Bug 1571974: Make prim_store::get_line_decoration_sizes return an oriented LayoutSize. r=kvark
Without this change, get_line_decoration_sizes returns an (inline_size,
block_size) pair, where inline_size is parallel to the line being decorated, and
block_size perpendicular. However, these values are generally used as the
dimensions of an axis-aligned bounding box for the line, not as specific
parameters to the rendering process, so it makes sense to arrange them into a
LayoutSize value in this function, since it is already taking the orientation
into account anyway.

The caller, SceneBuilder::add_line, then doesn't need to swap the components,
and the adjustment of the clipping rectangle to avoid partial dots looks a bit
more natural: widths with widths, heights with heights.

Differential Revision: https://phabricator.services.mozilla.com/D60925

--HG--
extra : rebase_source : 093d572a7a35bddc6e070fc08d511f7f164a4d89
extra : source : 3549dd471446c291864822736f4587c81741cd56
2020-02-03 09:31:22 +00:00
Scott 3d5caced73 Bug 1612326 - Update model keys pref used for v2 r=nanj
Differential Revision: https://phabricator.services.mozilla.com/D61308

--HG--
extra : moz-landing-system : lando
2020-02-03 20:15:22 +00:00
Boris Zbarsky 257ad3a634 Bug 1412856 part 6. Add more useful error messages for serviceworker exceptions. r=dom-workers-and-storage-reviewers,perry?
For some of these I had to take a guess due to lack of familiarity with this
code, so careful review of the actual strings would be much appreciated.

There's still a bunch of code in dom/serviceworkers that constructs a
CopyableErrorResult from just an nsresult, but I don't understand that code well
enough to write good error messages.

Differential Revision: https://phabricator.services.mozilla.com/D61201

--HG--
extra : moz-landing-system : lando
2020-02-03 20:09:15 +00:00
Boris Zbarsky 92c3cdecf9 Bug 1412856 part 5. Remove use of NS_ERROR_DOM_TYPE_ERR from Clients.openWindow. r=dom-workers-and-storage-reviewers,perry?
Some of these error messages are not very informative; better ones would be appreciated.

Differential Revision: https://phabricator.services.mozilla.com/D61200

--HG--
extra : moz-landing-system : lando
2020-01-30 08:33:32 +00:00
Boris Zbarsky 44423c8ecf Bug 1412856 part 4. Make SourcePromise have CopyableErrorResult as its rejection type. r=dom-workers-and-storage-reviewers,sg?
Differential Revision: https://phabricator.services.mozilla.com/D61199

--HG--
extra : moz-landing-system : lando
2020-01-30 08:54:55 +00:00
Boris Zbarsky 18f4a563a6 Bug 1412856 part 3. Test for the right exception code for TypeErrors. r=dom-workers-and-storage-reviewers,perry?
I think the current code made us filter out all the carefully crafted TypeError
messages we might have reported...

Differential Revision: https://phabricator.services.mozilla.com/D61198

--HG--
extra : moz-landing-system : lando
2020-01-30 08:09:58 +00:00
Boris Zbarsky 3c46021c3c Bug 1412856 part 2. Stop using NS_ERROR_DOM_TYPE_ERR in Client::Navigate. r=dom-workers-and-storage-reviewers,perry?
Differential Revision: https://phabricator.services.mozilla.com/D61197

--HG--
extra : moz-landing-system : lando
2020-01-30 08:09:38 +00:00
Boris Zbarsky a389959875 Bug 1412856 part 1. Change ClientOpPromise to use a CopyableErrorResult for its rejection type. r=dom-workers-and-storage-reviewers,sg?
Differential Revision: https://phabricator.services.mozilla.com/D61196

--HG--
extra : moz-landing-system : lando
2020-01-30 09:01:26 +00:00
Oana Pop Rus 96b8905f87 Backed out 2 changesets (bug 1571974) for turning bug 1518179 into perma bc failures. on a CLOSED TREE
Backed out changeset dfb21632ea19 (bug 1571974)
Backed out changeset 3549dd471446 (bug 1571974)
2020-02-03 22:00:29 +02:00
Michal Novotny 68a2a76615 Bug 1610810 - FTP download prompt appears while authentication dialog is displayed, r=valentin
Set nsFtpChannel's content-type to application/octet-stream only when downloading a file.

Differential Revision: https://phabricator.services.mozilla.com/D61494

--HG--
extra : moz-landing-system : lando
2020-02-03 19:22:37 +00:00
Jonathan Kew 757aa81959 Bug 1611997 - Add WPT reftest for correct mapping between font-style:oblique and opentype 'slnt' axis. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D61229

--HG--
extra : moz-landing-system : lando
2020-02-03 19:14:18 +00:00
Jonathan Kew 2d4e9aeb66 Bug 1611997 - Invert the sign of the slant angle when mapping between CSS font-style and OpenType 'slnt' axis. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D61228

--HG--
extra : moz-landing-system : lando
2020-01-31 15:05:52 +00:00
Matt Woodrow d70ca2b3dc Bug 1611588 - Handle null BrowsingContext in ExternalHelperAppParent. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D61309

--HG--
extra : moz-landing-system : lando
2020-02-03 18:57:08 +00:00
Nicolas B. Pierron f862fc3ecb Bug 1607769 - Remove script loader telemetry added by Bug 1579876 and Bug 1573904. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D60288

--HG--
extra : moz-landing-system : lando
2020-02-03 18:55:44 +00:00
Emilio Cobos Álvarez 33b4cfe736 Bug 1610702 - Generalize Vector::podResizeToFit into Vector::shrinkStorageToFit(). r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D61337

--HG--
extra : moz-landing-system : lando
2020-02-03 17:32:12 +00:00
Jim Blandy 279cadb72a Bug 1571974: Simplify orientation handling in line decoration shaders. r=kvark
We want to use the same line decoration (dashed, dotted, wavy) shader code for
both horizontal and vertical lines, so it makes sense for them to use a
coordinate system that has been rotated (transposed, actually) so that .x always
runs parallel to the line being decorated, and .y is always perpendicular.

Before this patch, we passed the orientation enum as a vertex attribute, used a
switch to swap coordinates in the vertex shader, and then swapped them again in
the fragment shader.

This patch trades the orientation for a f32 'axis select' vertex attribute, and
uses `mix` to swap them in the vertex shader. Then no consideration is necessary
in the fragment shader: the vLocalPos varying is already in the appropriate form.

Since get_line_decoration_sizes is already thinking in terms of line-parallel
coordinates, it might seem like a good idea for decoration jobs to simply use
line-parallel coordinates throughout. However, this actually results in more
swapping and opportunities for confusion: much of the CPU work is concerned with
the rectangle the decoration's mask occupies in the texture cache, which is
axis-aligned.

Differential Revision: https://phabricator.services.mozilla.com/D60926

--HG--
extra : moz-landing-system : lando
2020-01-24 21:46:56 +00:00
Jim Blandy b524ca8410 Bug 1571974: Make prim_store::get_line_decoration_sizes return an oriented LayoutSize. r=kvark
Without this change, get_line_decoration_sizes returns an (inline_size,
block_size) pair, where inline_size is parallel to the line being decorated, and
block_size perpendicular. However, these values are generally used as the
dimensions of an axis-aligned bounding box for the line, not as specific
parameters to the rendering process, so it makes sense to arrange them into a
LayoutSize value in this function, since it is already taking the orientation
into account anyway.

The caller, SceneBuilder::add_line, then doesn't need to swap the components,
and the adjustment of the clipping rectangle to avoid partial dots looks a bit
more natural: widths with widths, heights with heights.

Differential Revision: https://phabricator.services.mozilla.com/D60925

--HG--
extra : moz-landing-system : lando
2020-02-03 09:31:22 +00:00
Ksenia Berezina 7455ec021f Bug 1612909 - Import WebCompat GoFaster 7.0.0 sources; r=miketaylr
Differential Revision: https://phabricator.services.mozilla.com/D61482

--HG--
extra : moz-landing-system : lando
2020-02-03 18:01:37 +00:00
Drew Willcoxon be8fbc64ec Bug 1606918 - Port the Update Intervention from the experiment, part 2: Tests. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D60786

--HG--
extra : moz-landing-system : lando
2020-02-03 12:46:22 +00:00
Drew Willcoxon 91b23b2c3a Bug 1606918 - Port the Update Intervention from the experiment, part 1: Check for app updates. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D61204

--HG--
extra : moz-landing-system : lando
2020-02-03 12:12:38 +00:00
Matthew Gregan 239b521c98 Bug 1612139 - Unship libcubeb's obsolete AudioTrack backend. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D61399

--HG--
extra : moz-landing-system : lando
2020-02-03 10:04:53 +00:00
Tom Tung 7537dfd059 Bug 1612307 - Correct the channels for Atmoics and SharedArrayBuffer in interfaces mochitests; r=annevk
Differential Revision: https://phabricator.services.mozilla.com/D61429

--HG--
extra : moz-landing-system : lando
2020-02-03 16:47:37 +00:00
Tooru Fujisawa d174ea3414 Bug 1611876 - Specify the stack index for decompilation when reporting null or undefined property access. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D61243

--HG--
extra : moz-landing-system : lando
2020-02-03 15:07:06 +00:00
emcminn dc7be9b230 Bug 1578257 - Positioning fixes for the Special Monitor Snippet r=andreio
Differential Revision: https://phabricator.services.mozilla.com/D60734

--HG--
extra : moz-landing-system : lando
2020-02-03 16:42:41 +00:00
Scott 9027e2f744 Bug 1611443 - console error from taggers cache r=nanj
Differential Revision: https://phabricator.services.mozilla.com/D60990

--HG--
extra : moz-landing-system : lando
2020-02-03 16:25:18 +00:00
Gabriele Svelto ae593b8545 Bug 1612899 - Close the pipe used to send crash annotations to the parent process only once r=froydnj
The issue was caused by us making a copy of the platform writer thus
triggering the destructor twice.

Differential Revision: https://phabricator.services.mozilla.com/D61477

--HG--
extra : moz-landing-system : lando
2020-02-03 16:08:30 +00:00
Edgar Chen d09e4169a6 Bug 1612819 - Enable test_pointerevent_movementxy-manual.html on Android; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D61465

--HG--
extra : moz-landing-system : lando
2020-02-03 15:23:02 +00:00
MahakBansal 6fb7b7ee42 Bug 1603100 - Remove the unused line in U2F.cpp. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D61428

--HG--
extra : moz-landing-system : lando
2020-02-03 16:13:34 +00:00
Honza Bambas 17b225e696 Bug 1611483 - Fix `BAD_IP` in netwerk/test/unit/test_trr.js on Android to be 127.9.9.9 to make the test work, r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D61067

--HG--
extra : moz-landing-system : lando
2020-02-03 08:27:12 +00:00
Jonathan Kew ab65dd885f Bug 1612822 - Refactor text decoration offset/thickness computations. r=emilio
We replace SetWidthIfLength and SetOffsetIfLength with ComputeDecorationLine{Thickness,Offset} functions,
and consolidate more of the computation of the offset within this function to simplify callers.

Differential Revision: https://phabricator.services.mozilla.com/D61454

--HG--
extra : moz-landing-system : lando
2020-02-03 14:38:47 +00:00
ffxbld 8715672a5b No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D61462

--HG--
extra : moz-landing-system : lando
2020-02-03 15:34:55 +00:00
Alexandre Poirot 43612e0dba Bug 1609075 - Silence the getEmbedderElement error message. r=jdescottes
This error should hopefully be addressed in bug 1579042.

Differential Revision: https://phabricator.services.mozilla.com/D61466

--HG--
extra : moz-landing-system : lando
2020-02-03 13:49:52 +00:00
Vincent Lequertier 6c24cec024 Bug 1605873 - Rename networkMenu.ws.summary.tooltip.framesTranferredSize to networkMenu.ws.summary.label.framesTranferredSize;r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D61098

--HG--
extra : moz-landing-system : lando
2020-02-03 15:22:59 +00:00
Nicolas Chevobbe b71112f087 Bug 1601347 - Fix reverse search input jumpiness. r=Honza.
Making the reverse search input not taking into account
for the editor grid layout.
This meant we needed to group icons in their own
element to be able to wrap.

Differential Revision: https://phabricator.services.mozilla.com/D61395

--HG--
extra : moz-landing-system : lando
2020-02-03 15:17:33 +00:00
Emilio Cobos Álvarez 00cd8ba131 Bug 1612856 - Make ./mach cargo check accept -v and -j flags. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D61468

--HG--
extra : moz-landing-system : lando
2020-02-03 15:21:16 +00:00
Arthur Iakab 84f3ddf0fb Backed out changeset 75315a8682b6 (bug 1609732) for causing build bustages on nsWindow.cpp.
CLOSED TREE
2020-02-03 17:18:26 +02:00
Julian Descottes e7ad852a73 Bug 1611140 - Add fission debug jobs to devtools preset r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D60835

--HG--
extra : moz-landing-system : lando
2020-02-03 15:04:52 +00:00
Tarek Ziadé 0360f3134e Bug 1612790 - Dump domain stats r=Bebe
This patch allows us to dump per-domain hit counts to add more insights in the
proxy usage.

Differential Revision: https://phabricator.services.mozilla.com/D61432

--HG--
extra : moz-landing-system : lando
2020-02-03 15:03:28 +00:00
Jan Horak 8da98936d8 Bug 1609732 Pause renderer before hiding gtkwindow to avoid crashes in webrender; r=stransky
Calling gtk_window_hide without pausing renderer cause crashes. Also to avoid repeated calls of NativeMoveResizeWaylandPopup from NativeMoveResizeWaylandPopup we don't call
Resize or Move anymore, we just update mBounds which is enough.

Differential Revision: https://phabricator.services.mozilla.com/D61312

--HG--
extra : moz-landing-system : lando
2020-02-03 13:58:58 +00:00
Nicolas Chevobbe 782a1ddc9e Bug 1612817 - Fix empty Stack Trace panel when selecting another request. r=Honza.
In the StackTracePanel component we're fetching
stacktrace data on demand. In Bug 1570476 we
added a check to make sure we wouldn't fetch
the data if the same request was selected.
The issue is that the check is done on an
undefined property, and so the stacktrace
are never fetched from componentWillReceiveProps.
The test checking the stack trace data wasn't
actually doing so by triggering the UI, so the
bug wasn't caught.
This patch fixes the issue and modifies the test
so we make sure that the stacktrace is displayed
when selecting the stacktrace panel.

Differential Revision: https://phabricator.services.mozilla.com/D61467

--HG--
extra : moz-landing-system : lando
2020-02-03 14:54:26 +00:00
Jonathan Kew 4a153d86a2 Bug 1607308 - Move the from-font value from text-underline-offset to text-underline-position, as per recent spec changes, and fix interaction between position and offset. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D59778

--HG--
extra : moz-landing-system : lando
2020-02-03 14:38:28 +00:00
Jonathan Kew aa8ee28de1 Bug 1607534 - Support percentage values for the CSS text-decoration-thickness and text-underline-offset properties. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D59777

--HG--
extra : moz-landing-system : lando
2020-02-03 14:21:32 +00:00
Jean-Yves Avenard ada26188cc Bug 1606901 - P1. Don't assume that nsIAsyncInputStream are always non-blocking. r=baku
From the documentation:
" While this interface is almost exclusively used with non-blocking streams, it is not necessary that nsIInputStream::isNonBlocking return true"

So we can't assume that a nsIAsyncInputStream is always non-blocking. Handle the case where it is.

Differential Revision: https://phabricator.services.mozilla.com/D61368

--HG--
extra : moz-landing-system : lando
2020-02-03 14:07:06 +00:00
Ciure Andrei 141db422c6 Backed out 2 changesets (bug 1607308, bug 1607534) for causing text-decoration-underline-position-vertical-ja.html to permafail CLOSED TREE
Backed out changeset e55052ed4064 (bug 1607308)
Backed out changeset 280bd106d48a (bug 1607534)
2020-02-03 16:17:02 +02:00
Pranav Pandey 43b2e88f3e Bug 1517969 - Removed PseudoArray previewer and related tests. r=nchevobbe.
The PseudoArray mechanism was introduced a while ago to render jquery-result objects as arrays (even if they're objects).
This was confusing users, so this patch removes this behavior.

Differential Revision: https://phabricator.services.mozilla.com/D61418

--HG--
extra : moz-landing-system : lando
2020-02-03 13:52:58 +00:00