Index: Source/devtools/front_end/main/Main.js |
diff --git a/Source/devtools/front_end/main/Main.js b/Source/devtools/front_end/main/Main.js |
index 35310c4cda8f460712d4cecb6bfb42e415956e02..6a7cbccd720a19659e0db3386259ac9fcda28b2c 100644 |
--- a/Source/devtools/front_end/main/Main.js |
+++ b/Source/devtools/front_end/main/Main.js |
@@ -885,4 +885,40 @@ WebInspector.Main.InspectedNodeRevealer.prototype = { |
} |
} |
+/** |
+ * @constructor |
+ * @extends {WebInspector.HelpScreen} |
+ */ |
+WebInspector.RemoteDebuggingTerminatedScreen = function(reason) |
+{ |
+ WebInspector.HelpScreen.call(this, WebInspector.UIString("Detached from the target")); |
+ var p = this.helpContentElement.createChild("p"); |
+ p.classList.add("help-section"); |
+ p.createChild("span").textContent = WebInspector.UIString("Remote debugging has been terminated with reason: "); |
+ p.createChild("span", "error-message").textContent = reason; |
+ p.createChild("br"); |
+ p.createChild("span").textContent = WebInspector.UIString("Please re-attach to the new target."); |
+} |
+ |
+WebInspector.RemoteDebuggingTerminatedScreen.prototype = { |
+ __proto__: WebInspector.HelpScreen.prototype |
+} |
+ |
+/** |
+ * @constructor |
+ * @extends {WebInspector.HelpScreen} |
+ */ |
+WebInspector.WorkerTerminatedScreen = function() |
+{ |
+ WebInspector.HelpScreen.call(this, WebInspector.UIString("Inspected worker terminated")); |
+ var p = this.helpContentElement.createChild("p"); |
+ p.classList.add("help-section"); |
+ p.textContent = WebInspector.UIString("Inspected worker has terminated. Once it restarts we will attach to it automatically."); |
+} |
+ |
+WebInspector.WorkerTerminatedScreen.prototype = { |
+ |
+ __proto__: WebInspector.HelpScreen.prototype |
+} |
+ |
new WebInspector.Main(); |