devtools/client/webconsole/webconsole.xhtml
author Nicolas Chevobbe <nchevobbe@mozilla.com>
Wed, 02 Aug 2017 11:03:40 +0200
changeset 373145 75326539a850d32bf04bca942697c28532c0364b
parent 369722 d99559a7adc7cc556575905fc6ddfe9b650ea6bb
child 378371 c0be2eaa3a35724d534c5451b4568a27cbc108e8
permissions -rw-r--r--
Bug 1386551 - Import component-frame.css in new frontend; r=bgrins. This file takes care of the layout for stack traces, which can be displayed in the console (for errors, console.trace, …). The file was declared in webconsole.xul but not ported in webconsole.xhtml. MozReview-Commit-ID: FFXAB14XZ6J

<?xml version="1.0" encoding="utf-8"?>
<!-- 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 xmlns="http://www.w3.org/1999/xhtml" xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" dir="">
<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="resource://devtools/client/themes/light-theme.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"/>
    <script src="chrome://devtools/content/shared/theme-switching.js"></script>
    <script type="application/javascript"
            src="resource://devtools/client/webconsole/new-console-output/main.js"></script>
  </head>
  <body class="theme-sidebar" role="application">
    <div id="app-wrapper" class="theme-body">
      <div id="output-container" role="document" aria-live="polite"/>
      <div id="jsterm-wrapper">
        <xul:notificationbox id="webconsole-notificationbox">
          <div class="jsterm-input-container" style="direction:ltr">
            <xul:stack class="jsterm-stack-node" flex="1">
              <xul:textbox class="jsterm-complete-node devtools-monospace"
                       multiline="true" rows="1" tabindex="-1"/>
              <xul:textbox class="jsterm-input-node devtools-monospace"
                       multiline="true" rows="1" tabindex="0"
                       aria-autocomplete="list"/>
            </xul:stack>
          </div>
        </xul:notificationbox>
      </div>
    </div>
  </body>
</html>