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

61 Коммитов

Автор SHA1 Сообщение Дата
Andrea Marchesini 3a6775ecf7 Bug 1630947 - Update Reporting API - part 1 - ReportingObserver in workers, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D71317
2020-04-18 12:25:57 +00:00
Cosmin Sabou 948e626a26 Backed out 2 changesets (bug 1630947) for causing build bustages on ReportingObserver.cpp. CLOSED TREE
Backed out changeset 18c357daf0f7 (bug 1630947)
Backed out changeset 6bfed9f2487d (bug 1630947)
2020-04-17 23:16:58 +03:00
Andrea Marchesini aaa72f6ebb Bug 1630947 - Update Reporting API - part 1 - ReportingObserver in workers, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D71317
2020-04-17 19:55:28 +00:00
Tom Tung 40713479b2 Bug 1586761 - P1 - Expose CrossOriginIsolated to nsIGlobalObject; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D63238

--HG--
extra : moz-landing-system : lando
2020-03-25 13:53:46 +00:00
Andrew Sutherland 940bf90242 Bug 1545345 - Improve worker shutdown. r=baku,smaug
Differential Revision: https://phabricator.services.mozilla.com/D65132

--HG--
extra : moz-landing-system : lando
2020-03-27 22:40:58 +00:00
Ciure Andrei 2c62d81ee6 Backed out changeset 1911a0d1e751 (bug 1545345) for causing CallbackObject.cpp bustages CLOSED TREE 2020-03-27 21:47:15 +02:00
Andrew Sutherland 40755c31a8 Bug 1545345 - Improve worker shutdown. r=baku,smaug
Differential Revision: https://phabricator.services.mozilla.com/D65132

--HG--
extra : moz-landing-system : lando
2020-03-27 17:36:20 +00:00
Csoregi Natalia cb7b1f507b Backed out changeset e608cbaf20d4 (bug 1545345) for assertion failures on WorkerPrivate.cpp. CLOSED TREE 2020-03-27 07:55:21 +02:00
Andrew Sutherland 2c52fdcd48 Bug 1545345 - Improve worker shutdown. r=baku,smaug
Differential Revision: https://phabricator.services.mozilla.com/D65132

--HG--
extra : moz-landing-system : lando
2020-03-13 18:22:37 +00:00
Andrea Marchesini 1edd5d228f Bug 1611855 - Worklet must be part of the same parent's agentCluster - part 7 - nsIGlobalObject::IsSharedMemoryAllowed(), r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D61277

--HG--
extra : moz-landing-system : lando
2020-02-06 13:50:11 +00:00
Andrea Marchesini 175bac3a30 Bug 1611855 - Worklet must be part of the same parent's agentCluster - part 1, r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D61136

--HG--
extra : moz-landing-system : lando
2020-02-06 13:45:47 +00:00
Narcis Beleuzu d259fe38d8 Backed out 13 changesets (bug 1611855) for wpt failures on /audioworklet-postmessage-sharedarraybuffer.https.html . CLOSED TREE
Backed out changeset 2b661d588f96 (bug 1611855)
Backed out changeset 16094fc92bc9 (bug 1611855)
Backed out changeset 3f89bbcaff92 (bug 1611855)
Backed out changeset a906501b6d92 (bug 1611855)
Backed out changeset 54738b88425d (bug 1611855)
Backed out changeset d27de910a6c0 (bug 1611855)
Backed out changeset 261902f6336d (bug 1611855)
Backed out changeset 380d83b61e62 (bug 1611855)
Backed out changeset 39aac60ebf5e (bug 1611855)
Backed out changeset 5ea099787376 (bug 1611855)
Backed out changeset d0f58871f838 (bug 1611855)
Backed out changeset e1be102310a9 (bug 1611855)
Backed out changeset 633357835540 (bug 1611855)

--HG--
rename : dom/base/test/test_postMessages_workers.html => dom/base/test/test_postMessages.html
2020-02-06 12:31:36 +02:00
Andrea Marchesini db7085724d Bug 1611855 - Worklet must be part of the same parent's agentCluster - part 7 - nsIGlobalObject::IsSharedMemoryAllowed(), r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D61277

--HG--
extra : moz-landing-system : lando
2020-02-05 22:09:44 +00:00
Andrea Marchesini 2106c7dcda Bug 1611855 - Worklet must be part of the same parent's agentCluster - part 1, r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D61136

--HG--
extra : moz-landing-system : lando
2020-02-05 22:07:04 +00:00
Logan Smyth a1de03c27b Bug 1529345 - Part 2: Add Gecko infrastructure for receiving notifications about debugger-related events. r=jimb,smaug
Differential Revision: https://phabricator.services.mozilla.com/D30565

--HG--
extra : moz-landing-system : lando
2019-06-17 04:36:29 +00:00
Dorel Luca e12ad70ab7 Backed out 2 changesets (bug 1529345) for Windows 2012 build bustages
Backed out changeset 87aa4894b4a1 (bug 1529345)
Backed out changeset cf6f6281cb44 (bug 1529345)

--HG--
extra : rebase_source : b19274a3d20d3a1ea92f0fe1224ef30910e10916
2019-06-14 23:34:36 +03:00
Logan Smyth 77f27aa54c Bug 1529345 - Part 2: Add Gecko infrastructure for receiving notifications about debugger-related events. r=jimb,smaug
Differential Revision: https://phabricator.services.mozilla.com/D30565

--HG--
extra : moz-landing-system : lando
2019-06-14 18:25:47 +00:00
Dorel Luca 6b40527932 Backed out 2 changesets (bug 1529345) for Build Bustage. CLOSED TREE
Backed out changeset 63f80a49839e (bug 1529345)
Backed out changeset 15bac42cc73a (bug 1529345)
2019-06-14 20:55:52 +03:00
Logan Smyth c09e533d0e Bug 1529345 - Part 2: Add Gecko infrastructure for receiving notifications about debugger-related events. r=jimb,smaug
Differential Revision: https://phabricator.services.mozilla.com/D30565

--HG--
extra : moz-landing-system : lando
2019-06-14 17:14:13 +00:00
Olli Pettay a1da896545 Bug 1480236 - Implement queueMicrotask(), r=baku
--HG--
extra : rebase_source : 38f0bb25142240bff9c8efba04f7acedfe4169e4
2019-05-24 11:27:03 +03:00
Boris Zbarsky 517a6ebdd7 Bug 1547923 part 6. Make nsIGlobalObject::GetGlobalJSObject always expose to active JS. r=mccr8
See callsite audit in https://bugzilla.mozilla.org/attachment.cgi?id=9061976
for details on why the remaining GetGlobalJSObject callers should switch to the
"always expose" behavior.

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

--HG--
extra : moz-landing-system : lando
2019-05-02 21:36:15 +00:00
Boris Zbarsky ff72e84ac1 Bug 1547923 part 4. Add nsIGlobalObject::HasJSGlobal(). r=mccr8
Consumers that just care about this boolean state should use this instead of
getting the JSObject* directly.

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

--HG--
extra : moz-landing-system : lando
2019-05-02 21:32:17 +00:00
Boris Zbarsky 5c1d789bfa Bug 1547923 part 3. Add nsIGlobalObject::GetGlobalJSObjectPreserveColor(). r=mccr8
This can be used in things like assertions or some other rare circumstances
where not exposing the object to active JS is OK.

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

--HG--
extra : moz-landing-system : lando
2019-05-02 21:23:35 +00:00
Sylvestre Ledru 265e672179 Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
# ignore-this-changeset

--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Henri Sivonen 2363350998 Bug 218415 - Add window.event. r=smaug.
window.event is set on the wrong window when the target and the
callback are from different realms and the callback is an XPCOM
callback.

MozReview-Commit-ID: HXeUIicdMuT

--HG--
extra : rebase_source : 978a3fecf87e1ac4414ec0ea93335796bc24951a
2018-04-04 15:57:17 +03:00
Bogdan Tara 6669112756 Backed out changeset 306ec43e7ab9 (bug 218415) for failures on track-remove-track-inband.html CLOSED TREE 2018-07-04 19:56:18 +03:00
Henri Sivonen 82805f2778 Bug 218415 - Add window.event. r=smaug.
window.event is set on the wrong window when the target and the
callback are from different realms and the callback is an XPCOM
callback.

MozReview-Commit-ID: HXeUIicdMuT

--HG--
extra : rebase_source : 5852093c015844cf3cc49dcd7fe71c9ea881eef9
2018-04-04 15:57:17 +03:00
Margareta Eliza Balazs d898125afb Backed out changeset 27257fdd6c67 (bug 218415) for xpcshell failures in js/xpconnect/tests/unit/test_nuke_sandbox_event_listeners.js on a CLOSED TREE 2018-07-04 16:46:52 +03:00
Henri Sivonen f63ec4c1fe Bug 218415 - Add window.event. r=smaug.
window.event is set on the wrong window when the target and the
callback are from different realms and the callback is an XPCOM
callback.

MozReview-Commit-ID: HXeUIicdMuT

--HG--
extra : rebase_source : 9679d42cc9df899e2208a3cb72e14fdaabbcad8c
2018-04-04 15:57:17 +03:00
Ben Kelly 083c06c238 Bug 1462772 P1 Add a fallible nsIGlobalObject::GetServiceWorkerRegistration() method. r=mrbkap 2018-07-02 07:44:18 -07:00
Olli Pettay ed65a2bfc8 bug 1457867, store DOMEventTargetHelper objects in global object as a linked list, r=bkelly
--HG--
extra : rebase_source : 415c03249bae1edc4313bcf15f91716a748565f9
2018-05-04 19:25:05 +03:00
Ben Kelly 0c368d6063 Bug 1438211 P1 Add nsIGlobalObject::GetOrCreateServiceWorkerRegistration(). r=asuth
--HG--
extra : rebase_source : 50aca93e94142ee42dc4446164aeec1cb2b06c52
2018-03-02 13:02:49 -08:00
Ben Kelly 36e56dbf7e Bug 1438541 P3 Allow nsIGlobalObject::ForEachEventTargetObject() callback function to abort iteration. r=smaug 2018-02-21 10:53:53 -08:00
Ben Kelly deec3fa995 Bug 1438541 P2 Make nsIGlobalObject::GetOrCreateServiceWorker() use the DOMEventTargetHelper list stored on the global. r=smaug 2018-02-21 10:53:52 -08:00
Ben Kelly f696313a4a Bug 1438541 P1 Track DOMEventTargetHelper objects in the nsIGlobalObject base class and always call DisconnectFromOwner() on them. r=smaug 2018-02-21 10:53:22 -08:00
Ben Kelly 0ff28a0a92 Bug 1434342 P5 Support caching the ServiceWorker DOM instance on the global. r=asuth 2018-01-31 09:10:26 -08:00
Nika Layzell c33284aec0 Bug 1293362 - Part 4: Generate runtime bindings for calling xpcom methods from rust, r=froydnj
MozReview-Commit-ID: K37KyHkKsSl
2018-01-23 17:27:26 -05:00
Ben Kelly eecacb4a97 Bug 1429486 Expose GetClientInfo() and GetController() on nsIGlobalObject. r=asuth 2018-01-11 20:46:08 -05:00
Olli Pettay d0b729d0bd Bug 1405798 - Move IsInSyncOperation to nsIGlobalObject, r=baku
--HG--
extra : rebase_source : ad333cf424aec110e0be7d3df41eb0a697cfc770
2017-10-05 16:45:26 +03:00
Eric Rahm a33f11e0f5 Bug 1391803 - Use nsStringFwd.h for forward declaring string classes. r=froydnj
We should not be declaring forward declarations for nsString classes directly,
instead we should use nsStringFwd.h. This will make changing the underlying
types easier.

--HG--
extra : rebase_source : b2c7554e8632f078167ff2f609392e63a136c299
2017-08-16 16:48:52 -07:00
Bill McCloskey bea9c4205c Bug 1337537 - Move Dispatcher.{cpp,h} to xpcom/threads (r=froydnj)
MozReview-Commit-ID: AYyKynUv4bX
2017-02-13 17:02:48 -08:00
Bill McCloskey 66add2ca93 Bug 1305926 - Dispatcher API for assigning DocGroups to runnables (r=ehsan)
MozReview-Commit-ID: 8qO95a6z1Ut
2016-11-17 17:01:00 -08:00
Boris Zbarsky 599897e926 Bug 1291142. Ensure that we don't return gray objects when getting child windows by name or index. r=bholley 2016-08-02 11:06:25 -07:00
Boris Zbarsky 3f84f0b441 Bug 1289129. When setting up an AutoJSAPI with a global, make sure to expose that global to active JS. r=mccr8 2016-07-27 11:05:36 -04:00
Boris Zbarsky 8617edc967 Bug 1288791 part 3. Ensure that FindAssociatedGlobal never returns a gray global. r=bkelly 2016-07-27 11:05:36 -04:00
Andrea Marchesini 20599f646b Bug 1156875 - patch 3 - nsIGlobalObject members correctly ordered in the header file, r=bz 2015-06-29 17:44:18 +01:00
Andrea Marchesini 0d81eae126 Bug 1156875 - patch 1 - URL.createObjectURL leaks in JS sandbox, r=bholley 2015-05-07 08:05:43 +01:00
Andrew McCreight 9e8f4b219e Bug 1152551, part 2 - Fix mode lines in dom/. r=jst 2015-05-03 15:32:37 -04:00
Nikhil Marathe 828e83e703 Bug 1058695 - Add member to nsIGlobalObject to detect it is going away. Make promises use it. r=bholley
--HG--
extra : rebase_source : 001f43d9e08768111f8ece44f79ae3ab689e2fb6
extra : amend_source : 8b89c86ded224c90aa428cdfb24d25959c87b32b
2015-04-27 12:00:41 -07:00
Ryan VanderMeulen cb4391caa6 Backed out changeset c839f283bf28 (bug 1058695) for bustage.
CLOSED TREE
2015-04-27 14:04:24 -04:00