summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Script.h
AgeCommit message (Collapse)Author
2021-09-14LibJS+LibWeb: Let JS::Script::parse() return a list of errors (on error)Andreas Kling
These are really supposed to be a list of SyntaxError objects, but for now we simply return all the Parser::Error objects we got from Parser.
2021-09-14LibJS: Make JS::Script keep the VM aliveAndreas Kling
Script has a Handle member (m_realm), and for handles to remain valid, the VM must stay alive.
2021-09-12LibJS+LibWeb: Make JS::Script and Web::HTML::ClassicScript use RealmsLinus Groh
The spec wants Script Records to have a Realm, not a GlobalObject.
2021-09-11LibWeb+LibJS: Remember source filenames when using HTML::ScriptAndreas Kling
It's a lot easier to debug JavaScript problems if you can see which file the errors are in. :^)
2021-09-09LibJS: Implement the ParseScript AO (as JS::Script::parse())Andreas Kling
2021-09-09LibJS: Start adding a JS::Script class (spec's "Script Record")Andreas Kling