author David Major <>
Wed, 20 Dec 2017 09:07:46 -0500
changeset 448763 e9cfe039a796e2963a6d3e7d2a161b02cdbadcac
parent 179092 243259fda9aba5900ae1492c991a0e7a541a584d
child 516464 9f776274089a2e001b347eb6d92e99d3decba8d8
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="" style="display: none">
  <title>Test for Bug 526178</title>
  <script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
  <style id="sheet">
    #content * {
      display: block;
      -moz-binding: url("#binding");
  <bindings xmlns="">
    <binding id="binding">
          var win = XPCNativeWrapper.unwrap(window);
          win.logString += this.localName;
<a target="_blank" href="">Mozilla Bug 526178</a>
<div id="content">
    <e style="display: inline">
      <f style="display: inline">
        <g style="display: inline"/>
        <h style="display: none"/>
        <i style="display: inline"/>
      <j style="display: none"/>
      <k style="display: inline">
        <l style="display: inline"/>
        <n style="display: inline"/>
    <o style="display: none"/>
<p id="display">
<pre id="test">
<script type="application/javascript">

/** Test for Bug 526178 **/
var logString = "";
// Add one for the root
var pendingBindings = $("content").getElementsByTagName("*").length + 1;
function bindingDone() {
  if (--pendingBindings == 0) {
    is(logString, "apoeknmljfihgdbchtml");


// Have to add the rule for the root dynamically so the binding doesn't try
//  to load before bindingDone() is defined.
$("sheet").sheet.insertRule(':root { -moz-binding: url("#binding"); }', 0); = "";