From cb7b1e1b58d49c74d8c43fdf2abd55333f1d64f7 Mon Sep 17 00:00:00 2001 From: Bobby Holley Date: Fri, 1 Nov 2013 15:31:57 +0100 Subject: [PATCH] Bug 911864 - Add annotations to our XBL tests as-needed. r=smaug --- content/xbl/test/bug310107-resource.xhtml | 3 ++- content/xbl/test/file_bug481558.xbl | 3 ++- content/xbl/test/file_bug821850.xhtml | 6 +++--- content/xbl/test/test_bug371724.xhtml | 2 +- content/xbl/test/test_bug790265.xhtml | 2 +- js/xpconnect/tests/mochitest/file_bug795275.xml | 5 +++-- 6 files changed, 12 insertions(+), 9 deletions(-) diff --git a/content/xbl/test/bug310107-resource.xhtml b/content/xbl/test/bug310107-resource.xhtml index 7aa766e76ed..2a3f1df3580 100644 --- a/content/xbl/test/bug310107-resource.xhtml +++ b/content/xbl/test/bug310107-resource.xhtml @@ -8,7 +8,8 @@ - + diff --git a/content/xbl/test/file_bug481558.xbl b/content/xbl/test/file_bug481558.xbl index 1d6d305eddc..f9ae7be1c9f 100644 --- a/content/xbl/test/file_bug481558.xbl +++ b/content/xbl/test/file_bug481558.xbl @@ -7,7 +7,8 @@ Binding Attached - + diff --git a/content/xbl/test/file_bug821850.xhtml b/content/xbl/test/file_bug821850.xhtml index 528f3fd1c5c..9b160945514 100644 --- a/content/xbl/test/file_bug821850.xhtml +++ b/content/xbl/test/file_bug821850.xhtml @@ -65,13 +65,13 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=821850 win.go(); 2 - + return "method:" + arg; - + is(typeof arg.prop, 'undefined', "No properties"); @@ -85,7 +85,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=821850 is(typeof arg.foo, 'undefined', "Shouldn't place props"); - + return this._prop; this._prop = "set:" + val; diff --git a/content/xbl/test/test_bug371724.xhtml b/content/xbl/test/test_bug371724.xhtml index 8021f56b96d..69a317fde42 100644 --- a/content/xbl/test/test_bug371724.xhtml +++ b/content/xbl/test/test_bug371724.xhtml @@ -9,7 +9,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=371724 - + diff --git a/content/xbl/test/test_bug790265.xhtml b/content/xbl/test/test_bug790265.xhtml index fe23316a4c4..1ce8363a7e1 100644 --- a/content/xbl/test/test_bug790265.xhtml +++ b/content/xbl/test/test_bug790265.xhtml @@ -10,7 +10,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=790265 - + diff --git a/js/xpconnect/tests/mochitest/file_bug795275.xml b/js/xpconnect/tests/mochitest/file_bug795275.xml index c9076c25aee..f9e5e60f585 100644 --- a/js/xpconnect/tests/mochitest/file_bug795275.xml +++ b/js/xpconnect/tests/mochitest/file_bug795275.xml @@ -3,13 +3,14 @@ xmlns:html="http://www.w3.org/1999/xhtml"> - + Components.interfaces; + onget="Components; return 3;" + exposeToUntrustedContent="true" /> var foo = Components;