[Prev] Thread [Next]  |  [Prev] Date [Next]

[Caja] Re: experimental/prototype broken? Matthew Russell Fri Jun 26 16:00:34 2009

A bit more progress on this beyond just getting the tests to run
without breaking. When running, there are actually a few
exceptions that are causing certain tests to error out, but those
aside, here's where I'm at with all of this. Kind of stuck at the end,
so maybe someone can help:

To fix experimental/prototype (so far) -
* remove the -a option from caja.rb.
* change : to :: in the resource file whitelist/html_attrib.json
* update Rakefile to copy over json_sans_eval.js into assets/

-- manual debugging after this point till I get things working, then
I'll figure out how to automate it --

* update html page (say, truth_test.html) to include json_sans_eval.js
script before cajita.js
* update gadget chrome in the page to include the
truth_test_cajoled_gadget..out.js file instead of

At this point, you can load truth_test.html in your browser and see
about "limit is null"....

limit is null
Line 149

I tried setting a breakpoint and trying to inspect what's going on
here, but admittedly, it's a bit over my head. Does that particular
error make sense to anyone based on previous regressions you may have

On Fri, Jun 26, 2009 at 3:34 PM, ptwobrussell<[EMAIL PROTECTED]> wrote:
> Ok, so the fix to this turned out to be really simple though it took
> me a while to get everything all set up for debugging and to learn the
> Java part of the code a little bit. Good times though. I filed an
> issue about this but am really unsure of how to proceed in submitting
> the trivial patch for code review. I'd like to go through this as an
> exercise, as I hope to contribute more and more as time goes on and I
> learn the lay of the land a little better.
> I was looking at
> and it says I need gvn, but I am guessing my svn will be just fine? I
> only see that there are windows versions of that available at
> so I'm hoping not...
> I tried to follow the instructions at 
> and when I do the myvn checkout, I need to authenticate. With what? My
> google credentials didn't seem to work, so I am kind of at a loss for
> that part of this process.
> Finally, am I interpreting the instructions right in that for every
> change, you really have to checkout the whole project again, make and
> maintain your change in that checkout and keep doing this over and
> over. Never seen things done that way before, so trying to make sure I
> understand this properly.
> On Jun 25, 3:41 pm, Mark Miller <[EMAIL PROTECTED]> wrote:
>> On Thu, Jun 25, 2009 at 1:22 PM, ptwobrussell <[EMAIL PROTECTED]>wrote:
>> > Is it appropriate to log bugs against stuff in experimental?
>> For stuff in active use or maintenance, sure. For the particular issue you
>> raise, absolutely, and thanks!
>> But much other stuff in experimental is known stale and will be allowed to
>> become more stale. I wouldn't bother filing bugs against these.
>> --
>> Text by me above is hereby placed in the public domain
>>    Cheers,
>>    --MarkM