Add a new rule for Synchronous XMLHttpRequest (#178)

* Fix bug in spying function
* New rule Synchronous XHR
* Add the synchronousXHR rule to the dashboard
This commit is contained in:
Gaël Métais
2016-07-10 15:11:34 +08:00
committed by GitHub
parent a9adb3bb06
commit e1316ea48b
7 changed files with 55 additions and 8 deletions
+1 -1
View File
@@ -155,7 +155,7 @@
(<ng-pluralize count="offender.requests" when="{'one':'1 request','other':'{} requests'}"></ng-pluralize>)
</div>
<div ng-if="policyName === 'globalVariables' || policyName === 'jQueryVersionsLoaded'">
<div ng-if="policyName === 'globalVariables' || policyName === 'jQueryVersionsLoaded' || policyName === 'synchronousXHR'">
{{offender}}
</div>