* A blank frame has "about:blank" uri. But, this uri loading is rejected on wrt action.
so onload event related blank frame was not triggered. it was fixed.
[Issue#] TDIS-792
[Problem] onload event related blank frame was not triggered.
[Cause] "about:blank" uri loading was rejected on wrt action.
[Solution] resolved rejecting.
Change-Id: Ib2dce363c4c21173a0d65114e8f3048a6297652f
const char * const SCHEME_FILE = "file://";
const char * const DATA_STRING = "data:";
const char * const BASE64_STRING = ";base64,";
+const char * const BLANK_PAGE_URL = "about:blank";
}
Bundle::Bundle(WKBundleRef bundle) :
LogInfo("Uri being checked: " << request_uri);
+ // exception uri
+ if( request_uri == BLANK_PAGE_URL )
+ {
+ return WKBundlePagePolicyActionUse;
+ }
+
// get scheme string
std::string request_scheme = getScheme(request_uri);