Changeset 17128 in webkit
- Timestamp:
- Oct 18, 2006, 10:02:54 PM (18 years ago)
- Location:
- trunk/WebKitTools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKitTools/ChangeLog
r17119 r17128 1 2006-10-18 Timothy Hatcher <timothy@apple.com> 2 3 Reviewed by Anders. 4 5 Bug 10851: Crash with Drosera 6 http://bugs.webkit.org/show_bug.cgi?id=10851 7 8 This crash results in an assert in debug builds. 9 10 assert(implementsCall()); 11 12 The __drosera_introspection propery was not callable. Now we just assign 13 this.__drosera_introspection in the evaluateWebScript call. 14 This change also removes one DO message. 15 16 * Drosera/DebuggerDocument.m: 17 (-[WebScriptObject webScriptAttributeKeysForScriptObject:]): 18 1 19 2006-10-18 Mark Rowe <bdash@webkit.org> 2 20 -
trunk/WebKitTools/Drosera/DebuggerDocument.m
r15724 r17128 113 113 - (NSArray *)webScriptAttributeKeysForScriptObject:(WebScriptObject *)object 114 114 { 115 WebScriptObject *func = [object evaluateWebScript:@"(function () { var result = new Array(); for (var x in this) { result.push(x); } return result; })"]; 116 [object setValue:func forKey:@"__drosera_introspection"]; 115 [object evaluateWebScript:@"this.__drosera_introspection = function () { var result = new Array(); for (var x in this) { result.push(x); } return result; }"]; 117 116 118 117 NSMutableArray *result = [[NSMutableArray alloc] init];
Note:
See TracChangeset
for help on using the changeset viewer.