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

90618 Коммитов

Автор SHA1 Сообщение Дата
Brindusan Cristian cec1932e5b Backed out changeset 270d0ffaf825 (bug 1615259) for build bustages at BasePrincipal.h. CLOSED TREE 2020-02-26 16:21:03 +02:00
Sebastian Streich d694e543b1 Bug 1615259 - Refactor GetUri in WorkerLoadInfo.cpp r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D62737

--HG--
extra : moz-landing-system : lando
2020-02-26 13:52:01 +00:00
Simon Giesecke c555939e30 Bug 1617170 - Encapsulate DatabaseConnection::UpdateRefcountFunction::FileInfoEntry. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D63648

--HG--
extra : moz-landing-system : lando
2020-02-26 10:09:04 +00:00
Simon Giesecke b3d3e37d2a Bug 1617170 - Reduce statefulness of FileManager. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D63647

--HG--
extra : moz-landing-system : lando
2020-02-26 10:08:38 +00:00
Henri Sivonen 77c7d03244 Bug 1618125 - Remove EventStateManager::GetContentViewer as dead code. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D64321

--HG--
extra : moz-landing-system : lando
2020-02-26 09:58:02 +00:00
Jeff Gilbert 91ab854fc8 Bug 1617785 - Optimize GetDrawFetchLimits and vertexAttribPointer. r=lsalzman
Our goal here is to just be fast enough that we don't need to cache.

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

--HG--
extra : moz-landing-system : lando
2020-02-26 00:44:26 +00:00
Andrew McCreight de671d8e92 Bug 1604593 - Weaken assert in getNonWrapperObjectForCurrentCompartment(). r=bzbarsky
If we try to wrap an inner whose outer has navigated out of process,
then we'll get a remote window proxy, not a window proxy.

This was happening during the JS devtools test
browser_webconsole_block_mixedcontent_securityerrors.js

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

--HG--
extra : moz-landing-system : lando
2020-02-26 04:22:13 +00:00
Tetsuharu OHZEKI bc1492747e Bug 1496147 - part 1: Remove nsAutoPtr usages from dom/bindings. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D64057

--HG--
extra : moz-landing-system : lando
2020-02-25 17:20:34 +00:00
Tetsuharu OHZEKI 2a9b28c762 Bug 1496147 - part 0: Use alias template to define StrongPtrForMember<T>. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D64056

--HG--
extra : moz-landing-system : lando
2020-02-25 16:49:58 +00:00
Noemi Erli b8237f7e8d Backed out changeset 602a074ca5a5 (bug 1612308) for failing in stream-response.any.html CLOSED TREE 2020-02-26 05:01:12 +02:00
Jeff Walden 35d8dd6d5d Bug 1612308. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D61478

--HG--
extra : moz-landing-system : lando
2020-02-26 01:12:58 +00:00
Arthur Iakab c4419e46fe Backed out 2 changesets (bug 1617512) for causing mochitest failures on test_conformance__ogles__GL__build__build_049_to_056.html
CLOSED TREE

Backed out changeset ceff9529d28c (bug 1617512)
Backed out changeset ccaa83aabee7 (bug 1617512)
2020-02-26 03:27:01 +02:00
Arthur Iakab b2da9c08a0 Backed out changeset 5b5feaf8e1a0 (bug 1589618) for causing xpcshell failures on test_location_timeout.js 2020-02-26 03:18:44 +02:00
Noemi Erli 4fb19079c8 Backed out 3 changesets (bug 1617600) for causing wpt failures in focus-visible-009.html CLOSED TREE
Backed out changeset 73d1a5e10337 (bug 1617600)
Backed out changeset b722714830cd (bug 1617600)
Backed out changeset 45464d926bf0 (bug 1617600)
2020-02-26 01:46:31 +02:00
Dan Glastonbury 8b1ffac083 Bug 1616171 - P1: Remote obsolete RemoteFrameChild fwd decl. r=nika
According to searchfox, this class doesn't exist anymore.

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

--HG--
extra : moz-landing-system : lando
2020-02-25 23:17:45 +00:00
Eric Rahm e61be8e54e Bug 1617653 - Remove nsAutoPtr usage from localstorage, quota, storage, simpledb. r=dom-workers-and-storage-reviewers,sg
Differential Revision: https://phabricator.services.mozilla.com/D63913

--HG--
extra : moz-landing-system : lando
2020-02-25 23:14:57 +00:00
Jeff Gilbert 1d8103c74a Bug 1617512 - Delete dom/canvas/test/webgl-conf/generated and regenerate.
There were a bunch of orphaned files, and this cleans them out.

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

--HG--
extra : moz-landing-system : lando
2020-02-25 22:45:43 +00:00
Jeff Gilbert e626a14f1b Bug 1617512 - Fix WebGLSL comment parsing regex. r=lsalzman
Test: https://www.khronos.org/registry/webgl/sdk/tests/conformance/glsl/preprocessor/comments.html?webglVersion=1&quiet=0&quick=1

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

--HG--
extra : moz-landing-system : lando
2020-02-25 22:45:41 +00:00
Kris Maglione f3354d4788 Bug 1617254: Rename BrowsingContext.getChildren() to .children. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D63699

--HG--
extra : moz-landing-system : lando
2020-02-25 22:33:53 +00:00
Arthur Iakab 73b6d9dca6 Backed out changeset 5616425b54da (bug 1617254)for casuing multiple browser-chrome failures.
CLOSED TREE
2020-02-26 00:09:34 +02:00
Imanol Fernandez eb9350894f Bug 1617751 - Ensure that GLScreenBuffer back buffer is created using the newly attached factory r=jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D64183

--HG--
extra : moz-landing-system : lando
2020-02-25 21:05:37 +00:00
Kris Maglione c65ef42473 Bug 1617254: Rename BrowsingContext.getChildren() to .children. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D63699

--HG--
extra : moz-landing-system : lando
2020-02-25 21:03:58 +00:00
Emilio Cobos Álvarez 36d5280904 Bug 1617990 - Remove a silly string copy in nsGlobalWindowOuter::Prompt. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D64192

--HG--
extra : moz-landing-system : lando
2020-02-25 20:46:57 +00:00
Eric Rahm 02784ee81c Bug 1617771 - Remove nsAutoPtr usage from svg. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D63984

--HG--
extra : moz-landing-system : lando
2020-02-25 20:03:26 +00:00
Noemi Erli 6b488deed0 Backed out changeset 034e2e79ecfa (bug 1617254) for causing build bustages CLOSED TREE 2020-02-25 21:59:14 +02:00
Kris Maglione c31aa68fb4 Bug 1535617: Part 2 - Clear weak references for most cycle collected objects on unlink. r=mccr8
This covers most cycle collected objects which support weak references, but
not the ones which inherit from a cycle collected class and don't do any cycle
collection on their own.

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

--HG--
extra : moz-landing-system : lando
2020-02-25 19:44:39 +00:00
Kris Maglione 64a2c8bb8f Bug 1535617: Part 1 - Add macros to clear weak references on unlink. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D63961

--HG--
extra : moz-landing-system : lando
2020-02-25 19:44:27 +00:00
Boris Chiou 9818601570 Bug 1611847 - Update relevance and its effect set in the early return of UpdatePlaybackRate(). r=birtles
To avoid hitting the assertion because of out-of-dated relevance.

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

--HG--
extra : moz-landing-system : lando
2020-02-25 19:41:14 +00:00
Kris Maglione e4c4115afb Bug 1617254: Rename BrowsingContext.getChildren() to .children. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D63699

--HG--
extra : moz-landing-system : lando
2020-02-25 19:39:25 +00:00
Boris Chiou c68547f8f9 Bug 1612106 - Use NIGHTLY build flag to distinguish the writable/readonly Animation.timeline. r=birtles,bzbarsky
We only support writable Animation.timeline attribute on nightly
build, so use nightly build flag in WebIDL and Animation.h/cpp.
For the test expectations, we also use this build flag to skip them or
mark them as expected fail if necessary.

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

--HG--
extra : moz-landing-system : lando
2020-02-24 23:07:09 +00:00
Dale Harvey af0051aade Bug 1589618 - Move the implementation of the region fetch to NetworkGeolocationProvider to have it close to the wifi scanning code. r=Standard8,garvan
Differential Revision: https://phabricator.services.mozilla.com/D62419

--HG--
extra : moz-landing-system : lando
2020-02-25 14:19:05 +00:00
Olli Pettay d9972ce888 Bug 1561488 - null check document in RecvUIResolutionChanged and RecvThemeChanged, r=bdahl
These were the worrisome missing null checks I noticed, and crash-stat shows that there areactually crashes in these two places

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

--HG--
extra : moz-landing-system : lando
2020-02-25 18:05:57 +00:00
Noemi Erli b3a7ad66b1 Backed out 4 changesets (bug 1589493) for causing lint failure in test_process_error_oom.xhtml
Backed out changeset 9dbe0bdd321b (bug 1589493)
Backed out changeset 900ec6b447c9 (bug 1589493)
Backed out changeset 3f7c15d29416 (bug 1589493)
Backed out changeset c1bc7695e720 (bug 1589493)
2020-02-25 20:10:35 +02:00
Emilio Cobos Álvarez 490c70ecc0 Bug 1617600 - Prototype :focus-visible behind a flag. r=smaug
The heuristic is that we show focus outlines for unknown or key focus, and not
for mouse / touch.

This is probably not the final heuristic we take, but this allows people to play
with it and file bugs.

Once this is mature enough we should remove :-moz-focusring in favor of
:focus-visible.

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

--HG--
extra : moz-landing-system : lando
2020-02-25 17:58:28 +00:00
David Teller 2b49f57fa1 Bug 1589493 - Testing ipc:content-shutdown's support for isLikelyOOM;r=gsvelto
Depends on D54700

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

--HG--
extra : moz-landing-system : lando
2020-02-25 17:38:47 +00:00
David Teller 713124183d Bug 1589493 - Expose isLikelyOOM to Content crash handlers;r=gsvelto
Depends on D54129

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

--HG--
extra : moz-landing-system : lando
2020-02-25 17:37:29 +00:00
Simon Giesecke aaf6cb4e75 Bug 1617628 - Hide nsBaseHashtable Put overloads in nsRefPtrHashtable subclass. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D63899

--HG--
extra : moz-landing-system : lando
2020-02-25 17:03:36 +00:00
Tom Schuster 2f52c3fd94 Bug 1615897 - Blob URL should not ignore query parameter and revokeObjectURL additionally should not ignore fragments. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D63939

--HG--
extra : moz-landing-system : lando
2020-02-25 07:56:07 +00:00
Alex Chronopoulos b5314f7dc0 Bug 1571513 - Implement suspend/resume of MediaDecoder to clean up low level resources. r=alwu
Implement the `MediaDecoder::Suspend/Resume` to shutdown and recreate the MediaSink. This is important the page is refreshed because the existing tree does not shutdown immediatelly. It stays alive but remains suspended thus it is necessary to clean up the low-level system resources. In order to support the suspended state with the existing work flow, if MediaSink is suspended it is disallowed to start it or change the sink id. Recreating the MediaSink is possible but starting it is restricted until resume.

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

--HG--
extra : moz-landing-system : lando
2020-02-24 17:48:25 +00:00
Alex Chronopoulos 1d184960b3 Bug 1571513 - Setup PrincipalHandle and Playing listener of a DecodedStream in the start. r=alwu
`mPrincipalHandle` and `mPlaying` listeners were being connected in the ctor of a DecodedStream. However, this is not necessary because their attributes will only be modified after the sink start. In addition to that, it was causing problems if a sink was replaced before being started or stopped (and shutdown). This is a valid scenario, though, that we need to support.

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

--HG--
extra : moz-landing-system : lando
2020-02-24 17:46:31 +00:00
Simon Giesecke 32c9aeaad4 Bug 1617542 - Remove nsRefPtrHashtable::Put overload accepting already_AddRefed and adapt all uses. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D63865

--HG--
extra : moz-landing-system : lando
2020-02-25 09:36:12 +00:00
Andreea Pavel 1f0dedc29d Backed out 2 changesets (bug 1596513) for webrender wrench bustages on a CLOSED TREE
Backed out changeset 49e61b566da1 (bug 1596513)
Backed out changeset 889cee140af8 (bug 1596513)
2020-02-25 09:37:45 +02:00
cbrewster b11401a6e1 Bug 1596513: Part 2: Allow for floating point dx/dy on feDropShadow attributes r=nical
WebRender expects drop shadow dx/dy to be in user space, which is a floating point value.
Before this, a dx/dy such as (0.2, 0.2) was truncated to (0, 0) resulting in no offset of the shadow.

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

--HG--
extra : moz-landing-system : lando
2020-02-25 06:05:36 +00:00
Perry Jiang b26c3a0f8a Bug 1616254 - MatchScope should check same-origin using ScopeToPrincipal helper r=dom-workers-and-storage-reviewers,asuth
Fixes an issue where directly converting a string to principal causes the
string to fail to be parsed due to "^" being interpreted as the start of
origin attributes (and the rest of the string isn't able to be parsed as
origin attributes).

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

--HG--
extra : moz-landing-system : lando
2020-02-25 00:57:05 +00:00
Dzmitry Malyshau 5437a922a7 Bug 1614702 - WebGPU textures, texture views, and samplers r=jgilbert,webidl,smaug
this change adds an ability to create WebGPU textures, views, and samplers

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

--HG--
extra : source : 8f51a5fac21cb52e2ddb647f0b99a9bfccb41f6a
2020-02-24 20:12:16 +00:00
Hiroyuki Ikezoe 031e12f5de Bug 1530857 - Clear isRunningCompositor flag when the corresponding display item for background-color animations is discarded. r=boris
Differential Revision: https://phabricator.services.mozilla.com/D63814

--HG--
extra : moz-landing-system : lando
2020-02-25 00:03:21 +00:00
Olli Pettay d46a226467 Bug 1577432 - Null check document in BrowserChild::RecvSizeModeChanged, r=bdahl
Based on crash stats the crash is null+offset, and I think the issue can happen during closing down
BrowserChild if there is a pending RecvSizeModeChanged message.
The crash has been there for ages, I think since bug 1104916

Note, BrowserChild::RecvUpdateDimensions does have a null check for the document.

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

--HG--
extra : moz-landing-system : lando
2020-02-25 00:07:04 +00:00
Eric Rahm 124379887c Bug 1617327 - Part 2: Remove nsAutoPtr usage from ipc, security, IDB. r=mccr8,janv
This removes `nsAutoPtr` usage from ipc/. security/ failed to build due to missing includes so I fixed that as well. IDB was using `ThreadLocal` from ipc which had a member changed to a `UniquePtr` so needed to be updated as well. localstorage was missing some includes.

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

--HG--
extra : moz-landing-system : lando
2020-02-24 19:26:40 +00:00
Bryce Seager van Dyk 3c162f2452 Bug 1587522 - Add test for EME app approval. r=alwu
Add a test to cover app approval for EME. The test is not currently targeted at
android despite the feature being made for GeckoView. This is because we do not
have clearkey support on Android, and cannot guarantee Widevine support. If we
have broad Widevine support on Android we could rework the test to use that when
on Android.

For now having some test coverage on clearkey platforms seems better than having
no test coverage.

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

--HG--
extra : moz-landing-system : lando
2020-02-24 20:29:47 +00:00
Bryce Seager van Dyk dcf1e97e66 Bug 1587522 - Use default initializer for MediaKeySystemAccessManager::mAddedObservers. r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D62626

--HG--
extra : moz-landing-system : lando
2020-02-21 21:25:44 +00:00