author | Marco Castelluccio <mcastelluccio@mozilla.com> |
Fri, 01 Apr 2016 19:58:22 +0100 | |
changeset 291355 | d82bdcd0b640dc5aefb0c10ea108a2c04c81d98c |
parent 291354 | 288b6ba19e644cec4aa6a3c2cf609cf8c7e975f8 |
child 291356 | 5620c5785d8e80ce0f50fa557d14a134741e1c02 |
push id | 30132 |
push user | ryanvm@gmail.com |
push date | Sat, 02 Apr 2016 17:18:33 +0000 |
treeherder | mozilla-central@df803eb33993 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | jst |
bugs | 1246327 |
milestone | 48.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/dom/base/nsGlobalWindow.cpp +++ b/dom/base/nsGlobalWindow.cpp @@ -6445,20 +6445,17 @@ nsGlobalWindow::CanMoveResizeWindows(boo uint32_t itemCount; if (NS_SUCCEEDED(treeOwner->GetTargetableShellCount(&itemCount)) && itemCount > 1) { return false; } } } - // The preference is useful for the webapp runtime. Webapps should be able - // to resize or move their window. - if (mDocShell && !Preferences::GetBool("dom.always_allow_move_resize_window", - false)) { + if (mDocShell) { bool allow; nsresult rv = mDocShell->GetAllowWindowControl(&allow); if (NS_SUCCEEDED(rv) && !allow) return false; } if (gMouseDown && !gDragServiceDisabled) { nsCOMPtr<nsIDragService> ds =