[Webkit-unassigned] [Bug 86873] New: Intent::create() throws is service is "url://a url"
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri May 18 11:12:31 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=86873
Summary: Intent::create() throws is service is "url://a url"
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebKit EFL
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: christophe.dumez at intel.com
CC: demarchi at webkit.org, gyuyoung.kim at webkit.org
Blocks: 86868
webintents/web-intents-obj-constructor.html is not passing on EFL port because of the following checks:
shouldNotThrow("new WebKitIntent({'action':'a','type':'b','service':'url://a url'})");
shouldNotThrow("new WebKitIntent({'action':'a','type':'b','service':'htttp://a url'})");
The reason for that is that KURL(KURL(), "url://a url").isValid() returns false, which causes the implementation to throw an unexpected SYNTAX_ERR.
In Intent.cpp, we should probably use ScriptExecutionContext::completeURL to take the string and produce a KURL.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list