[html] Reset of ScriptElement.src prior to async execution has no effect #18128
Labels
area-core-library
SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.
area-web
Use area-web for Dart web related issues, including the DDC and dart2js compilers and JS interop.
library-html
P2
A bug or feature request we're likely to work on
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
web-libraries
Issues impacting dart:html, etc., libraries
This issue was originally filed by Ilya.Vazh...@gmail.com
The test fails
co19/src/LayoutTests/fast/dom/HTMLScriptElement/remove-source_t01.dart
src of a script is reset after insertion of script into document head
var script = document.createElement("script");
script.src = "data:text/javascript,debug('FAIL');";
document.head.append(script);
script.src = "";
but the old script still executes
The text was updated successfully, but these errors were encountered: