Age | Commit message (Collapse) | Author |
|
We have a new, improved string type coming up in AK (OOM aware, no null
state), and while it's going to use UTF-8, the name UTF8String is a
mouthful - so let's free up the String name by renaming the existing
class.
Making the old one have an annoying name will hopefully also help with
quick adoption :^)
|
|
|
|
|
|
This allows us to forward declare it and reduce the number of things
that need to include Parser.h.
|
|
|
|
This allows the garbage collector to keep HTML::Script objects alive and
fixes a bug where a HTMLScriptElement could get GC'd while its code was
executing.
|
|
This ensures that code currently in any active or saved execution stack
always stays alive.
|
|
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."
|
|
This makes JS exception line numbers meaningful for inline script tags.
|
|
In C++, this is a raw pointer to a Script::HostDefined.
|
|
|
|
This will allow us to resolve modules dynamically loaded from a script.
|
|
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.
|
|
Script has a Handle member (m_realm), and for handles to remain valid,
the VM must stay alive.
|
|
The spec wants Script Records to have a Realm, not a GlobalObject.
|
|
It's a lot easier to debug JavaScript problems if you can see which file
the errors are in. :^)
|
|
|
|
|