Bug 114561 - REGRESSION(r148128): window.resizeTo doesn't work from Safari address bar.
Summary: REGRESSION(r148128): window.resizeTo doesn't work from Safari address bar.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore JavaScript (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Andreas Kling
URL:
Keywords: InRadar, Regression
: 114445 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-04-13 04:50 PDT by Andreas Kling
Modified: 2013-04-16 03:04 PDT (History)
2 users (show)

See Also:


Attachments
Proposed patch (4.15 KB, patch)
2013-04-13 07:11 PDT, Andreas Kling
sam: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Kling 2013-04-13 04:50:18 PDT
<rdar://problem/13635894>
Comment 1 Andreas Kling 2013-04-13 07:11:14 PDT
Created attachment 197936 [details]
Proposed patch
Comment 2 Alexey Proskuryakov 2013-04-13 19:38:18 PDT
Comment on attachment 197936 [details]
Proposed patch

View in context: https://bugs.webkit.org/attachment.cgi?id=197936&action=review

> Source/WebCore/ChangeLog:13
> +        (WebCore::DOMWindow::canChangeWindowGeometry):

Drive-by comment: this looks like a "may" or "allowedTo" function, not a "can" one.
Comment 3 Sam Weinig 2013-04-14 15:45:44 PDT
Comment on attachment 197936 [details]
Proposed patch

View in context: https://bugs.webkit.org/attachment.cgi?id=197936&action=review

Can this be tested?

> Source/WebCore/page/DOMWindow.cpp:1449
> +bool DOMWindow::canChangeWindowGeometry() const

I agree with Alexey, something like allowedToChangeWindowGeometry would be more clear.  This could also use a comment.
Comment 4 Alexey Proskuryakov 2013-04-15 11:41:46 PDT
*** Bug 114445 has been marked as a duplicate of this bug. ***
Comment 5 Andreas Kling 2013-04-16 03:04:19 PDT
Committed r148508: <http://trac.webkit.org/changeset/148508>