Bug 110080

Summary: [EFL][WK2] EWK2UnitTestBase.ewk_view_scale is failing
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: WebKit EFLAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WONTFIX    
Severity: Normal CC: dev, dongseong.hwang, kenneth, lucas.de.marchi, mcatanzaro, mikhail.pozdnyakov, ostap73
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Chris Dumez
Reported 2013-02-17 23:34:16 PST
EWK2UnitTestBase.ewk_view_scale API is failing with the following error: [ RUN ] EWK2UnitTestBase.ewk_view_scale /home/buildslave-1/webkit-buildslave/efl-linux-64-debug-wk2/build/Source/WebKit2/UIProcess/API/efl/tests/test_ewk2_view.cpp:765: Failure Value of: ewk_view_scale_get(webView()) Actual: 0.81632656 Expected: 1.5 It is difficult to say what caused the regression as our EwkView API tests had been segfaulting for a while :/
Attachments
Chris Dumez
Comment 1 2013-02-17 23:41:53 PST
It looks like this may be a race condition: 1. WebPageProxy::scalePage() is called with 1.5 2. This sends a message to the WebProcess but does not update m_pageScaleFactor 3. The test calls WebPageProxy::pageScaleFactor() which returns outdated m_pageScaleFactor 4. WebPageProxy::pageScaleFactorDidChange() is called and updates m_pageScaleFactor (but too late)
Michael Catanzaro
Comment 2 2017-03-11 10:46:46 PST
Closing this bug because the EFL port has been removed from trunk. If you feel this bug applies to a different upstream WebKit port and was closed in error, please either update the title and reopen the bug, or leave a comment to request this.
Note You need to log in before you can comment on or make changes to this bug.