extensions/cookie/test/file_loadflags_inner.html
author L. David Baron <dbaron@dbaron.org>
Sat, 16 Feb 2013 13:51:02 -0800
changeset 132025 343315251a400d775fb27becf97bf86f0dcaefe2
parent 47164 70175407282a5c3b2989f3466c550478f6048f9e
permissions -rw-r--r--
Bug 781360 patch 3: Rename {nsIFrame,nsStyleContext,nsComputedDOMStyle}::GetStyle* to Style*, since they can never return null. r=dholbert Except for the changes in: layout/generic/nsIFrame.h (part) layout/style/nsComputedDOMStyle.h (all) layout/style/nsRuleNode.cpp (part) layout/style/nsStyleContext.cpp (part) layout/style/nsStyleContext.h (part) (see patch 3b in the bug), this patch was written with the sed script: s/\<GetStyle\(Font\|Color\|List\|Text\|Visibility\|Quotes\|UserInterface\|TableBorder\|SVG\|Background\|Position\|TextReset\|Display\|Content\|UIReset\|Table\|Margin\|Padding\|Border\|Outline\|XUL\|SVGReset\|Column\)\>/Style\1/g

<!DOCTYPE HTML>
<html>
<head>
  <META HTTP-EQUIV="Set-Cookie" CONTENT="meta=tag">
  <script type="text/javascript">
    function runTest() {
      document.cookie = "can=has";

      // send a message to our test document, to say we're done loading
      window.opener.postMessage("f_lf_i msg data img", "http://mochi.test:8888");
    }
  </script>
</head>
<body onload="window.opener.postMessage('f_lf_i msg data page', 'http://mochi.test:8888');">
<img src="http://example.org/tests/extensions/cookie/test/beltzner.jpg" onload="runTest()" />
</body>
</html>