Bug 1241634: Use is instead of ok in tests. r=me

--HG--
extra : rebase_source : 42e2a1dde47957d813f11379bba173f62e8f8d70
This commit is contained in:
Kyle Huey 2016-02-18 17:32:34 -08:00
parent 79b3096449
commit 4be3856258

View File

@ -90,12 +90,12 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=840388
switch(event.data.test) {
case "insecurePage_navigate_child":
ok((event.data.msg == "navigated to insecure iframe on insecure page"), "navigating to insecure iframe blocked on insecure page");
is(event.data.msg, "navigated to insecure iframe on insecure page", "navigating to insecure iframe blocked on insecure page");
testsToRunInsecure["insecurePage_navigate_child"] = true;
break;
case "insecurePage_navigate_grandchild":
ok((event.data.msg == "navigated to insecure grandchild iframe on insecure page"), "navigating to insecure grandchild iframe blocked on insecure page");
is(event.data.msg, "navigated to insecure grandchild iframe on insecure page", "navigating to insecure grandchild iframe blocked on insecure page");
testsToRunInsecure["insecurePage_navigate_grandchild"] = true;
break;
@ -105,7 +105,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=840388
break;
case "blankTarget":
ok((event.data.msg == "opened an http link with target=_blank from a secure page"), "couldn't open an http link in a new window from a secure page");
is(event.data.msg, "opened an http link with target=_blank from a secure page", "couldn't open an http link in a new window from a secure page");
testsToRunSecure["blankTarget"] = true;
break;