browser/devtools/debugger/test/code_function-search-03.js

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

     1 /* Any copyright is dedicated to the Public Domain.
     2    http://creativecommons.org/publicdomain/zero/1.0/ */
     4 window.addEventListener("bogus", function namedEventListener() {
     5   // Blah! Third source!
     6 });
     8 try {
     9   var bar = foo.sub.sub.test({
    10     a: function A() {
    11     }
    12   });
    14   bar.alpha = foo.sub.sub.test({
    15     b: function B() {
    16     }
    17   });
    19   bar.alpha.beta = new X(Y(Z(foo.sub.sub.test({
    20     c: function C() {
    21     }
    22   }))));
    24   this.theta = new X(new Y(new Z(new foo.sub.sub.test({
    25     d: function D() {
    26     }
    27   }))));
    29   var fun = foo = bar = this.t_foo = window.w_bar = function baz() {};
    31 } catch (e) {
    32 }

mercurial