Add a general scheme translation/reformatting mechanism
Bug #1475708 reported by
Alexandre Abreu
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
webbrowser-app (Ubuntu) |
Fix Released
|
Medium
|
Alexandre Abreu |
Bug Description
In the same way that we have an option to turn an intent URI to a given browsable URI and possibly filter it in the process thanks to a drop in .js file for a webapp, we should generalize the mechanism to any scheme other than http/https. It would enable webapp specific handling of mailto:
Related branches
lp:~abreu-alexandre/webbrowser-app/add-scheme-filter-handler
- PS Jenkins bot: Approve (continuous-integration)
- Olivier Tilloy: Approve
- David Barth (community): Needs Fixing
-
Diff: 1139 lines (+440/-334)12 files modifiedsrc/app/webcontainer/CMakeLists.txt (+2/-1)
src/app/webcontainer/intent-parser.cpp (+86/-0)
src/app/webcontainer/intent-parser.h (+51/-0)
src/app/webcontainer/scheme-filter.cpp (+148/-169)
src/app/webcontainer/scheme-filter.h (+23/-70)
src/app/webcontainer/webapp-container.cpp (+24/-21)
src/app/webcontainer/webapp-container.h (+4/-4)
src/app/webcontainer/webapp-container.qml (+25/-26)
tests/autopilot/webapp_container/tests/__init__.py (+4/-4)
tests/autopilot/webapp_container/tests/test_scheme_filter.py (+59/-16)
tests/unittests/intent-filter/CMakeLists.txt (+2/-1)
tests/unittests/intent-filter/tst_IntentFilterTests.cpp (+12/-22)
description: | updated |
Changed in webbrowser-app (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → In Progress |
assignee: | nobody → Alexandre Abreu (abreu-alexandre) |
To post a comment you must log in.
Simple webapp used for testing