Bug 10452 - Page Load Time Test Runner

This commit is contained in:
Shing Lyu 2016-05-10 17:51:07 +08:00
parent a83fed2144
commit 13b8f2531c
15 changed files with 1485 additions and 0 deletions

View file

@ -0,0 +1,2 @@
#Servo Performance Comparison
Monitor website rendering performance

View file

@ -0,0 +1 @@
../../../user-agent-js/01.perf-timing.js

View file

@ -0,0 +1,8 @@
var self = require("sdk/self");
var pageMod = require("sdk/page-mod");
pageMod.PageMod({
include: "*",
contentScriptFile: self.data.url('perf.js'),
attachTo: ["top", "existing"]
});

View file

@ -0,0 +1,16 @@
{
"title": "Servo Performance Comparison",
"name": "addon",
"version": "0.0.1",
"description": "Monitor website rendering performance",
"main": "index.js",
"author": "The Servo team",
"engines": {
"firefox": ">=38.0a1",
"fennec": ">=38.0a1"
},
"license": "MPL",
"keywords": [
"jetpack"
]
}