Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
js_interop test failing with content security policy (csp) on dart2js #31082
The failure is because we have JS code in a string. There is another issue that mentions this error, and suggests a fix: #19329
This is reproducible with: tools/test.py --mode=release --arch=x64 --compiler=dart2js --runtime=chrome --csp --use-sdk dart2js_extra/js_interop_test
Also drt and firefox, probably all browsers, give the error.
The error that we are getting is: