Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(751)

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/security/security-state-comparator.html

Issue 2493373002: DevTools: rename WebInspector into modules. (Closed)
Patch Set: for bots Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/http/tests/inspector/security/security-state-comparator.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/security/security-state-comparator.html b/third_party/WebKit/LayoutTests/http/tests/inspector/security/security-state-comparator.html
index 1be90db5637aae6e6f7c27d8497808f9af4aa6b0..21638569a4c8956ea467b30157a9870e384a48b9 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/security/security-state-comparator.html
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/security/security-state-comparator.html
@@ -17,20 +17,20 @@ function test()
InspectorTest.assertEquals(ordering.length, Object.keys(Protocol.Security.SecurityState).length);
for (var i = 0; i < ordering.length; i++) {
- InspectorTest.assertEquals(WebInspector.SecurityModel.SecurityStateComparator(ordering[i], ordering[i]), 0, "Security state comparison failed when checking that \"" + ordering[i] + "\" == \"" + ordering[i] + "\"");
+ InspectorTest.assertEquals(Security.SecurityModel.SecurityStateComparator(ordering[i], ordering[i]), 0, "Security state comparison failed when checking that \"" + ordering[i] + "\" == \"" + ordering[i] + "\"");
}
for (var i = 0; i < ordering.length; i++) {
var j;
for (j = 0; j < i; j++) {
- InspectorTest.addResult("Sign of SecurityStateComparator(\"" + ordering[i] + "\",\"" + ordering[j] + "\"): " + Math.sign(WebInspector.SecurityModel.SecurityStateComparator(ordering[i], ordering[j])) + " (expected: 1)");
+ InspectorTest.addResult("Sign of SecurityStateComparator(\"" + ordering[i] + "\",\"" + ordering[j] + "\"): " + Math.sign(Security.SecurityModel.SecurityStateComparator(ordering[i], ordering[j])) + " (expected: 1)");
}
- InspectorTest.addResult("Sign of SecurityStateComparator(\"" + ordering[i] + "\",\"" + ordering[j] + "\"): " + Math.sign(WebInspector.SecurityModel.SecurityStateComparator(ordering[i], ordering[j])) + " (expected: 0)");
+ InspectorTest.addResult("Sign of SecurityStateComparator(\"" + ordering[i] + "\",\"" + ordering[j] + "\"): " + Math.sign(Security.SecurityModel.SecurityStateComparator(ordering[i], ordering[j])) + " (expected: 0)");
for (j = i + 1; j < ordering.length; j++) {
- InspectorTest.addResult("Sign of SecurityStateComparator(\"" + ordering[i] + "\",\"" + ordering[j] + "\"): " + Math.sign(WebInspector.SecurityModel.SecurityStateComparator(ordering[i], ordering[j])) + " (expected: -1)");
+ InspectorTest.addResult("Sign of SecurityStateComparator(\"" + ordering[i] + "\",\"" + ordering[j] + "\"): " + Math.sign(Security.SecurityModel.SecurityStateComparator(ordering[i], ordering[j])) + " (expected: -1)");
}
}

Powered by Google App Engine
This is Rietveld 408576698