Dorel Luca
4681060e62
Backed out 3 changesets (bug 1367251) for Mda failures in /test_background_video_tainted_by_createimagebitmap.html. CLOSED TREE
...
Backed out changeset 871379f9b194 (bug 1367251)
Backed out changeset a76c2c98b33c (bug 1367251)
Backed out changeset a55cda2431fc (bug 1367251)
2020-07-15 16:37:32 +03:00
aardgoose
b01831ccc4
Bug 1367251 - add bindings for options to createImageBitmap and support flipY r=bzbarsky,aosmond,baku
...
implementation of imageOrientation: none|flipY.
implementation of premultiplyAlpha: none|premultiply|default.
Differential Revision: https://phabricator.services.mozilla.com/D29562
2020-07-15 11:03:51 +00:00
Perry Jiang
9b577b5ef4
Bug 1632036 - check for null global when freezing/thawing WorkerPrivate r=dom-workers-and-storage-reviewers,sg
...
- Apply pointer guidelines to ClientSource getter.
- When freezing/thawing WorkerPrivate, check if the client/global is null. It seems possible that the client is null because the WorkerPrivate can remain registered to the RuntimeService even if it failed to create its global, and freezing/thawing is done through the RuntimeService. The other two callsites to get the client won't execute unless CompileScriptRunnable successfully creates the client.
Differential Revision: https://phabricator.services.mozilla.com/D82482
2020-07-09 07:25:16 +00:00
Andrea Marchesini
f8f4d7b9c9
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-03 06:10:58 +00: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
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
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
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
Peter Van der Beken
af82496fc7
Bug 1639310 - Remove unnecessary implicitJSContext annotations. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D76020
2020-05-19 20:48:21 +00:00
Perry Jiang
3446310d6c
Bug 1618546 - give worker debugger globals their own clients r=asuth,webidl,smaug
...
- Worker debugger globals gets a client with a null principal
- Ensure globals are created before script loads
- Introduce WorkerGlobalScopeBase to share code
- Transfer ClientSource ownership from WorkerPrivate to worker globals
- Require getting clients from the globals instead of WorkerPrivate with the
exception of getting the reserved client before the non-debugger global is
created
Differential Revision: https://phabricator.services.mozilla.com/D68936
2020-04-21 06:50:53 +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
Simon Giesecke
0cc72577b5
Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/workers. r=dom-workers-and-storage-reviewers,janv
...
Differential Revision: https://phabricator.services.mozilla.com/D62562
--HG--
extra : moz-landing-system : lando
2020-02-12 10:38:22 +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
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
f3c18c006a
Bug 1154779 - Implement WorkerGlobalScope.onlanguagechange, r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D59639
--HG--
extra : moz-landing-system : lando
2020-01-12 23:16:30 +00:00
Nazım Can Altınova
bc87c9100f
Bug 1468789 - Part 1: Add window id inside realm creation options. r=jandem,bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D51859
--HG--
extra : moz-landing-system : lando
2019-11-14 12:26:25 +00:00
Yaron Tausky
e65a2c3ebb
Bug 1591892 - Expose {window, self}.crossOriginIsolated r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D52532
--HG--
extra : moz-landing-system : lando
2019-11-15 12:25:57 +00:00
Brindusan Cristian
bb90c3cbf6
Backed out changeset 41c6b7e917fd (bug 1367251) for mochitest failures at test_conformance__textures__image_bitmap_from_blob__tex-2d-luminance-luminance-unsigned_byte.html. CLOSED TREE
2019-10-07 04:46:13 +03:00
aardgoose
730d95aa10
Bug 1367251 - add bindings for options to createImageBitmap and support flipY r=bzbarsky,aosmond
...
implementation of imageOrientation: none|flipY.
Differential Revision: https://phabricator.services.mozilla.com/D29562
--HG--
extra : moz-landing-system : lando
2019-10-04 15:20:53 +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
Edgar Chen
9ea814313d
Bug 1558776 - Part 3: Extract script timeout handler from nsJSScriptTimeoutHandler; r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D34872
--HG--
extra : moz-landing-system : lando
2019-06-14 21:01:49 +00:00
Edgar Chen
e2d90da451
Bug 1558776 - Part 2: Extract callback timeout handler from nsJSScriptTimeoutHandler; r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D34863
--HG--
extra : moz-landing-system : lando
2019-06-14 20:59:13 +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
Andrea Marchesini
bb718d74fc
Bug 1490044 - Remove DOMPrefs. r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D33510
--HG--
extra : moz-landing-system : lando
2019-06-13 09:02:03 +00:00
Edgar Chen
2167e86221
Bug 1362272 - Part 1: Add onrejectionhandled and onunhandledrejection EventHandler; r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D17237
--HG--
extra : moz-landing-system : lando
2019-04-24 11:15:27 +00:00
Brian Hackett
ab337aa92c
Bug 1392408 Part 3 - Report stacks to net monitor when loading worker scripts, r=bzbarsky.
...
--HG--
extra : rebase_source : c4b52354dc9c71bb86cd157f0f710d01b78659e5
2019-05-02 08:34:27 -10: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
Andrea Marchesini
bd74d6c75d
Bug 1536411 - StoragePrincipal - part 3 - IDBFactory, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D24027
--HG--
extra : moz-landing-system : lando
2019-04-12 05:31:13 +00:00
Cosmin Sabou
af07021e88
Backed out 10 changesets (bug 1536411) for causing leaks in CondVar, MessagePortService, MessagePortServiceData.
...
Backed out changeset eda5854cd7e8 (bug 1536411)
Backed out changeset f94dfbf2476c (bug 1536411)
Backed out changeset c68dc3152faa (bug 1536411)
Backed out changeset f67d157e8baf (bug 1536411)
Backed out changeset 1107a9767f38 (bug 1536411)
Backed out changeset ccbe1af00fb9 (bug 1536411)
Backed out changeset 552c4b588524 (bug 1536411)
Backed out changeset 2eb20578159b (bug 1536411)
Backed out changeset 45708d22bb6d (bug 1536411)
Backed out changeset 87601ef1d4d4 (bug 1536411)
2019-04-11 22:48:49 +03:00
Andrea Marchesini
d0cbc4e278
Bug 1536411 - StoragePrincipal - part 3 - IDBFactory, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D24027
--HG--
extra : moz-landing-system : lando
2019-04-11 16:27:53 +00:00
Boris Zbarsky
10d7ccf23e
Bug 1535384 part 5. Eliminate MOZ_CAN_RUN_SCRIPT_BOUNDARY for mutation callbacks. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D23776
--HG--
extra : moz-landing-system : lando
2019-03-19 15:14:11 +00:00
Brian Hackett
70866753cc
Bug 1523262 Part 2 - Provide atob/btoa in worker debugger scope, r=lsmyth,baku.
...
--HG--
extra : rebase_source : 41a30811bee43bfb5ac9fe1e98868b335d607073
2019-02-21 17:25:39 -10:00
Ehsan Akhgari
e5e885ae31
Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre
...
# ignore-this-changeset
--HG--
extra : amend_source : 7221c8d15a765df71171099468e7c7faa648f37c
extra : histedit_source : a0cce6015636202bff09e35a13f72e03257a7695
2019-01-18 10:16:18 +01: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
Andrea Marchesini
a1f26d6d31
Bug 1502802 - Implement PostMessageOptions for Worker, r=smaug
2018-10-29 16:26:30 +01:00
Andrea Marchesini
e4a7eded18
Bug 1500733 - Remove the support for BufferSource in createImageBitmap, r=aosmond
2018-10-23 23:35:43 +02:00
Perry Jiang
0516414da1
Bug 1399446 - implement ServiceWorkerGlobalScope and ServiceWorkerContainer onmessageerror event handlers r=edenchuang,baku
...
Differential Revision: https://phabricator.services.mozilla.com/D5213
--HG--
extra : moz-landing-system : lando
2018-10-22 21:22:25 +00:00
Andrew Sutherland
812da7fa44
Bug 1472303 - Backed out changeset 8a40d04dfcbb. r=asuth
...
The logic here to move our check was right, but our check was wrong.
Also, we landed a test that checked for our wrong implementation.
We need to correct our implementation and re-think the test. The
right test might just be a mochitest, possibly with some Firefox-only
hooks involved.
--HG--
extra : rebase_source : 4d6b9a120adcee835f626098e8547c440a39f595
2018-08-24 10:24:28 -04:00
Blake Kaplan
1f4f71fbc2
Bug 1472303 - Block self-update from top level scripts. r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D3221
--HG--
extra : moz-landing-system : lando
2018-08-22 20:00:19 +00:00
Boris Zbarsky
1914ffc8ec
Bug 1450167. Stop using atom-or-string for event names in the listener manager. r=smaug
...
Now that we support atoms off the the main thread, we can just use atoms.
2018-07-24 18:15:19 -04:00
Ben Kelly
083c06c238
Bug 1462772 P1 Add a fallible nsIGlobalObject::GetServiceWorkerRegistration() method. r=mrbkap
2018-07-02 07:44:18 -07:00