Commit Graph

690312 Commits

Author SHA1 Message Date
Kris Maglione
1722817403 Bug 1582832: Part 1 - Make FrameLoader owner rather than DocShell responsible for discarding a BC. r=nika
There are all sorts of lifecycle issues which arise from making DocShell
responsible for discarding BrowsingContexts. In this particular bug, we tend
to run into them in cases where we create a BrowsingContext for a FrameLoader,
and then never create a DocShell for it, leading to it never being destroyed.
But there are myriad other issues as well.

This patch moves the responsibility for BrowsingContext lifecycle management
to the FrameLoader/FrameLoaderOwner, rather than the DocShell, which makes
things more consistent, and more closely aligns with spec-defined behavior.

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

--HG--
extra : moz-landing-system : lando
2020-02-06 19:07:56 +00:00
Nihanth Subramanya
1dc638a167 Bug 1613659 - Remove network listeners and reset TRR mode when enabled pref is rolled back. r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D61845

--HG--
extra : moz-landing-system : lando
2020-02-06 18:35:10 +00:00
Dana Keeler
984f708e43 bug 1613422 - test fixups to avoid skipping regenerating some expired certificates r=jcj
See bug 1613275 and bug 1607845. In bug 1607845, the aim was to regenerate all
test certificates that would be expiring. Unfortunately, a few were missed:

 * build/pgo/certs/ certificate DBs and mochitest.client are regenerated in a
   different way than the rest of the certificates in bug 1607845. These would
   probably best be addressed by formally documenting the process of
   re-generating all of the certificates.

 * security/manager/ssl/tests/unit/test_certDB_import/ certificates were
   missed by mistake. It's unclear how this happened.

 * security/manager/ssl/tests/unit/test_intermediate_preloads/ were missed
   because there was no test_intermediate_preloads entry in the TEST_DIRS
   section of security/manager/ssl/tests/unit/moz.build, which means that the
   build system never knew to re-generate those certificates, even after
   un-commenting-out the contents of
   security/manager/ssl/tests/unit/test_intermediate_preloads/moz.build

 * security/manager/ssl/tests/unit/test_missing_intermediate/missing-intermediate.der
   was DER, not PEM, and we don't have a way to automatically re-generate DER
   certificates in the same way. However, it didn't even need to be DER.

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

--HG--
extra : moz-landing-system : lando
2020-02-06 18:34:06 +00:00
Aaron Klotz
e1515875b4 Bug 1613700: Replace LSP annotation thread with background task; r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D61866

--HG--
extra : moz-landing-system : lando
2020-02-06 18:31:38 +00:00
Dragana Damjanovic
3db443c976 Bug 1613423 - Make sure AsyncResoleWithTrrServer does not depend on confirmationNS of the default server. r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D61793

--HG--
extra : moz-landing-system : lando
2020-02-06 18:09:38 +00:00
Kris Taeleman
6a4e0a3108 Bug 1611240 - Adding telemetry for gecko build id and version r=Dexter
Differential Revision: https://phabricator.services.mozilla.com/D61641

--HG--
extra : moz-landing-system : lando
2020-02-06 17:31:14 +00:00
Boris Zbarsky
eb44d8db75 Bug 1612529. document.open should clear form state from the SHEntry. r=smaug
Otherwise we're using state from the pre-open document for whatever content is
being written, which is not likely to be right.

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

--HG--
extra : moz-landing-system : lando
2020-02-06 17:49:44 +00:00
Boris Zbarsky
646b3f7e6a Backed out changeset ec4e3e080c1c because it introduces linting failures.
MANUAL PUSH: fast backout
2020-02-06 12:44:12 -05:00
Boris Zbarsky
accf242db9 Bug 1612529. document.open should clear form state from the SHEntry. r=smaug
Otherwise we're using state from the pre-open document for whatever content is
being written, which is not likely to be right.

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

--HG--
extra : moz-landing-system : lando
2020-02-06 17:29:20 +00:00
Gijs Kruitbosch
3a1283d7da Bug 1613069 - don't trip over null mousemove tasks when destroying PictureInPictureChild actors, r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D61551

--HG--
extra : moz-landing-system : lando
2020-02-06 17:32:28 +00:00
David Major
41c425ab46 Bug 1613679 - Fix a misleading-indentation error in mach_override.c r=froydnj
Every day clang's warnings continue to amaze me. As does our ability to trigger them.

I'm assuming that this line was meant to go within the scope of the `if`, because if it were outside the scope, then we'd be duplicating the previous `fprintf`.

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

--HG--
extra : moz-landing-system : lando
2020-02-06 16:39:02 +00:00
Michael Forney
4809dfc033 Bug 1611565 - Cherry-pick upstream patch to use public siginfo_t fields r=gcp
Upstream patch:
6bd491daaf%5E%21/#F0

_sifields is a glibc-internal field, and is not available on musl
libc. Instead, use the public-facing fields si_call_addr, si_syscall,
and si_arch, if they are available.

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

--HG--
extra : moz-landing-system : lando
2020-02-06 17:17:18 +00:00
Christian Holler
6b86d4786b Bug 1606813 - Disable broken test_tcp_control_channel.js. r=kershaw
Differential Revision: https://phabricator.services.mozilla.com/D61848

--HG--
extra : moz-landing-system : lando
2020-02-06 17:01:09 +00:00
Drew Willcoxon
785f16ad9f Bug 1613314 - Lazily create the UrlbarProviderInterventions QueryScorer. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D61751

--HG--
extra : moz-landing-system : lando
2020-02-06 12:19:19 +00:00
Narcis Beleuzu
c8f08e0930 Backed out 2 changesets (bug 1547693, bug 1545167) for xpcshell failures on test_handlerService.js . CLOSED TREE
Backed out changeset 0e6e758f47b5 (bug 1545167)
Backed out changeset f74a32d5753a (bug 1547693)
2020-02-06 18:49:44 +02:00
Olli Pettay
708bff2680 Bug 1612894, bring back the IsDiscarded check, r=farre
This brings back https://hg.mozilla.org/mozilla-central/rev/641b9a29f6ee#l1.346 for now.
The patch is based on code auditing, since haven't managed to reproduce the crash.


To sort out what behavior is wanted eventually, see
https://bugzilla.mozilla.org/show_bug.cgi?id=1613431

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

--HG--
extra : moz-landing-system : lando
2020-02-06 15:17:53 +00:00
Tetsuharu OHZEKI
915c37a5a1 Bug 1612951 - Replace the usages of nsIDocShellTreeItem with BrowsingContext in about:performance. r=florian
`nsIDocShellTreeItem.rootTreeItem` has been deprecated.
We should use an approach based on BrowsingContext.

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

--HG--
extra : moz-landing-system : lando
2020-02-05 15:24:29 +00:00
Doug Thayer
8e79d7f529 Bug 1613430 - Go back to LibLoadingStrategy::ReadAhead on Nightly r=glandium
The original issue in bug 1565902 which prompted this investigation
seems to have gone away with a Windows OS update. We saw mixed results
in telemetry over this anyway, and no clear and obvious path for
getting the benefits without the drawbacks, so removing this seems
to be the best solution right now.

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

--HG--
extra : moz-landing-system : lando
2020-02-06 07:41:31 +00:00
Brad Werth
b02c5d2f93 Bug 1523853: Change a mousewheel test to wait on the outcome, not the trigger. r=kats
This change improves the intermittency of the test, but does not provably
eliminate it. The code comment in the relevant section gives the rationale.

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

--HG--
extra : moz-landing-system : lando
2020-02-06 15:16:05 +00:00
Emilio Cobos Álvarez
dacbb30683 Bug 1613349 - Address one review comment I missed.
Differential Revision: https://phabricator.services.mozilla.com/D61841

--HG--
extra : moz-landing-system : lando
2020-02-06 16:11:34 +00:00
Martin Stransky
7e18aeed6a Bug 1613358 [Wayland] Implement WaylandDMABUFSurfaceImage dmabuf image, r=sotaro
Implement WaylandDMABUFSurfaceImage which is backed by dma buf memory on Wayland and it holds
decoded video images produced by ffmpeg va-api decoder.

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

--HG--
extra : moz-landing-system : lando
2020-02-06 15:15:02 +00:00
Brendan Dahl
fe7cce925e Bug 1599581 - Implement update extension for GeckoView. r=esawin
Wires up the addon manager update process to the GekcoView API. Adds
several basic tests for verifying the udpate steps. Adds a new way to
automatically bundle new test addons into xpi files and registers them
with the example.com server.

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

--HG--
extra : moz-landing-system : lando
2020-02-06 01:58:45 +00:00
Emilio Cobos Álvarez
69c87f6cb2 Bug 1613349 - Rename nsINode::DeleteProperty to RemoveProperty. r=smaug
And the related methods as well.

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

--HG--
extra : moz-landing-system : lando
2020-02-06 16:06:49 +00:00
Emilio Cobos Álvarez
c5c0ef9787 Bug 1613349 - Rename nsIFrame::DeleteProperty to RemoveProperty. r=dholbert
As it doesn't necessarily call delete and that may be confusing.

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

--HG--
extra : moz-landing-system : lando
2020-02-06 16:06:49 +00:00
Emilio Cobos Álvarez
bf6256b1fc Bug 1613349 - Make nsIFrame::TakeProperty MOZ_MUST_USE. r=dholbert
Depends on D61756

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

--HG--
extra : moz-landing-system : lando
2020-02-06 00:39:10 +00:00
Emilio Cobos Álvarez
86ca3370c2 Bug 1613349 - Rename nsINode::UnsetProperty to nsINode::TakeProperty. r=smaug
For consistency with the previous change for layout.

Depends on D61755

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

--HG--
extra : moz-landing-system : lando
2020-02-05 22:26:20 +00:00
Emilio Cobos Álvarez
bba367ec8f Bug 1613349 - Rename nsIFrame::RemoveProperty to nsIFrame::TakeProperty. r=dholbert
This is hopefully clearer naming.

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

--HG--
extra : moz-landing-system : lando
2020-02-06 00:13:38 +00:00
Gijs Kruitbosch
f3a6914b76 Bug 1545167 - write default pdf behaviour to handlers.json without going to the OS, r=florian,mkaply
I'm taking the opportunity to remove isDefaultHandlerApp messaging as the
content-side calls were removed in bug 1353029.

Depends on D59788

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

--HG--
extra : moz-landing-system : lando
2020-01-23 15:27:26 +00:00
Gijs Kruitbosch
d36408c366 Bug 1547693 - do not bother looking up protocol information with the OS just to store the default shipped options, r=florian
Differential Revision: https://phabricator.services.mozilla.com/D59788

--HG--
extra : moz-landing-system : lando
2020-02-06 13:01:19 +00:00
Emilio Cobos Álvarez
c413ac1229 Bug 1613572 - Restore the meaning of text-decoration-thickness: auto. r=jfkthame
While using always the underline thickness seemed ok when I reviewed the
regressing bug, it seems it's not always fine to use the font-provided value.

At least I see the same thing as
https://bugzilla.mozilla.org/show_bug.cgi?id=1613285#c0 it in two different
(though similarly configured, in fairness) Linux machines.

Keep `auto` meaning the slightly different thing that it used to mean, and use
`from-font` for the underline thickness (though there's at least one case where
`from-font` could maybe be the `strikeOutSize`... wdyt?).

In particular, for spell-checking markers, we have a somewhat bespoke
`ComputeSelectionUnderlineHeight`...

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

--HG--
extra : moz-landing-system : lando
2020-02-06 08:41:54 +00:00
Byron Campen [:bwc]
1e260b7fc5 Bug 1591199: Mark this test as intermittent, due to bug 1613433, since this patchset makes this failure more frequent. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D61724

--HG--
extra : moz-landing-system : lando
2020-02-06 15:52:25 +00:00
Byron Campen [:bwc]
81ea4c3cce Bug 1591199: Stop expecting this test to encounter an error. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D61266

--HG--
extra : moz-landing-system : lando
2020-02-06 15:52:06 +00:00
Byron Campen [:bwc]
d3821d2343 Bug 1591199: Test suppressions for some of the android-hw jobs. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D61265

--HG--
extra : moz-landing-system : lando
2020-02-06 15:51:53 +00:00
Byron Campen [:bwc]
bd0e95a94f Bug 1591199: Don't assert when a candidate is gathered for a transceiver that is not associated, since that can happen in certain rollback scenarios. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D60309

--HG--
extra : moz-landing-system : lando
2020-02-06 15:51:36 +00:00
Byron Campen [:bwc]
56347155ba Bug 1591199: Mark this test as long, since it does ICE. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D60308

--HG--
extra : moz-landing-system : lando
2020-02-06 15:51:23 +00:00
Byron Campen [:bwc]
32c432d6c4 Bug 1591199: Mark this test as passing. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D59522

--HG--
extra : moz-landing-system : lando
2020-02-06 15:51:11 +00:00
Byron Campen [:bwc]
8ae1152c9d Bug 1591199: Fix a race where sRD(offer) could mute a track, then an RTP packet could arrive that unmutes it before negotiation completed, this time without needing to stop the conduit and send a bunch of extra RTCP BYEs. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D59521

--HG--
extra : moz-landing-system : lando
2020-02-06 15:50:58 +00:00
Byron Campen [:bwc]
4d3a18f5ff Bug 1591199: Use correct time-base for rtcp stats comparison. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D59519

--HG--
extra : moz-landing-system : lando
2020-02-06 15:50:45 +00:00
Byron Campen [:bwc]
a4a0eaf580 Bug 1591199: Wait for all the mute/unmute events so we don't miss any transitions. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D57026

--HG--
extra : moz-landing-system : lando
2020-02-06 15:50:33 +00:00
Byron Campen [:bwc]
ec5fa37d36 Bug 1591199: Extend trickle ICE grace period, because windows 7 is taking a very long time to resolve MDNS candidates on try sometimes. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D56405

--HG--
extra : moz-landing-system : lando
2020-02-06 15:50:18 +00:00
Byron Campen [:bwc]
a029828313 Bug 1591199: Reduce redundant code. r=mjf,smaug
Differential Revision: https://phabricator.services.mozilla.com/D56404

--HG--
extra : moz-landing-system : lando
2020-02-06 15:50:03 +00:00
Byron Campen [:bwc]
fb466ae3cb Bug 1591199: Queue updates to pending/current descriptions. r=mjf,jib,smaug
Differential Revision: https://phabricator.services.mozilla.com/D56403

--HG--
extra : moz-landing-system : lando
2020-02-06 15:49:50 +00:00
Byron Campen [:bwc]
06888d3273 Bug 1591199: Start waiting for a negotiationneeded event earlier so we don't miss it. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D56402

--HG--
extra : moz-landing-system : lando
2020-02-06 15:49:38 +00:00
Byron Campen [:bwc]
22ce5b76ec Bug 1591199: In these mochitests, reset the ICE candidate handler _before_ making changes that will restart ICE gathering. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D56401

--HG--
extra : moz-landing-system : lando
2020-02-06 15:49:24 +00:00
Byron Campen [:bwc]
4d1b83e582 Bug 1591199: Make this test-case less racy, and a little more modern. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D56400

--HG--
extra : moz-landing-system : lando
2020-02-06 15:49:17 +00:00
Byron Campen [:bwc]
8ff7879082 Bug 1591199: In the mochitest harness, shut off trickle candidates before sRD(rollback) to prevent them from slipping through afterward. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D56399

--HG--
extra : moz-landing-system : lando
2020-02-06 15:49:09 +00:00
Byron Campen [:bwc]
a5258e0655 Bug 1591199: Update tests to no longer expect a signalingstatechange event when the PC is closed. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D56398

--HG--
extra : moz-landing-system : lando
2020-02-06 15:49:07 +00:00
Byron Campen [:bwc]
cc8b304d22 Bug 1591199: Task queueing fixes in c++ r=jib
Differential Revision: https://phabricator.services.mozilla.com/D56395

--HG--
extra : moz-landing-system : lando
2020-02-06 15:49:05 +00:00
Byron Campen [:bwc]
42c4260c40 Bug 1591199: Test-cases for the bug. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D52228

--HG--
extra : moz-landing-system : lando
2020-02-06 15:49:03 +00:00
Nicolas Chevobbe
13fb467022 Bug 1613391 - Remove unnecessary moz.build files in console tests. r=jdescottes.
Having test files in moz.build meant we were shipping those in Firefox.
The better way of doing this is to add those files as support files,
and then load them through a chrome:// url.
The catch is that support files from another folder than the ini files
they are referenced in need to be referenced in an ini file in their
own folder.
And since we can't have a ini file without tests, we need to add a dummy
test in devtools/client/webconsole/test/node/fixtures/stubs/ . The "test"
is always skipped so it shouldn't have any impact.

Doing this work revealed an issue with NetworkEvent stubs, which were
out of sync, and not properly writter since Bug 1579090.
This patch fixes this as well, and we're lucky the node tests are still
passing fine.

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

--HG--
extra : moz-landing-system : lando
2020-02-06 15:52:08 +00:00