This repository was archived by the owner on Aug 31, 2021. It is now read-only.
Commit 4511b50
Ian Macphail
[[ Bug 22688 ]] Don't set empty url on WKWebView
This patch fixes a bug where setting the url to empty would block subsequent
requests. Loading an empty url in the WKWebView browser would happen without
the expected 'decidePolicyForNavigationAction' message being sent to the
browser delegate as expected. To ensure the message is sent, we now load the
html text of a blank page into the browser instead.1 parent 3779ac7 commit 4511b50
1 file changed
+25
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
928 | 928 | | |
929 | 929 | | |
930 | 930 | | |
931 | | - | |
932 | 931 | | |
933 | | - | |
| 932 | + | |
| 933 | + | |
| 934 | + | |
| 935 | + | |
| 936 | + | |
| 937 | + | |
| 938 | + | |
| 939 | + | |
| 940 | + | |
| 941 | + | |
934 | 942 | | |
935 | | - | |
936 | | - | |
937 | | - | |
| 943 | + | |
| 944 | + | |
| 945 | + | |
938 | 946 | | |
939 | | - | |
940 | | - | |
941 | | - | |
942 | | - | |
943 | | - | |
944 | | - | |
945 | | - | |
| 947 | + | |
| 948 | + | |
| 949 | + | |
| 950 | + | |
| 951 | + | |
| 952 | + | |
| 953 | + | |
| 954 | + | |
| 955 | + | |
| 956 | + | |
| 957 | + | |
| 958 | + | |
946 | 959 | | |
947 | | - | |
948 | | - | |
949 | | - | |
950 | | - | |
951 | 960 | | |
952 | 961 | | |
953 | 962 | | |
| |||
0 commit comments