[Webkit-unassigned] [Bug 52369] New: [Qt] Incorrect href==?UTF-8?Q?=E2=80=9DTel=E2=80=9D=20fields=20are=20shows=20as=20active=20links?=.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 13 07:58:05 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=52369

           Summary: [Qt] Incorrect href=”Tel” fields are shows as active
                    links.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: S60 Hardware
        OS/Version: S60 3rd edition
            Status: UNCONFIRMED
          Severity: Major
          Priority: P3
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: prasad.adimulam at nokia.com


Incorrect telephone number href's are handled differently in cWRT / widget and in S60 browser.

<a href="tel:+19728945500">Dial Nokia PBX</a><br>
<a href="tel:">Invalid tel: 1</a>
<a href="tel:+1234567890123456789012345">invalid tel 2</a>link -->
<a href="tel:1(234)567-8901.2345.6789.01234">Tel with Punctuation</a>

In cWRT both invalid phone numbers (2nd and 3rd ones) are shown as active links where as in S60 browser shows those two phone numbers as static text.

Steps for testing (cWRT):

* install attached WGT widget (Signed_tel.wgt)
* start "Tel Widget" from application shell

2nd and 3rd "phone numbers" are shown as active links.


Steps for testing in S60 browser:

* copy attached tel.html into c:
* open S60 browser
* open URL: file:///c:/data/tel.html

2nd and 3rd "phone numbers" are shown as normal text.


Looks like QtWebkit doesn't handle this and looking into the S60 browser source codes shows that there are some "3rd party" modified code that is done for
Symbian platform to allow the invalid telephone tags to be disabled.

http://trac.webkit.org/browser/trunk/WebCore/html/HTMLAnchorElement.cpp

In S60 browser code following method is used for the filtering: bool HTMLAnchorElement::checkTelWtaiNumber(const String& number, bool aCti)


Note:
-----

Retested using below mentioned Builds and the error is REPRODUCIBLE:

Symbian: Latest Release

QtTestBrowser: Webkit 2.1

Linux: Ubuntu 10.04 Lucid Lynx, Qt v.4.7.0, Webkit -2.1 (Trunk:-73634)

Safari: Version: 5.0.3 (7533.19.4)

-- 
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