Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-03-16 | Libraries: Use default constructors/destructors in LibJS | Lenny Maiorani | |
https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#cother-other-default-operation-rules "The compiler is more likely to get the default semantics right and you cannot implement these functions better than the compiler." | |||
2022-03-14 | LibWeb: Use inline script tag source line as javascript line offset | Idan Horowitz | |
This makes JS exception line numbers meaningful for inline script tags. | |||
2022-02-07 | LibJS: Add [[HostDefined]] internal slot to Script objects | Andreas Kling | |
In C++, this is a raw pointer to a Script::HostDefined. | |||
2022-02-07 | LibJS: Make ScriptOrModule use WeakPtr instead of raw pointers | Andreas Kling | |
2022-01-22 | LibJS: Add filename tracking to Script and Module | davidot | |
This will allow us to resolve modules dynamically loaded from a script. | |||
2021-09-14 | LibJS+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-14 | LibJS: Make JS::Script keep the VM alive | Andreas Kling | |
Script has a Handle member (m_realm), and for handles to remain valid, the VM must stay alive. | |||
2021-09-12 | LibJS+LibWeb: Make JS::Script and Web::HTML::ClassicScript use Realms | Linus Groh | |
The spec wants Script Records to have a Realm, not a GlobalObject. | |||
2021-09-11 | LibWeb+LibJS: Remember source filenames when using HTML::Script | Andreas Kling | |
It's a lot easier to debug JavaScript problems if you can see which file the errors are in. :^) | |||
2021-09-09 | LibJS: Implement the ParseScript AO (as JS::Script::parse()) | Andreas Kling | |
2021-09-09 | LibJS: Start adding a JS::Script class (spec's "Script Record") | Andreas Kling | |