Skip to content
This repository has been archived by the owner on Aug 18, 2018. It is now read-only.

Commit

Permalink
adding assert and requiring net/http in browser
Browse files Browse the repository at this point in the history
  • Loading branch information
tenderlove committed Jun 1, 2008
1 parent c8364ce commit 947c557
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions js/johnson/browser.js
@@ -1,3 +1,4 @@
Ruby.require('net/http');
Johnson.require("johnson/browser/xmlw3cdom");
Johnson.require("johnson/browser/xmlsax");
Johnson.require("johnson/browser/env");
1 change: 1 addition & 0 deletions test/johnson/browser_test.rb
Expand Up @@ -27,6 +27,7 @@ def test_set_location_with_url
@runtime.evaluate("window.location = '#{filename}'")
}
doc = @runtime.evaluate('window.document')
assert_not_nil(doc)
end

def may_thread(&block)
Expand Down

0 comments on commit 947c557

Please sign in to comment.