Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Group info
Language: English
Group categories: Not categorized
More group info »
Active older topics
6 new of 6 - Apr 17 2010
REE
1 new of 1 - Mar 30 2010
2 new of 2 - Mar 23 2010
2 new of 2 - Mar 12 2010
3 new of 3 - Mar 11 2010
6 new of 6 - Mar 10 2010
1 new of 1 - Mar 2 2010
1 new of 1 - Mar 2 2010
3 new of 3 - Feb 27 2010
1 new of 1 - Feb 23 2010
Discussions
View:  Topic list, Topic summary Topics 1 - 10 of 94  Older »

You cannot post messages because only members can post, and you are not currently a member.
Description: Johnson wraps JavaScript in a loving Ruby embrace.
 

setTimeout, async script loading, and head.js 
  Is there anyway to test scripts that load other scripts asynchronously with head.js(...)? script 1: // ... head.js("/path/to/script2.js", "/path/to/script3.js", callback); // ... I want to test the functionality in the callback function, but it depends on having script2 and script3 loaded.... more »
By Aaron Gibralter  - Feb 7 2011 - 4 new of 4 messages    

state of unstable 
  We're still not out of the woods with the unstable branch. While it passes the johnson tests, it core dumps elsewhere. My test right now is one of the specs in capybara -envjs: smparkes@smp ~/capybara-envjs i386$ spec spec/driver/ envjs_driver_spec.rb .... WARNIING: [Thu Aug 19 2010 09:31:18 GMT-0700 (PST)] {ENVJS}... more »
By Steven Parkes  - Aug 19 2010 - 1 new of 1 message    

Classes, prototypes, Ruby 1.9.x 
  Hi, Do you happen to have an example of how to define a class (or rather a function/prototype) in JavaScript (e.g. Ruby.Person or whatever) _and_ use that as a class in Ruby? As a side note: There was an example in the RubyConf talk (2008) about adding a method to a Ruby class from JavaScript context... more »
By Philipp Kempgen  - Aug 7 2010 - 3 new of 3 messages    

Sandboxing and untrusted code 
  Is it possible to run untrusted code inside of Johnson. I've removed Ruby object (Ruby = null) inside of context, but It seems that you can eval ruby code through RubyLandProxy object. You can replicate this by running: js = Johnson::Runtime.new() js[:proxy] = {:key => 'value'} js[:Ruby] = nil... more »
By retro  - Jun 27 2010 - 2 new of 2 messages    

Backtraces 
  The lack of information when Johnson spits out a backtrace is completely maddening: Johnson::Error in 'Feature: Gift this (under Javascript) Scenario: Choosing to gift items and going forward' b is null /Library/Ruby/Gems/1.8/gems/en vjs-0.3.6/lib/envjs/static.js: 1218 [JavaScript] inline:2302 [JavaScript]... more »
By Elliot Winkler  - Jul 3 2010 - 2 new of 2 messages    

Do still johnson be incompatible with ruby 1.9.x? 
  I had install johnson without problems in my rvm 1.8.7 but when I tried in 1.9.2 a "conversions.cc:337: error: ‘ruby_errinfo’ was not declared in this scope" error failed to build gem native extension. Somebody is working to fix the "node.h" dependency? Regards Manuel
By Manuel Vidaurre  - Jun 13 2010 - 3 new of 3 messages    

Assertion failed 
  Dear Johnson developers, while parsing a file with Johnson, the following error occurred: Assertion failed: (chars = js_InflateString(context->js, StringValuePtr(file_contents), &length)), function parse_io, file immutable_node.c, line 51. I guess it has to do with the encoding of the string being parsed.... more »
By greg  - May 17 2010 - 6 new of 6 messages    

Browse a mutable tree 
  Hello dear Johnson developers and users, Johnson seems to be a good library to manipulate JS code in a Ruby program but is still under (active?) development. Therefore, I guess some functions may not be implemented. I happened to come across a function that is not mentionned in the documentation and may not work. Still I do not have any idea to test... more »
By greg  - Apr 27 2010 - 2 new of 2 messages    

spidermonkey ran out of memory :( 
  We are using Johnson via Harmony to run javascript unit tests in our Sinatra app. It was all working great until we added our last test file. Now, the suite ends with either a Segmentation fault in env.js or a NoMemoryError. It looks like there is no garbage collection between our tests. Are there any configuration options in Johnson to increase Spidermonkey... more »
By Kane Baccigalupi  - Apr 22 2010 - 6 new of 6 messages    

ruby 1.9.1 compatibility 
  I am working with Rails 3 and Ruby 1.9.1 and wondering what the status for ruby 1.9.1 compatibility is? Installation fails when building the native components: In file included from conversions.c:2: js_land_proxy.h:11:18: error: node.h: No such file or directory What can I do to help out?... more »
By Toby Hede  - Apr 15 2010 - 2 new of 2 messages    

1 - 10 of 94   « Newer | Older »

XML       Send email to this group: johnson-talk@googlegroups.com