| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. | 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. |
| 3 * Copyright (C) 2011 Google Inc. All rights reserved. | 3 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 965 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 976 * @param {!WebInspector.Target} target | 976 * @param {!WebInspector.Target} target |
| 977 * @param {?WebInspector.RemoteObject} result | 977 * @param {?WebInspector.RemoteObject} result |
| 978 */ | 978 */ |
| 979 function failedToSave(target, result) | 979 function failedToSave(target, result) |
| 980 { | 980 { |
| 981 var message = WebInspector.UIString("Failed to save to temp variable
."); | 981 var message = WebInspector.UIString("Failed to save to temp variable
."); |
| 982 if (result) { | 982 if (result) { |
| 983 message += " " + result.description; | 983 message += " " + result.description; |
| 984 result.release(); | 984 result.release(); |
| 985 } | 985 } |
| 986 target.consoleModel.showErrorMessage(message) | 986 target.consoleModel.showErrorMessage(message); |
| 987 } | 987 } |
| 988 }, | 988 }, |
| 989 | 989 |
| 990 /** | 990 /** |
| 991 * @param {!WebInspector.RemoteObject} remoteObject | 991 * @param {!WebInspector.RemoteObject} remoteObject |
| 992 */ | 992 */ |
| 993 _showFunctionDefinition: function(remoteObject) | 993 _showFunctionDefinition: function(remoteObject) |
| 994 { | 994 { |
| 995 /** | 995 /** |
| 996 * @param {?Protocol.Error} error | 996 * @param {?Protocol.Error} error |
| (...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1386 var disabled = forbidden || (status === "disabled"); | 1386 var disabled = forbidden || (status === "disabled"); |
| 1387 | 1387 |
| 1388 this._disableJSInfo.classList.toggle("hidden", !forbidden); | 1388 this._disableJSInfo.classList.toggle("hidden", !forbidden); |
| 1389 this._disableJSCheckbox.checked = disabled; | 1389 this._disableJSCheckbox.checked = disabled; |
| 1390 this._disableJSCheckbox.disabled = forbidden; | 1390 this._disableJSCheckbox.disabled = forbidden; |
| 1391 } | 1391 } |
| 1392 }, | 1392 }, |
| 1393 | 1393 |
| 1394 __proto__: WebInspector.UISettingDelegate.prototype | 1394 __proto__: WebInspector.UISettingDelegate.prototype |
| 1395 } | 1395 } |
| OLD | NEW |