Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: chrome/content/harness.xul

Issue 5745141503492096: Issue 1561 - Move unit tests out of the browser`s content area (Closed)
Patch Set: Created Nov. 14, 2014, 11:11 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/content/harness.xul
===================================================================
new file mode 100644
--- /dev/null
+++ b/chrome/content/harness.xul
@@ -0,0 +1,39 @@
+<?xml version="1.0"?>
+
+<!--
+ - This file is part of Adblock Plus <http://adblockplus.org/>,
+ - Copyright (C) 2006-2014 Eyeo GmbH
+ -
+ - Adblock Plus is free software: you can redistribute it and/or modify
+ - it under the terms of the GNU General Public License version 3 as
+ - published by the Free Software Foundation.
+ -
+ - Adblock Plus is distributed in the hope that it will be useful,
+ - but WITHOUT ANY WARRANTY; without even the implied warranty of
+ - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ - GNU General Public License for more details.
+ -
+ - You should have received a copy of the GNU General Public License
+ - along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>.
+ -->
+
+<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
+
+<!DOCTYPE window SYSTEM "chrome://adblockplustests/locale/harness.dtd">
+
+<window
+ xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
+ width="800"
+ height="600"
+ title="&harness.title;"
+ persist="screenX screenY width height sizemode"
+ windowtype="adblockplustests:harness">
+
+ <script src="harness.js" type="application/x-javascript"/>
+
+ <keyset>
+ <key key="W" modifiers="accel" oncommand="window.close()"/>
+ </keyset>
+
+ <iframe id="tests" flex="1"/>
+</window>

Powered by Google App Engine
This is Rietveld