[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc

tonyg at chromium.org tonyg at chromium.org
Wed Dec 22 11:16:57 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit 4562d5c7f25084bab08c2d7e7abb61ca81bc2f5a
Author: tonyg at chromium.org <tonyg at chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Fri Jul 16 16:38:52 2010 +0000

    2010-07-15  Tony Gentilcore  <tonyg at chromium.org>
    
            Reviewed by Darin Fisher.
    
            Update expectations for Web Timing enabled in chromium port.
            https://bugs.webkit.org/show_bug.cgi?id=42313
    
            Default expectations are to PASS (Web Timing enabled). Since the gtk, qt, win, and mac platforms do not have WEB_TIMING enabled, they must skip these tests.
    
            * fast/dom/Window/window-properties-performance-expected.txt: Added.
            * fast/dom/Window/window-properties-performance.html: Added.
            * fast/dom/Window/window-properties.html: Skip webkitPerformance so that its platform-specific expectations can be managed in window-properties-performance.html.
            * fast/dom/navigation-type-back-forward-expected.txt: Update to PASS
            * fast/dom/navigation-type-navigate-expected.txt: Update to PASS
            * fast/dom/navigation-type-reload-expected.txt: Update to PASS
            * fast/dom/webtiming-expected.txt: Updated to mostly PASS. Currently has failures because chromium is not populating the ResourceLoadTiming API. This will be resolved when http://codereview.chromium.org/2909016 lands.
            * fast/dom/webtiming.html: Update test based on new backfill functionality from https://bugs.webkit.org/show_bug.cgi?id=42303.
            * http/tests/misc/webtiming-one-redirect-expected.txt: Update to PASS
            * http/tests/misc/webtiming-two-redirects-expected.txt: Update to PASS
            * platform/gtk/Skipped:
            * platform/mac/Skipped:
            * platform/qt/Skipped:
            * platform/win/Skipped:
    2010-07-15  Tony Gentilcore  <tonyg at chromium.org>
    
            Reviewed by Darin Fisher.
    
            Enable window.webkitPerformance (Web Timing) for chromium
            https://bugs.webkit.org/show_bug.cgi?id=42313
    
            * features.gypi:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63559 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog
index 45458df..db44167 100644
--- a/LayoutTests/ChangeLog
+++ b/LayoutTests/ChangeLog
@@ -1,3 +1,27 @@
+2010-07-15  Tony Gentilcore  <tonyg at chromium.org>
+
+        Reviewed by Darin Fisher.
+
+        Update expectations for Web Timing enabled in chromium port.
+        https://bugs.webkit.org/show_bug.cgi?id=42313
+
+        Default expectations are to PASS (Web Timing enabled). Since the gtk, qt, win, and mac platforms do not have WEB_TIMING enabled, they must skip these tests.
+
+        * fast/dom/Window/window-properties-performance-expected.txt: Added.
+        * fast/dom/Window/window-properties-performance.html: Added.
+        * fast/dom/Window/window-properties.html: Skip webkitPerformance so that its platform-specific expectations can be managed in window-properties-performance.html.
+        * fast/dom/navigation-type-back-forward-expected.txt: Update to PASS
+        * fast/dom/navigation-type-navigate-expected.txt: Update to PASS
+        * fast/dom/navigation-type-reload-expected.txt: Update to PASS
+        * fast/dom/webtiming-expected.txt: Updated to mostly PASS. Currently has failures because chromium is not populating the ResourceLoadTiming API. This will be resolved when http://codereview.chromium.org/2909016 lands.
+        * fast/dom/webtiming.html: Update test based on new backfill functionality from https://bugs.webkit.org/show_bug.cgi?id=42303.
+        * http/tests/misc/webtiming-one-redirect-expected.txt: Update to PASS
+        * http/tests/misc/webtiming-two-redirects-expected.txt: Update to PASS
+        * platform/gtk/Skipped:
+        * platform/mac/Skipped:
+        * platform/qt/Skipped:
+        * platform/win/Skipped:
+
 2010-07-16  Yury Semikhatsky  <yurys at chromium.org>
 
         Reviewed by Pavel Feldman.
diff --git a/LayoutTests/fast/dom/Window/window-properties-performance-expected.txt b/LayoutTests/fast/dom/Window/window-properties-performance-expected.txt
new file mode 100644
index 0000000..146fd55
--- /dev/null
+++ b/LayoutTests/fast/dom/Window/window-properties-performance-expected.txt
@@ -0,0 +1,29 @@
+This test dumps all of the properties that are reachable from the window.webkitPerformance object, along with their types.
+
+window.webkitPerformance [object Performance]
+window.webkitPerformance.memory [object MemoryInfo]
+window.webkitPerformance.memory.totalJSHeapSize [number]
+window.webkitPerformance.memory.usedJSHeapSize [number]
+window.webkitPerformance.navigation [object Navigation]
+window.webkitPerformance.navigation.BACK_FORWARD [number]
+window.webkitPerformance.navigation.NAVIGATE [number]
+window.webkitPerformance.navigation.RELOAD [number]
+window.webkitPerformance.navigation.redirectCount [number]
+window.webkitPerformance.navigation.type [number]
+window.webkitPerformance.timing [object Timing]
+window.webkitPerformance.timing.connectEnd [number]
+window.webkitPerformance.timing.connectStart [number]
+window.webkitPerformance.timing.domainLookupEnd [number]
+window.webkitPerformance.timing.domainLookupStart [number]
+window.webkitPerformance.timing.fetchStart [number]
+window.webkitPerformance.timing.loadEventEnd [number]
+window.webkitPerformance.timing.loadEventStart [number]
+window.webkitPerformance.timing.navigationStart [number]
+window.webkitPerformance.timing.redirectEnd [number]
+window.webkitPerformance.timing.redirectStart [number]
+window.webkitPerformance.timing.requestEnd [number]
+window.webkitPerformance.timing.requestStart [number]
+window.webkitPerformance.timing.responseEnd [number]
+window.webkitPerformance.timing.responseStart [number]
+window.webkitPerformance.timing.unloadEventEnd [number]
+
diff --git a/LayoutTests/fast/dom/Window/window-properties-performance.html b/LayoutTests/fast/dom/Window/window-properties-performance.html
new file mode 100644
index 0000000..f3ecc95
--- /dev/null
+++ b/LayoutTests/fast/dom/Window/window-properties-performance.html
@@ -0,0 +1,93 @@
+<p>This test dumps all of the properties that are reachable from the window.webkitPerformance object, along with their types.</p>
+<hr>
+<pre id="pre"></pre>
+
+<script>
+if (window.layoutTestController)
+    layoutTestController.dumpAsText();
+    
+var logBuffer = [];
+function log(s)
+{
+    logBuffer.push(s);
+}
+
+var pre = document.getElementById('pre');
+function flushLog()
+{
+    var logMessage = logBuffer.join("");
+    pre.appendChild(document.createTextNode(logMessage));
+}
+
+function tryEval(string)
+{
+    try {
+        return eval(string);
+    } catch (e) {
+        return new String("Caught exception: " + e);
+    }
+}
+
+function typeOfNullAware(value)
+{
+    if (typeof value == "object" && value == null) //;
+        return "null";
+    return typeof value;
+}
+
+function typeStringNullAware(value)
+{
+    var valueType = typeOfNullAware(value);
+    return valueType == "object"
+        ? Object.prototype.toString.call(value)
+        : "[" + valueType + "]";
+}
+
+function logValue(valueName)
+{
+    var value = tryEval(valueName);
+    var valueType = typeOfNullAware(value);
+
+    // Don't taint the test with our own variables
+    if (value == logBuffer || value == pre)
+        return;
+
+    // Don't taint the test with our own properties
+    if (/__visitedByLogValue__/.test(valueName) || /__nameWhenVisitedByLogValue__/.test(valueName))
+        return;
+
+    // Work around Firefox infinite recursion
+    if (/\.[0-9]/.test(valueName))
+        return;
+
+    // Avoid infinite recursion
+    if (valueType == "object" && value.__visitedByLogValue__) { //;
+        log(valueName + " [printed above as " + value.__nameWhenVisitedByLogValue__ + "]\n");
+        return;
+    }
+
+    log(valueName + " " + typeStringNullAware(value) + "\n");
+
+    if (valueType == "object") {
+        value.__visitedByLogValue__ = true;
+        value.__nameWhenVisitedByLogValue__ = valueName;
+        logProperties(value, valueName);
+    }
+}
+
+function logProperties(object, objectName)
+{
+    var array = new Array;
+    for (var property in object) {
+        array.push(property);
+    }
+    array.sort();
+    for (var i = 0; i < array.length; i++) {
+        var property = array[i];
+        logValue(objectName + "." + property);
+    }
+}
+
+logValue('window.webkitPerformance');
+flushLog();
+</script>
diff --git a/LayoutTests/fast/dom/Window/window-properties.html b/LayoutTests/fast/dom/Window/window-properties.html
index c722d28..b92ecac 100644
--- a/LayoutTests/fast/dom/Window/window-properties.html
+++ b/LayoutTests/fast/dom/Window/window-properties.html
@@ -85,6 +85,7 @@ var __skip__ = {
     "window.FileReader" : 1,
     "window.DeviceOrientationEvent" : 1,
     "window.ondeviceorientation" : 1,
+    "window.webkitPerformance" : 1,
 
     // showModalDialog is not implemented on all platforms in DumpRenderTree.
     "window.showModalDialog" : 1
diff --git a/LayoutTests/fast/dom/navigation-type-back-forward-expected.txt b/LayoutTests/fast/dom/navigation-type-back-forward-expected.txt
index 7f9ed56..8a2e452 100644
--- a/LayoutTests/fast/dom/navigation-type-back-forward-expected.txt
+++ b/LayoutTests/fast/dom/navigation-type-back-forward-expected.txt
@@ -2,7 +2,7 @@ This tests that performance.navigation.type is 2
 
 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
 
-FAIL navigation.type should be 2 (of type number). Was undefined (of type undefined).
+PASS navigation.type is 2
 PASS successfullyParsed is true
 
 TEST COMPLETE
diff --git a/LayoutTests/fast/dom/navigation-type-navigate-expected.txt b/LayoutTests/fast/dom/navigation-type-navigate-expected.txt
index af7f2e0..1d32012 100644
--- a/LayoutTests/fast/dom/navigation-type-navigate-expected.txt
+++ b/LayoutTests/fast/dom/navigation-type-navigate-expected.txt
@@ -2,7 +2,7 @@ This tests that performance.navigation.type is 0
 
 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
 
-FAIL navigation.type should be 0 (of type number). Was undefined (of type undefined).
+PASS navigation.type is 0
 PASS successfullyParsed is true
 
 TEST COMPLETE
diff --git a/LayoutTests/fast/dom/navigation-type-reload-expected.txt b/LayoutTests/fast/dom/navigation-type-reload-expected.txt
index c6c1169..b200e5e 100644
--- a/LayoutTests/fast/dom/navigation-type-reload-expected.txt
+++ b/LayoutTests/fast/dom/navigation-type-reload-expected.txt
@@ -2,7 +2,7 @@ This tests that performance.navigation.type is 1
 
 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
 
-FAIL navigation.type should be 1 (of type number). Was undefined (of type undefined).
+PASS navigation.type is 1
 PASS successfullyParsed is true
 
 TEST COMPLETE
diff --git a/LayoutTests/fast/dom/script-tests/webtiming.js b/LayoutTests/fast/dom/script-tests/webtiming.js
index 7ffe3f3..b393351 100644
--- a/LayoutTests/fast/dom/script-tests/webtiming.js
+++ b/LayoutTests/fast/dom/script-tests/webtiming.js
@@ -27,13 +27,13 @@ function checkTimingBeforeLoad()
 
     shouldBeGreaterThanOrEqual("timing.fetchStart", "timing.navigationStart");
 
-    shouldBe("timing.domainLookupStart", "0");
-    shouldBe("timing.domainLookupEnd", "0");
+    shouldBeGreaterThanOrEqual("timing.domainLookupStart", "timing.fetchStart");
+    shouldBeGreaterThanOrEqual("timing.domainLookupEnd", "timing.domainLookupStart");
 
-    shouldBe("timing.connectStart", "0");
-    shouldBe("timing.connectEnd", "0");
+    shouldBeGreaterThanOrEqual("timing.connectStart", "timing.domainLookupEnd");
+    shouldBeGreaterThanOrEqual("timing.connectEnd", "timing.connectStart");
 
-    shouldBeGreaterThanOrEqual("timing.requestStart", "timing.navigationStart");
+    shouldBeGreaterThanOrEqual("timing.requestStart", "timing.connectEnd");
     shouldBeGreaterThanOrEqual("timing.requestEnd", "timing.requestStart");
 
     shouldBeGreaterThanOrEqual("timing.responseStart", "timing.requestEnd");
@@ -56,13 +56,13 @@ function checkWebTimingOnLoad()
 
     shouldBeGreaterThanOrEqual("timing.fetchStart", "timing.navigationStart");
 
-    shouldBe("timing.domainLookupStart", "0");
-    shouldBe("timing.domainLookupEnd", "0");
+    shouldBeGreaterThanOrEqual("timing.domainLookupStart", "timing.fetchStart");
+    shouldBeGreaterThanOrEqual("timing.domainLookupEnd", "timing.domainLookupStart");
 
-    shouldBe("timing.connectStart", "0");
-    shouldBe("timing.connectEnd", "0");
+    shouldBeGreaterThanOrEqual("timing.connectStart", "timing.domainLookupEnd");
+    shouldBeGreaterThanOrEqual("timing.connectEnd", "timing.connectStart");
 
-    shouldBeGreaterThanOrEqual("timing.requestStart", "timing.navigationStart");
+    shouldBeGreaterThanOrEqual("timing.requestStart", "timing.connectEnd");
     shouldBeGreaterThanOrEqual("timing.requestEnd", "timing.requestStart");
 
     shouldBeGreaterThanOrEqual("timing.responseStart", "timing.requestEnd");
@@ -86,13 +86,13 @@ function checkWebTimingAfterLoad()
 
     shouldBeGreaterThanOrEqual("timing.fetchStart", "timing.navigationStart");
 
-    shouldBe("timing.domainLookupStart", "0");
-    shouldBe("timing.domainLookupEnd", "0");
+    shouldBeGreaterThanOrEqual("timing.domainLookupStart", "timing.fetchStart");
+    shouldBeGreaterThanOrEqual("timing.domainLookupEnd", "timing.domainLookupStart");
 
-    shouldBe("timing.connectStart", "0");
-    shouldBe("timing.connectEnd", "0");
+    shouldBeGreaterThanOrEqual("timing.connectStart", "timing.domainLookupEnd");
+    shouldBeGreaterThanOrEqual("timing.connectEnd", "timing.connectStart");
 
-    shouldBeGreaterThanOrEqual("timing.requestStart", "timing.navigationStart");
+    shouldBeGreaterThanOrEqual("timing.requestStart", "timing.connectEnd");
     shouldBeGreaterThanOrEqual("timing.requestEnd", "timing.requestStart");
 
     shouldBeGreaterThanOrEqual("timing.responseStart", "timing.requestEnd");
diff --git a/LayoutTests/fast/dom/webtiming-expected.txt b/LayoutTests/fast/dom/webtiming-expected.txt
index b97e3b7..5393673 100644
--- a/LayoutTests/fast/dom/webtiming-expected.txt
+++ b/LayoutTests/fast/dom/webtiming-expected.txt
@@ -3,53 +3,53 @@ This test checks that all of the Web Timing attributes are available and have re
 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
 
 
-FAIL timing.navigationStart should be >= oneHourAgoUTC. Was undefined (of type undefined).
-FAIL timing.unloadEventEnd should be >= timing.navigationStart. Was undefined (of type undefined).
-FAIL timing.redirectStart should be 0 (of type number). Was undefined (of type undefined).
-FAIL timing.redirectEnd should be 0 (of type number). Was undefined (of type undefined).
-FAIL navigation.redirectCount should be 0 (of type number). Was undefined (of type undefined).
-FAIL timing.fetchStart should be >= timing.navigationStart. Was undefined (of type undefined).
-FAIL timing.domainLookupStart should be 0 (of type number). Was undefined (of type undefined).
-FAIL timing.domainLookupEnd should be 0 (of type number). Was undefined (of type undefined).
-FAIL timing.connectStart should be 0 (of type number). Was undefined (of type undefined).
-FAIL timing.connectEnd should be 0 (of type number). Was undefined (of type undefined).
-FAIL timing.requestStart should be >= timing.navigationStart. Was undefined (of type undefined).
-FAIL timing.requestEnd should be >= timing.requestStart. Was undefined (of type undefined).
-FAIL timing.responseStart should be >= timing.requestEnd. Was undefined (of type undefined).
-FAIL timing.loadEventStart should be 0 (of type number). Was undefined (of type undefined).
-FAIL timing.loadEventEnd should be 0 (of type number). Was undefined (of type undefined).
-FAIL timing.navigationStart should be >= oneHourAgoUTC. Was undefined (of type undefined).
-FAIL timing.unloadEventEnd should be >= timing.navigationStart. Was undefined (of type undefined).
-FAIL timing.redirectStart should be 0 (of type number). Was undefined (of type undefined).
-FAIL timing.redirectEnd should be 0 (of type number). Was undefined (of type undefined).
-FAIL navigation.redirectCount should be 0 (of type number). Was undefined (of type undefined).
-FAIL timing.fetchStart should be >= timing.navigationStart. Was undefined (of type undefined).
-FAIL timing.domainLookupStart should be 0 (of type number). Was undefined (of type undefined).
-FAIL timing.domainLookupEnd should be 0 (of type number). Was undefined (of type undefined).
-FAIL timing.connectStart should be 0 (of type number). Was undefined (of type undefined).
-FAIL timing.connectEnd should be 0 (of type number). Was undefined (of type undefined).
-FAIL timing.requestStart should be >= timing.navigationStart. Was undefined (of type undefined).
-FAIL timing.requestEnd should be >= timing.requestStart. Was undefined (of type undefined).
-FAIL timing.responseStart should be >= timing.requestEnd. Was undefined (of type undefined).
-FAIL timing.responseEnd should be >= timing.responseStart. Was undefined (of type undefined).
-FAIL timing.loadEventStart should be >= timing.responseEnd. Was undefined (of type undefined).
-FAIL timing.loadEventEnd should be 0 (of type number). Was undefined (of type undefined).
-FAIL timing.navigationStart should be >= oneHourAgoUTC. Was undefined (of type undefined).
-FAIL timing.unloadEventEnd should be >= timing.navigationStart. Was undefined (of type undefined).
-FAIL timing.redirectStart should be 0 (of type number). Was undefined (of type undefined).
-FAIL timing.redirectEnd should be 0 (of type number). Was undefined (of type undefined).
-FAIL navigation.redirectCount should be 0 (of type number). Was undefined (of type undefined).
-FAIL timing.fetchStart should be >= timing.navigationStart. Was undefined (of type undefined).
-FAIL timing.domainLookupStart should be 0 (of type number). Was undefined (of type undefined).
-FAIL timing.domainLookupEnd should be 0 (of type number). Was undefined (of type undefined).
-FAIL timing.connectStart should be 0 (of type number). Was undefined (of type undefined).
-FAIL timing.connectEnd should be 0 (of type number). Was undefined (of type undefined).
-FAIL timing.requestStart should be >= timing.navigationStart. Was undefined (of type undefined).
-FAIL timing.requestEnd should be >= timing.requestStart. Was undefined (of type undefined).
-FAIL timing.responseStart should be >= timing.requestEnd. Was undefined (of type undefined).
-FAIL timing.responseEnd should be >= timing.responseStart. Was undefined (of type undefined).
-FAIL timing.loadEventStart should be >= timing.responseEnd. Was undefined (of type undefined).
-FAIL timing.loadEventEnd should be >= timing.loadEventStart + 50. Was undefined (of type undefined).
+PASS timing.navigationStart is >= oneHourAgoUTC
+PASS timing.unloadEventEnd is >= timing.navigationStart
+PASS timing.redirectStart is 0
+PASS timing.redirectEnd is 0
+PASS navigation.redirectCount is 0
+PASS timing.fetchStart is >= timing.navigationStart
+PASS timing.domainLookupStart is >= timing.fetchStart
+PASS timing.domainLookupEnd is >= timing.domainLookupStart
+PASS timing.connectStart is >= timing.domainLookupEnd
+PASS timing.connectEnd is >= timing.connectStart
+FAIL timing.requestStart should be >= timing.connectEnd. Was 0 (of type number).
+PASS timing.requestEnd is >= timing.requestStart
+PASS timing.responseStart is >= timing.requestEnd
+PASS timing.loadEventStart is 0
+PASS timing.loadEventEnd is 0
+PASS timing.navigationStart is >= oneHourAgoUTC
+PASS timing.unloadEventEnd is >= timing.navigationStart
+PASS timing.redirectStart is 0
+PASS timing.redirectEnd is 0
+PASS navigation.redirectCount is 0
+PASS timing.fetchStart is >= timing.navigationStart
+PASS timing.domainLookupStart is >= timing.fetchStart
+PASS timing.domainLookupEnd is >= timing.domainLookupStart
+PASS timing.connectStart is >= timing.domainLookupEnd
+PASS timing.connectEnd is >= timing.connectStart
+FAIL timing.requestStart should be >= timing.connectEnd. Was 0 (of type number).
+PASS timing.requestEnd is >= timing.requestStart
+PASS timing.responseStart is >= timing.requestEnd
+PASS timing.responseEnd is >= timing.responseStart
+PASS timing.loadEventStart is >= timing.responseEnd
+PASS timing.loadEventEnd is 0
+PASS timing.navigationStart is >= oneHourAgoUTC
+PASS timing.unloadEventEnd is >= timing.navigationStart
+PASS timing.redirectStart is 0
+PASS timing.redirectEnd is 0
+PASS navigation.redirectCount is 0
+PASS timing.fetchStart is >= timing.navigationStart
+PASS timing.domainLookupStart is >= timing.fetchStart
+PASS timing.domainLookupEnd is >= timing.domainLookupStart
+PASS timing.connectStart is >= timing.domainLookupEnd
+PASS timing.connectEnd is >= timing.connectStart
+FAIL timing.requestStart should be >= timing.connectEnd. Was 0 (of type number).
+PASS timing.requestEnd is >= timing.requestStart
+PASS timing.responseStart is >= timing.requestEnd
+PASS timing.responseEnd is >= timing.responseStart
+PASS timing.loadEventStart is >= timing.responseEnd
+PASS timing.loadEventEnd is >= timing.loadEventStart + 50
 PASS successfullyParsed is true
 
 TEST COMPLETE
diff --git a/LayoutTests/http/tests/misc/webtiming-one-redirect-expected.txt b/LayoutTests/http/tests/misc/webtiming-one-redirect-expected.txt
index 45db899..3b21851 100644
--- a/LayoutTests/http/tests/misc/webtiming-one-redirect-expected.txt
+++ b/LayoutTests/http/tests/misc/webtiming-one-redirect-expected.txt
@@ -3,9 +3,9 @@ This test checks that Web Timing reports redirectCount correctly and has reasona
 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
 
 
-FAIL timing.redirectStart should be >= timing.navigationStart. Was undefined (of type undefined).
-FAIL timing.redirectEnd should be >= timing.redirectStart. Was undefined (of type undefined).
-FAIL navigation.redirectCount should be 1 (of type number). Was undefined (of type undefined).
+PASS timing.redirectStart is >= timing.navigationStart
+PASS timing.redirectEnd is >= timing.redirectStart
+PASS navigation.redirectCount is 1
 PASS successfullyParsed is true
 
 TEST COMPLETE
diff --git a/LayoutTests/http/tests/misc/webtiming-two-redirects-expected.txt b/LayoutTests/http/tests/misc/webtiming-two-redirects-expected.txt
index bdc41e6..2d47dc0 100644
--- a/LayoutTests/http/tests/misc/webtiming-two-redirects-expected.txt
+++ b/LayoutTests/http/tests/misc/webtiming-two-redirects-expected.txt
@@ -3,9 +3,9 @@ This test checks that Web Timing reports redirectCount correctly and has reasona
 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
 
 
-FAIL timing.redirectStart should be >= timing.navigationStart. Was undefined (of type undefined).
-FAIL timing.redirectEnd should be >= timing.redirectStart. Was undefined (of type undefined).
-FAIL navigation.redirectCount should be 2 (of type number). Was undefined (of type undefined).
+PASS timing.redirectStart is >= timing.navigationStart
+PASS timing.redirectEnd is >= timing.redirectStart
+PASS navigation.redirectCount is 2
 PASS successfullyParsed is true
 
 TEST COMPLETE
diff --git a/LayoutTests/platform/gtk/Skipped b/LayoutTests/platform/gtk/Skipped
index 1813c7e..0580905 100644
--- a/LayoutTests/platform/gtk/Skipped
+++ b/LayoutTests/platform/gtk/Skipped
@@ -5862,5 +5862,16 @@ http/tests/loading/preload-slow-loading.php
 # Directory upload is not enabled.
 fast/forms/input-file-directory-upload.html
 
+
 # Need setPrinting. See https://bugs.webkit.org/show_bug.cgi?id=20011
 printing/setPrinting.html
+
+# Web Timing is not enabled.
+# https://bugs.webkit.org/show_bug.cgi?id=42432
+fast/dom/Window/window-properties-performance.html
+fast/dom/navigation-type-back-forward.html
+fast/dom/navigation-type-navigate.html
+fast/dom/navigation-type-reload.html
+fast/dom/webtiming.html
+http/tests/misc/webtiming-one-redirect.php
+http/tests/misc/webtiming-two-redirects.php
diff --git a/LayoutTests/platform/mac/Skipped b/LayoutTests/platform/mac/Skipped
index 8063621..41d30e9 100644
--- a/LayoutTests/platform/mac/Skipped
+++ b/LayoutTests/platform/mac/Skipped
@@ -287,3 +287,13 @@ fast/images/large-size-image-crash.html
 
 # Directory upload is not enabled.
 fast/forms/input-file-directory-upload.html
+
+# Web Timing is not enabled.
+# https://bugs.webkit.org/show_bug.cgi?id=42434
+fast/dom/Window/window-properties-performance.html
+fast/dom/navigation-type-back-forward.html
+fast/dom/navigation-type-navigate.html
+fast/dom/navigation-type-reload.html
+fast/dom/webtiming.html
+http/tests/misc/webtiming-one-redirect.php
+http/tests/misc/webtiming-two-redirects.php
diff --git a/LayoutTests/platform/qt/Skipped b/LayoutTests/platform/qt/Skipped
index c30fb16..bacef49 100644
--- a/LayoutTests/platform/qt/Skipped
+++ b/LayoutTests/platform/qt/Skipped
@@ -5463,6 +5463,15 @@ inspector/timeline-recalculate-styles.html
 
 # Directory upload is not enabled.
 fast/forms/input-file-directory-upload.html
-
 # Need setPrinting. See https://bugs.webkit.org/show_bug.cgi?id=20011
 printing/setPrinting.html
+
+# Web Timing is not enabled.
+# https://bugs.webkit.org/show_bug.cgi?id=42433
+fast/dom/Window/window-properties-performance.html
+fast/dom/navigation-type-back-forward.html
+fast/dom/navigation-type-navigate.html
+fast/dom/navigation-type-reload.html
+fast/dom/webtiming.html
+http/tests/misc/webtiming-one-redirect.php
+http/tests/misc/webtiming-two-redirects.php
diff --git a/LayoutTests/platform/win/Skipped b/LayoutTests/platform/win/Skipped
index e0e5695..cda76a0 100644
--- a/LayoutTests/platform/win/Skipped
+++ b/LayoutTests/platform/win/Skipped
@@ -959,3 +959,14 @@ fast/forms/input-file-directory-upload.html
 
 # Need setPrinting. See https://bugs.webkit.org/show_bug.cgi?id=20011
 printing/setPrinting.html
+
+# Web Timing is not enabled.
+# https://bugs.webkit.org/show_bug.cgi?id=42435
+fast/dom/Window/window-properties-performance.html
+fast/dom/navigation-type-back-forward.html
+fast/dom/navigation-type-navigate.html
+fast/dom/navigation-type-reload.html
+fast/dom/webtiming.html
+http/tests/misc/webtiming-one-redirect.php
+http/tests/misc/webtiming-two-redirects.php
+
diff --git a/WebKit/chromium/ChangeLog b/WebKit/chromium/ChangeLog
index 104f043..a1ddb68 100644
--- a/WebKit/chromium/ChangeLog
+++ b/WebKit/chromium/ChangeLog
@@ -1,3 +1,12 @@
+2010-07-15  Tony Gentilcore  <tonyg at chromium.org>
+
+        Reviewed by Darin Fisher.
+
+        Enable window.webkitPerformance (Web Timing) for chromium
+        https://bugs.webkit.org/show_bug.cgi?id=42313
+
+        * features.gypi:
+
 2010-07-16  Sheriff Bot  <webkit.review.bot at gmail.com>
 
         Unreviewed, rolling out r63551.
diff --git a/WebKit/chromium/features.gypi b/WebKit/chromium/features.gypi
index a280f4f..eadce7e 100644
--- a/WebKit/chromium/features.gypi
+++ b/WebKit/chromium/features.gypi
@@ -76,7 +76,7 @@
         'ENABLE_TOUCH_EVENTS=1',
         'ENABLE_VIDEO=1',
         'ENABLE_WEB_SOCKETS=1',
-        'ENABLE_WEB_TIMING=0',
+        'ENABLE_WEB_TIMING=1',
         'ENABLE_WORKERS=1',
         'ENABLE_XHTMLMP=0',
         'ENABLE_XPATH=1',

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list