mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1139984 - Fix console API in child processes by ensuring windowID is correctly typed. r=bz
This commit is contained in:
parent
d05757bf13
commit
9b74d49025
@ -1157,8 +1157,8 @@ Console::ProcessCallData(ConsoleCallData* aData)
|
||||
event.mInnerID.Value().SetAsString() = aData->mInnerIDString;
|
||||
} else {
|
||||
MOZ_ASSERT(aData->mIDType == ConsoleCallData::eNumber);
|
||||
event.mID.Value().SetAsUnsignedLong() = aData->mOuterIDNumber;
|
||||
event.mInnerID.Value().SetAsUnsignedLong() = aData->mInnerIDNumber;
|
||||
event.mID.Value().SetAsUnsignedLongLong() = aData->mOuterIDNumber;
|
||||
event.mInnerID.Value().SetAsUnsignedLongLong() = aData->mInnerIDNumber;
|
||||
}
|
||||
|
||||
event.mLevel = aData->mMethodString;
|
||||
|
@ -45,8 +45,8 @@ interface Console {
|
||||
|
||||
// This is used to propagate console events to the observers.
|
||||
dictionary ConsoleEvent {
|
||||
(unsigned long or DOMString) ID;
|
||||
(unsigned long or DOMString) innerID;
|
||||
(unsigned long long or DOMString) ID;
|
||||
(unsigned long long or DOMString) innerID;
|
||||
DOMString level = "";
|
||||
DOMString filename = "";
|
||||
unsigned long lineNumber = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user