зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1139984 - Fix console API in child processes by ensuring windowID is correctly typed. r=bz
--HG-- extra : rebase_source : cadf747b30735e845e15f7a6f4a30bcae591f4e0
This commit is contained in:
Родитель
7774d591e4
Коммит
b47e33bec1
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче