Closed Bug 1237539 Opened 8 years ago Closed 8 years ago

kCFErrorDomainCFNetwork is shown when pages try to unsuccessfully redirect to native application

Categories

(Firefox for iOS :: General, defect)

Other
iOS
defect
Not set
normal

Tracking

()

VERIFIED FIXED
Tracking Status
fxios 1.4+ ---

People

(Reporter: bli, Assigned: st3fan)

References

Details

(Keywords: reproducible)

Attachments

(2 files)

Attached image screenshot
Firefox for iOS v1.4

Some webpage cannot be opened in Firefox. And here's the error message:
>The operation couldn't be completed.
>(kCFErrorDomainCFNetwork error 305.)
>CFErrorHTTPBadURL


This issue can be reproduced by open the following urls in Firefox:

https://ju.taobao.com/m/jusp/other/liangfan/mtp.htm?scm=2027.4.1.4&spm=a215s.7406091.specialcard1.4&locate=SpecialCard1-4

https://market.m.taobao.com/markets/quality/channel/index_v3?locate=widget-4&spm=a215s.7406091.1.widget-4&scm=2027.4.1.1200
(In reply to Bingqing Li from comment #0)
> 
> This issue can be reproduced by open the following urls in Firefox:
> 
> https://ju.taobao.com/m/jusp/other/liangfan/mtp.htm?scm=2027.4.1.4&spm=a215s.
> 7406091.specialcard1.4&locate=SpecialCard1-4
> 
> https://market.m.taobao.com/markets/quality/channel/index_v3?locate=widget-
> 4&spm=a215s.7406091.1.widget-4&scm=2027.4.1.1200

Those webpages can be opened successfully in Safari and Chrome.
Blocks: 1227832
From bug 1237999

> This is reproducible every time. I've seen it for a while but due to vacation, been slow to report. 
> I type in "tripadvisor" in the URL bar, it autocompletes to www.tripadvisor.com and I press "Go". 
> It then goes to www.tripadvisor.com and loads their page for 1 sec then it goes to this strange error page.
Keywords: reproducible
See Also: → 1226644
Summary: kCFErrorDomainCFNetwork error while browsing some webpages → kCFErrorDomainCFNetwork is shown when pages try to unsuccessfully redirect to native application
The problem is that we should not show this error page if an app tries to probe if a native application is installed from JavaScript. The error page would overwrite the actual page. This patch fixes that. It will report errors for every navigation action except 'Other', which means JavaScript-initiated.
Assignee: nobody → sarentz
Whiteboard: [needsuplift]
Merged.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
v1.x 8aabc23
Whiteboard: [needsuplift]
Target Milestone: --- → 1.4
The links provided in comment #0 are loading without any errors on build 1404
Verifying as fixed.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: