Bug 55598 - Fullscreen: cmd-r then esc, crashes
Summary: Fullscreen: cmd-r then esc, crashes
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac (Intel) OS X 10.6
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2011-03-02 11:53 PST by Lauren Bosak
Modified: 2024-04-17 08:00 PDT (History)
4 users (show)

See Also:


Attachments
Test Case (784 bytes, text/html)
2011-03-02 11:53 PST, Lauren Bosak
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lauren Bosak 2011-03-02 11:53:28 PST
Created attachment 84443 [details]
Test Case

I have enabled fullscreen in webkit nightly builds with:
defaults write com.apple.Safari WebKitFullScreenEnabled 1

If I hit refresh (cmd-r) within fullscreen mode, then hit the escape (esc) key to exit fullscreen mode, the browser crashes.


STEPS TO REPRODUCE:
1. In the attached test case, click the text 'fullscreen' to enter fullscreen mode.
2. Hit cmd-r, the page appears to reload, the fullscreen window now has a white background and the text is top aligned instead of middle aligned.
3. Hit esc. 

RESULTS:
Beachball, then crash.



Browser: WebKit Nightly 534.23+ Version 5.0.3 (6533.19.4, r79987)
OS: Mac OS X 10.6.6 Build 10J567
Comment 1 Alexey Proskuryakov 2011-03-02 21:29:37 PST
I'm not sure if this is even supposed to work in nightlies. But I'm getting an assertion failure with my local debug build:

ASSERTION FAILED: oldLayer->superlayer()
/Users/ap/Safari/OpenSource/Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp(2031) : void WebCore::GraphicsLayerCA::swapFromOrToTiledLayer(bool)
1   WebCore::GraphicsLayerCA::swapFromOrToTiledLayer(bool)
2   WebCore::GraphicsLayerCA::updateLayerSize()
3   WebCore::GraphicsLayerCA::commitLayerChangesBeforeSublayers()
4   WebCore::GraphicsLayerCA::recursiveCommitChanges()
5   WebCore::GraphicsLayerCA::syncCompositingState()
6   -[WebFullScreenController enterFullscreen:]
Comment 2 Simon Fraser (smfr) 2011-03-02 22:50:43 PST
<rdar://problem/9079818>
Comment 3 Ahmad Saleem 2024-04-17 08:00:48 PDT
Unable to reproduce this issue in WebKit ToT (debug build) and doing CMD+R leads to refresh page and exit 'Fullscreen' and it matches with Chrome Canary 125.

Since it was never confirmed, so marking this as "RESOLVED WONTFIX".

No assert in debug build in terminal.