Bug 676413 - fix the crossOrigin attribute test - r=smaug
authorBenoit Jacob <bjacob@mozilla.com>
Thu, 11 Aug 2011 18:17:59 -0400
changeset 74257 f262c389193eebbb714074f8c340bad268071646
parent 74256 b5189d4d6fa5638fc26d67477d65cef6a034db19
child 74300 c2213f8c76dd448da1fa9e646cf944eb38608d28
child 74306 708c7bee072e41d8ea600ae9930c3a7c32278e1b
child 74327 b021d1f9f57de8db7ea9d27bcf96ed11de3c994a
child 76118 1f767f82d1c309e5f69364f1ddcb24d1f5eff0f9
push id20971
push userbjacob@mozilla.com
push dateThu, 11 Aug 2011 22:18:53 +0000
treeherdermozilla-central@f262c389193e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssmaug
bugs676413
milestone8.0a1
first release with
nightly linux32
f262c389193e / 8.0a1 / 20110812030744 / files
nightly linux64
f262c389193e / 8.0a1 / 20110812030744 / files
nightly mac
f262c389193e / 8.0a1 / 20110812030744 / files
nightly win32
f262c389193e / 8.0a1 / 20110812030744 / files
nightly win64
f262c389193e / 8.0a1 / 20110812030744 / files
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
releases
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 676413 - fix the crossOrigin attribute test - r=smaug This is not a limited-enumerated attribute, so let's use reflectString instead.
content/html/content/test/test_bug664299.html
--- a/content/html/content/test/test_bug664299.html
+++ b/content/html/content/test/test_bug664299.html
@@ -13,18 +13,18 @@ https://bugzilla.mozilla.org/show_bug.cg
 <body>
 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=664299">Mozilla Bug 664299</a>
 <p id="display"></p>
 <div id="content" style="display: none">
 </div>
 <pre id="test">
 <script type="application/javascript">
 /** Test to ensure we reflect <img crossorigin> correctly **/
-reflectLimitedEnumerated({
+reflectString({
   element: new Image(),
   attribute: "crossOrigin",
-  validValues: [ "", "anonymous", "use-credentials" ],
-  invalidValues: [ "foobar" ],
-  defaultValue: "" });
+  otherValues: [ "", "anonymous", "ANONYMOUS", "  aNOnYmous    ",
+                 "use-credentials", "USE-CREDENTIALS", "   UsE-CreDEntIALS      ",
+                 "foobar", "FOOBAR", "  fOoBaR  " ]});
 </script>
 </pre>
 </body>
 </html>