| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2007 Matt Lilek (pewtermoose@gmail.com). | 3 * Copyright (C) 2007 Matt Lilek (pewtermoose@gmail.com). |
| 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 593 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 604 */ | 604 */ |
| 605 evaluateForTestInFrontend: function(callId, script) | 605 evaluateForTestInFrontend: function(callId, script) |
| 606 { | 606 { |
| 607 WebInspector.evaluateForTestInFrontend(callId, script); | 607 WebInspector.evaluateForTestInFrontend(callId, script); |
| 608 } | 608 } |
| 609 } | 609 } |
| 610 | 610 |
| 611 WebInspector.reload = function() | 611 WebInspector.reload = function() |
| 612 { | 612 { |
| 613 InspectorAgent.reset(); | 613 InspectorAgent.reset(); |
| 614 window.location.reload(); | 614 window.top.location.reload(); |
| 615 } | 615 } |
| 616 | 616 |
| 617 /** | 617 /** |
| 618 * @constructor | 618 * @constructor |
| 619 * @implements {WebInspector.ActionDelegate} | 619 * @implements {WebInspector.ActionDelegate} |
| 620 */ | 620 */ |
| 621 WebInspector.Main.ReloadActionDelegate = function() | 621 WebInspector.Main.ReloadActionDelegate = function() |
| 622 { | 622 { |
| 623 } | 623 } |
| 624 | 624 |
| (...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 909 p.classList.add("help-section"); | 909 p.classList.add("help-section"); |
| 910 p.textContent = WebInspector.UIString("Inspected worker has terminated. Once
it restarts we will attach to it automatically."); | 910 p.textContent = WebInspector.UIString("Inspected worker has terminated. Once
it restarts we will attach to it automatically."); |
| 911 } | 911 } |
| 912 | 912 |
| 913 WebInspector.WorkerTerminatedScreen.prototype = { | 913 WebInspector.WorkerTerminatedScreen.prototype = { |
| 914 | 914 |
| 915 __proto__: WebInspector.HelpScreen.prototype | 915 __proto__: WebInspector.HelpScreen.prototype |
| 916 } | 916 } |
| 917 | 917 |
| 918 new WebInspector.Main(); | 918 new WebInspector.Main(); |
| OLD | NEW |