This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Frequent crashes in JSC::parse in a worker thread when running regres…
…sion tests https://bugs.webkit.org/show_bug.cgi?id=82660 Reviewed by Geoffrey Garen. Source/WebCore: Initialize m_script to empty string. Therefore if there isn't any script payload, the worker thread will see an empty string, not a null string. Re-enabling fast/workers/empty-worker-nocrash.html and fast/workers/shared-worker-constructor.html tests as part of this patch. * workers/WorkerScriptLoader.cpp: (WebCore::WorkerScriptLoader::WorkerScriptLoader): LayoutTests: Re-enable fast/workers/empty-worker-nocrash.html and fast/workers/shared-worker-constructor.html with corresponding fix. * platform/mac/Skipped: Canonical link: https://commits.webkit.org/100430@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@113082 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing 4 changed files with 29 additions and 4 deletions.