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

685028 Коммитов

Автор SHA1 Сообщение Дата
Nico Grunbaum 76dcc2f02b Bug 1601561 - Move parser names to static functions.;r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D57131

--HG--
extra : moz-landing-system : lando
2019-12-16 14:07:13 +00:00
Andrew McCreight 98a1b03ac0 Bug 1604675 - Remove expired REJECTED_MESSAGE_MANAGER_MESSAGE telemetry. r=smaug
This expired a long time ago, and nobody missed it, so just remove it.

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

--HG--
extra : moz-landing-system : lando
2019-12-18 00:57:28 +00:00
Nathan Froyd ee4548c7d5 Bug 1604549 - remove scriptability and classinfo from nsThreadPool; r=bzbarsky
There's no reason for this class to be exposed to script; it'd be
awkward to use from script anyway, because the runnables script
dispatches would be running off the main thread.  Thread pool listeners
likewise can't be exposed to script or implemented by script, because
they are also running off the main thread.  The classinfo stuff just
seems like a relic from a bygone era.

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

--HG--
extra : moz-landing-system : lando
2019-12-17 17:12:14 +00:00
Nathan Froyd 2cc18dcb1f Bug 1604550 - use GeneratedFile template in dom/webgpu/; r=kvark
The template is slightly nicer and slighty more modern.

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

--HG--
extra : moz-landing-system : lando
2019-12-17 17:39:29 +00:00
Nathan Froyd 7651624c69 Bug 1604556 - make some WebSocketChannel runnables use mozilla::Runnable; r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D57489

--HG--
extra : moz-landing-system : lando
2019-12-17 19:45:48 +00:00
Mats Palmgren c54ab2ee1a Bug 1604668 - Remove the eExcludesIgnorableWhitespace IsFrameOfType bit. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D57569

--HG--
extra : moz-landing-system : lando
2019-12-18 01:41:20 +00:00
Cosmin Sabou fbd904633a Backed out changeset b1e1671fd704 (bug 1553265) for gv-unit failures. 2019-12-18 03:18:14 +02:00
Doug Thayer 98bb4e5040 Bug 1588232 - Add OOP iframes to tresize test r=stephendonner,perftest-reviewers,mconley
In brief, this just includes two out-of-process iframes in the
tresize test page, so that when we are resizing the main window,
we will also be resizing in each of the other fission processes.

The current tresize test is registered at a chrome:// URL, so I
had to make it an http URL to have OOP http iframes, which meant
I had to adjust a bit of the framescriptery to account for this.

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

--HG--
extra : moz-landing-system : lando
2019-12-18 00:06:28 +00:00
Thomas Wisniewski 63935c0afe Bug 1553265 - add a document.addCertException function to about:certerror pages and use it there; also treat GeckoView error pages as CallerIsTrusted(Net|Cert)Error; r=snorp,johannh,baku
Add a document.addCertException function to about:certerror pages, and use it on the desktop certerror page.

Also, as the CallerIsTrusted* functions expect URLs like about:certerror, but GeckoView error pages are data URLs, and so need to be handled differently for these special error-page methods to be exposed on their documents.

Example usage of document.addCertException:
  document.addCertException(
    true|false /* true == temporary, false == permanent */
  ).then(
    () => {
      location.reload();
    },
    err => {
      console.error(err);
    }
  );

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

--HG--
extra : moz-landing-system : lando
2019-12-17 21:54:32 +00:00
Dana Keeler b909ee58e2 bug 1602593 - add dedicated thread for osclientcerts OS API calls r=jcj
The OS APIs used by the osclientcerts module aren't guaranteed to be
thread-safe. To deal with this, this patch introduces a dedicated thread to
perform these operations.

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

--HG--
extra : moz-landing-system : lando
2019-12-18 00:20:28 +00:00
Nan Jiang c0f99c9a08 Bug 1602064 - Handle deletion-ping for the impression_id in Messaging System and Activity Stream r=chutten
This adds a Scalar category "deletion.request" for the deletion request, it also adds a probe "impression_id" into this category.

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

--HG--
extra : moz-landing-system : lando
2019-12-18 00:06:10 +00:00
Noemi Erli 58bf47752e Backed out 2 changesets (bug 1598497) for causing OSX build bustages CLOSED TREE
Backed out changeset 3b31bbf74a5f (bug 1598497)
Backed out changeset 81beebdc2202 (bug 1598497)
2019-12-18 01:54:56 +02:00
Mats Palmgren 76c9bc2441 Bug 1603773 - Disable the MathML mfenced element by default in all builds. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D57215

--HG--
extra : moz-landing-system : lando
2019-12-17 23:42:38 +00:00
Agi Sferro f7b714c18c Bug 1553354 - Store messages when either the port or the delegate cannot be found. r=snorp
`port.connectNative` is synchronous, so there is the slim possibility that a
message could be sent before the app has been notified that the port has been
created. Similarly, if the app has not attached a listener yet, the port
message gets lost.

In either case, we now store this message in a list that we check when a
delegate is attached to the port object.

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

--HG--
extra : moz-landing-system : lando
2019-12-17 23:24:02 +00:00
Agi Sferro f70dd054b3 Bug 1553354 - Add org.mozilla.gecko.MultiMap. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D57510

--HG--
extra : moz-landing-system : lando
2019-12-17 23:24:00 +00:00
Agi Sferro dafbe96c98 Bug 1600742 - Implement WebExtensionController.list. r=snorp,esawin
Differential Revision: https://phabricator.services.mozilla.com/D56793

--HG--
extra : moz-landing-system : lando
2019-12-17 23:24:24 +00:00
Agi Sferro f3e3650c45 Bug 1600742 - Add GeckoResult.allOf. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D56792

--HG--
extra : moz-landing-system : lando
2019-12-17 23:23:56 +00:00
Agi Sferro 14f0d7f3b6 Bug 1600742 - Use WebExtensionPolicy instead of AddonManager for actions. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D56791

--HG--
extra : moz-landing-system : lando
2019-12-17 23:23:54 +00:00
Agi Sferro f8d68e46e1 Bug 1600742 - Move event listeners from WebExtension to WebExtensionController. r=snorp,esawin
Differential Revision: https://phabricator.services.mozilla.com/D57035

--HG--
extra : moz-landing-system : lando
2019-12-17 23:23:52 +00:00
Agi Sferro 6c81d2a85b Bug 1600742 - Require WebExtensionController in the WebExtension constructor. r=esawin,snorp
The controller will be used in a later patch to listen to delegates updates.

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

--HG--
extra : moz-landing-system : lando
2019-12-17 23:23:44 +00:00
Agi Sferro 8fb7253c6a Bug 1600742 - Add alias for webExtensionController in WebExtensionTest. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D57365

--HG--
extra : moz-landing-system : lando
2019-12-17 23:23:42 +00:00
Agi Sferro f93d8916ac Bug 1600742 - Fix all kotlin warnings in Extension tests. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D57364

--HG--
extra : moz-landing-system : lando
2019-12-17 23:23:40 +00:00
Agi Sferro 07932cbbd1 Bug 1600742 - Rename DelegateObserver -> DelegateController. r=esawin,snorp
Differential Revision: https://phabricator.services.mozilla.com/D57034

--HG--
extra : moz-landing-system : lando
2019-12-17 23:23:38 +00:00
Agi Sferro dd3f4eadd6 Bug 1600742 - Refactor WebExtension.Listener to be usable without a GeckoSession. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D57033

--HG--
extra : moz-landing-system : lando
2019-12-17 23:23:35 +00:00
Jean-Yves Avenard 653fbeaf3a Bug 1598497 - P2. Have the canceled attribute only if explicitly canceled. r=mayhemer.
Previously, GetCancelled() would have return true should the channel's status was an error.
Doing Cancel(NS_OK) for example, would have made a follow-up call to GetCancelled() return false. However, we can assert that such a call would have been a bug.

Following this change GetCancelled() will only return true if Cancel() was explicitly called.

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

--HG--
extra : moz-landing-system : lando
2019-12-17 23:21:55 +00:00
Jean-Yves Avenard c63570cb58 Bug 1598497 - P1. move canceled attribute to nsIChannel. r=mayhemer
There is no functional change with this commit. The default implementation for GetCanceled() is still to check if the status code is a failure.

However, it can be argued that as you had to call Cancel() on the nsIChannel, having to check the nsIHttpChannelInternal interface to determine if you had been canceled in the past was rather a non obvious path.

It makes more sense to check the nsIChannel interface to determine if it's been canceled already and this allows for finer granularity if needed in the future.

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

--HG--
extra : moz-landing-system : lando
2019-12-17 23:21:46 +00:00
Mats Palmgren ffee4dbd18 Bug 1602430 - Apply min/max-height correctly for fragmented boxes with no height specified. r=TYLin
Depends on D56738

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

--HG--
extra : moz-landing-system : lando
2019-12-17 23:13:13 +00:00
Mats Palmgren a92e745526 Bug 1574046 - Wallpaper the effect of this bug in nsBlockFrame::ComputeFinalSize. r=TYLin
Differential Revision: https://phabricator.services.mozilla.com/D56738

--HG--
extra : moz-landing-system : lando
2019-12-17 23:03:21 +00:00
Noemi Erli 00a57ab6c7 Backed out 3 changesets (bug 1603452, bug 1603114, bug 1577596) for causing lint failure in GeckoSession.java CLOSED TREE
Backed out changeset 1a9be6d049a7 (bug 1577596)
Backed out changeset 11e1f382ea77 (bug 1603114)
Backed out changeset d63c194d1c6c (bug 1603452)
2019-12-18 01:12:37 +02:00
James Willcox 833a7f9e2e Bug 1577596 - Expose autoplay permission requests in GeckoView r=geckoview-reviewers,rbarker,agi
Differential Revision: https://phabricator.services.mozilla.com/D57134

--HG--
extra : moz-landing-system : lando
2019-12-17 20:59:38 +00:00
James Willcox 3f1c533a24 Bug 1603114 - Ensure Gecko channel is closed with `WebResponse` body stream. r=geckoview-reviewers,agi
This also fixes a lifetime issue where we may have been leaking the
native instance of `WebResponse.Support`.

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

--HG--
extra : moz-landing-system : lando
2019-12-17 20:59:31 +00:00
James Willcox 754e1eb5ca Bug 1603452 - Fix and re-enable WebExecutorTest#readTimeout() r=geckoview-reviewers,agi
Along with this comes a new test server for use with GeckoView JUnit
tests based on AndroidAsync. This allows us to have more control
over responses and gets us off of the end-of-lifed Jetty we were using
before.

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

--HG--
extra : moz-landing-system : lando
2019-12-17 20:59:29 +00:00
Emilio Cobos Álvarez df3f6a804e Bug 1603889 - Make ScrollbarsProp::SetVisible do nothing, and minor cleanup of surrounding code. r=smaug
This removes another dead caller of nsContentUtils::SetScrollbarVisibility.

Plus, before these patches, nsContentUtils::SetScrollbarVisibility didn't
invalidate layout in any way, so it's not like it'd work, even if the chrome
code would set the preference (which it doesn't).

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

--HG--
extra : moz-landing-system : lando
2019-12-17 22:25:54 +00:00
Daosheng Mu b5abcaa367 Bug 1601837 - Using current available slot to access controllerState instead of hand index in OpenVR. r=kip
We notice we didn't write states info ControllerState correctly before because sometimes there is only one controller (right hand), it will try to access the slot 1 instead of the current available slot 0. That makes us can't see this controller is available.

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

--HG--
extra : moz-landing-system : lando
2019-12-17 22:21:53 +00:00
Thinker Li 21a6a77032 Bug 1604002 - Adapt the way of testing process status with the fork server. r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D57217

--HG--
extra : moz-landing-system : lando
2019-12-17 21:04:39 +00:00
Dana Keeler d0cabe01eb bug 1604267 - collect telemetry to see how many users have used the error page UI to re-enable TLS 1.0/1.1 r=tdsmith,chutten
This adds security.tls.version.enable-deprecated to DEFAULT_ENVIRONMENT_PREFS,
which should tell us how many users have re-enabled TLS 1.0/1.1 via the error
page UI.

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

--HG--
extra : moz-landing-system : lando
2019-12-17 19:05:38 +00:00
Emilio Cobos Álvarez 1f5562d6b1 Bug 1603889 - Remove AppWindow::GetContentScrollbarVisibility. r=smaug
There's only one test that can potentially rely on this, and still passes
with this patch:

  toolkit/components/windowwatcher/test/browser_new_content_window_chromeflags.js

More to the point, this doesn't work with e10s whatsoever already, and seems
content cannot change the scrollbar visibility anymore, and chrome code doesn't
do it either.

Depends on D57182

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

--HG--
extra : moz-landing-system : lando
2019-12-17 21:54:56 +00:00
Glenn Watson 3aeeba2db2 Bug 1604383 - Refactor the Compositor trait to allow support for DC virtual surface API. r=mstange,sotaro
Differential Revision: https://phabricator.services.mozilla.com/D57415

--HG--
extra : moz-landing-system : lando
2019-12-17 21:44:03 +00:00
Glenn Watson 2299ed8e69 Bug 1604625 - Add nightly config value to enable GL error checking. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D57549

--HG--
extra : moz-landing-system : lando
2019-12-17 21:51:30 +00:00
Tom Schuster edbca626da Bug 1597417 - Remove nsIDocShellTreeItem from nsContentAreaDragDrop.cpp. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D57496

--HG--
extra : moz-landing-system : lando
2019-12-17 21:44:01 +00:00
Gautham Velchuru ec196b0c14 Bug 1532427 - Fix mozharness/test/test_mozilla_merkle when running tox with python 3.5 r=egao
Differential Revision: https://phabricator.services.mozilla.com/D57268

--HG--
extra : moz-landing-system : lando
2019-12-17 00:08:39 +00:00
Byron Campen [:bwc] 3ec709712b Bug 1408256: Fix bug where renegotiation would un-set a previously negotiated max-fs. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D55890

--HG--
extra : moz-landing-system : lando
2019-12-17 19:45:00 +00:00
Byron Campen [:bwc] d4420e0bb9 Bug 1408256: Tests for bug. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D55889

--HG--
extra : moz-landing-system : lando
2019-12-17 19:19:01 +00:00
Edwin Takahashi 53c3158cff Bug 1604347 - annotate unexpected passes in layout/reftests/svg/text/reftest.list when run on ubuntu1804 r=jmaher
Changes:

Some tests in `layout/reftests/svg/text/reftests.list` now pass unconditionally when run on ubuntu1804. Permit pixel differential value of 0 for these tests while ubuntu1604 and ubutnu1804 coexist, leave the bug open then once the migration is complete look to remove the redundant annotation.

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

--HG--
extra : moz-landing-system : lando
2019-12-17 21:22:31 +00:00
Jamie Nicol b426c415ce Bug 1598380 - Use single PBO per texture for uploads. r=kvark
Uploading texture data is showing up frequently in profiles on Adreno devices,
especially when zooming on a text-heavy page. Specifically, the time is spent in
glMapBufferRange and glBufferSubData, most likely when internally allocating the
buffer before transferring data in to it.

Currently, we are creating a new PBO, by calling glBufferData(), for each
individual upload region. This change makes it so that we calculate the required
size for all upload regions to a texture, then create single a PBO of the
required size. The entire buffer is then mapped only once, and each individual
upload chunk is written to it. This can require the driver to allocate a large
buffer, sometimes multiple megabytes in size. However, it handles this case much
better than allocating tens or even hundreds of smaller buffers.

An upload chunk may require more space in a PBO than the original CPU-side
buffer, so that the data is aligned correctly for performance or correctness
reasons. Therefore it is the caller of Device.upload_texture()'s responsibility
to call a new function, Device.required_upload_size(), to calculate the required
size beforehand.

On AMD Macs, there is a bug where PBO uploads from a non-zero offset can
fail. See bug 1603783. Therefore this patch preserves the current behaviour on
AMD Mac, reallocating a new PBO for each upload, therefore ensuring the offset
is always zero.

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

--HG--
extra : moz-landing-system : lando
2019-12-17 19:07:12 +00:00
Mark Hammond 2f0396d567 Bug 1582317 - record the sync storage node type in the sync telemetry ping. r=tcsc
Differential Revision: https://phabricator.services.mozilla.com/D55196

--HG--
extra : moz-landing-system : lando
2019-12-14 04:26:05 +00:00
Rob Wood b76a2bc0b9 Bug 1604607 - Add browsertime android profiling treeherder group-names to the group-names config r=tarek
Differential Revision: https://phabricator.services.mozilla.com/D57515

--HG--
extra : moz-landing-system : lando
2019-12-17 20:55:34 +00:00
Edwin Takahashi 2a08793020 Bug 1599915 - annotate web-platform-tests-reftests that pass with webrender on ubuntu1804 r=jmaher
Changes:

Some tests now pass when run under `ubuntu1804` and `webrender`, so mark these as expected passes now.

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

--HG--
extra : moz-landing-system : lando
2019-12-17 21:08:58 +00:00
Jim Porter 9c55da7d77 Bug 1529969 - Only request info about the current engine to the parent; r=adw,Mardak
This patch adds a new ContentSearchHandoffUI class to be used when search
handoff is enabled in the newtab page, avoiding the much more complex
ContentSearchUI. This also reduces the amount of unnecessary information being
sent across processes.

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

--HG--
extra : moz-landing-system : lando
2019-12-17 21:02:52 +00:00
Edwin Takahashi b06ed766ee Bug 1604588 - mark border-image-repeat-round-1.html as continuing to fail in ubuntu1804 with webrender r=jmaher
Changes:

Since the test in question has annotation marking it as expected failure if `webrender` and `linux` and `ubuntu1604` and the test indeed continues failing with `ubuntu1804`, mark it as an expected failure.

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

--HG--
extra : moz-landing-system : lando
2019-12-17 19:39:20 +00:00