GitHub Issue | n/a |
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-01-24T06:09:12.000+0000 |
Affected Version/s | Release 1.8.2 |
Fix Version/s | Release 3.0.2, Release 3.1.0, 2013 Sprint 01 Core, 2013 Sprint 01, 2013 Sprint 02 |
Components | iOS |
Labels | ios, module_webview, notable, qe-testadded, regression |
Reporter | Carl Orthlieb |
Assignee | Max Stepanov |
Created | 2012-03-12T17:56:57.000+0000 |
Updated | 2013-03-15T18:28:49.000+0000 |
1. Open and compile the attached project
2. The first web view should come up and then the alert should have values false/false as there is no history.
3. Click on the link in the view to go to the second Web View.
EXPECTED RESULT: Alert should come up with values true/false as there IS an historical URL to go back to.
ACTUAL RESULT: Alert comes up with false/false. In different combinations it is clear the canGoBack() and canGoForward() are not working for local files.
NOTE: Also affects Android
NOTE: Mobile Web does not respond to the load event at all.
Updated FirstView.js with Back/Forward buttons.
Closing as Fixed. SDK: 2.0.0.v20120315091738 Studio: 2.0.0.201203142055 OS: Snow Leopard Devices Tested: iPod 4.3.3, iPhone Simulator 5.0, iPhone4 5.0.1, iPad2 5.1 Correct Behavior: Back loads any previous pages, stopping if there are none. Forward loads any pages that were navigated back from using the back button, stopping if there are no further pages. The alert dialogs accurately reflect the state of the webview history. Attaching new test project TIMOB-7965.zip.
TIMOB-7991 uses this same test case. It is marked as qe-testadded. When porting test case TIMOB-7965, mention TIMOB-7991 as a concurrent test.
Bug behavior now occurs. Page history is lost. Steps to Reproduce: 1. Click 'go to page 2'. 2. Click back. Expected Result: Should go back to page 1. Actual Result: Page 2 remains. SDK: 2.0.0.GA, 2.1.0.v20120404140322 Studio: 2.0.0.201203291340 OS: Snow Leopard Devices Tested: iPhone Simulator 5.0
PR https://github.com/appcelerator/titanium_mobile/pull/3701
KS Webview fails to load local image
Fixed by PR https://github.com/appcelerator/titanium_mobile/pull/3701 against master
Backport Task TIMOB-12315 Backport PR https://github.com/appcelerator/titanium_mobile/pull/3750
canGoBack/canGoForward works as expected in step 3. Verified on: SDK version: 3.1.0.v20130111163212,3.0.2.v20130122172624 CLI version : 3.0.23 OS : MAC OSX 10.7.5 XCode : 4.5.1
Reopening to update labels