current_url.py::test_get_current_url_file_protocol should open a real file
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 718
- Forks
- 228
- PR merge metrics
- No merged PRs in 30d
Description
Currently this test fails in WebKit / Safari because there is no file browser like in Firefox, so the provisional load fails and Safari opens a Finder window since it doesn't know how to open the file (in this case, file:/// refers to the root volume). However, navigating to file:// URIs for files with supported MIME types should just work. Perhaps we need a fixture for creating temporary files similar to the inline-HTML-over-HTTP snippet.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with current_url.py::test_get_current_url_file_protocol and compare it with the inline-HTML-over-HTTP fixture mentioned in the issue. Add or use temporary-file setup so the test navigates to a supported file:// URI, then verify it passes in WebKit/Safari as well as existing browsers.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100