gabrielg-xultestrunner 0.2.3 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.3
1
+ 0.2.4
@@ -1,7 +1,7 @@
1
1
  [App]
2
2
  Name=XULTestRunner
3
- Version=0.2.3
4
- BuildID=badffba7-8ff1-44cc-9ee2-832aa7332e27
3
+ Version=0.2.4
4
+ BuildID=5e2a16dd-9f2f-4288-9ab9-e3bde7bdbd8d
5
5
  ID=XULTestRunner@conflagrationjs.org
6
6
  Vendor=Conflagration JS
7
7
 
@@ -8,7 +8,7 @@
8
8
  <script type="text/javascript">
9
9
  window.addEventListener('load', function(){
10
10
  var cmdService = Cc["@conflagrationjs.org/xultestrunner/app-startup-clh;1"].getService().wrappedJSObject;
11
- var harnessURI = "resource://xultestrunner/vendor/scriptaculous/testharness.html";
11
+ var harnessURI = "chrome://xultestrunner/content/interface/testharness.html";
12
12
  var xulTestRunner = XULTestRunner.initializeFromCmdArgs(cmdService.args, {browser: $('test-browser'), harnessURI: harnessURI});
13
13
  xulTestRunner.go();
14
14
  }, false);
@@ -8,12 +8,6 @@
8
8
  <link rel="stylesheet" href="resource://xultestrunner/vendor/scriptaculous/test.css" type="text/css" />
9
9
  <script type="text/javascript">
10
10
  $(document).observe('dom:loaded', function(){
11
- // FIXME - Because we're in crazy HTML/resource URL land we need to grant ourselves some magical privileges
12
- // since I clearly don't "get" XULRunner security
13
- var privileges = 'UniversalXPConnect UniversalBrowserRead UniversalBrowserWrite ' +
14
- 'UniversalPreferencesRead UniversalPreferencesWrite CapabilityPreferencesAccess UniversalFileRead';
15
- netscape.security.PrivilegeManager.enablePrivilege(privileges);
16
-
17
11
  // FIXME - add stuff to xpcomcore for doing this jacked up crap
18
12
  var ioService = Cc["@mozilla.org/network/io-service;1"].getService(Ci.nsIIOService);
19
13
  var resProt = ioService.getProtocolHandler("resource").QueryInterface(Ci.nsIResProtocolHandler);
@@ -1,4 +1,4 @@
1
- pref("toolkit.defaultChromeURI", "chrome://xultestrunner/content/xul/boot.xul");
1
+ pref("toolkit.defaultChromeURI", "chrome://xultestrunner/content/interface/boot.xul");
2
2
  pref("toolkit.defaultChromeFeatures", "chrome,menubar,status,resizable");
3
3
 
4
4
  // FIXME - grants the browser crazy privileges to run tests
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{xultestrunner}
8
- s.version = "0.2.3"
8
+ s.version = "0.2.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Gabriel Gironda"]
@@ -29,15 +29,15 @@ Gem::Specification.new do |s|
29
29
  "lib/xultestrunner.rb",
30
30
  "xulapp/application.ini",
31
31
  "xulapp/chrome/chrome.manifest",
32
+ "xulapp/chrome/content/interface/boot.xul",
33
+ "xulapp/chrome/content/interface/testharness.html",
32
34
  "xulapp/chrome/content/lib/xultestcase.js",
33
35
  "xulapp/chrome/content/lib/xultestrunner.js",
34
36
  "xulapp/chrome/content/vendor/prototype/LICENSE",
35
37
  "xulapp/chrome/content/vendor/prototype/prototype.js",
36
38
  "xulapp/chrome/content/vendor/scriptaculous/LICENSE",
37
39
  "xulapp/chrome/content/vendor/scriptaculous/test.css",
38
- "xulapp/chrome/content/vendor/scriptaculous/testharness.html",
39
40
  "xulapp/chrome/content/vendor/scriptaculous/unittest.js",
40
- "xulapp/chrome/content/xul/boot.xul",
41
41
  "xulapp/components/bootstrap.js",
42
42
  "xulapp/defaults/preferences/prefs.js",
43
43
  "xultestrunner.gemspec"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gabrielg-xultestrunner
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabriel Gironda
@@ -33,20 +33,21 @@ files:
33
33
  - lib/xultestrunner.rb
34
34
  - xulapp/application.ini
35
35
  - xulapp/chrome/chrome.manifest
36
+ - xulapp/chrome/content/interface/boot.xul
37
+ - xulapp/chrome/content/interface/testharness.html
36
38
  - xulapp/chrome/content/lib/xultestcase.js
37
39
  - xulapp/chrome/content/lib/xultestrunner.js
38
40
  - xulapp/chrome/content/vendor/prototype/LICENSE
39
41
  - xulapp/chrome/content/vendor/prototype/prototype.js
40
42
  - xulapp/chrome/content/vendor/scriptaculous/LICENSE
41
43
  - xulapp/chrome/content/vendor/scriptaculous/test.css
42
- - xulapp/chrome/content/vendor/scriptaculous/testharness.html
43
44
  - xulapp/chrome/content/vendor/scriptaculous/unittest.js
44
- - xulapp/chrome/content/xul/boot.xul
45
45
  - xulapp/components/bootstrap.js
46
46
  - xulapp/defaults/preferences/prefs.js
47
47
  - xultestrunner.gemspec
48
48
  has_rdoc: false
49
49
  homepage: http://github.com/gabrielg/xultestrunner
50
+ licenses:
50
51
  post_install_message:
51
52
  rdoc_options:
52
53
  - --charset=UTF-8
@@ -67,7 +68,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
67
68
  requirements: []
68
69
 
69
70
  rubyforge_project:
70
- rubygems_version: 1.2.0
71
+ rubygems_version: 1.3.5
71
72
  signing_key:
72
73
  specification_version: 3
73
74
  summary: XUL based test runner for running your JS unit tests.