Giter Site home page Giter Site logo

ngsankha / js-tproxy Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 1.0 179.58 MB

spidermonkey fork for transparent proxies

License: Other

C++ 41.79% C 26.05% Objective-C 0.42% CSS 0.55% JavaScript 23.50% Objective-C++ 0.50% Python 2.76% Shell 0.71% PowerShell 0.01% CoffeeScript 0.01% Java 2.05% Perl 0.18% Assembly 1.39% XSLT 0.01% Scilab 0.01% PHP 0.01% FLUX 0.01% Awk 0.01% Ragel in Ruby Host 0.01% TeX 0.08%

js-tproxy's Introduction

This is fork of the mozilla-central source tree. The original repository can
be found at http://hg.mozilla.org/mozilla-central/

This is an experimental implementation of Transparent Proxies in Spidermonkey.

This adds an isTransparent trap to the handler object for Proxies. When such a
proxy is subjected to equality tests, it results in a true or false after
evaluating the isTransparent trap. If the trap returns true, then the object
comparision takes place with the identity object. The implementations of Map,
Set, WeakMap have also been updated for the same. They hash against the target
object for all their operations.

Instructions for building SpiderMonkey can be found on MDN at
https://developer.mozilla.org/en-US/docs/Mozilla/Projects/SpiderMonkey/Build_Documentation

Please run the configure script with --disable-gcgenerational option when
building.

To enable the logger, run configure with the --enable-logging option. Then
after each run of the shell it will display the number of comparisions of each
type in semi-colon separated format.

js-tproxy's People

Contributors

ngsankha avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

keil

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.