js/src/jit-test/tests/ion/bug914098.js

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     1 // |jit-test| error: ReferenceError
     3 function ygTreeView(id) {};
     4 function ygNode() {}
     5 ygNode.prototype.init = function () {
     6     this.children = [];
     7 }
     8 ygTextNode.prototype = new ygNode;
     9 function ygTextNode() {
    10     this.init(it.next.bind(it), StopIteration)
    11 }
    12 userTree = new ygTreeView("userTree")
    13 addMenuNode(userTree)
    14 function addMenuNode(tree) {
    15     new ygTextNode({}, tree.root, false)
    16 }

mercurial