Declaring a custom protocol for "http" causes navigation issues
https://bugs.webkit.org/show_bug.cgi?id=142095
Summary Declaring a custom protocol for "http" causes navigation issues
redswill
Reported 2015-02-27 11:53:33 PST
Created attachment 247532 [details] Sample Project Registering a custom protocol for "http" causes navigation issues, even if the protocol does nothing (i.e. it always returns NO in canInitWithRequest:) Steps to reproduce: 1. Open & run the attached sample project 2. Search Google for "getbootstrap" 3. Click on the result that takes you to getbootstrap.com 4. Notice how the page fails to load 5. Right click and show inspector, then go to errors 6. Notice how WebKit tries to load the getbootstrap.com resources from google.com Basically, the custom protocol somehow causes WebKit to get confused about what its current URL is and how to resolve relative paths.
Attachments
Sample Project (45.95 KB, application/zip)
2015-02-27 11:53 PST, redswill
no flags
Note You need to log in before you can comment on or make changes to this bug.