Loading google.com page by ewk_view_url_set() resulted with error:
"Unsafe attempt to load URL from frame with URL
http://www.google.pl/?gfe_rd=cr&ei=qzWUVKGhG4jBVLOZgsAP.
Domains, protocols and ports must match"
It looks like google.com page changed recently
and made cross-domain call in the test.
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=9539
Reviewed by: Janusz Majnert, Min-Soo Koo
Change-Id: I05d84269fe1885060bb62188086a8cd35bf0ff6a
Signed-off-by: Lukasz Krok <l.krok@samsung.com>
*/
TEST_F(utc_blink_ewk_view_contents_pdf_get, POS_TEST)
{
- bool result = ewk_view_url_set(GetEwkWebView(),"http://www.google.com");
+ char htmlBuffer[] = "<html>"
+ "<head></head>"
+ "<body>"
+ "</body>"
+ "</html>";
+
+ bool result = ewk_view_html_string_load(GetEwkWebView(), htmlBuffer, NULL, NULL);
if (!result)
utc_fail();
if(Success!=EventLoopStart())