We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The HAR returned by v0.6.1 of the plugin on FF v68 does not conform to v1.2 of the HAR spec.
I've noticed two issues that cause the return value of HAR.triggerExport() to fail validation:
HAR.triggerExport()
log
title
The Apache 2 Licensed Browsertime project includes a function which brings the plugin return value into conformity, partially reproduced here:
HAR.triggerExport() .then((result) => { // Different handling in FF 60 and 61 :| if (result.log) { result.log.pages[0].title = document.URL; } else { result.pages[0].title = document.URL; } // Normalize return callback({'har': result.log ? result: {log: result}}); })
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The HAR returned by v0.6.1 of the plugin on FF v68 does not conform to v1.2 of the HAR spec.
I've noticed two issues that cause the return value of
HAR.triggerExport()
to fail validation:log
as the root key, andtitle
keyThe Apache 2 Licensed Browsertime project includes a function which brings the plugin return value into conformity, partially reproduced here:
The text was updated successfully, but these errors were encountered: