New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 779083 link

Starred by 3 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 3
Type: Bug



Sign in to add a comment

AppCache is being removed after restoring from unexpected shut down.

Reported by stir...@gmail.com, Oct 27 2017

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.75 Safari/537.36

Steps to reproduce the problem:
1. Open a page that is stored in an AppCache(i.e. a different page inlcuded this page in its manifest)
2. Go offline
3. Cause an unexpected shut down (holding the power button or removing the battery)
4. computer back on (continue being offline)
5. Open chrome
6. Click the "Restore" button

What is the expected behavior?
The page is loaded offline from the manifest

What went wrong?
The manifest is gone and you have to go back online to get the manifest again.

Did this work before? N/A 

Does this work in other browsers? Yes

Chrome version: 62.0.3202.75  Channel: stable
OS Version: 10.0
Flash Version: 

This only happens on pages that are included in the appCache, not the page that manifest belongs to. So for my test case that I included go to AppCacheTest.html first, this will download the manifest. Then go offline and follow the line to pageStoredInAppCache.html. Now you can follow the steps to reproduce.
 
AppCacheTest.zip
59.1 KB Download
Labels: Needs-Triage-M62

Comment 2 by jsb...@chromium.org, Oct 27 2017

Components: -Blink>Storage Blink>Storage>AppCache

Comment 3 by jsb...@chromium.org, Oct 27 2017

Components: UI>Browser>Sessions

Comment 4 by jsb...@chromium.org, Oct 27 2017

FWIW, I was not able to repro this with taking the server offline instead (in step 2) and crashing the browser via chrome://inducebrowsercrashforrealz (in step 3) and on Linux. That's a lot of different variables; just trying simpler steps first.
Cc: divya.pa...@techmahindra.com
Labels: Triaged-ET Needs-Feedback
Unable to reproduce the issue on reported version 62.0.3202.75 and latest canary 64.0.3260.0 

@ stirmmy: Could you please re-try the scenario by creating a new profile or without unwanted extensions and provide your observation 

Please follow below steps to create a New profile
(i)Launch chrome>>Press Alt+E>>Settings)
(ii)Under the section headed People, Click on link Manage other people>>Add person


Comment 6 by stir...@gmail.com, Nov 6 2017

Created a new profile and still reproduced the bug. It looks like I forgot to mention that the page should be served from an HTTP server and not navigated to from the file system. I uploaded a video of the bug, shot from my phone because of the shutdown step. 
https://drive.google.com/file/d/0Bx1gMLF-jdRYSEQxUWxwX0hSMnM/view?usp=sharing
Project Member

Comment 7 by sheriffbot@chromium.org, Nov 6 2017

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding requester "divya.padigela@techmahindra.com" to the cc list and removing "Needs-Feedback" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: Needs-Feedback
"@ stirmmy: From your comment#6 we tried opening the link given, but we are unable to access the video due to permission issues. Could you please share an accessible file.

Thanks!"

Comment 9 by stir...@gmail.com, Nov 10 2017

Try the link again, I might have had the wrong permissions on it. I sent the link to a co-worker and they were able to view the video now.
Project Member

Comment 10 by sheriffbot@chromium.org, Nov 10 2017

Cc: vamshi.k...@techmahindra.com
Labels: -Needs-Feedback
Thank you for providing more feedback. Adding requester "vamshi.kommuri@techmahindra.com" to the cc list and removing "Needs-Feedback" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Cc: pwnall@chromium.org
Status: Untriaged (was: Unconfirmed)
+cc Victor for AppCache knowledge. I was able to view the video and it looks like a bug.
Labels: -Pri-2 Pri-3
Status: Available (was: Untriaged)

Sign in to add a comment