[Webkit-unassigned] [Bug 144683] New: [EFL] ewk_view_page_contents_get() API test is flaky
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed May 6 05:59:55 PDT 2015
https://bugs.webkit.org/show_bug.cgi?id=144683
Bug ID: 144683
Summary: [EFL] ewk_view_page_contents_get() API test is flaky
Classification: Unclassified
Product: WebKit
Version: 528+ (Nightly build)
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebKit EFL
Assignee: webkit-unassigned at lists.webkit.org
Reporter: ryuan.choi at navercorp.com
CC: demarchi at webkit.org
ewk_view_page_contents_get() API test is sometime failing like below.
https://build.webkit.org/builders/EFL%20Linux%2064-bit%20Release%20WK2/builds/21679/steps/API%20tests/logs/stdio
../../Source/WebKit2/UIProcess/API/efl/tests/test_ewk2_view.cpp:226: Failure
Value of: String(data).length() == fileSize || String(data).length() == fileSize + 1
Actual: false
Expected: true
ERR<10438>: ../../Source/WebKit2/UIProcess/API/efl/ewk_view.cpp:633 ewk_view_page_contents_get() safety check failed: callback == NULL
ERR<10438>: ../../Source/WebKit2/UIProcess/API/efl/ewk_view.cpp:54 toEwkViewChecked() safety check failed: evasObject == NULL
CRI<10438>: ../../Source/WebKit2/UIProcess/API/efl/ewk_view.cpp:634 ewk_view_page_contents_get() no private data for object (nil)
[ FAILED ] EWK2ViewTest.ewk_view_page_contents_get (204 ms)
It's because callback of WKPageGetContentsAsMHTMLData returns WKData, which is not null-terminated string, but it is considered as common string.
We should pass null terminated string instead of WKData.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150506/51e1e878/attachment.html>
More information about the webkit-unassigned
mailing list