Created
June 5, 2009 18:28
-
-
Save flavorjones/124416 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# exception from johnson now, using JS_ReportError | |
test_jquery(JQuery::TestJQuery): | |
Johnson::Error: #<NoMethodError: undefined method `insertBefore' for #<Method: Nokogiri::HTML::Document#documentElement>> at (/home/mike/code/taka/vendor/jquery/jquery/dist/jquery.js):1384 | |
__noSuchMethod__("insertBefore",[object Array])@:0 | |
()@/home/mike/code/taka/vendor/jquery/jquery/dist/jquery.js:1384 | |
()@/home/mike/code/taka/vendor/jquery/jquery/dist/jquery.js:1376 | |
([object JSLandProxy])@/home/mike/code/taka/vendor/jquery/jquery/dist/jquery.js:646 | |
@/home/mike/code/taka/vendor/jquery/jquery/dist/jquery.js:4669 | |
../johnson/lib/johnson/spidermonkey/js_land_proxy.rb:6:in `evaluate_compiled_script' | |
../johnson/lib/johnson/spidermonkey/runtime.rb:43:in `evaluate' | |
../johnson/lib/johnson/runtime.rb:21:in `evaluate' | |
./test/jquery/test_jquery.rb:21:in `test_jquery' | |
/usr/lib/ruby/gems/1.8/gems/nokogiri-1.3.0/lib/nokogiri/xml/node_set.rb:153:in `each' | |
/usr/lib/ruby/gems/1.8/gems/nokogiri-1.3.0/lib/nokogiri/xml/node_set.rb:152:in `upto' | |
/usr/lib/ruby/gems/1.8/gems/nokogiri-1.3.0/lib/nokogiri/xml/node_set.rb:152:in `each' | |
/home/mike/code/taka/lib/taka/dom/node_list.rb:13:in `send' | |
/home/mike/code/taka/lib/taka/dom/node_list.rb:13:in `method_missing' | |
./test/jquery/test_jquery.rb:17:in `test_jquery' | |
./test/jquery/test_jquery.rb:8:in `chdir' | |
./test/jquery/test_jquery.rb:8:in `test_jquery' | |
# same scenario, but old code raising using JS_SetPendingException | |
test_jquery(JQuery::TestJQuery): | |
NoMethodError: undefined method `insertBefore' for #<Method: Nokogiri::HTML::Document#documentElement> | |
../johnson/lib/johnson/spidermonkey/js_land_proxy.rb:10:in `__send__' | |
../johnson/lib/johnson/spidermonkey/js_land_proxy.rb:10:in `send_with_possible_block' | |
../johnson/lib/johnson/spidermonkey/runtime.rb:43:in `evaluate_compiled_script' | |
../johnson/lib/johnson/spidermonkey/runtime.rb:43:in `evaluate' | |
../johnson/lib/johnson/runtime.rb:21:in `evaluate' | |
./test/jquery/test_jquery.rb:21:in `test_jquery' | |
/usr/lib/ruby/gems/1.8/gems/nokogiri-1.3.0/lib/nokogiri/xml/node_set.rb:153:in `each' | |
/usr/lib/ruby/gems/1.8/gems/nokogiri-1.3.0/lib/nokogiri/xml/node_set.rb:152:in `upto' | |
/usr/lib/ruby/gems/1.8/gems/nokogiri-1.3.0/lib/nokogiri/xml/node_set.rb:152:in `each' | |
/home/mike/code/taka/lib/taka/dom/node_list.rb:13:in `send' | |
/home/mike/code/taka/lib/taka/dom/node_list.rb:13:in `method_missing' | |
./test/jquery/test_jquery.rb:17:in `test_jquery' | |
./test/jquery/test_jquery.rb:8:in `chdir' | |
./test/jquery/test_jquery.rb:8:in `test_jquery' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment