forked from mirrors/gecko-dev
Desktop's `nsIBrowserWindow.createContetnWindow` will return null when creating new window. Then browsing context is observed by `nsFrameLoader`. Actually, GeckoView's `createContentWindow` always creates new window. So if using new window option, we should return null like desktop. Also, if no callback, we return browsing context even if creating new window due to no way to notify browsing context. And, `nsIWindowProvider.provideWindow` doesn't use the callback, we have to return browsing context for this situation. Differential Revision: https://phabricator.services.mozilla.com/D197131 |
||
|---|---|---|
| .. | ||
| test | ||
| moz.build | ||
| nsAutoWindowStateHelper.cpp | ||
| nsAutoWindowStateHelper.h | ||
| nsDialogParamBlock.cpp | ||
| nsDialogParamBlock.h | ||
| nsIDialogParamBlock.idl | ||
| nsIOpenWindowInfo.idl | ||
| nsIPromptCollection.idl | ||
| nsIPromptFactory.idl | ||
| nsIPromptService.idl | ||
| nsIWindowWatcher.idl | ||
| nsOpenWindowInfo.cpp | ||
| nsOpenWindowInfo.h | ||
| nsPIWindowWatcher.idl | ||
| nsPromptUtils.h | ||
| nsWindowWatcher.cpp | ||
| nsWindowWatcher.h | ||