2012-10-18 20:17:24 |
Alexandre Abreu |
bug |
|
|
added bug |
2012-10-18 20:23:40 |
Alexandre Abreu |
branch linked |
|
lp:~abreu-alexandre/unity-chromium-extension/fix-1068308 |
|
2012-10-18 20:23:45 |
Alexandre Abreu |
unity-chromium-extension: status |
New |
In Progress |
|
2012-10-18 20:24:33 |
Alexandre Abreu |
unity-chromium-extension: status |
In Progress |
Fix Committed |
|
2012-11-14 20:58:47 |
Alexandre Abreu |
description |
When browsing to a website for which a WebApp exists, an infobar appears to inform the user of the situation and propose an installation of the associated WebApp.
The issue appears when multiple tabs are involved and one selects another tab while the current one is loading webpage for which a WebApp is available (but not installed or authorized). The infobar appears in the environment of the proper tab, but the text is empty.
Steps to reproduce:
--------------
- have more than one tab opened (with blank pages),
- in one of the tabs, go to a website that is supported by webapps (e.g. Twitter),
- immediately after (BEFORE the website loads), switch to the other tab (Ctrl+Tab),
- wait a bit for the original website to complete loading,
- when one comes back on the loaded tab, an infobar should have popup but with NO text on it,
Technical:
--------------
There is a race condition in the infobar javascript that incorrectly uses a chrome.extension.getSelected function to get its current tab is a ask the background page for its text (since the infobar cannot receive init() data and has to get it from somewhere). The tab request is asynchronous hence the timing sensitivity of the operation. |
When browsing to a website for which a WebApp exists, an infobar appears to inform the user of the situation and propose an installation of the associated WebApp.
The issue appears when multiple tabs are involved and one selects another tab while the current one is loading webpage for which a WebApp is available (but not installed or authorized). The infobar appears in the environment of the proper tab, but the text is empty.
[Test Case]
- have more than one tab opened (with blank pages),
- in one of the tabs, go to a website that is supported by webapps (e.g. Twitter),
- immediately after (BEFORE the website loads), switch to the other tab (Ctrl+Tab),
- wait a bit for the original website to complete loading,
- when one comes back on the loaded tab, an infobar should have popup but with NO text on it,
[Regression Risks]
The code deals with the infobar that the user sees when a WebApp is about to be installed or needs authorization. A malfunction might prevent WebApps from being installed or no installation message could be displayed.
Technical:
--------------
There is a race condition in the infobar javascript that incorrectly uses a chrome.extension.getSelected function to get its current tab is a ask the background page for its text (since the infobar cannot receive init() data and has to get it from somewhere). The tab request is asynchronous hence the timing sensitivity of the operation. |
|
2012-11-15 16:25:32 |
Ken VanDine |
bug task added |
|
unity-chromium-extension (Ubuntu) |
|
2012-11-15 16:25:45 |
Ken VanDine |
nominated for series |
|
Ubuntu Quantal |
|
2012-11-15 16:25:45 |
Ken VanDine |
bug task added |
|
unity-chromium-extension (Ubuntu Quantal) |
|
2012-11-15 16:27:49 |
Ken VanDine |
unity-chromium-extension (Ubuntu): status |
New |
Confirmed |
|
2012-11-15 16:28:05 |
Ken VanDine |
unity-chromium-extension (Ubuntu): importance |
Undecided |
High |
|
2012-11-15 16:28:09 |
Ken VanDine |
unity-chromium-extension (Ubuntu Quantal): importance |
Undecided |
High |
|
2012-11-15 16:28:14 |
Ken VanDine |
unity-chromium-extension: status |
Fix Committed |
Fix Released |
|
2012-11-15 18:00:31 |
Launchpad Janitor |
unity-chromium-extension (Ubuntu): status |
Confirmed |
Fix Released |
|
2012-11-15 20:45:06 |
Ken VanDine |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2012-12-05 01:16:10 |
Chris Halse Rogers |
unity-chromium-extension (Ubuntu Quantal): status |
New |
Fix Committed |
|
2012-12-05 01:16:17 |
Chris Halse Rogers |
bug |
|
|
added subscriber SRU Verification |
2012-12-05 01:16:25 |
Chris Halse Rogers |
tags |
|
verification-needed |
|
2013-03-07 18:28:49 |
Brian Murray |
tags |
verification-needed |
removal-candidate verification-needed |
|
2013-07-02 17:01:42 |
Launchpad Janitor |
unity-chromium-extension (Ubuntu Quantal): status |
Fix Committed |
Fix Released |
|