#git:framework/web/wrt
Name: wrt
Summary: web runtime
-Version: 0.8.268
+Version: 0.8.270
Release: 1
Group: Development/Libraries
License: Apache License, Version 2.0
bool processURIForPlugin(const char* url)
{
- if (!checkWhitelist(url)) {
- return false;
- }
- return true;
+ return checkWhitelist(url);
}
std::string localizeURI(const std::string& inputURI, const std::string& tizenId)
const char SCHEME_FILE_SLASH[] = "file://";
const char SCHEME_BOX_SLASH[] = "box://";
const char BLANK_PAGE_URL[] = "about:blank";
+const char SRC_DOC_PAGE_URL[] = "about:srcdoc";
const char HTML_MIME[] = "text/html";
const char PHP_MIME[] = "application/x-php";
const char WRT_WILL_SEND_REQUEST_LOG_ENABLE[] = "WRT_WILL_SEND_REQUEST_LOG_ENABLE";
std::string scheme = stdUrl.substr(0, stdUrl.find_first_of(':'));
#ifdef APP_SCHEME_ENABLED
- if (scheme == SCHEME_FILE)
- {
+ if (scheme == SCHEME_FILE) {
_E("File schema blocked for: %s", stdUrl.c_str());
return NULL;
}
#endif
+ // "about:blank"/"about:srcdoc" uri doesn't need uri processing.
+ if (stdUrl == BLANK_PAGE_URL || stdUrl == SRC_DOC_PAGE_URL) {
+ WKRetain(request);
+ return request;
+ }
+
localizedUrl = InjectedBundleURIHandling::localizeURI(stdUrl, DPL::ToUTF8String(m_widgetTizenId));
bool ret = InjectedBundleURIHandling::processURI(localizedUrl, m_widgetTizenId, m_securityModelVersion);
NULL); // const char* item_style
ADD_PROFILING_POINT("elm_naviframe_item_push", "stop");
elm_naviframe_item_title_visible_set(naviIt, EINA_FALSE);
+ elm_naviframe_item_pop_cb_set(naviIt, naviframeItemPopCallback, NULL);
setEvasObjectData(Layer::MAIN_LAYOUT, obj);
return obj;
}
elm_win_icon_object_set(This->m_win, icon);
}
}
+
+Eina_Bool WindowData::naviframeItemPopCallback(void* /*data*/,
+ Elm_Object_Item* /*it*/)
+{
+ LogDebug("naviframeItemPopCallback");
+ // This return value makes naviframe not to perform a pop operation
+ // about this item.
+ return EINA_FALSE;
+}
+
static void winProfileChangedCallback(void* data,
Evas_Object* obj,
void* eventInfo);
+ static Eina_Bool naviframeItemPopCallback(void *data,
+ Elm_Object_Item *it);
};