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

80705 Коммитов

Автор SHA1 Сообщение Дата
Jan Varga 38f8064388 Bug 1517089 - Part 6: Use BackgroundParent::GetChildID (which doesn't need releasing content parent on the main thread) for getting content parent id; r=asuth 2019-02-07 19:51:27 +01:00
Jan Varga 5302b36c41 Bug 1517089 - Part 5: Move storage service initialization to InitializeLocalStorage; r=asuth 2019-02-07 19:51:22 +01:00
Jan Varga 01b23e7ba8 Bug 1517089 - Part 4: Send an async IPC message instead of dispatching a runnable to the PBackground thread when clearing private browsing; r=asuth 2019-02-07 19:51:16 +01:00
Jan Varga f0a5d09ef7 Bug 1517089 - Part 3: Move observer registration to InitializeLocalStorage; r=asuth 2019-02-07 19:51:12 +01:00
Jan Varga ed1d36b2c0 Bug 1517089 - Part 2: Move pref initialization to InitializeLocalStorage; r=asuth 2019-02-07 19:51:07 +01:00
Jan Varga 913fd9266d Bug 1517089 - Part 1: Introduce InitializeLocalStorage and call it in nsLayoutStatics::Initialize; r=asuth 2019-02-07 19:50:57 +01:00
Jan Varga d0270542f0 Bug 1525291 - LSNG: Chrome observer notifications for session storage are not distributed to content processes; r=asuth,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D18809
2019-02-06 06:09:57 +01:00
Oana Pop Rus 490ab7f9b8 Merge inbound to mozilla-central. a=merge 2019-02-07 11:47:46 +02:00
Brendan Dahl ed6a76c718 Bug 1524640 - Fix font loading during mozPrintCallback. r=smaug
Copy fonts loaded during a mozPrintCallback into the cloned document,
so they are available during printing.

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

--HG--
extra : moz-landing-system : lando
2019-02-06 23:46:58 +00:00
Gurzau Raul 43f7c8bef6 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-02-07 07:07:17 +02:00
Gurzau Raul 959cccf0c9 Merge inbound to mozilla-central. a=merge 2019-02-07 07:03:37 +02:00
Boris Zbarsky 0b91ef777d Bug 1471496 part 1. Fix IsPlatformObjectSameOrigin to do the right thing when we're doing first-party isolation but turning off its effects on scripted property access. r=bholley
Differential Revision: https://phabricator.services.mozilla.com/D18029

--HG--
extra : moz-landing-system : lando
2019-02-06 14:53:13 +00:00
Gurzau Raul 800cbc5955 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-02-06 23:59:24 +02:00
Jeff Gilbert 63503d995b Bug 1525480 - Don't mark RGB16F renderable in EXT_color_buffer_half_float. r=lsalzman
There's a crazy driver bug here on Mac+Intel, but if we're forbidding it
there, why not everywhere.
It's optional in EXT_color_buffer_half_float for webgl1, and no allowed by
EXT_color_buffer_float for webgl2 anyway.

MozReview-Commit-ID: kI9DUj8TU8

Differential Revision: https://phabricator.services.mozilla.com/D18769
2019-02-06 12:56:57 -08:00
Emilio Cobos Álvarez d29cff7e18 Bug 1445844 - Add a pref to block large custom cursors outside of the viewport's bounds. r=smaug
And for now, start blocking custom cursors that are larger than 64 pixels.

I wish I knew how to add a test for this, but I tested manually using the
test-case from bug 1518189 with and without hidpi.

We always treat the cursor image size as CSS pixels (and upscale it to device
pixels in HiDPI). We have bugs to stop doing that though (bug 1425694).

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

--HG--
extra : moz-landing-system : lando
2019-02-06 17:40:46 +00:00
Boris Zbarsky 250e088daf Bug 1521677. Change defineProperties to handle non-configurable properties on WindowProxy like defineProperty does. r=evilpie
We want to indicate "we didn't actually manage to define your properties as
non-configurable" but we don't want to throw exceptions when people try to
Object.defineProperties with a non-configurable property in the list on a
WindowProxy.

Though maybe we should just silently ignore the "can't define non-configurable
on WindowProxy" bits in defineProperties and just return the object anyway?
The reason we do the "return null" bit in defineProperty is so that Caja and
the like can detect it, but if they're not using defineProperties to start with
they may not need to detect this "failure".  On the other hand, Mark Miller
thinks the detection will be needed...

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

--HG--
extra : moz-landing-system : lando
2019-02-06 16:55:08 +00:00
shindli 59283ca5a9 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-02-06 18:40:08 +02:00
shindli dccf214c24 Merge inbound to mozilla-central. a=merge 2019-02-06 18:37:28 +02:00
Jon Coppeard 5e71f04dec Bug 1523899 - Dynamic import in event handlers should be relative to the document r=smaug 2019-02-06 11:07:29 +00:00
Narcis Beleuzu d77339d244 Backed out changeset 4f266277d3b8 (bug 1523899) for wpt failures on string-compilation-base-url-external-classic.html. CLOSED TREE 2019-02-06 14:37:25 +02:00
Jon Coppeard 207e74d173 Bug 1523899 - Dynamic import in event handlers should be relative to the document r=smaug 2019-02-06 11:07:29 +00:00
Oana Pop Rus e00ea598e5 Merge inbound to mozilla-central. a=merge 2019-02-06 11:53:48 +02:00
Oana Pop Rus 3da646bddf Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-02-06 12:07:13 +02:00
Cosmin Sabou 37e54dc3ca Bug 1516754 - Fix eslint failure. r=eslint-fix 2019-02-06 06:53:12 +02:00
Jean-Yves Avenard d3949f6fee Bug 1516754 - P2. Add mochitest. r=drno
Check that we can resume after appening a partial media segment header and calling abort().

Depends on D18651

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

--HG--
extra : moz-landing-system : lando
2019-02-06 02:08:06 +00:00
Jean-Yves Avenard 6e021f1b1f Bug 1516754 - P1. Reset Pending Input Buffer during Reset Parser State Algorithm. r=kinetik
Differential Revision: https://phabricator.services.mozilla.com/D18651

--HG--
extra : moz-landing-system : lando
2019-02-06 00:30:35 +00:00
Liang-Heng Chen bd2504a471 Bug 1485266 - Use stand-ins for native colors when RFP is enabled r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D17755

--HG--
extra : moz-landing-system : lando
2019-02-06 08:45:44 +00:00
Alex Gaynor 0f01791ffc Bug 1512990 - Part 4 - remove declarations of Recv/Answer methods from IPDL protocol base class; r=froydnj
For cases where the class has direct calls (that is, we cast `this` to the
subclass before making the call) no longer declare Recv/Answer methods on the
base class at all. This should ensure that slots for them are not generated in
vtables, and also allow the derived class to choose the method signature (e.g.
whether it wants to take something by reference or by value).

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

--HG--
extra : moz-landing-system : lando
2019-02-06 15:58:43 +00:00
Alex Gaynor 984f0333ea Bug 1512990 - Part 3 - remove declarations of Alloc/Dealloc methods from IPDL protocol base class; r=froydnj
For cases where the class has direct calls (that is, we cast `this` to the
subclass before making the call) no longer declare Alloc/Dealloc methods on the
base class at all. This should ensure that slots for them are not generated in
vtables, and also allow the derived class to choose the method signature (e.g.
whether it wants to take something by reference or by value).

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

--HG--
extra : moz-landing-system : lando
2019-02-06 15:58:07 +00:00
Alex Gaynor 75c7d1fa76 Bug 1512990 - Part 2 - implement direct calls in the IPDL compiler; r=froydnj
When calling a Recv/Alloc/Dealloc method on most types, cast `this` to the
derived class.

There is a heuristic to figure out what the correct derived type is. There is a
blacklist of types which we can't do direct calls on for the moment, as well as
an override for types that do work with direct calls but which don't match the
heuristic.

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

--HG--
extra : moz-landing-system : lando
2019-02-06 15:57:37 +00:00
Boris Zbarsky 7ce60ebe8c Bug 1525355. Make sure to clear out the cached-function-map slot on WindowProxy before we transplant it. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D18725

--HG--
extra : moz-landing-system : lando
2019-02-06 13:01:27 +00:00
Karl Tomlinson ad3740ae59 bug 1516956 keep AudioContext alive from AudioWorklet r=baku
to keep the graph/worklet thread running as long as the Worklet is alive.

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

--HG--
extra : moz-landing-system : lando
2019-01-31 07:16:31 +00:00
Alastor Wu 9b9c5c38d9 Bug 1524026 - part 2 : add test. r=padenot,smaug
Differential Revision: https://phabricator.services.mozilla.com/D18408

--HG--
extra : moz-landing-system : lando
2019-02-05 22:50:42 +00:00
Alastor Wu 0d138f528c Bug 1524026 - part1 : to allow 'AudioContext::GetAllStreams()' to get helper streams. r=padenot
The helper stream which is created by the AudioParam can't be directly got from the AudioNode, which means that we can't suspend/resume all streams related with the AudioNode.

Therefore, we should also append these streams when AudioContext requires all streams.

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

--HG--
extra : moz-landing-system : lando
2019-02-05 22:54:09 +00:00
Cosmin Sabou 3bd26d627f Backed out 2 changesets (bug 1471496) as requested by developer on irc. CLOSED TREE
Backed out changeset 00cdd5991ace (bug 1471496)
Backed out changeset 317151999412 (bug 1471496)
2019-02-06 01:23:17 +02:00
Boris Zbarsky a7acf741cc Bug 1471496 part 1. Fix IsPlatformObjectSameOrigin to do the right thing when we're doing first-party isolation but turning off its effects on scripted property access. r=bholley
Differential Revision: https://phabricator.services.mozilla.com/D18029

--HG--
extra : moz-landing-system : lando
2019-02-05 18:46:15 +00:00
Cosmin Sabou dade738a6a Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-02-06 01:07:08 +02:00
Noemi Erli 18a515c6f9 Backed out changeset dfefd2d4d63f (bug 1525346) for failures in test_bug862380.html CLOSED TREE 2019-02-06 00:10:11 +02:00
Cosmin Sabou 8bd3dcb455 Merge mozilla-inbound to mozilla-central. a=merge 2019-02-05 23:58:20 +02:00
Cosmin Sabou 297a7340db Backed out 8 changesets (bug 1525208) for assertion mass failures on dom/base/ThirdPartyUtil. CLOSED TREE
Backed out changeset 7a679beef53e (bug 1525208)
Backed out changeset 4a97d6a5440f (bug 1525208)
Backed out changeset 40cdbb0f3e33 (bug 1525208)
Backed out changeset 461bf050580c (bug 1525208)
Backed out changeset 529fc4945c00 (bug 1525208)
Backed out changeset 80d33523be6e (bug 1525208)
Backed out changeset 6afabd86b213 (bug 1525208)
Backed out changeset bc4389577ba8 (bug 1525208)
2019-02-05 21:04:45 +02:00
Ehsan Akhgari 786727c91d Bug 1525057 - Ensure that GetUserMediaRequest's mIsHandlingUserInput is always initialized properly; r=jib
Differential Revision: https://phabricator.services.mozilla.com/D18572

--HG--
extra : moz-landing-system : lando
2019-02-05 18:40:21 +00:00
Ehsan Akhgari 385a0977d4 Bug 1525208 - Part 6: Remove some needless AddRef/Release calls in the loop inside ThirdPartyUtil::IsThirdPartyWindow(); r=baku
Depends on D18647

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

--HG--
extra : moz-landing-system : lando
2019-02-05 18:11:54 +00:00
Ehsan Akhgari d7f642dba2 Bug 1525208 - Part 5: Avoid using SameCOMIdentity to compare windows inside ThirdPartyUtil::IsThirdPartyWindow(); r=baku
Depends on D18646

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

--HG--
extra : moz-landing-system : lando
2019-02-05 18:11:52 +00:00
Ehsan Akhgari 4eb46262c5 Bug 1525208 - Part 4: Devirtualize the call to nsEffectiveTLDService::GetBaseDomain() from ThirdPartyUtil::GetBaseDomain(); r=baku
Depends on D18645

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

--HG--
extra : moz-landing-system : lando
2019-02-05 18:11:50 +00:00
Ehsan Akhgari 3bed881ec9 Bug 1525208 - Part 2: Opportunistically avoid some allocations in ThirdPartyUtil.cpp; r=baku
Depends on D18643

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

--HG--
extra : moz-landing-system : lando
2019-02-05 18:11:46 +00:00
Ehsan Akhgari 70c4bbbed8 Bug 1525208 - Part 1: Devirtualize the calls to ThirdPartyUtil in nsContentUtils::IsThirdPartyWindowOrChannel(); r=baku
Differential Revision: https://phabricator.services.mozilla.com/D18643

--HG--
extra : moz-landing-system : lando
2019-02-05 18:11:44 +00:00
Nika Layzell f7a1ca20a5 Bug 1524361 - Remove unnecessary warning from OpenInternal return codepath, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D18557

--HG--
extra : moz-landing-system : lando
2019-02-05 00:03:28 +00:00
Alastor Wu edbdb185d6 Bug 1412231 - do not suspend/resume the AudioContext after the shutdown. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D18581

--HG--
extra : moz-landing-system : lando
2019-02-05 15:33:11 +00:00
Razvan Maries de782903b2 Backed out changeset 919de32d4905 (bug 1525134) for build bustages. CLOSED TREE 2019-02-05 19:36:46 +02:00
Emilio Cobos Álvarez 3fe47839c0 Bug 1525134 - Move image loads out of the style struct accessors. r=heycam
After this I can pass the document from the caller to ResolveSameStructsAs, and
get rid of the pres context pointer.

Differential Revision: https://phabricator.services.mozilla.com/D18600
2019-02-05 18:07:18 +01:00