Changeset 29091 in webkit for trunk/JavaScriptCore/kjs/JSGlobalObject.cpp
- Timestamp:
- Jan 2, 2008, 1:32:39 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/JSGlobalObject.cpp
r28884 r29091 1 1 /* 2 * Copyright (C) 2007 Apple Inc.All rights reserved.2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. 3 3 * 4 4 * Redistribution and use in source and binary forms, with or without … … 214 214 d()->errorPrototype = new ErrorPrototype(exec, d()->objectPrototype, d()->functionPrototype); 215 215 216 d()->evalErrorPrototype = new NativeErrorPrototype(exec, d()->errorPrototype, EvalError,"EvalError", "EvalError");217 d()->rangeErrorPrototype = new NativeErrorPrototype(exec, d()->errorPrototype, RangeError,"RangeError", "RangeError");218 d()->referenceErrorPrototype = new NativeErrorPrototype(exec, d()->errorPrototype, ReferenceError,"ReferenceError", "ReferenceError");219 d()->syntaxErrorPrototype = new NativeErrorPrototype(exec, d()->errorPrototype, SyntaxError,"SyntaxError", "SyntaxError");220 d()->typeErrorPrototype = new NativeErrorPrototype(exec, d()->errorPrototype, TypeError,"TypeError", "TypeError");221 d()->URIErrorPrototype = new NativeErrorPrototype(exec, d()->errorPrototype, URIError,"URIError", "URIError");216 d()->evalErrorPrototype = new NativeErrorPrototype(exec, d()->errorPrototype, "EvalError", "EvalError"); 217 d()->rangeErrorPrototype = new NativeErrorPrototype(exec, d()->errorPrototype, "RangeError", "RangeError"); 218 d()->referenceErrorPrototype = new NativeErrorPrototype(exec, d()->errorPrototype, "ReferenceError", "ReferenceError"); 219 d()->syntaxErrorPrototype = new NativeErrorPrototype(exec, d()->errorPrototype, "SyntaxError", "SyntaxError"); 220 d()->typeErrorPrototype = new NativeErrorPrototype(exec, d()->errorPrototype, "TypeError", "TypeError"); 221 d()->URIErrorPrototype = new NativeErrorPrototype(exec, d()->errorPrototype, "URIError", "URIError"); 222 222 223 223 // Constructors
Note:
See TracChangeset
for help on using the changeset viewer.