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

93515 Коммитов

Автор SHA1 Сообщение Дата
Simon Giesecke 684ee14686 Bug 1592776 - Make test_notification_tag work with Fission. r=dom-workers-and-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D76824
2020-05-29 09:02:01 +00:00
Simon Giesecke 09a4657e9c Bug 1592776 - Reformat test_notification_tag.html. r=dom-workers-and-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D76823
2020-06-02 10:24:37 +00:00
Simon Giesecke b4a1cdba4e Bug 1592776 - Fix cleanup of mock service registration. r=dom-workers-and-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D77781
2020-06-02 11:09:58 +00:00
Byron Campen [:bwc] 2466c44fbd Bug 1636185: Don't start emitting frames until we can set our initial RID filter. r=jib
This test was flaky because until we set a rid filter, all ssrcs were being
received. This meant that the resolution could have been consistent with any of
foo, bar, or baz when we started looking for resize events. In some cases, that
meant that we would never see the resize event for the transition to bar,
because the video element was already at that resolution.

Depends on D74279

Differential Revision: https://phabricator.services.mozilla.com/D77712
2020-06-01 22:40:32 +00:00
Alex Chronopoulos fd9e756377 Bug 1642542 - Make DebugOnly a variable used for checking an assert. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D77783
2020-06-02 12:07:02 +00:00
Honza Bambas 5a9a3de14a Bug 1639901 - Set `PerformanceResourceTiming.initiatorType` to "link" on channel initiated by `<link rel=preload>` tags, r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D76485
2020-06-01 13:21:14 +00:00
Nico Grunbaum 8e3bfa96c3 Bug 1642449 - remove reference to WebrtcIPCTraits;r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D77709
2020-06-02 11:00:28 +00:00
Csoregi Natalia e960b9f449 Backed out 7 changesets (bug 1640405, bug 1638358) for failures on browser_webconsole_network_messages_status_code.js. CLOSED TREE
Backed out changeset ef5f7479ddf8 (bug 1640405)
Backed out changeset 286e0c83eb30 (bug 1638358)
Backed out changeset 89e396b2896e (bug 1638358)
Backed out changeset 33ad5fa05209 (bug 1638358)
Backed out changeset d213264c1379 (bug 1638358)
Backed out changeset 6bc05236afb4 (bug 1638358)
Backed out changeset 87e9d0ed3982 (bug 1638358)
2020-06-02 15:16:42 +03:00
Csoregi Natalia 2d5cafc841 Backed out 5 changesets (bug 1639833) for failures on browser_blockingIndexedDbInWorkers.js. CLOSED TREE
Backed out changeset 6b4f76d65540 (bug 1639833)
Backed out changeset c77acba1aacb (bug 1639833)
Backed out changeset 30c97666919e (bug 1639833)
Backed out changeset d769b313441a (bug 1639833)
Backed out changeset ed41b41d1b03 (bug 1639833)
2020-06-02 15:02:31 +03:00
Andrea Marchesini cef861b90b Bug 1640405 - SameSite=lax/strict cookies should be sent to TYPE_SAVEAS_DOWNLOAD content-type, r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D77298
2020-06-02 09:26:10 +00:00
Andrea Marchesini 0458506909 Bug 1639833 - IntrisincStoragePrincipal should always be partitioned - part 5 - Use RemoteWorkerData CTOR in serviceWorkers, r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D76918
2020-06-02 08:30:46 +00:00
Andrea Marchesini 6f2eed62c8 Bug 1639833 - IntrisincStoragePrincipal should always be partitioned - part 4 - Renaming storage access permission methods, r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D76917
2020-06-02 08:30:24 +00:00
Andrea Marchesini 2e5c69b85f Bug 1639833 - IntrisincStoragePrincipal should always be partitioned - part 3 - Cleanup storage access methods, r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D76916
2020-06-02 08:29:15 +00:00
Andrea Marchesini e31c7313ca Bug 1639833 - IntrisincStoragePrincipal should always be partitioned - part 2 - Expose PartitionedPrincipal, r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D76915
2020-06-02 08:28:05 +00:00
Andrea Marchesini 466cab1be4 Bug 1639833 - IntrisincStoragePrincipal should always be partitioned - part 1 - Expose storage access in workers, r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D76914
2020-06-02 08:26:28 +00:00
David Parks 744a8b7f58 Bug 1635956: Part 3 - Implement Shmem functionality in WebGL ProducerConsumerQueue r=jgilbert
Implements LookupSharedMemory and AllocShmem in ProducerConsumerQueue (and fixes a few minor build issues).  To be used in construction of a ProducerConsumerQueue, an actor has to subclass IPcqActor.

Differential Revision: https://phabricator.services.mozilla.com/D74974
2020-06-02 06:18:52 +00:00
David Parks cabaeadc48 Bug 1635956: Part 2 - Implement Shmem functionality in WebGL IpdlQueue r=jgilbert
Implements LookupSharedMemory and AllocShmem in IpdlQueue (and fixes a few minor build issues).

Differential Revision: https://phabricator.services.mozilla.com/D74973
2020-06-02 06:17:28 +00:00
David Parks c8256d77c7 Bug 1635956: Part 1 - Refactor WebGL QueueParamTraits to use Push/PopShmem r=jgilbert
The old style of using SharedMemory objects was fine for Windows but was incompatible with Mac and Linux because the objects were not sent to the remote process with the proper socket scheme.  This meant that shared memory could not be read by the destination process.  Shmems are capable of this on all platforms so we use them instead.

Differential Revision: https://phabricator.services.mozilla.com/D74972
2020-06-02 06:16:42 +00:00
Jon Bauman a311412e9e Bug 1641208 - `Accept` header does not include `image/avif` even when `image.avif.enable` is set. r=mattwoodrow,aosmond,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D77371
2020-06-01 22:21:05 +00:00
Randell Jesup 0014fbea8c Bug 1642491: Avoid recreating the PreallocatedProcessManager during shutdown r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D77714
2020-06-02 01:38:41 +00:00
Dale Harvey 9273a29b68 Bug 1637402 - Add pref to compare MLS results r=chutten,mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D74953
2020-06-02 00:01:31 +00:00
David Parks 7957e0f9fa Bug 1632283: Part 2 - Add task to drain WebGL async Ipdl queue r=jgilbert
When an async message is buffered, we need to make sure that the message is eventually sent to avoid starvation.  This patch queues a future task to do this (currently, randomly, 4 milliseconds in the future) unless one is already queued.  The task may get scooped by a sync message or user call to FlushAsyncCache, in which case the task will have no effect.

Differential Revision: https://phabricator.services.mozilla.com/D74482
2020-06-01 22:33:12 +00:00
David Parks 66aa1517ba Bug 1632283 : Part 1 - Extend IpdlQueue to allow caching async messages r=jgilbert
IpdlQueue currently sends an async Ipdl message for every async WebGL call.  This is a lot of overhead.  This patch buffers those calls so that they can be send in large batches when either a synchronous call happens or the client calls FlushAsyncCache.  The commands are then sent and processed in-order.

Differential Revision: https://phabricator.services.mozilla.com/D72047
2020-06-01 22:33:00 +00:00
Cameron McCormack 021b5a926c Bug 1642262 - Report a one-based line number in UseCounters.conf error messages. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D77626
2020-06-01 20:38:08 +00:00
Olli Pettay f474d273b1 Bug 1353466, 'A browsing context is script-closable ... if it is a top-level browsing context whose session history contains only one Document', r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D76006
2020-06-01 20:01:11 +00:00
Matt Woodrow 7adf95e964 Bug 1620679 - Don't fire load event from within Stop(). r=smaug
This matches what the spec says, and what blink does.

Differential Revision: https://phabricator.services.mozilla.com/D73994
2020-05-30 17:19:54 +00:00
Razvan Maries a8e926b419 Backed out changeset 10807c4612a8 (bug 1637402) for perma failures on test_location_services_telemetry.html. CLOSED TREE 2020-06-01 23:52:44 +03:00
Razvan Maries a36bb7751f Backed out 3 changesets (bug 1638153) for perma failures on cross-origin-objects.html. CLOSED TREE
Backed out changeset f7aedc92d396 (bug 1638153)
Backed out changeset 07ec713926c6 (bug 1638153)
Backed out changeset 5a656842e241 (bug 1638153)
2020-06-01 23:51:35 +03:00
Dale Harvey a6ce421356 Bug 1637402 - Add pref to compare MLS results r=chutten,mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D74953
2020-06-01 16:44:29 +00:00
Razvan Maries 6ed9617381 Backed out 2 changesets (bug 1632283) for build buistages on IpdlQueue.h CLOSED TREE
Backed out changeset bad8fd79458d (bug 1632283)
Backed out changeset 8cfbadcbe2e8 (bug 1632283)
2020-06-01 22:24:31 +03:00
Dan Minor 1c48a0e64f Bug 1642266 - Include dtlsidentity.h in WebrtcIPCTraits.h; r=ng
Differential Revision: https://phabricator.services.mozilla.com/D77675
2020-06-01 19:08:21 +00:00
David Parks 0ea3c1a1c0 Bug 1632283: Part 2 - Add task to drain WebGL async Ipdl queue r=jgilbert
When an async message is buffered, we need to make sure that the message is eventually sent to avoid starvation.  This patch queues a future task to do this (currently, randomly, 4 milliseconds in the future) unless one is already queued.  The task may get scooped by a sync message or user call to FlushAsyncCache, in which case the task will have no effect.

Differential Revision: https://phabricator.services.mozilla.com/D74482
2020-05-29 19:46:23 +00:00
David Parks 919d391caf Bug 1632283 : Part 1 - Extend IpdlQueue to allow caching async messages r=jgilbert
IpdlQueue currently sends an async Ipdl message for every async WebGL call.  This is a lot of overhead.  This patch buffers those calls so that they can be send in large batches when either a synchronous call happens or the client calls FlushAsyncCache.  The commands are then sent and processed in-order.

Differential Revision: https://phabricator.services.mozilla.com/D72047
2020-05-29 20:25:35 +00:00
Razvan Maries 9b7eb56aa8 Backed out changeset 8f1051f12365 (bug 1637085) for build bustages on selftest.py. CLOSED TREE 2020-06-01 21:52:34 +03:00
Razvan Maries c5a8f831d4 Backed out changeset 30c061da89d8 (bug 1580766) for perma failures on BrowsingContext.cpp. CLOSED TREE 2020-06-01 21:50:12 +03:00
Kris Maglione dd56054fcb Bug 1637085: Use AsyncShutdown for ContentParent shutdown. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D74746
2020-06-01 18:01:13 +00:00
Kris Maglione b3fcd970ec Bug 1638153: Part 2 - Fix uses of .rootTreeItem to get top browser window. r=geckoview-reviewers,nika,snorp
Differential Revision: https://phabricator.services.mozilla.com/D75429
2020-06-01 17:59:01 +00:00
Kris Maglione c121cf77fc Bug 1638153: Part 1 - Add topChromeWindow getter to CanonicalBrowsingContext. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D75431
2020-05-28 19:34:33 +00:00
Kris Maglione 8805ff3be0 Bug 1638153: Part 0 - Add Window.browsingContext getter. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D75430
2020-05-28 19:34:33 +00:00
Kashav Madan 2b8ca16f35 Bug 1557407 - Replace DispatchTrustedEvent with DispatchEventOnlyToChrome for various chrome-only events, r=smaug
Adds an |aChromeOnlyDispatch| flag to DispatchCustomEvent to decide whether
to call DispatchTrustEvent or DispatchEventOnlyToChrome.

The following chrome-only events are dispatched with DispatchCustomEvent and now
make use of the flag:

- DOMWindowClose
- fullscreen / willenterfullscreen / willexitfullscreen
- occlusionstatechange
- resolutionchange
- XULAlertClose

and the following were previously dispatched with DispatchTrustedEvent and now
use DispatchEventOnlyToChrome:

- MozBeforeInitialXULLayout
- MozMouseScrollFailed / MozMouseScrollTransactionTimeout
- MozPaintWait / MozPaintWaitFinished
- MozPerformDelayedBlur
- all events fired by APZCCallbackHelper::NotifyMozMouseScrollEvent

Differential Revision: https://phabricator.services.mozilla.com/D76723
2020-06-01 17:11:48 +00:00
Alex Chronopoulos cd9cc473f5 Bug 1637235 - Implement the audio drift correction. r=padenot
Implement the drift correction logic that counts the frames between a source and a target (the master clock) and adjust the source buffer in order to compensate for the drift between source and target.

Differential Revision: https://phabricator.services.mozilla.com/D74884
2020-06-01 15:53:43 +00:00
Alex Chronopoulos a9a18f56ea Bug 1637235 - Implement a dynamic resampler with preallocated input and output memory. r=padenot
Create a dynamic resampler that will be able to preallocate its internal buffers and provide the exact requested amount of data in the output. The resampler makes use of the AudioSegment data structure to convey the audio frames to make it easier to be used from MTG.

Differential Revision: https://phabricator.services.mozilla.com/D74883
2020-06-01 15:53:30 +00:00
Alex Chronopoulos c267d99198 Bug 1637235 - Implement a ring buffer for audio data. r=padenot,jya
Implement a ring buffer that is not thread-safe and preallocate its internal buffers. The intention is that the internal data is preallocate to any thread and then read/write operations will take place in a single thread using the memory in a ring manner.

Differential Revision: https://phabricator.services.mozilla.com/D74882
2020-06-01 15:53:18 +00:00
Dave Townsend 38ef8fecd1 Bug 1580766: Add a unique ID for the BrowsingContext tree inside a browser element. r=kmag
Adds a `browserId` property to all browsing contexts which the same for the
entire tree of contexts inside a frame element. If a new top-level context is
created for the frame then it is assigned the same value.

This allows identifying the frame element for a given browsing context.

Currently this is only done for XUL frame elements (browser/iframe). Not sure
if we want this for others.

Differential Revision: https://phabricator.services.mozilla.com/D56245
2020-06-01 16:52:31 +00:00
Noemi Erli f08b043cf6 Backed out 5 changesets (bug 1639833) for causing sessionstorage related failures CLOSED TREE
Backed out changeset b36af8d9db34 (bug 1639833)
Backed out changeset 712c11904dbe (bug 1639833)
Backed out changeset 14f1e4783582 (bug 1639833)
Backed out changeset b7f14c4cfe5d (bug 1639833)
Backed out changeset b4b25034dd83 (bug 1639833)
2020-06-01 19:31:50 +03:00
Andrea Marchesini 68c3035470 Bug 1639833 - IntrisincStoragePrincipal should always be partitioned - part 5 - Use RemoteWorkerData CTOR in serviceWorkers, r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D76918
2020-06-01 11:08:56 +00:00
Andrea Marchesini a997c1d626 Bug 1639833 - IntrisincStoragePrincipal should always be partitioned - part 4 - Renaming storage access permission methods, r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D76917
2020-06-01 11:59:46 +00:00
Andrea Marchesini 6172ec2b3e Bug 1639833 - IntrisincStoragePrincipal should always be partitioned - part 3 - Cleanup storage access methods, r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D76916
2020-06-01 11:07:36 +00:00
Andrea Marchesini 8c0df411d1 Bug 1639833 - IntrisincStoragePrincipal should always be partitioned - part 2 - Expose PartitionedPrincipal, r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D76915
2020-06-01 11:57:46 +00:00
Andrea Marchesini ed779b4950 Bug 1639833 - IntrisincStoragePrincipal should always be partitioned - part 1 - Expose storage access in workers, r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D76914
2020-06-01 11:05:19 +00:00