| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 3 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. | 3 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. |
| 4 * Copyright (C) 2009 Joseph Pecoraro | 4 * Copyright (C) 2009 Joseph Pecoraro |
| 5 * | 5 * |
| 6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
| 7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
| 8 * are met: | 8 * are met: |
| 9 * | 9 * |
| 10 * 1. Redistributions of source code must retain the above copyright | 10 * 1. Redistributions of source code must retain the above copyright |
| (...skipping 457 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 468 var element; | 468 var element; |
| 469 switch (type) { | 469 switch (type) { |
| 470 case 'array': | 470 case 'array': |
| 471 case 'typedarray': | 471 case 'typedarray': |
| 472 element = this._formatParameterAsObject(output, includePreview); | 472 element = this._formatParameterAsObject(output, includePreview); |
| 473 break; | 473 break; |
| 474 case 'error': | 474 case 'error': |
| 475 element = this._formatParameterAsError(output); | 475 element = this._formatParameterAsError(output); |
| 476 break; | 476 break; |
| 477 case 'function': | 477 case 'function': |
| 478 case 'generator': | |
| 479 element = this._formatParameterAsFunction(output, includePreview); | 478 element = this._formatParameterAsFunction(output, includePreview); |
| 480 break; | 479 break; |
| 480 case 'generator': |
| 481 case 'iterator': | 481 case 'iterator': |
| 482 case 'map': | 482 case 'map': |
| 483 case 'object': | 483 case 'object': |
| 484 case 'promise': | 484 case 'promise': |
| 485 case 'proxy': | 485 case 'proxy': |
| 486 case 'set': | 486 case 'set': |
| 487 case 'weakmap': | 487 case 'weakmap': |
| 488 case 'weakset': | 488 case 'weakset': |
| 489 element = this._formatParameterAsObject(output, includePreview); | 489 element = this._formatParameterAsObject(output, includePreview); |
| 490 break; | 490 break; |
| (...skipping 757 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1248 toMessageElement() { | 1248 toMessageElement() { |
| 1249 if (!this._element) { | 1249 if (!this._element) { |
| 1250 super.toMessageElement(); | 1250 super.toMessageElement(); |
| 1251 this._expandGroupIcon = UI.Icon.create('', 'expand-group-icon'); | 1251 this._expandGroupIcon = UI.Icon.create('', 'expand-group-icon'); |
| 1252 this._contentElement.insertBefore(this._expandGroupIcon, this._contentElem
ent.firstChild); | 1252 this._contentElement.insertBefore(this._expandGroupIcon, this._contentElem
ent.firstChild); |
| 1253 this.setCollapsed(this._collapsed); | 1253 this.setCollapsed(this._collapsed); |
| 1254 } | 1254 } |
| 1255 return this._element; | 1255 return this._element; |
| 1256 } | 1256 } |
| 1257 }; | 1257 }; |
| OLD | NEW |