-
Type:
Problem report
-
Resolution: Fixed
-
Priority:
Major
-
Affects Version/s: 7.0.0
-
Component/s: Proxy (P), Server (S)
-
S24-W28/29
-
2
Can not use synthetic tests with Firefox. For example default JS code:
var browser = new Browser(Browser.firefoxOptions()); try { browser.navigate("https://zabbix.com"); browser.collectPerfEntries(); } finally { return JSON.stringify(browser.getResult()); }
result is:
{"duration":3.0171115398406982,"error":{"http_status":500,"code":"javascript error","message":"cannot collect performance data: toJSON() failed with: TypeError: 'toJSON' called on an object that does not implement interface PerformanceNavigationTiming."}}
replacing getResult with getRawPerfEntries fixes the issue.