Revision b99b48e...

Go back to digest for 27th May 2012

Bug Fixes in KDE Base

Bernd Buschinski committed changes in [kdelibs/KDE/4.8] /:

kjs: Fix Errorprototype inheritance, it must inherit from ErrorInstance to get the correct classInfo

Without the patch

Error.prototype.toString=Object.prototype.toString;
print(Error.prototype.toString());

will tell us that Error is an Object, not an Error

before:
[object Object]

after:
[object Error]

REVIEW:104908

File Changes

Modified 2 files
  •   kjs/error_object.cpp
  •   kjs/error_object.h
2 files changed in total