Bug 43533

Summary: When DEVICE_ORIENTATION is enabled, m_client always ASSERTS
Product: WebKit Reporter: Dean Jackson <dino>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WONTFIX    
Severity: Normal CC: dino, steveblock
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   

Dean Jackson
Reported 2010-08-04 19:20:34 PDT
If you simply build with DEVICE_ORIENTATION enabled, DeviceOrientationController::DeviceOrientationController(WebCore::Page*, WebCore::DeviceOrientationClient*)) will always assert because there is no client created in the default build.
Attachments
Steve Block
Comment 1 2010-08-05 02:08:01 PDT
This is working as intended. DeviceOrientation, like most features, requires that a non-null client is supplied. Platforms need to make sure that they supply non-null clients for all such features they choose to enable. See the comment for the PageClients structure in Page.h.
Note You need to log in before you can comment on or make changes to this bug.