WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
186909
https://hackernoon.com/
uses lots of layer backing store
https://bugs.webkit.org/show_bug.cgi?id=186909
Summary
https://hackernoon.com/ uses lots of layer backing store
Simon Fraser (smfr)
Reported
2018-06-21 21:29:36 PDT
https://hackernoon.com/
uses lots of layer backing store
Attachments
Patch
(16.68 KB, patch)
2018-06-21 21:34 PDT
,
Simon Fraser (smfr)
no flags
Details
Formatted Diff
Diff
Archive of layout-test-results from ews100 for mac-sierra
(2.28 MB, application/zip)
2018-06-21 22:46 PDT
,
EWS Watchlist
no flags
Details
Archive of layout-test-results from ews114 for mac-sierra
(3.01 MB, application/zip)
2018-06-21 23:14 PDT
,
EWS Watchlist
no flags
Details
Archive of layout-test-results from ews124 for ios-simulator-wk2
(16.23 MB, application/zip)
2018-06-21 23:28 PDT
,
EWS Watchlist
no flags
Details
Archive of layout-test-results from ews106 for mac-sierra-wk2
(2.84 MB, application/zip)
2018-06-22 03:21 PDT
,
EWS Watchlist
no flags
Details
Patch
(25.82 KB, patch)
2018-06-26 19:36 PDT
,
Simon Fraser (smfr)
no flags
Details
Formatted Diff
Diff
Patch for EWS
(25.82 KB, patch)
2018-06-27 10:15 PDT
,
Simon Fraser (smfr)
no flags
Details
Formatted Diff
Diff
Patch
(25.76 KB, patch)
2018-06-27 10:19 PDT
,
Simon Fraser (smfr)
no flags
Details
Formatted Diff
Diff
Show Obsolete
(6)
View All
Add attachment
proposed patch, testcase, etc.
Simon Fraser (smfr)
Comment 1
2018-06-21 21:34:03 PDT
Created
attachment 343307
[details]
Patch
Simon Fraser (smfr)
Comment 2
2018-06-21 21:34:28 PDT
rdar://problem/40257540
Simon Fraser (smfr)
Comment 3
2018-06-21 21:35:17 PDT
I need to verify that the PlatformCALayerRemote part of this is correct. The test results seem wrong.
EWS Watchlist
Comment 4
2018-06-21 22:46:50 PDT
Comment on
attachment 343307
[details]
Patch
Attachment 343307
[details]
did not pass mac-ews (mac): Output:
https://webkit-queues.webkit.org/results/8286744
New failing tests: fast/images/animated-gif-iframe-webkit-transform.html
EWS Watchlist
Comment 5
2018-06-21 22:46:52 PDT
Created
attachment 343309
[details]
Archive of layout-test-results from ews100 for mac-sierra The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews100 Port: mac-sierra Platform: Mac OS X 10.12.6
EWS Watchlist
Comment 6
2018-06-21 23:14:34 PDT
Comment on
attachment 343307
[details]
Patch
Attachment 343307
[details]
did not pass mac-debug-ews (mac): Output:
https://webkit-queues.webkit.org/results/8286774
New failing tests: fast/images/animated-gif-iframe-webkit-transform.html
EWS Watchlist
Comment 7
2018-06-21 23:14:36 PDT
Created
attachment 343310
[details]
Archive of layout-test-results from ews114 for mac-sierra The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews114 Port: mac-sierra Platform: Mac OS X 10.12.6
EWS Watchlist
Comment 8
2018-06-21 23:28:25 PDT
Comment on
attachment 343307
[details]
Patch
Attachment 343307
[details]
did not pass ios-sim-ews (ios-simulator-wk2): Output:
https://webkit-queues.webkit.org/results/8286810
New failing tests: compositing/backing/backing-store-attachment-outside-viewport.html compositing/backing-store-attachment-1.html
EWS Watchlist
Comment 9
2018-06-21 23:28:27 PDT
Created
attachment 343311
[details]
Archive of layout-test-results from ews124 for ios-simulator-wk2 The attached test failures were seen while running run-webkit-tests on the ios-sim-ews. Bot: ews124 Port: ios-simulator-wk2 Platform: Mac OS X 10.13.4
EWS Watchlist
Comment 10
2018-06-22 03:21:00 PDT
Comment on
attachment 343307
[details]
Patch
Attachment 343307
[details]
did not pass mac-wk2-ews (mac-wk2): Output:
https://webkit-queues.webkit.org/results/8288326
New failing tests: fast/images/animated-gif-iframe-webkit-transform.html
EWS Watchlist
Comment 11
2018-06-22 03:21:02 PDT
Created
attachment 343316
[details]
Archive of layout-test-results from ews106 for mac-sierra-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews106 Port: mac-sierra-wk2 Platform: Mac OS X 10.12.6
Brent Fulgham
Comment 12
2018-06-22 13:02:56 PDT
Comment on
attachment 343307
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=343307&action=review
> Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp:-890 > - return;
It's surprising that you want to do the rest of this method if there's no backing store. Do you need to signal DirtyRectsChanged or set a repaint rect to get your new behavior to work?
> Source/WebCore/platform/graphics/ca/cocoa/PlatformCALayerCocoa.mm:750 > + return [m_layer contents];
Why didn't you use "!!m_layer.contents" here like you did in PlatformCALayerRemote::hasContents()?
Brent Fulgham
Comment 13
2018-06-22 13:04:18 PDT
performance-api/performance-observer-no-document-leak.html is flaky for reasons unrelated to this patch.
Brent Fulgham
Comment 14
2018-06-22 13:08:47 PDT
Comment on
attachment 343307
[details]
Patch This patch seems to contribute to flakiness on the test infrastructure.
Chris Dumez
Comment 15
2018-06-22 13:11:51 PDT
(In reply to Brent Fulgham from
comment #14
)
> Comment on
attachment 343307
[details]
> Patch > > This patch seems to contribute to flakiness on the test infrastructure.
If you're referring to performance-api/performance-observer-no-document-leak.html, then it is my test and has nothing to do with this patch. I am currently looking into why performance-api/performance-observer-no-document-leak.html is flaky (I added this test recently).
Simon Fraser (smfr)
Comment 16
2018-06-25 17:13:37 PDT
Looks like I broke some animated image tests; investigating.
Simon Fraser (smfr)
Comment 17
2018-06-26 19:36:01 PDT
Created
attachment 343678
[details]
Patch
Simon Fraser (smfr)
Comment 18
2018-06-27 10:15:34 PDT
Created
attachment 343719
[details]
Patch for EWS
Simon Fraser (smfr)
Comment 19
2018-06-27 10:19:43 PDT
Created
attachment 343720
[details]
Patch
WebKit Commit Bot
Comment 20
2018-06-27 11:22:14 PDT
Comment on
attachment 343678
[details]
Patch Clearing flags on attachment: 343678 Committed
r233268
: <
https://trac.webkit.org/changeset/233268
>
WebKit Commit Bot
Comment 21
2018-06-27 11:22:16 PDT
All reviewed patches have been landed. Closing bug.
Ryan Haddad
Comment 22
2018-06-27 12:52:44 PDT
This change broke the Windows build:
https://build.webkit.org/builders/Apple%20Win%20Release%20%28Build%29/builds/10303
C:\cygwin\home\buildbot\slave\win-release\build\Source\WebCore\platform\graphics\ca\win\PlatformCALayerWin.cpp(50): error C2259: 'WebCore::PlatformCALayerWin': cannot instantiate abstract class [C:\cygwin\home\buildbot\slave\win-release\build\WebKitBuild\Release\Source\WebCore\WebCore.vcxproj] C:\cygwin\home\buildbot\slave\win-release\build\Source\WebCore\platform\graphics\ca\win\PlatformCALayerWin.cpp(50): note: due to following members: C:\cygwin\home\buildbot\slave\win-release\build\Source\WebCore\platform\graphics\ca\win\PlatformCALayerWin.cpp(50): note: 'bool WebCore::PlatformCALayer::hasContents(void) const': is abstract C:\cygwin\home\buildbot\slave\win-release\build\Source\WebCore\platform\graphics\ca\PlatformCALayer.h(183): note: see declaration of 'WebCore::PlatformCALayer::hasContents' C:\cygwin\home\buildbot\slave\win-release\build\Source\WebCore\platform\graphics\ca\win\PlatformCALayerWin.cpp(55): error C2259: 'WebCore::PlatformCALayerWin': cannot instantiate abstract class [C:\cygwin\home\buildbot\slave\win-release\build\WebKitBuild\Release\Source\WebCore\WebCore.vcxproj] C:\cygwin\home\buildbot\slave\win-release\build\Source\WebCore\platform\graphics\ca\win\PlatformCALayerWin.cpp(55): note: due to following members: C:\cygwin\home\buildbot\slave\win-release\build\Source\WebCore\platform\graphics\ca\win\PlatformCALayerWin.cpp(55): note: 'bool WebCore::PlatformCALayer::hasContents(void) const': is abstract C:\cygwin\home\buildbot\slave\win-release\build\Source\WebCore\platform\graphics\ca\PlatformCALayer.h(183): note: see declaration of 'WebCore::PlatformCALayer::hasContents'
Simon Fraser (smfr)
Comment 23
2018-06-27 12:53:50 PDT
Will fix.
Simon Fraser (smfr)
Comment 24
2018-06-27 13:03:00 PDT
Windows build fix in
https://trac.webkit.org/changeset/233274/webkit
Antoine Quint
Comment 25
2018-08-16 08:40:56 PDT
This caused a regression, see
https://bugs.webkit.org/show_bug.cgi?id=188655
.
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