New issue
Advanced search Search tips

Issue 757784 link

Starred by 1 user

Issue metadata

Status: Unconfirmed
Owner: ----
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

"This extension may have been corrupted." when Lastpass vault opens

Reported by tobias...@gmail.com, Aug 22 2017

Issue description

UserAgent: Mozilla/5.0 (X11; CrOS x86_64 9592.71.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.80 Safari/537.36
Platform: 9592.71.0 (Official Build) stable-channel peppy

Steps to reproduce the problem:
1. Install the Lastpass extension (https://chrome.google.com/webstore/detail/lastpass-free-password-ma/hdokiejnpimakedhajhdlcegeplioahd)
2. In the extension, sign in with your Lastpass account

What is the expected behavior?

What went wrong?
About a second after my Lastpass vault (chrome-extension://hdokiejnpimakedhajhdlcegeplioahd/vault.html) opens from signing in, the extension icon disappears from the toolbar, and the vault disappears. When I then open the extension manager, it says for Lastpass that "This extension may have been corrupted."

This is the only extension with which this has happened.

I have tried this like three times already, clicking "Repair" in the extension manager, and doing the above steps, everytime with the same result. Never used Lastpass on my Chromebook before, so don't know if this would have worked before.

WebStore page: 

Did this work before? N/A 

Chrome version: 60.0.3112.80  Channel: stable
OS Version: 9592.71.0
Flash Version:
 

Comment 1 by tobias...@gmail.com, Aug 22 2017

Just tried this:

As soon as the Lastpass vault opens itself, I closed the tab. This prevented the extension from breaking. Then, when I opened the vault myself, the extension again broke.

Comment 2 by well...@gmail.com, Aug 25 2017

Same issue here. Lastpass extension was installed and working fine until my chromebook updated to 61.0.3163.51 beta 32-bit this morning.Now I have the exact same issue as the OP.

Chrome version: 61.0.3163.51 beta 32-bit
Device: ASUS C100P
About 90% of the newer reviews for the extension are now about this problem: https://chrome.google.com/webstore/detail/lastpass-free-password-ma/hdokiejnpimakedhajhdlcegeplioahd/reviews  A lot of users seem to experience this.
The Lastpass people now fixed this, but the problem is still occuring in other extensions. And I found the culprit:

* Say you have a file in the extension, script.js.
* And in an HTML file, embed the script, but with a different upper/lower case spelling than the actual file has.  E.g.: <script src='sCript.js'></script>
* Now when the HTML file is opened, on MS Windows everything is fine. But on my Chromebook the extension breaks. This occurs only, when the extension has been added from the store, not for unpackaged extensions.
Here's a simple way to test this, with any extension:

Open the developer console for any extension page, and there run the following code:

function addScript( src ) {
  var s = document.createElement( 'script' );
  s.setAttribute( 'src', src );
  document.body.appendChild( s );
}

function flipCase (s) {return s.split('').map(function(c) {
  return (c === c.toUpperCase()) ? c.toLowerCase() : c.toUpperCase();
}).join('');}

addScript(flipCase(document.URL));
Duplicate of issue 834794

Sign in to add a comment