Changeset 31959 in webkit
- Timestamp:
- Apr 16, 2008 1:22:53 PM (16 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r31958 r31959 1 2008-04-16 Adam Roben <aroben@apple.com> 2 3 Fix console-log-formatting to truly test formatting an undefined value 4 5 Exceptions thrown by the test will also now be shown as errors. 6 7 Reviewed by Tim Hatcher. 8 9 * manual-tests/inspector/console-log-formatting.html: 10 (test): Use console.error to report exceptions. 11 (runTests): Use window.noSuchVariable instead of just noSuchVariable 12 to avoid an exception. 13 1 14 2008-04-16 Anatoli Papirovski <apapirovski@mac.com> 2 15 -
trunk/WebCore/manual-tests/inspector/console-log-formatting.html
r31957 r31959 20 20 eval("console.log(" + args + ")"); 21 21 } catch (e) { 22 console. log("%o",e);22 console.error(e); 23 23 } 24 24 } … … 31 31 function runTests() { 32 32 var values = [ 33 { value: " noSuchVariable", description: "undefined" },33 { value: "window.noSuchVariable", description: "undefined" }, 34 34 { value: "s", description: "string" }, 35 35 { value: "i", description: "positive integer" },
Note: See TracChangeset
for help on using the changeset viewer.