webkit upgrade (#5535)

* update files

* Update cold-jsc-start.cpp

* bump webkit
This commit is contained in:
Dylan Conway
2023-09-16 00:44:07 -07:00
committed by GitHub
parent caa192480c
commit b651b16fdd
19 changed files with 90 additions and 70 deletions

View File

@@ -132,9 +132,10 @@ int main(int argc, char **argv) {
vm.ref();
if (argc > 2) {
auto source = JSC::makeSource(WTF::String::fromUTF8(argv[argc - 1]),
SourceOrigin(WTF::URL("file://eval.js"_s)),
"eval.js"_s);
auto source =
JSC::makeSource(WTF::String::fromUTF8(argv[argc - 1]),
SourceOrigin(WTF::URL("file://eval.js"_s)),
JSC::SourceTaintedOrigin::Untainted, "eval.js"_s);
NakedPtr<Exception> evaluationException;
JSValue returnValue =
@@ -163,7 +164,8 @@ int main(int argc, char **argv) {
if (auto contents = WTF::FileSystemImpl::readEntireFile(fileURLString)) {
auto source =
JSC::makeSource(WTF::String::fromUTF8(contents.value()),
SourceOrigin(WTF::URL(fileURLString)), fileURLString);
SourceOrigin(WTF::URL(fileURLString)),
JSC::SourceTaintedOrigin::Untainted, fileURLString);
NakedPtr<Exception> evaluationException;
JSValue returnValue =