mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 01:22:10 +01:00
Update expectations for popupwindows test
This commit is contained in:
parent
fcaa2b4559
commit
2582ee3562
|
@ -964,7 +964,9 @@ QWebEnginePage* WebPage::createWindow(QWebEnginePage::WebWindowType type)
|
|||
BrowserWindow *window = tView ? tView->browserWindow() : mApp->getWindow();
|
||||
|
||||
switch (type) {
|
||||
case QWebEnginePage::WebBrowserWindow: // TODO
|
||||
case QWebEnginePage::WebBrowserWindow:
|
||||
// TODO: Investigate when this is called from html
|
||||
qDebug() << "WebBrowserWindow";
|
||||
case QWebEnginePage::WebBrowserTab: {
|
||||
int index = window->tabWidget()->addView(QUrl(), Qz::NT_CleanSelectedTab);
|
||||
TabbedWebView* view = window->weView(index);
|
||||
|
|
|
@ -18,11 +18,11 @@
|
|||
<a href="javascript:window.open('popup.html', '_blank')">Popup 2</a>
|
||||
- with second argument _blank
|
||||
</p>
|
||||
<b>Will be opened in popup window</b>
|
||||
<p>
|
||||
<a href="javascript:window.open('popup.html', '_blank', 'left=100,right=200')">Popup 3</a>
|
||||
- with left and righ (should be opened as popup, but how to detect it?)
|
||||
- with left and righ
|
||||
</p>
|
||||
<b>Will be opened in popup window</b>
|
||||
<p>
|
||||
<a href="javascript:window.open('popup.html', '_blank', 'width=150,height=150')">Popup 4</a>
|
||||
- with width and height
|
||||
|
|
Loading…
Reference in New Issue
Block a user