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:
jaggernaut%netscape.com 2002-07-08 06:56:43 +00:00
Родитель 91f5178701
Коммит 10c940f559
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -3709,7 +3709,7 @@ nsWindowSH::NewResolve(nsIXPConnectWrappedNative *wrapper, JSContext *cx,
const jschar *chars = ::JS_GetStringChars(str); const jschar *chars = ::JS_GetStringChars(str);
dsn->FindChildWithName(NS_REINTERPRET_CAST(const PRUnichar*, chars), dsn->FindChildWithName(NS_REINTERPRET_CAST(const PRUnichar*, chars),
PR_FALSE, PR_FALSE, nsnull, PR_FALSE, PR_TRUE, nsnull,
getter_AddRefs(child)); getter_AddRefs(child));
nsCOMPtr<nsIDOMWindow> child_win(do_GetInterface(child)); nsCOMPtr<nsIDOMWindow> child_win(do_GetInterface(child));