-
Notifications
You must be signed in to change notification settings - Fork 9.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unexpected aggressive-promise-polyfill error on dbwtester #11803
Comments
This is my minimal version of <!doctype html>
<html>
<!-- If just this removed (or moved after jquery), will `Aw, Snap!` Chrome 89.0.4351.0. Removing any attributes does the same, too. -->
<link rel="preload" href="./dbw_tester.css" as="style" onload="this.rel = 'stylesheet'">
<!-- Where error occurs. Order of the scripts doesn't seem to matter. -->
<script src="./third_party/aggressive-promise-polyfill.js"></script>
<!-- If removed, no error. -->
<script type="module" src="./empty_module.js"></script>
<!-- If removed, no error. -->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
</html> |
One notable thing in ToT Chromium today is top-level await (https://chromium.googlesource.com/chromium/src/+/19be7d71a9b41322599f02f0e9e0a7acbbff5943). I wonder if that could be affecting Promise stuff. |
Maybe we should be tracking Chrome Dev instead of ToT (the assumption being that if this is really a bug, hopefully someone else finds and fixes before it affects us) |
This error seems to also turn into a crash. When there's a crash there's a 'Inspector.targetCrashet I bisected the crash on chromium.... python2.7 bisect_builds.py --use-local-cache -o -a mac -g 89.0.4343.0 -b 89.0.4351.0 -- --disable-features=TranslateUI --disable-extensions --disable-component-extensions-with-background-pages --disable-background-networking --disable-sync --metrics-recording-only --disable-default-apps --mute-audio --no-default-browser-check --no-first-run --disable-backgrounding-occluded-windows --disable-renderer-backgrounding --disable-background-timer-throttling --force-fieldtrials="*BackgroundTracing/default/" --remote-debugging-port=55027 --user-data-dir=/var/folders/py/rf3cszrn5kdbj_2w2jd_8wsc003dq2/T/lighthouse.XXXXXXX.qOGcKFSb --enable-logging --v=0 node lighthouse-cli/index.js http://localhost:10200/dobetterweb/dbw_tester.html -port=55027 --config-path=blahblahah
.... @brendankenny called it. 😁 |
Filed upstream chromium bug: https://bugs.chromium.org/p/chromium/issues/detail?id=1157692 |
A fix has landed upstream: https://bugs.chromium.org/p/chromium/issues/detail?id=1157692#c4 |
fixed by #11836 |
This has come up in some smoketests recently......
It's entirely clear where it's from. Seems to only happen on ToT.
Me and @brendankenny can repro locally:
My repro:
TypeError: the given value is not a Promise
there's a lot of unknowns here..
I'm going to bypass the error temporarily in #11799
The text was updated successfully, but these errors were encountered: