dom/xslt/tests/buster/result-view.xul

Tue, 06 Jan 2015 21:39:09 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 06 Jan 2015 21:39:09 +0100
branch
TOR_BUG_9701
changeset 8
97036ab72558
permissions
-rw-r--r--

Conditionally force memory storage according to privacy.thirdparty.isolate;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

     1 <?xml version="1.0"?><!-- -*- Mode: xml; tab-width: 2; indent-tabs-mode: nil -*- -->
     2 <!-- This Source Code Form is subject to the terms of the Mozilla Public
     3    - License, v. 2.0. If a copy of the MPL was not distributed with this
     4    - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
     6 <?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
     7 <?xml-stylesheet href="result-view.css" type="text/css"?>
     9 <window id="buster-result-view" title="Xalan testcase details"
    10         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
    11         orient="vertical" persist="width height"
    12 	onload="onResultViewLoad()" onunload="onResultViewUnload()">
    13   <script type="application/x-javascript" src="DumpDOM.js" />
    14   <script type="application/x-javascript" src="buster-statics.js" />
    15   <script type="application/x-javascript" src="buster-test.js" />
    16   <script type="application/x-javascript" src="result-view.js" />
    18   <hbox>
    19     <button class="close" label="close this window"
    20             oncommand="window.close()" />
    21   </hbox>
    22   <vbox flex="1">
    23     <label class="heading" value="XML Source:" />
    24     <iframe flex="1" id="src" />
    25   </vbox>
    26   <vbox flex="1">
    27     <label class="heading" value="XSL Source:" />
    28     <iframe flex="1" id="style" />
    29   </vbox>
    30   <vbox flex="1" id="refSourceBox">
    31     <label class="heading" value="Reference Source:" />
    32     <iframe flex="1" id="ref" />
    33   </vbox>
    34   <vbox flex="2" id="inspectorBox">
    35     <hbox flex="1">  
    36       <vbox flex="1">
    37         <label class="heading" value="Reference" />
    38         <iframe flex="1" id="refInsp" src="result-inspector.xul" />
    39       </vbox>
    40       <vbox flex="1">
    41         <label class="heading" value="Result" />
    42         <iframe flex="1" id="resInsp" src="result-inspector.xul" />
    43       </vbox>
    44     </hbox>
    45   </vbox>
    46 </window>

mercurial