| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 621 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 632 this.title = payload.title; | 632 this.title = payload.title; |
| 633 this.url = payload.url; | 633 this.url = payload.url; |
| 634 } | 634 } |
| 635 | 635 |
| 636 WebInspector.TargetInfo.prototype = { | 636 WebInspector.TargetInfo.prototype = { |
| 637 /** | 637 /** |
| 638 * @return {boolean} | 638 * @return {boolean} |
| 639 */ | 639 */ |
| 640 isWebContents: function() | 640 isWebContents: function() |
| 641 { | 641 { |
| 642 return this.type === "page"; | 642 return this.type === "web_contents"; |
| 643 }, | 643 }, |
| 644 /** | 644 /** |
| 645 * @return {boolean} | 645 * @return {boolean} |
| 646 */ | 646 */ |
| 647 isFrame: function() | 647 isFrame: function() |
| 648 { | 648 { |
| 649 return this.type === "frame"; | 649 return this.type === "frame"; |
| 650 }, | 650 }, |
| 651 } | 651 } |
| 652 | 652 |
| (...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 884 { | 884 { |
| 885 return this._isRedundant() && (!this.errors.length || this._deleting); | 885 return this._isRedundant() && (!this.errors.length || this._deleting); |
| 886 }, | 886 }, |
| 887 | 887 |
| 888 clearErrors: function() | 888 clearErrors: function() |
| 889 { | 889 { |
| 890 this._fingerprint = Symbol("fingerprint"); | 890 this._fingerprint = Symbol("fingerprint"); |
| 891 this.errors = []; | 891 this.errors = []; |
| 892 } | 892 } |
| 893 } | 893 } |
| OLD | NEW |