Code Monkey home page Code Monkey logo

javascript-1.4.2's People

Contributors

wesgarland avatar

Stargazers

 avatar

Watchers

 avatar

javascript-1.4.2's Issues

Looking for a more recent build of Spidermonkey 1.4.x

I realize I'm asking about a very old build of Spidermonkey, but I'm currently in debugging misery and am looking for contingency plans.

I'm currently debugging an application that crashes in js32.dll, so I decided I should try to recompile that app with the Spidermonkey source. The problem is that I don't know what version of Spidermonkey was used, because the version info was never compiled into the DLL.

Through trial and error, I determined that v1.4.2 works with minor changes, while v1.5 is so different that I don't want to go down the road of trying to make it compatible with the application.

The problem is that the following replace call doesn't work:

replace(/^\s+|\s+$/g,"")

It replaces the leading whitespace, but not the trailing whitespace.

It's possible that an older version of Spidermonkey doesn't have this issue, but at the moment, 1.4.1 and 1.4.2 are the only sources I've been able to locate in the mozilla archives. I'm currently debugging the regexp code in jsregexp.c and am starting to understand how it works, but I'm sure there's a potential for me to make errors.

Anyhow, I'm just posting here, hoping that someone might see it and be able to point me to a version of Spidermonkey that has this regexp problem fixed.

The current application as built doesn't exhibit this bug.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.