mirror of
https://github.com/roytam1/palemoon27.git
synced 2026-05-26 14:18:48 +00:00
[minor fix] Throws an information in the Browser Console
This commit is contained in:
@@ -96,6 +96,10 @@ WindowNamedPropertiesHandler::getOwnPropDescriptor(JSContext* aCx,
|
||||
return false;
|
||||
}
|
||||
|
||||
if (str.IsEmpty()) {
|
||||
return true;
|
||||
}
|
||||
|
||||
// Grab the DOM window.
|
||||
JS::Rooted<JSObject*> global(aCx, JS_GetGlobalForObject(aCx, aProxy));
|
||||
nsGlobalWindow* win = xpc::WindowOrNull(global);
|
||||
|
||||
Reference in New Issue
Block a user