[v8] Remove wrong assert in GC callback.
authordimich@chromium.org <dimich@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 6 Mar 2010 03:04:31 +0000 (03:04 +0000)
committerdimich@chromium.org <dimich@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 6 Mar 2010 03:04:31 +0000 (03:04 +0000)
commitf4eb9d22113810da5f2adc0b40634b5d63397e4f
tree1ab8cafa1adefb3ccc3f571d6ba93be60e362e08
parentb2c9c56e226180692309e9fd70d4eadb480a1b91
[v8] Remove wrong assert in GC callback.
https://bugs.webkit.org/show_bug.cgi?id=35757

Reviewed by David Levin.

WebCore:

Test: fast/workers/wrapper-map-gc.html

* bindings/v8/DOMData.h:
(WebCore::DOMData::handleWeakObject): remove ASSERT(isMainThread()), move another assert up to verify we are on the right thread.

LayoutTests:

* fast/workers/resources/wrapper-map-gc.js: Added.
* fast/workers/wrapper-map-gc.html: Added.
* fast/workers/wrapper-map-gc-expected.txt: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@55608 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/workers/resources/wrapper-map-gc.js [new file with mode: 0644]
LayoutTests/fast/workers/wrapper-map-gc-expected.txt [new file with mode: 0644]
LayoutTests/fast/workers/wrapper-map-gc.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/bindings/v8/DOMData.h