зеркало из https://github.com/mozilla/gecko-dev.git
Bug 111086: Location Bar address [URL] not restored after closing or switching tab. Restrict matching property names against window/frame names from crossing the chrome-content boundary. r=peterv, sr=jst
This commit is contained in:
Родитель
91f5178701
Коммит
10c940f559
|
@ -3709,7 +3709,7 @@ nsWindowSH::NewResolve(nsIXPConnectWrappedNative *wrapper, JSContext *cx,
|
|||
const jschar *chars = ::JS_GetStringChars(str);
|
||||
|
||||
dsn->FindChildWithName(NS_REINTERPRET_CAST(const PRUnichar*, chars),
|
||||
PR_FALSE, PR_FALSE, nsnull,
|
||||
PR_FALSE, PR_TRUE, nsnull,
|
||||
getter_AddRefs(child));
|
||||
|
||||
nsCOMPtr<nsIDOMWindow> child_win(do_GetInterface(child));
|
||||
|
|
Загрузка…
Ссылка в новой задаче