Edge extension local storage different value in popup with bg/tab pages

Issue #11778015 • Assigned to Shawn P.

Details

Created
Apr 25, 2017
Privacy
This issue is public.
Found in
  • Microsoft Edge
Found in build #
15.15063
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

Install the extension of the attachment. Steps as below:
1 click the icon and popup page pops. Click the link "click me to see what value the test key is", pops out "the popup pages, test key is 1111".

2 click the link" click me to open the options.html page", the new tab "ms-browser-extension://HelloWorld_CB6B63D21D29415EADD6CCBB598681BD/options.html " is created.

3 click the link "set the test key to be 222". And then click the link "to see what value the test key is", “test key is 222” pops out.

4 Click the extension icon and popup page shows. Click the link " click me to see what value the test key is". It pops out "in popup pages test key is:1111". It’s wrong. In fact, it should be the new value 222.

The attachments list includes the same extension for chrome. Do the same steps, the localstorage “test” value will be 222. (Sorry, there are 2 name-duplicated edge-extension-sample-master.rar, please use the latest one).

Attachments

Comments and activity

  • At the beginning ,the background page set “test” key to 1111;
    1 Click the popup page, the popup alert the “test” key "1111", it is write. And it creates a tab page "options.html", the page set the “test” key to be 2222.
    2 click the icon to popup page, the poppage get the value still as “1111” wrong.
    3 Click “+” to start a new tab and content script works, the “test” key is null. It means the content script can’t get the key value set by background page.

  • Modify:
    1 Click the popup page, the popup alert the “test” key "1111", it is write. =>
    1 Click the popup page, the popup alert the “test” key "1111", it is right.

  • Microsoft Edge Team

    Changed Assigned To to “James M.”

  • Hello,

    Thank you for providing this information about the issue. After thorough testing, we are unable to reproduce this problem in Edge with the information at hand. The repro seemed to work until Step 3 when we did not see a null value for the test key. Also, this extension does not load in Firefox nor Chrome. Please update this case with the chrome extension files and a screen capture of the repro steps to help identify the problem.

    Best Wishes,
    The MS Edge Team

  • Changed Steps to Reproduce

    Changed Steps to Reproduce

    Changed Steps to Reproduce

  • The last several rar file chrome-extension-sample-master.rar is the same. Sorry, I don’t know why the webpage uploaded them so many times.

  • Microsoft Edge Team

    Changed Assigned To to “Balaji B.”

    Changed Assigned To to “Venkat K.”

    Changed Assigned To from “Venkat K.” to “Shawn P.”

You need to sign in to your Microsoft account to add a comment.

Sign in