mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1089547: fix error passing in MozLoopAPI and remove leftover in LoopRooms. r=Standard8
This commit is contained in:
parent
7b36254e8a
commit
952154e9c5
@ -88,7 +88,6 @@ let LoopRoomsInternal = {
|
||||
// Next, request the detailed information for each room. If the request
|
||||
// fails the room data will not be added to the map.
|
||||
for (let room of roomsList) {
|
||||
let eventName = this.rooms.has(room.roomToken) ? "update" : "add";
|
||||
this.rooms.set(room.roomToken, room);
|
||||
yield LoopRooms.promise("get", room.roomToken);
|
||||
}
|
||||
|
@ -77,7 +77,7 @@ const cloneValueInto = function(value, targetWindow) {
|
||||
|
||||
// Strip Function properties, since they can not be cloned across boundaries
|
||||
// like this.
|
||||
for (let prop of value) {
|
||||
for (let prop of Object.getOwnPropertyNames(value)) {
|
||||
if (typeof value[prop] == "function") {
|
||||
delete value[prop];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user