| Index: chrome/content/tests/policy.js |
| =================================================================== |
| --- a/chrome/content/tests/policy.js |
| +++ b/chrome/content/tests/policy.js |
| @@ -382,17 +382,17 @@ |
| let [wnd, node, item] = policyHits[0]; |
| equal(item.location, expectedURL, "Request URL"); |
| expectedStatus = (stage == 1 ? "allowed" : "blocked"); |
| let actualStatus = (item.filter ? "blocked" : "allowed"); |
| equal(actualStatus, expectedStatus, "Request blocked"); |
| - equal(item.typeDescr.toLowerCase(), expectedType, "Request type"); |
| + equal(item.type.toLowerCase(), expectedType, "Request type"); |
| equal(item.thirdParty, expectedThirdParty, "Third-party flag"); |
| equal(item.docDomain, "127.0.0.1", "Document domain"); |
| } |
| } |
| server.registerPathHandler(expectedURL.replace(/http:\/\/[^\/]+/, ""), null); |
| equal(serverHit, expectedStatus == "allowed", "Request received by server"); |
| frame.removeEventListener("abp:frameready", callback, false); |