Matthew Gaudet
36238d01ff
Bug 1736461 - Add Promise::CreateResolvedWithUndefined to handle common patterm in Streams r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D129319
2021-11-15 22:01:38 +00:00
Eden Chuang
2afeed0d0c
Bug 1686154 - Fix the race condition on WorkerFetchResolver::mFetchObserver. r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D111525
2021-04-13 13:23:57 +00:00
Noemi Erli
7013a13cd3
Backed out changeset 6483ed81fc50 (bug 1686154) for causing build bustages in Fetch.cpp CLOSED TREE
2021-04-13 15:18:46 +03:00
Eden Chuang
359fb902da
Bug 1686154 - Fix the race condition on WorkerFetchResolver::mFetchObserver. r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D111525
2021-04-13 12:06:27 +00:00
Tom Schuster
dde7219f71
Bug 1696756 - Log promise rejections from sandboxed code to the right window. r=smaug
...
I noticed this while working on my import patch. When the import fails the promise is rejected. Currently
that rejection just ends up somewhere in the Browser Console.
Differential Revision: https://phabricator.services.mozilla.com/D107374
2021-03-07 19:51:39 +00:00
Simon Giesecke
7c6ccbe4a8
Bug 1676361 - Move AutoEntryScript to a separate header file to avoid pulling in GeckoProfiler.h everywhere. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D97742
2021-03-05 15:29:49 +00:00
Alexandru Michis
8c28934f09
Backed out changeset c6b72f3c76ba (bug 1676361) for causing bustages in nsSocketTransportService2.cpp
...
CLOSED TREE
2021-03-04 23:26:04 +02:00
Simon Giesecke
e41d350c04
Bug 1676361 - Move AutoEntryScript to a separate header file to avoid pulling in GeckoProfiler.h everywhere. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D97742
2021-03-04 17:30:48 +00:00
Noemi Erli
11891059f7
Backed out changeset 06452c4c828c (bug 1676361) for causing bustages CLOSED TREE
2021-03-04 19:13:56 +02:00
Simon Giesecke
6c371fcc1c
Bug 1676361 - Move AutoEntryScript to a separate header file to avoid pulling in GeckoProfiler.h everywhere. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D97742
2021-03-04 16:14:44 +00:00
smolnar
9f8b74a18d
Backed out changeset 9062e17fe15c (bug 1676361) on devs request. CLOSED TREE
2021-03-04 16:51:21 +02:00
Simon Giesecke
e1330cc8f0
Bug 1676361 - Move AutoEntryScript to a separate header file to avoid pulling in GeckoProfiler.h everywhere. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D97742
2021-03-04 14:32:15 +00:00
Dan Glastonbury
d22631c4d7
Bug 1679094 - Resolve dom::Promise from Rust. r=nika
...
A very limited interface to allow resolving dom::Promises from Rust code by
marshaling values via nsIVariant.
Differential Revision: https://phabricator.services.mozilla.com/D97905
2020-12-12 02:55:49 +00:00
Csoregi Natalia
3b68bf27c8
Backed out changeset cccdff68c790 (bug 1679094) for causing build bustage. CLOSED TREE
2020-12-12 03:18:44 +02:00
Dan Glastonbury
27752e15a3
Bug 1679094 - Resolve dom::Promise from Rust. r=nika
...
A very limited interface to allow resolving dom::Promises from Rust code by
marshaling values via nsIVariant.
Differential Revision: https://phabricator.services.mozilla.com/D97905
2020-12-12 00:47:23 +00:00
Simon Giesecke
a9c5ce4b94
Bug 1673931
- Remove avoidable includes from dom/Promise.h. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D96557
Depends on D96556
2020-11-23 16:10:47 +00:00
Simon Giesecke
971b645fe3
Bug 1660470 - Add missing include directives/forward declarations. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D87865
2020-11-23 16:21:38 +00:00
Jeff Walden
6d5beafab1
Bug 1663365
- Move various Object-related functions to a new js/public/Object.h header. r=jandem
...
Differential Revision: https://phabricator.services.mozilla.com/D89333
2020-09-08 22:55:38 +00:00
Simon Giesecke
1cd5c68592
Bug 1652002 - Remove some unnecessary includes from BindingUtils.h. r=peterv
...
Differential Revision: https://phabricator.services.mozilla.com/D83098
2020-07-15 15:34:49 +00:00
Nika Layzell
a3579f6f46
Bug 1458043 - Stop converting promises to nsISupports in xpconnect, r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D82616
2020-07-07 22:20:01 +00:00
Tom Schuster
a5a57442ed
Bug 1636590 - Expose isPromiseRejection on nsIScriptError. r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D74549
2020-05-15 20:18:34 +00:00
Tom Schuster
16d853c816
Bug 1636590 - Provide an exception stack for uncaught promises rejections. r=baku
...
This will improve error message information when the rejection value is not an erorr object.
Differential Revision: https://phabricator.services.mozilla.com/D74479
2020-05-15 20:11:30 +00:00
Philip Chimento
672dc17ff4
Bug 1629293 - Make JS::ErrorReportBuilder::init exclusively support JS::ExceptionStack. r=evilpie,mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D73522
2020-05-14 04:44:33 +00:00
Philip Chimento
f93330de3e
Bug 1629293 - Expose js::ErrorReport in public API. r=evilpie
...
Renames it to JS::ErrorReportBuilder, since it is used to 'build' a
JSErrorReport object.
Differential Revision: https://phabricator.services.mozilla.com/D73521
2020-05-14 04:44:15 +00:00
Narcis Beleuzu
a12e8bbd08
Backed out 5 changesets (bug 1505129, bug 1506323, bug 1629293) for bustages on testPrintError.cpp . CLOSED TREE
...
Backed out changeset ad1ccad76686 (bug 1629293)
Backed out changeset 452e9ab721bd (bug 1629293)
Backed out changeset 72a63e290177 (bug 1629293)
Backed out changeset faeed99f813e (bug 1505129)
Backed out changeset 7bd84a644d2b (bug 1506323)
2020-05-13 21:23:59 +03:00
Philip Chimento
d6b8de58f7
Bug 1629293 - Make JS::ErrorReportBuilder::init exclusively support JS::ExceptionStack. r=evilpie,mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D73522
2020-05-13 16:10:47 +00:00
Philip Chimento
5606c63575
Bug 1629293 - Expose js::ErrorReport in public API. r=evilpie
...
Renames it to JS::ErrorReportBuilder, since it is used to 'build' a
JSErrorReport object.
Differential Revision: https://phabricator.services.mozilla.com/D73521
2020-05-13 16:10:39 +00:00
Tom Schuster
4f64f475f2
Bug 1595046 - Make it possible to inspect every exception value in the web console. r=jonco,baku,mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D64437
2020-05-08 20:54:17 +00:00
Tom Schuster
1dca5ada2c
Bug 1558786 - Report rejected promises from workers to the right window. r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D69256
--HG--
extra : moz-landing-system : lando
2020-04-09 06:50:44 +00:00
Simon Giesecke
d81853cb9d
Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/promise. r=smaug
...
Depends on D66024
Differential Revision: https://phabricator.services.mozilla.com/D66025
--HG--
extra : moz-landing-system : lando
2020-03-09 15:07:21 +00: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
Simon Giesecke
b50347f917
Bug 1611415 - Prefer using std::move over forget. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D60980
--HG--
extra : moz-landing-system : lando
2020-02-13 14:38:48 +00:00
shindli
91aa0518dd
Backed out changeset 0c982bc69cb3 (bug 1611415) for causing build bustages in /builds/worker/workspace/build/src/obj-firefox/dist/include/nsCOMPtr CLOSED TREE
2020-02-12 20:13:29 +02:00
Simon Giesecke
f604a47fa5
Bug 1611415 - Applied FixItHints from mozilla-non-std-move. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D60980
--HG--
extra : moz-landing-system : lando
2020-02-12 17:24:41 +00:00
Andrea Marchesini
c4cb10712a
Bug 1609990 - AgentCluster comparison in MessagePort and BroadcastChannel - part 3 - CloneDataPolicy, r=smaug,sfink,lth
...
Differential Revision: https://phabricator.services.mozilla.com/D60485
--HG--
extra : moz-landing-system : lando
2020-01-24 16:31:21 +00:00
Noemi Erli
e4b712dcb8
Backed out 4 changesets (bug 1609990) for causing Spidermonkey rust bustage CLOSED TREE
...
Backed out changeset 81a77bb3772c (bug 1609990)
Backed out changeset d4524885cb97 (bug 1609990)
Backed out changeset c95aac908332 (bug 1609990)
Backed out changeset bae3e50ab64d (bug 1609990)
2020-01-24 18:13:24 +02:00
Andrea Marchesini
ac6024f408
Bug 1609990 - AgentCluster comparison in MessagePort and BroadcastChannel - part 3 - CloneDataPolicy, r=smaug,sfink,lth
...
Differential Revision: https://phabricator.services.mozilla.com/D60485
--HG--
extra : moz-landing-system : lando
2020-01-24 15:25:24 +00:00
Andrea Marchesini
0077863f8e
Bug 1605566 - MessagePort + wasm - part 2 - implement JS::StructuredCloneScope::UnknownDestination, r=sfink
...
Differential Revision: https://phabricator.services.mozilla.com/D59613
--HG--
extra : moz-landing-system : lando
2020-01-24 07:57:56 +00:00
Narcis Beleuzu
cb54b0227b
Backed out 5 changesets (bug 1605566) for wpt failures on shared.html . CLOSED TREE
...
Backed out changeset 622939cef438 (bug 1605566)
Backed out changeset ab98304e6c84 (bug 1605566)
Backed out changeset 7eab8fd2b62e (bug 1605566)
Backed out changeset 99f61f25ed86 (bug 1605566)
Backed out changeset 77bdf4f86052 (bug 1605566)
2020-01-22 12:58:13 +02:00
Andrea Marchesini
14b6fd8572
Bug 1605566 - MessagePort + wasm - part 2 - implement JS::StructuredCloneScope::UnknownDestination, r=sfink
...
Differential Revision: https://phabricator.services.mozilla.com/D59613
--HG--
extra : moz-landing-system : lando
2020-01-22 09:32:48 +00:00
Mihai Alexandru Michis
4345a38d0d
Backed out 9 changesets (bug 1607791, bug 1605566) for causing multiple wpt failures.
...
CLOSED TREE
Backed out changeset 39f34852842e (bug 1605566)
Backed out changeset 3427a92445c8 (bug 1605566)
Backed out changeset 36631ec96f1f (bug 1605566)
Backed out changeset 554b2bdce66c (bug 1605566)
Backed out changeset 37026beadbd8 (bug 1605566)
Backed out changeset f15835338319 (bug 1607791)
Backed out changeset 4c92f506cf62 (bug 1607791)
Backed out changeset 80707bcc8427 (bug 1607791)
Backed out changeset 75bc7533c899 (bug 1607791)
2020-01-15 13:45:33 +02:00
Andrea Marchesini
c5b0781d9f
Bug 1605566 - MessagePort + wasm - part 2 - implement JS::StructuredCloneScope::UnknownDestination, r=sfink
...
Differential Revision: https://phabricator.services.mozilla.com/D59613
--HG--
extra : moz-landing-system : lando
2020-01-15 10:00:59 +00:00
Boris Zbarsky
75124bdd98
Bug 1517588. Use nsIPrincipal::IsSystemPrincipal instead of nsContentUtils::IsSystemPrincipal r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D53067
--HG--
extra : moz-landing-system : lando
2019-12-05 04:44:32 +00:00
Sylvestre Ledru
022582d728
Bug 1592230 - Remove unused variable 'gIDGenerator' r=edgar
...
Differential Revision: https://phabricator.services.mozilla.com/D50914
--HG--
extra : moz-landing-system : lando
2019-10-29 12:40:15 +00:00
Jeff Walden
3e64c882fe
Bug 1591655 - Remove the unnecessary |proto| argument from |JS::NewPromiseObject| and its callers, seeing as all callers pass |nullptr| (and therefore uniformly request the default prototype). r=jandem,bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D50695
--HG--
extra : moz-landing-system : lando
2019-10-26 08:14:05 +00:00
Edgar Chen
5bc0854d2b
Bug 1578355 - Part 1: Move user-activation code from EventStateManager to UserActivation; r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D45168
--HG--
extra : moz-landing-system : lando
2019-09-20 20:51:25 +00:00
Daniel Varga
bc19cdb06d
Backed out 3 changesets (bug 1578355) for build bustage at build/src/dom/base/nsSyncLoadService.h:48:21. On a CLOSED TREE
...
Backed out changeset d50ad759f129 (bug 1578355)
Backed out changeset 339ab54ca471 (bug 1578355)
Backed out changeset 284299dac42c (bug 1578355)
2019-09-20 14:05:12 +03:00
Edgar Chen
5b6fe53148
Bug 1578355 - Part 1: Move user-activation code from EventStateManager to UserActivation; r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D45168
--HG--
extra : moz-landing-system : lando
2019-09-20 10:31:55 +00:00
Kris Maglione
e1a1356818
Bug 1580220: Fix unhandled rejection logging for cross-origin objects. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D45362
--HG--
extra : moz-landing-system : lando
2019-09-11 14:10:06 +00:00
Olli Pettay
c7ee50989c
Bug 1565930, try to make Promise less error prone to compartment mismatches, r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D38762
--HG--
extra : moz-landing-system : lando
2019-07-29 14:43:54 +00:00