Bug 1454445 - Put windowtype/positioning attributes on the webconsole html tag to support opening as top-level;r=Mossop
We currently never open this as a top level window (it gets wrapped in browserconsole.xul),
but we are working towards it. Putting these attributes on the <html> tag works similarly to
putting them on the <window> tag in the XUL document and makes it easier to make progress
on missing features.
MozReview-Commit-ID: x6seka5wyf
--- a/devtools/client/webconsole/webconsole.html
+++ b/devtools/client/webconsole/webconsole.html
@@ -1,13 +1,15 @@
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<!DOCTYPE html>
-<html dir="">
+<html dir=""
+ windowtype="devtools:webconsole"
+ width="900" height="350">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<link rel="stylesheet" href="chrome://devtools/skin/widgets.css"/>
<link rel="stylesheet" href="chrome://devtools/skin/webconsole.css"/>
<link rel="stylesheet" href="chrome://devtools/skin/components-frame.css"/>
<link rel="stylesheet" href="resource://devtools/client/shared/components/reps/reps.css"/>
<link rel="stylesheet" href="resource://devtools/client/shared/components/tabs/Tabs.css"/>
<link rel="stylesheet" href="resource://devtools/client/shared/components/tabs/TabBar.css"/>