WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
REOPENED
159329
[Mac] Get rid of the old timey rubber-banding linen pattern.
https://bugs.webkit.org/show_bug.cgi?id=159329
Summary
[Mac] Get rid of the old timey rubber-banding linen pattern.
Andreas Kling
Reported
2016-06-30 21:14:44 PDT
We're sometimes loading the linen pattern image despite never actually showing it. This can happen if we go down rendering code paths from the WebPage constructor, before settings are fully loaded.
Attachments
Patch
(11.43 KB, patch)
2016-06-30 21:49 PDT
,
Andreas Kling
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Andreas Kling
Comment 1
2016-06-30 21:49:44 PDT
Created
attachment 282512
[details]
Patch
WebKit Commit Bot
Comment 2
2016-06-30 23:58:55 PDT
Comment on
attachment 282512
[details]
Patch Clearing flags on attachment: 282512 Committed
r202725
: <
http://trac.webkit.org/changeset/202725
>
WebKit Commit Bot
Comment 3
2016-06-30 23:59:00 PDT
All reviewed patches have been landed. Closing bug.
Beth Dakin
Comment 4
2016-07-01 00:00:41 PDT
Do we have any API clients that set backgroundExtendsBeyondPage to YES? And if so, does this change their behavior?
Andreas Kling
Comment 5
2016-07-01 00:34:11 PDT
(In reply to
comment #4
)
> Do we have any API clients that set backgroundExtendsBeyondPage to YES? And > if so, does this change their behavior?
AFAICT the only client of this API is Safari, which always sets it to YES, and thus nothing changes.
Andreas Kling
Comment 6
2016-07-01 00:35:33 PDT
(In reply to
comment #5
)
> (In reply to
comment #4
) > > Do we have any API clients that set backgroundExtendsBeyondPage to YES? And > > if so, does this change their behavior? > > AFAICT the only client of this API is Safari, which always sets it to YES, > and thus nothing changes.
Sorry, I spoke too soon. I found two other clients who also set it to YES. (see cf)
Beth Dakin
Comment 7
2016-07-01 09:34:04 PDT
(In reply to
comment #4
)
> Do we have any API clients that set backgroundExtendsBeyondPage to YES? And > if so, does this change their behavior?
Oh yeah, I guess I meant NO. :P
Andreas Kling
Comment 8
2016-07-01 09:38:26 PDT
(In reply to
comment #7
)
> (In reply to
comment #4
) > > Do we have any API clients that set backgroundExtendsBeyondPage to YES? And > > if so, does this change their behavior? > > Oh yeah, I guess I meant NO. :P
Oh duh, late night reading comprehension pls. I couldn't find any clients that set this to NO.
Tim Horton
Comment 9
2016-07-01 09:41:49 PDT
Isn't NO the default for WKView? (but not WKWebView?)
Tim Horton
Comment 10
2016-07-01 09:45:38 PDT
(In reply to
comment #9
)
> Isn't NO the default for WKView? (but not WKWebView?)
(it is). So you have changed behavior for WKView clients. Probably most will not care, but we should make sure (App Store and iTunes come to mind).
Andreas Kling
Comment 11
2016-07-01 09:48:19 PDT
(In reply to
comment #10
)
> (In reply to
comment #9
) > > Isn't NO the default for WKView? (but not WKWebView?) > > (it is). So you have changed behavior for WKView clients. Probably most will > not care, but we should make sure (App Store and iTunes come to mind).
I see! I also found this in WTR: // This setting differs between the antique and modern Mac WebKit2 API. // For now, maintain the antique behavior, because some tests depend on it! // FIXME: We should be testing the default. WKPageSetBackgroundExtendsBeyondPage(m_mainWebView->page(), false); While it appears this change hasn't affected any tests, perhaps it was wrong to remove the check for backgroundShouldExtendBeyondPage() in updateOverflowControlsLayers()..
Tim Horton
Comment 12
2016-07-01 09:51:39 PDT
Well, we've talked about making YES the only value, so it's possible you've just accelerated the transition :)
Andreas Kling
Comment 13
2016-07-06 09:53:55 PDT
This didn't end up affecting dirty "CoreUI image data" memory after all, so I'm going to roll it out since it unintentionally changed behavior. We can revisit it in the future once we're sure we want the new behavior.
WebKit Commit Bot
Comment 14
2016-07-06 09:56:03 PDT
Re-opened since this is blocked by
bug 159473
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug