DOM URL is flaky when workers are used
https://bugs.webkit.org/show_bug.cgi?id=99178
Reviewed by Geoffrey Garen.
Source/WebCore:
Extend JSNoStaticTables to also avoid direct access of static tables in constructor objects.
Test: fast/workers/worker-domurl.html
* bindings/scripts/CodeGeneratorJS.pm:
(constructorHashTableAccessor):
(GenerateConstructorDefinition):
LayoutTests:
Test that the methods of the URL constructor are accesible from both main and worker threads.
* fast/workers/resources/worker-domurl.js: Added.
(log):
(onmessage):
* fast/workers/worker-domurl-expected.txt: Added.
* fast/workers/worker-domurl.html: Added.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132973 268f45cc-cd09-0410-ab3c-d52691b4dbfc
6 files changed