| 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 456 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 467 var element; | 467 var element; |
| 468 switch (type) { | 468 switch (type) { |
| 469 case 'array': | 469 case 'array': |
| 470 case 'typedarray': | 470 case 'typedarray': |
| 471 element = this._formatParameterAsObject(output, includePreview); | 471 element = this._formatParameterAsObject(output, includePreview); |
| 472 break; | 472 break; |
| 473 case 'error': | 473 case 'error': |
| 474 element = this._formatParameterAsError(output); | 474 element = this._formatParameterAsError(output); |
| 475 break; | 475 break; |
| 476 case 'function': | 476 case 'function': |
| 477 case 'generator': | |
| 478 element = this._formatParameterAsFunction(output, includePreview); | 477 element = this._formatParameterAsFunction(output, includePreview); |
| 479 break; | 478 break; |
| 479 case 'generator': |
| 480 case 'iterator': | 480 case 'iterator': |
| 481 case 'map': | 481 case 'map': |
| 482 case 'object': | 482 case 'object': |
| 483 case 'promise': | 483 case 'promise': |
| 484 case 'proxy': | 484 case 'proxy': |
| 485 case 'set': | 485 case 'set': |
| 486 element = this._formatParameterAsObject(output, includePreview); | 486 element = this._formatParameterAsObject(output, includePreview); |
| 487 break; | 487 break; |
| 488 case 'node': | 488 case 'node': |
| 489 element = this._formatParameterAsNode(output); | 489 element = this._formatParameterAsNode(output); |
| (...skipping 757 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1247 toMessageElement() { | 1247 toMessageElement() { |
| 1248 if (!this._element) { | 1248 if (!this._element) { |
| 1249 super.toMessageElement(); | 1249 super.toMessageElement(); |
| 1250 this._expandGroupIcon = UI.Icon.create('', 'expand-group-icon'); | 1250 this._expandGroupIcon = UI.Icon.create('', 'expand-group-icon'); |
| 1251 this._contentElement.insertBefore(this._expandGroupIcon, this._contentElem
ent.firstChild); | 1251 this._contentElement.insertBefore(this._expandGroupIcon, this._contentElem
ent.firstChild); |
| 1252 this.setCollapsed(this._collapsed); | 1252 this.setCollapsed(this._collapsed); |
| 1253 } | 1253 } |
| 1254 return this._element; | 1254 return this._element; |
| 1255 } | 1255 } |
| 1256 }; | 1256 }; |
| OLD | NEW |