chromium/chrome/test/data/dromaeo/patches/librefs.patch

diff --git a/chrome/test/data/dromaeo/tests/cssquery-dojo.html b/chrome/test/data/dromaeo/tests/cssquery-dojo.html
index b27c95b..fd8e4aa 100644
--- a/chrome/test/data/dromaeo/tests/cssquery-dojo.html
+++ b/chrome/test/data/dromaeo/tests/cssquery-dojo.html
@@ -1,7 +1,7 @@
 <html>
 <head>
 <script src="../htmlrunner.js"></script>
-<script src="http://ajax.googleapis.com/ajax/libs/dojo/1.6.1/dojo/dojo.xd.js"></script>
+<script src="../lib/dojo.js"></script>
 <script>
 window.onload = function(){
 startTest("cssquery-dojo", '5477d2ae');
diff --git a/chrome/test/data/dromaeo/tests/cssquery-ext.html b/chrome/test/data/dromaeo/tests/cssquery-ext.html
index acb35c1..11a8413 100644
--- a/chrome/test/data/dromaeo/tests/cssquery-ext.html
+++ b/chrome/test/data/dromaeo/tests/cssquery-ext.html
@@ -1,7 +1,7 @@
 <html>
 <head>
 <script src="../htmlrunner.js"></script>
-<script src="https://ajax.googleapis.com/ajax/libs/ext-core/3.1.0/ext-core.js"></script>
+<script src="../lib/ext-core.js"></script>
 <script>
 window.onload = function(){
 startTest("cssquery-ext", '5bc05a17');
diff --git a/chrome/test/data/dromaeo/tests/cssquery-jquery-2.x.html b/chrome/test/data/dromaeo/tests/cssquery-jquery-2.x.html
index 6b95fee..b180f5a 100644
--- a/chrome/test/data/dromaeo/tests/cssquery-jquery-2.x.html
+++ b/chrome/test/data/dromaeo/tests/cssquery-jquery-2.x.html
@@ -1,7 +1,7 @@
 <html>
 <head>
 <script src="../htmlrunner.js"></script>
-<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
+<script src="../lib/jquery.2.0.3.js"></script>
 <script>
 window.onload = function(){
 startTest("cssquery-jquery", '5dfe1a12');
diff --git a/chrome/test/data/dromaeo/tests/cssquery-jquery.html b/chrome/test/data/dromaeo/tests/cssquery-jquery.html
index a83ef5c..6e552f1 100644
--- a/chrome/test/data/dromaeo/tests/cssquery-jquery.html
+++ b/chrome/test/data/dromaeo/tests/cssquery-jquery.html
@@ -1,7 +1,7 @@
 <html>
 <head>
 <script src="../htmlrunner.js"></script>
-<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
+<script src="../lib/jquery.10.1.2.js"></script>
 <script>
 window.onload = function(){
 startTest("cssquery-jquery", 'de808e5f');
diff --git a/chrome/test/data/dromaeo/tests/cssquery-mootools.html b/chrome/test/data/dromaeo/tests/cssquery-mootools.html
index 5009efc..1422b2a 100644
--- a/chrome/test/data/dromaeo/tests/cssquery-mootools.html
+++ b/chrome/test/data/dromaeo/tests/cssquery-mootools.html
@@ -1,7 +1,7 @@
 <html>
 <head>
 <script src="../htmlrunner.js"></script>
-<script src="https://ajax.googleapis.com/ajax/libs/mootools/1.4.1/mootools-yui-compressed.js"></script>
+<script src="../lib/mootools-yui-compressed.js"></script>
 <script>
 window.onload = function(){
 startTest("cssquery-mootools", 'c5ac656b');
diff --git a/chrome/test/data/dromaeo/tests/cssquery-prototype.html b/chrome/test/data/dromaeo/tests/cssquery-prototype.html
index 324d4ed..28bada1 100644
--- a/chrome/test/data/dromaeo/tests/cssquery-prototype.html
+++ b/chrome/test/data/dromaeo/tests/cssquery-prototype.html
@@ -1,7 +1,7 @@
 <html>
 <head>
 <script src="../htmlrunner.js"></script>
-<script src="https://ajax.googleapis.com/ajax/libs/prototype/1.7.0.0/prototype.js"></script>
+<script src="../lib/prototype.js"></script>
 <script>
 window.onload = function(){
 startTest("cssquery-prototype", 'd151161f');
diff --git a/chrome/test/data/dromaeo/tests/jslib-attr-jquery-2.x.html b/chrome/test/data/dromaeo/tests/jslib-attr-jquery-2.x.html
index ca6d338..867938a 100644
--- a/chrome/test/data/dromaeo/tests/jslib-attr-jquery-2.x.html
+++ b/chrome/test/data/dromaeo/tests/jslib-attr-jquery-2.x.html
@@ -1,7 +1,7 @@
 <html>
 <head>
 <script src="../htmlrunner.js"></script>
-<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
+<script src="../lib/jquery.2.0.3.js"></script>
 <script>
 window.onload = function(){
 startTest("jslib-attr-jquery", 'aeb3b2c1');
diff --git a/chrome/test/data/dromaeo/tests/jslib-attr-jquery.html b/chrome/test/data/dromaeo/tests/jslib-attr-jquery.html
index 70f8fdc..f089b52 100644
--- a/chrome/test/data/dromaeo/tests/jslib-attr-jquery.html
+++ b/chrome/test/data/dromaeo/tests/jslib-attr-jquery.html
@@ -1,7 +1,7 @@
 <html>
 <head>
 <script src="../htmlrunner.js"></script>
-<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
+<script src="../lib/jquery.10.1.2.js"></script>
 <script>
 window.onload = function(){
 startTest("jslib-attr-jquery", '675a354f');
diff --git a/chrome/test/data/dromaeo/tests/jslib-attr-prototype.html b/chrome/test/data/dromaeo/tests/jslib-attr-prototype.html
index c0e8006..998b990 100644
--- a/chrome/test/data/dromaeo/tests/jslib-attr-prototype.html
+++ b/chrome/test/data/dromaeo/tests/jslib-attr-prototype.html
@@ -1,7 +1,7 @@
 <html>
 <head>
 <script src="../htmlrunner.js"></script>
-<script src="https://ajax.googleapis.com/ajax/libs/prototype/1.7.0.0/prototype.js"></script>
+<script src="../lib/prototype.js"></script>
 <script>
 window.onload = function(){
 startTest("jslib-attr-prototype", '4fb93c6a');
diff --git a/chrome/test/data/dromaeo/tests/jslib-event-jquery-2.x.html b/chrome/test/data/dromaeo/tests/jslib-event-jquery-2.x.html
index 4e5abef..db65510 100644
--- a/chrome/test/data/dromaeo/tests/jslib-event-jquery-2.x.html
+++ b/chrome/test/data/dromaeo/tests/jslib-event-jquery-2.x.html
@@ -1,7 +1,7 @@
 <html>
 <head>
 <script src="../htmlrunner.js"></script>
-<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
+<script src="../lib/jquery.2.0.3.js"></script>
 <script>
 window.onload = function(){
 startTest("jslib-event-jquery", '161a447c');
diff --git a/chrome/test/data/dromaeo/tests/jslib-event-jquery.html b/chrome/test/data/dromaeo/tests/jslib-event-jquery.html
index 22ae395..bfaf354 100644
--- a/chrome/test/data/dromaeo/tests/jslib-event-jquery.html
+++ b/chrome/test/data/dromaeo/tests/jslib-event-jquery.html
@@ -1,7 +1,7 @@
 <html>
 <head>
 <script src="../htmlrunner.js"></script>
-<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
+<script src="../lib/jquery.10.1.2.js"></script>
 <script>
 window.onload = function(){
 startTest("jslib-event-jquery", '690f881e');
diff --git a/chrome/test/data/dromaeo/tests/jslib-event-prototype.html b/chrome/test/data/dromaeo/tests/jslib-event-prototype.html
index c601a89..78d4626 100644
--- a/chrome/test/data/dromaeo/tests/jslib-event-prototype.html
+++ b/chrome/test/data/dromaeo/tests/jslib-event-prototype.html
@@ -1,7 +1,7 @@
 <html>
 <head>
 <script src="../htmlrunner.js"></script>
-<script src="https://ajax.googleapis.com/ajax/libs/prototype/1.7.0.0/prototype.js"></script>
+<script src="../lib/prototype.js"></script>
 <script>
 window.onload = function(){
 startTest("jslib-event-prototype", '03b86d96');
diff --git a/chrome/test/data/dromaeo/tests/jslib-modify-jquery-2.x.html b/chrome/test/data/dromaeo/tests/jslib-modify-jquery-2.x.html
index d03d56b..2c8323d 100644
--- a/chrome/test/data/dromaeo/tests/jslib-modify-jquery-2.x.html
+++ b/chrome/test/data/dromaeo/tests/jslib-modify-jquery-2.x.html
@@ -1,7 +1,7 @@
 <html>
 <head>
 <script src="../htmlrunner.js"></script>
-<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
+<script src="../lib/jquery.2.0.3.js"></script>
 <script>
 window.onload = function(){
 startTest("jslib-modify-jquery", 'ed2c7ef2');
diff --git a/chrome/test/data/dromaeo/tests/jslib-modify-jquery.html b/chrome/test/data/dromaeo/tests/jslib-modify-jquery.html
index 12c6a35..34fa179 100644
--- a/chrome/test/data/dromaeo/tests/jslib-modify-jquery.html
+++ b/chrome/test/data/dromaeo/tests/jslib-modify-jquery.html
@@ -1,7 +1,7 @@
 <html>
 <head>
 <script src="../htmlrunner.js"></script>
-<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
+<script src="../lib/jquery.10.1.2.js"></script>
 <script>
 window.onload = function(){
 startTest("jslib-modify-jquery", '950aaaa1');
diff --git a/chrome/test/data/dromaeo/tests/jslib-modify-prototype.html b/chrome/test/data/dromaeo/tests/jslib-modify-prototype.html
index e5e2a4d..866fd35 100644
--- a/chrome/test/data/dromaeo/tests/jslib-modify-prototype.html
+++ b/chrome/test/data/dromaeo/tests/jslib-modify-prototype.html
@@ -1,7 +1,7 @@
 <html>
 <head>
 <script src="../htmlrunner.js"></script>
-<script src="https://ajax.googleapis.com/ajax/libs/prototype/1.7.0.0/prototype.js"></script>
+<script src="../lib/prototype.js"></script>
 <script>
 window.onload = function(){
 startTest("jslib-modify-prototype", '6693b3a5');
diff --git a/chrome/test/data/dromaeo/tests/jslib-style-jquery-2.x.html b/chrome/test/data/dromaeo/tests/jslib-style-jquery-2.x.html
index ce477b8..72c19c6 100644
--- a/chrome/test/data/dromaeo/tests/jslib-style-jquery-2.x.html
+++ b/chrome/test/data/dromaeo/tests/jslib-style-jquery-2.x.html
@@ -1,7 +1,7 @@
 <html>
 <head>
 <script src="../htmlrunner.js"></script>
-<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
+<script src="../lib/jquery.2.0.3.js"></script>
 <script>
 window.onload = function(){
 startTest("jslib-style-jquery", '08bc6988');
diff --git a/chrome/test/data/dromaeo/tests/jslib-style-jquery.html b/chrome/test/data/dromaeo/tests/jslib-style-jquery.html
index 35697967..3c99a70 100644
--- a/chrome/test/data/dromaeo/tests/jslib-style-jquery.html
+++ b/chrome/test/data/dromaeo/tests/jslib-style-jquery.html
@@ -1,7 +1,7 @@
 <html>
 <head>
 <script src="../htmlrunner.js"></script>
-<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
+<script src="../lib/jquery.10.1.2.js"></script>
 <script>
 window.onload = function(){
 startTest("jslib-style-jquery", 'a803790a');
diff --git a/chrome/test/data/dromaeo/tests/jslib-style-prototype.html b/chrome/test/data/dromaeo/tests/jslib-style-prototype.html
index 2762401..9ba6e48 100644
--- a/chrome/test/data/dromaeo/tests/jslib-style-prototype.html
+++ b/chrome/test/data/dromaeo/tests/jslib-style-prototype.html
@@ -1,7 +1,7 @@
 <html>
 <head>
 <script src="../htmlrunner.js"></script>
-<script src="https://ajax.googleapis.com/ajax/libs/prototype/1.7.0.0/prototype.js"></script>
+<script src="../lib/prototype.js"></script>
 <script>
 window.onload = function(){
 startTest("jslib-style-prototype", 'c41174f0');
diff --git a/chrome/test/data/dromaeo/tests/jslib-traverse-jquery-2.x.html b/chrome/test/data/dromaeo/tests/jslib-traverse-jquery-2.x.html
index afc5b3d6..9e9792c 100644
--- a/chrome/test/data/dromaeo/tests/jslib-traverse-jquery-2.x.html
+++ b/chrome/test/data/dromaeo/tests/jslib-traverse-jquery-2.x.html
@@ -1,7 +1,7 @@
 <html>
 <head>
 <script src="../htmlrunner.js"></script>
-<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
+<script src="../lib/jquery.2.0.3.js"></script>
 <script>
 window.onload = function(){
 startTest("jslib-traverse-jquery", '66e690c0');
diff --git a/chrome/test/data/dromaeo/tests/jslib-traverse-jquery.html b/chrome/test/data/dromaeo/tests/jslib-traverse-jquery.html
index 910e2e6..19b6741 100644
--- a/chrome/test/data/dromaeo/tests/jslib-traverse-jquery.html
+++ b/chrome/test/data/dromaeo/tests/jslib-traverse-jquery.html
@@ -1,7 +1,7 @@
 <html>
 <head>
 <script src="../htmlrunner.js"></script>
-<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
+<script src="../lib/jquery.10.1.2.js"></script>
 <script>
 window.onload = function(){
 startTest("jslib-traverse-jquery", 'bc5b18f3');
diff --git a/chrome/test/data/dromaeo/tests/jslib-traverse-prototype.html b/chrome/test/data/dromaeo/tests/jslib-traverse-prototype.html
index 37c28d6..68fe3bc 100644
--- a/chrome/test/data/dromaeo/tests/jslib-traverse-prototype.html
+++ b/chrome/test/data/dromaeo/tests/jslib-traverse-prototype.html
@@ -1,7 +1,7 @@
 <html>
 <head>
 <script src="../htmlrunner.js"></script>
-<script src="https://ajax.googleapis.com/ajax/libs/prototype/1.7.0.0/prototype.js"></script>
+<script src="../lib/prototype.js"></script>
 <script>
 window.onload = function(){
 startTest("jslib-traverse-prototype", 'd46d3eab');
-- 
2.8.0.rc3.226.g39d4020


From 677579e646af497d7e1625c85d8a7cffaf62aa13 Mon Sep 17 00:00:00 2001
From: David Vallet <[email protected]>
Date: Thu, 17 Nov 2016 16:38:01 +1100
Subject: [PATCH 2/4] change readme

---
 chrome/test/data/dromaeo/README.chromium | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/chrome/test/data/dromaeo/README.chromium b/chrome/test/data/dromaeo/README.chromium
index 8f036bf..c57c79f 100644
--- a/chrome/test/data/dromaeo/README.chromium
+++ b/chrome/test/data/dromaeo/README.chromium
@@ -2,7 +2,10 @@ This directory contains Dromaeo, a JavaScript and DOM performance benchmark.
 
 Dromaeo was developed and released by John Resig (jresig at mozilla.com)/
 
-This benchmark was slightly modified to enable Chromium automation.
+This benchmark was slightly modified to: 
+ - Enable Chromium automation.
+ - Avoid grabbing javascript libraries from the Web.
+
 
 How to update:
 
@@ -11,3 +14,4 @@ How to update:
 directory;
 2) run 'make web' to build standalone version;
 3) copy all the files from web dir into this directory.
+4) modify links to libraries and keep automation changes.
-- 
2.8.0.rc3.226.g39d4020


From cb8e4fa9f308c17dada9e7aefb6122429cf61654 Mon Sep 17 00:00:00 2001
From: David Vallet <[email protected]>
Date: Thu, 17 Nov 2016 16:41:15 +1100
Subject: [PATCH 3/4] added fix for median calcualtion
-- 
2.8.0.rc3.226.g39d4020