mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Remove TODO comment in ScriptContext::response_complete().
We already do what it suggests.
This commit is contained in:
parent
7489f82a9b
commit
f696f311dc
1 changed files with 0 additions and 1 deletions
|
@ -179,7 +179,6 @@ impl AsyncResponseListener for ScriptContext {
|
|||
// https://html.spec.whatwg.org/multipage/#prepare-a-script
|
||||
// Step 18.6 (When the chosen algorithm asynchronously completes).
|
||||
let elem = self.elem.root();
|
||||
// TODO: maybe set this to None again after script execution to save memory.
|
||||
*elem.load.borrow_mut() = Some(ScriptOrigin::External(load));
|
||||
elem.ready_to_be_parser_executed.set(true);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue