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

Issue 871050 link

Starred by 1 user

Issue metadata

Status: Archived
Owner:
Last visit 28 days ago
Closed: Dec 19
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

devtools workspace can't detect changes in extension script inside a drive's top level folder

Reported by woxxom@gmail.com, Aug 4

Issue description

Chrome since 63, including current stable and canary.
Windows 7.

1.1. unpack the attached extension to a top-level folder like r:\ext
1.2. go to chrome://extensions and enable developer mode, install the extension
1.3. click its "background page"

2.1. open devtools settings
2.2. click "Workspace" on the left
2.3. add the entire drive of the unpacked extension, not just its folder
2.4. close the settings, switch to "Sources" panel
2.5. click background.js on the left
2.6. don't close devtools

3.1. run a notepad app or any text editor outside of Chrome 
3.2. open background.js from the extension folder there
3.3. replace 1 with 2 in console.log(1)
3.4. save the file

4. switch back to devtools and observe

Expected: the edited file should be shown in devtools - with "2"
Observed: the old file is shown
          refreshing via F5 doesn't help

Workaround: close the file in devtools and open it again by clicking in the left subpanel

=====================================================================

Observed since Chrome 63 which enabled Persistence2.0 by default in devtools.
The actual problem was introduced earlier when the feature was experimental.
Bisected to 29f641736f1abdbd30ba57cd036774d5801bb236
"DevTools: drastically simplify UISourceCode.checkContentUpdated"
Landed in 57.0.2953.0
 
test-ext.zip
486 bytes Download
screencast.mp4
1.4 MB View Download
Labels: Needs-Milestone
Owner: lushnikov@chromium.org
Status: Assigned (was: Unconfirmed)
Status: Archived (was: Assigned)
DevTools bug triage: archiving low-pri issues with low demand.

Sign in to add a comment