Unable to open chrome-extension:// pages when DevTools are open

107 views
Skip to first unread message

alyss...@gmail.com

unread,
Jan 17, 2024, 7:07:57 AM1/17/24
to Chromium Extensions
Crbug: https://bugs.chromium.org/p/chromium/issues/detail?id=1516380#c_ts1704980961

Sharing here for visibility / any additional info.

I found an issue when attempting to open any chrome-extension:// page with the DevTools open in any page, which prevents it from loading entirely. I've been able to reproduce this in macOS but not in Windows. 

It seems like a pretty severe issue, it affects all sorts of extensions like Loom (it's impossible to start recording, in some cases even open up the extension entirely when in a new tab page), or my own extension Screenity that has similar functionality.

Wondering if others can reproduce this issue or are aware of it?

Deco

unread,
Jan 17, 2024, 7:22:29 AM1/17/24
to alyss...@gmail.com, Chromium Extensions
I am not able to reproduce this on MacOS - the extension page loads correctly with the devtools page open, i used Loom as described in the Chrome bug report. It may be worth experimenting with some flags under chrome://flags to do with extensions to see if it's possible, it seems to be a bizarre issue however, first i've seen reported about it.

Cheers,
Deco

--
You received this message because you are subscribed to the Google Groups "Chromium Extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/b9cfb57b-5c52-41f7-bc9a-e55e0f67738bn%40chromium.org.

alyss...@gmail.com

unread,
Jan 17, 2024, 7:35:53 AM1/17/24
to Chromium Extensions, Deco, Chromium Extensions, alyss...@gmail.com
I attempted reseting flags, and toggling related extension flags to no avail. I did test this with Chrome Canary though and the issue doesn't seem to be there, only experiencing it on the latest Chrome 120 official build.

Deco

unread,
Jan 17, 2024, 7:37:58 AM1/17/24
to alyss...@gmail.com, Chromium Extensions
The only discrepancy that I can see is that you have policy management of the browser, I do not have this, are there restrictions on extension configuration set by your organisation which is why it could be failing to load?

Cheers,
Deco

alyss...@gmail.com

unread,
Jan 17, 2024, 7:47:00 AM1/17/24
to Chromium Extensions, Deco, Chromium Extensions, alyss...@gmail.com
The only policies I had set were for the Extension Update Testing Tool: https://github.com/GoogleChromeLabs/extension-update-testing-tool

I've just removed all of them, reloaded them on chrome://policy, and then restarted my computer, but the issue unfortunately still persists.

wOxxOm

unread,
Jan 17, 2024, 9:05:35 AM1/17/24
to Chromium Extensions, alyss...@gmail.com, Deco, Chromium Extensions
If you don't have breakpoints added in devtools -> Sources panel it sounds like a bug in devtools. Try disabling chrome://flags/#devtools-tab-target

alyss...@gmail.com

unread,
Jan 17, 2024, 9:11:41 AM1/17/24
to Chromium Extensions, wOxxOm, alyss...@gmail.com, Deco, Chromium Extensions
Don't have any breakpoints, and I've tested this in different websites with the same problem. I've just disabled the devtools-tab-target flag and restarted but sadly nothing's changed.

wOxxOm

unread,
Jan 17, 2024, 9:14:50 AM1/17/24
to Chromium Extensions, alyss...@gmail.com, wOxxOm, Deco, Chromium Extensions
In case no one else reproduces the bug it will be closed, so you may want to do a bisect yourself using https://www.chromium.org/developers/bisect-builds-py/

Gaurang Tandon

unread,
Jan 17, 2024, 11:56:24 AM1/17/24
to Chromium Extensions, wOxxOm, alyss...@gmail.com, Deco, Chromium Extensions
Thanks for sharing this issue. I had the same issue with Loom today morning, and was obviously very confused at that time.

I am now able to reproduce this issue consistently, with these steps: I opened DevTools from this Google Groups page, then I opened loom.com, then I started a recording using their New Video button, and then their chrome-extension:// tab opened, but it failed to load. Then, I closed the DevTools, and tried again: now their chrome-extension:// opened instantly. I tested with both Loom version 5.5.42 and with 5.5.43 (latest) and I found the issue in both of them.

After that, I tested this issue in a different Chrome profile. I was not able to reproduce this issue in that different Chrome profile. Neither of my profiles is policy-managed. I'm not sure yet what's the cause in this specific profile.

Oliver Dunk

unread,
Jan 18, 2024, 6:57:00 AM1/18/24
to Gaurang Tandon, Chromium Extensions, wOxxOm, alyss...@gmail.com, Deco
Thanks for the troubleshooting - I tried to reproduce this but haven't been able to yet.

If either of you are comfortable bisecting, that is always helpful - but I understand if not.

Definitely keep the bug updated and I'll make sure we're keeping an eye out too.
Oliver Dunk | DevRel, Chrome Extensions | https://developer.chrome.com/ | London, GB


Reply all
Reply to author
Forward
0 new messages