[Pkg-chromium-maint] Bug#870616: chromium 60 devtools "perform an audit" doesn't work

Ruben Afonso ruben at laranjada.org
Thu Aug 3 12:03:02 UTC 2017


Package: chromium
Version: 60.0.3112.78-1
Severity: normal

Dear Maintainer,

Using the new "perform an audit" under the "audits" panel in chromium 60 devtools fails silently and freezes the entire page. The only "solution" is closing the tab.

After checking journalctl, I saw this:

[1334:1334:0803/121433.813266:ERROR:CONSOLE(0)] "XMLHttpRequest cannot load https://chrome-devtools-frontend.appspot.com/serve_file/@a06489456eeba3939f2f058a4e5bd6178e7b3bb9/audits2_worker/audits2_worker_module.js. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'chrome-devtools://devtools' is therefore not allowed access. The response had HTTP status code 404.", source: chrome-devtools://devtools/bundled/inspector.html?remoteBase=https://chrome-devtools-frontend.appspot.com/serve_file/@a06489456eeba3939f2f058a4e5bd6178e7b3bb9/&can_dock=true&panel=elements&dockSide=undocked (0)
[1334:1334:0803/121433.813652:ERROR:CONSOLE(22)] "Empty response arrived for script 'https://chrome-devtools-frontend.appspot.com/serve_file/@a06489456eeba3939f2f058a4e5bd6178e7b3bb9/audits2_worker/audits2_worker_module.js'", source: chrome-devtools://devtools/bundled/audits2_worker.js?remoteBase=https://chrome-devtools-frontend.appspot.com/serve_file/@a06489456eeba3939f2f058a4e5bd6178e7b3bb9/ (22)
[1334:1334:0803/121433.813741:ERROR:CONSOLE(1)] "Uncaught (in promise) ReferenceError: Audits2Service is not defined", source: chrome-devtools://devtools/bundled/audits2_worker.js?remoteBase=https://chrome-devtools-frontend.appspot.com/serve_file/@a06489456eeba3939f2f058a4e5bd6178e7b3bb9/ (1)

The same error occurs everytime you try to "perform an audit", regardless of the page you're trying to audit. The bug seems 100% reproducible.

Using the Lighthouse extension[0] seems to be a decent workaround. It's what the new "audits" panel is based on so it's essentialy the same thing.

[0] https://developers.google.com/web/tools/lighthouse/

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.11.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=pt_PT.UTF-8, LC_CTYPE=pt_PT.UTF-8 (charmap=UTF-8), LANGUAGE=pt_PT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages chromium depends on:
ii  chromium-common      60.0.3112.78-1
ii  libasound2           1.1.3-5
ii  libatk1.0-0          2.24.0-1
ii  libavcodec57         7:3.3.3-1
ii  libavformat57        7:3.3.3-1
ii  libavutil55          7:3.3.3-1
ii  libc6                2.24-14
ii  libcairo2            1.14.10-1
ii  libcups2             2.2.4-3
ii  libdbus-1-3          1.11.16+really1.10.22-1
ii  libevent-2.0-5       2.0.21-stable-3
ii  libexpat1            2.2.3-1
ii  libflac8             1.3.2-1
ii  libfontconfig1       2.12.3-0.2
ii  libfreetype6         2.8-0.2
ii  libgcc1              1:7.1.0-11
ii  libgdk-pixbuf2.0-0   2.36.5-2
ii  libglib2.0-0         2.53.4-2
ii  libgtk2.0-0          2.24.31-2
ii  libharfbuzz0b        1.4.2-1
ii  libicu57             57.1-6
ii  libjpeg62-turbo      1:1.5.1-2
ii  libminizip1          1.1-8+b1
ii  libnspr4             2:4.15-1
ii  libnss3              2:3.31-1
ii  libopus0             1.2~alpha2-1
ii  libpango-1.0-0       1.40.6-1
ii  libpangocairo-1.0-0  1.40.6-1
ii  libpng16-16          1.6.30-2
ii  libpulse0            10.0-2
ii  libre2-3             20170101+dfsg-1
ii  libsnappy1v5         1.1.6-2
ii  libstdc++6           7.1.0-11
ii  libvpx4              1.6.1-3
ii  libwebp6             0.6.0-3
ii  libwebpdemux2        0.6.0-3
ii  libwebpmux3          0.6.0-3
ii  libx11-6             2:1.6.4-3
ii  libx11-xcb1          2:1.6.4-3
ii  libxcb1              1.12-1
ii  libxcomposite1       1:0.4.4-2
ii  libxcursor1          1:1.1.14-1+b4
ii  libxdamage1          1:1.1.4-2+b3
ii  libxext6             2:1.3.3-1+b2
ii  libxfixes3           1:5.0.3-1
ii  libxi6               2:1.7.9-1
ii  libxml2              2.9.4+dfsg1-3
ii  libxrandr2           2:1.5.1-1
ii  libxrender1          1:0.9.10-1
ii  libxslt1.1           1.1.29-2.1
ii  libxss1              1:1.2.2-1+b2
ii  libxtst6             2:1.2.3-1
ii  zlib1g               1:1.2.8.dfsg-5

Versions of packages chromium recommends:
ii  fonts-liberation  1:1.07.4-2

Versions of packages chromium suggests:
pn  chromium-driver    <none>
ii  chromium-l10n      60.0.3112.78-1
pn  chromium-shell     <none>
pn  chromium-widevine  <none>

-- no debconf information



More information about the Pkg-chromium-maint mailing list