diff options
author | Allan Sandfeld Jensen <allan.jensen@digia.com> | 2013-04-11 17:40:38 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-04-11 18:28:15 +0200 |
commit | 769a561e2e4bdac702c42c1781d9d3078b498ec1 (patch) | |
tree | 7682f4ce9b5d38a5fd2c40dd10bc3a9699187e48 /Source/JavaScriptCore/bytecode/GetByIdStatus.cpp | |
parent | 64ed4a49fd2dd8211a6476687f561f971053c5b9 (diff) | |
download | qtwebkit-769a561e2e4bdac702c42c1781d9d3078b498ec1.tar.gz |
[Qt] window.open passes height and width parameters even if not defined in a page
https://bugs.webkit.org/show_bug.cgi?id=107705
Reviewed by Kenneth Rohde Christiansen.
Source/WebCore:
Do not override width or height of 0, as that indicates default size, and not minimum size.
Tested by tst_qwebpage.
* page/DOMWindow.cpp:
(WebCore::DOMWindow::adjustWindowRect):
Source/WebKit/efl:
Do not resize window when default size is requested.
* WebCoreSupport/ChromeClientEfl.cpp:
(WebCore::ChromeClientEfl::setWindowRect):
Source/WebKit/gtk:
Do not resize window when default size is requested.
* WebCoreSupport/ChromeClientGtk.cpp:
(WebKit::ChromeClient::setWindowRect):
Source/WebKit/qt:
Test that minimum size is applied only when the requested size is too small,
not when default is requested.
* tests/qwebpage/tst_qwebpage.cpp:
(tst_QWebPage):
(TestPage):
(TestPage::TestPage):
(TestPage::createWindow):
(TestPage::slotGeometryChangeRequested):
(tst_QWebPage::openWindowDefaultSize):
Change-Id: I4e7f9012a014918a536daac0bfca15c01cd38fab
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@142755 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
Diffstat (limited to 'Source/JavaScriptCore/bytecode/GetByIdStatus.cpp')
0 files changed, 0 insertions, 0 deletions