author David Major <>
Wed, 20 Dec 2017 09:07:46 -0500
changeset 448763 e9cfe039a796e2963a6d3e7d2a161b02cdbadcac
parent 179092 243259fda9aba5900ae1492c991a0e7a541a584d
permissions -rw-r--r--
Bug 1425906: Rename LINK to LINKER throughout the build system. r=glandium Windows linkers give special meaning to getenv("LINK"), which makes `export LINK=...` in mozconfigs do unexpected things.

<html xmlns="">
  <bindings xmlns="">
    <binding id="testBinding">
          is(windowExpando, 42, "Expandos show up without explicit waiving");
          ok(called, "Function called");
        <handler event="testevent" action="is(boundExpando, 11, 'See expandos on |this|'); SimpleTest.finish();"/>
  <script type="application/javascript">

  is =;
  ok = parent.ok;
  SimpleTest = parent.SimpleTest;
  window.windowExpando = 42;
  window.someFunction = function() { ok(true, "Called"); window.called = true; };

  function go() {
    var bound = document.getElementById('bound');
    bound.boundExpando = 11;
    bound.dispatchEvent(new CustomEvent('testevent'));

  function setup() {
    // When the bindings are applied, the constructor will be invoked and the
    // test will continue.
    document.getElementById('bound').style.MozBinding = 'url(#testBinding)';

<body onload="setup()">
<a target="_blank" href="">Mozilla Bug 844783</a>
<p id="display"></p>
<div id="content">
  <div id="bound">Bound element</div>
<pre id="test">