This repository was archived by the owner on Apr 3, 2020. It is now read-only.
Commit cff355d
committed
[Android] Fix XWALK unable to support download behavior
Several bugs reported that Xwalk not able to support "download" attribute from anchor since XWALK4
Changes in this commit
1) Implement onDownloadStart method in XWalkContentsClientBridge to call download listener method
2) Ignore render_frame_id which is set to MSG_ROUTING_NONE from content for download request
3) In runtime_download_manager_deledate, return the suggested path to content
4) In runtime_resource_dispatcher_host_delegate_android, don't cancel request, because content will use it later on to futher operation(rename, trunk..etc)
BUG=https://crosswalk-project.org/jira/browse/XWALK-10791 parent 11ee4d9 commit cff355d
File tree
4 files changed
+21
-6
lines changed- runtime
- android/core_internal/src/org/xwalk/core/internal
- browser
- android
4 files changed
+21
-6
lines changedLines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
373 | 373 | | |
374 | 374 | | |
375 | 375 | | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
376 | 380 | | |
377 | 381 | | |
378 | 382 | | |
379 | 383 | | |
380 | 384 | | |
381 | | - | |
| 385 | + | |
382 | 386 | | |
383 | 387 | | |
384 | 388 | | |
| |||
Lines changed: 15 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
93 | | - | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
94 | 107 | | |
95 | 108 | | |
96 | 109 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
167 | | - | |
| 167 | + | |
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
| |||
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
259 | 259 | | |
260 | 260 | | |
261 | 261 | | |
262 | | - | |
263 | | - | |
264 | 262 | | |
265 | 263 | | |
266 | 264 | | |
| |||
0 commit comments