Commit 3db7d55c authored by rniwa@webkit.org's avatar rniwa@webkit.org
Browse files

REGRESSION(r94811): Assertion failure in 2 worker tests

https://bugs.webkit.org/show_bug.cgi?id=67829

Patch by Mark Hahnenberg <mhahnenberg@apple.com> on 2011-09-08
Reviewed by Sam Weinig.

Fixing a couple tests that were broken due to the wrong values being 
set in the parent class pointers in the ClassInfo structs for 
TerminatedExecutionError and InterruptedExecutionError.

* runtime/ExceptionHelpers.cpp:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@94835 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent da560641
2011-09-08 Mark Hahnenberg <mhahnenberg@apple.com>
REGRESSION(r94811): Assertion failure in 2 worker tests
https://bugs.webkit.org/show_bug.cgi?id=67829
Reviewed by Sam Weinig.
Fixing a couple tests that were broken due to the wrong values being
set in the parent class pointers in the ClassInfo structs for
TerminatedExecutionError and InterruptedExecutionError.
* runtime/ExceptionHelpers.cpp:
2011-09-08 Oliver Hunt <oliver@apple.com>
 
Use bump allocator for initial property storage
......
......@@ -41,14 +41,14 @@
namespace JSC {
const ClassInfo InterruptedExecutionError::s_info = { "InterruptedExecutionError", 0, 0, 0 };
const ClassInfo InterruptedExecutionError::s_info = { "InterruptedExecutionError", &Base::s_info, 0, 0 };
UString InterruptedExecutionError::toString(ExecState*) const
{
return "JavaScript execution exceeded timeout.";
}
const ClassInfo TerminatedExecutionError::s_info = { "TerminatedExecutionError", 0, 0, 0 };
const ClassInfo TerminatedExecutionError::s_info = { "TerminatedExecutionError", &Base::s_info, 0, 0 };
UString TerminatedExecutionError::toString(ExecState*) const
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment