We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 406585d + 580b54f commit 824fb50Copy full SHA for 824fb50
lib/index.js
@@ -32,6 +32,18 @@ export default class JavascriptPlugin extends SitespeedioPlugin {
32
async processMessage(message, queue) {
33
// const filterRegistry = this.filterRegistry;
34
switch (message.type) {
35
+ case 'browsertime.setup': {
36
+ // check https://github.com/sitespeedio/dashboard.sitespeed.io/blob/main/config/emulatedMobile.json for inspiration
37
+ queue.postMessage(this.make('browsertime.config', {
38
+ "chrome": {
39
+ "includeResponseBodies": "all",
40
+ },
41
+ "firefox": {
42
+ "includeResponseBodies": "all"
43
+ }
44
+ }));
45
+ break;
46
47
case 'sitespeedio.setup': {
48
// Let other plugins know that our plugin is alive
49
queue.postMessage(this.make(pluginname + '.setup', {
0 commit comments