Commit Graph

24 Commits

Author SHA1 Message Date
John Dai
5bed95bf3d Bug 1563597 - Support nsGlobalWindowOuter as observer notification's subject; r=nika
Differential Revision: https://phabricator.services.mozilla.com/D39029

--HG--
extra : moz-landing-system : lando
2019-07-23 16:09:27 +00:00
Boris Zbarsky
19251f27ce Bug 1562680. Implement the new syntax for Web IDL dictionary defaulting. r=peterv
`= {}` can now be used to indicate that an optional dictionary should have the
default value of 'default-initialized dictionary'

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

--HG--
extra : moz-landing-system : lando
2019-07-03 07:52:35 +00:00
Cosmin Sabou
3ef8d24958 Backed out changeset 8e16f13a88c8 (bug 1562680) for colliding with Bug 1366738 that was backed out. CLOSED TREE 2019-07-03 10:46:39 +03:00
Boris Zbarsky
73f095abc4 Bug 1562680. Implement the new syntax for Web IDL dictionary defaulting. r=peterv
`= {}` can now be used to indicate that an optional dictionary should have the
default value of 'default-initialized dictionary'

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

--HG--
extra : moz-landing-system : lando
2019-07-03 06:44:36 +00:00
Mihai Alexandru Michis
c7fc76c18f Backed out changeset 12653dd76667 (bug 1562680) for causing bustages in FuzzingFunctions.webidl CLOSED TREE 2019-07-03 09:34:48 +03:00
Boris Zbarsky
3a5c721abb Bug 1562680. Implement the new syntax for Web IDL dictionary defaulting. r=peterv
`= {}` can now be used to indicate that an optional dictionary should have the
default value of 'default-initialized dictionary'

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

--HG--
extra : moz-landing-system : lando
2019-07-03 06:15:54 +00:00
John Dai
8add76ec66 Bug 1556686 - Add more comments on JSWindowActor; r=nika
Differential Revision: https://phabricator.services.mozilla.com/D33619

--HG--
extra : moz-landing-system : lando
2019-06-06 10:13:30 +00:00
John Dai
dd24ca6319 Bug 1557062 - Add browsingContext on JSWindowActorParent; r=nika
Differential Revision: https://phabricator.services.mozilla.com/D33809

--HG--
extra : moz-landing-system : lando
2019-06-05 16:59:56 +00:00
John Dai
6a23fc1690 Bug 1555301 - Fix JSWindowActor.webidl comments; r=nika
Differential Revision: https://phabricator.services.mozilla.com/D33026

--HG--
extra : moz-landing-system : lando
2019-05-31 14:32:47 +00:00
John Dai
3c7a906413 Bug 1552554 - Move JSWindowActor config dictionaries into JSWindowActor.webidl; r=nika
Differential Revision: https://phabricator.services.mozilla.com/D32325

--HG--
extra : moz-landing-system : lando
2019-05-24 18:44:43 +00:00
John Dai
e6c8ba5ff4 Bug 1552263 - Add docShell attribute to JSWindowActorChild; r=nika
Differential Revision: https://phabricator.services.mozilla.com/D31614

--HG--
extra : moz-landing-system : lando
2019-05-17 19:01:21 +00:00
John Dai
916234b917 Bug 1538979 - Part 2: Add WillDestroy and DidDestroy lifecycle methods on JSWindowActor; r=nika
Differential Revision: https://phabricator.services.mozilla.com/D30196

--HG--
extra : moz-landing-system : lando
2019-05-10 15:01:40 +00:00
Csoregi Natalia
ca5858897f Backed out 3 changesets (bug 1538979) for bustage on JSWindowActor.cpp. CLOSED TREE
Backed out changeset a098226e4211 (bug 1538979)
Backed out changeset 8e065761738c (bug 1538979)
Backed out changeset 9df2b856b655 (bug 1538979)
2019-05-10 12:44:22 +03:00
John Dai
c22ef89c64 Bug 1538979 - Part 2: Add WillDestroy and DidDestroy lifecycle methods on JSWindowActor; r=nika
Differential Revision: https://phabricator.services.mozilla.com/D30196

--HG--
extra : moz-landing-system : lando
2019-05-10 09:19:30 +00:00
Nika Layzell
6114a5f7ab Bug 1544936 - Part 1: Add a sendQuery method to send an async message with a response to JSWindowActor, r=mconley,jdai
This adds a single new method, which acts like sendAsyncMessage, but
also returns a promise. This promise is fulfilled when the promise
returned from the receiveMessage callback is resolved.

```
partial interface JSWindowActor {
  [Throws]
  Promise<any> sendQuery(DOMString messageName,
                         optional any obj,
                         optional any transfers);
}
```

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

--HG--
extra : moz-landing-system : lando
2019-04-18 19:37:15 +00:00
Nika Layzell
2537a7beb5 Bug 1544505 - Add helpful getter methods to JSWindowActorChild, r=mconley,jdai
Differential Revision: https://phabricator.services.mozilla.com/D27545

--HG--
extra : moz-landing-system : lando
2019-04-17 18:18:33 +00:00
Nika Layzell
6186f66b37 Bug 1542779 - Use callback interfaces for JSWindowActor callbacks, r=jdai
This should not have any major behaviour changes, with the following exceptions:

 1. The method for receiving messages from IPC is called `receiveMessage` rather
    than `recvAsyncMessage`. This is more consistent with existing code, so
    should be OK.
 2. Exceptions will be correctly reported when thrown within a callback.

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

--HG--
extra : moz-landing-system : lando
2019-04-15 15:49:02 +00:00
Nika Layzell
84ab7df19a Bug 1528387 - Make actor name implicit to JSWindowActor::SendAsyncMessage, r=jdai
Differential Revision: https://phabricator.services.mozilla.com/D20011

--HG--
extra : moz-landing-system : lando
2019-02-21 19:53:59 +00:00
Noemi Erli
a886d44d2f Backed out 2 changesets (bug 1528387) for failures in test_JSWindowActor.xul CLOSED TREE
Backed out changeset c4c6581b5ecd (bug 1528387)
Backed out changeset 33dd29846b7b (bug 1528387)
2019-02-21 05:07:16 +02:00
Nika Layzell
e5a0cc1ba3 Bug 1528387 - Make actor name implicit to JSWindowActor::SendAsyncMessage, r=jdai
Differential Revision: https://phabricator.services.mozilla.com/D20011

--HG--
extra : moz-landing-system : lando
2019-02-20 20:08:30 +00:00
John Dai
3013aa2b9f Bug 1513877 - Implement send and receive methods for base WindowActor class. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D18695

--HG--
extra : moz-landing-system : lando
2019-02-08 13:02:08 +00:00
John Dai
7b1dd6aef8 Bug 1513878 - Part 2: Implement a getter method to WindowGlobalParent/WindowGlobalChild. r=nika
Depends on D16844

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

--HG--
extra : moz-landing-system : lando
2019-01-28 19:02:02 +00:00
Dorel Luca
2702a37d2c Backed out 3 changesets (bug 1513878) for build bustage. CLOSED TREE
Backed out changeset a480d92de046 (bug 1513878)
Backed out changeset 0333640041bb (bug 1513878)
Backed out changeset 48b36980fe1c (bug 1513878)
2019-01-25 21:16:50 +02:00
John Dai
bb99ebce70 Bug 1513878 - Part 2: Implement a getter method to WindowGlobalParent/WindowGlobalChild. r=nika
Depends on D16844

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

--HG--
extra : moz-landing-system : lando
2019-01-25 18:45:28 +00:00