[SCM] WebKit Debian packaging branch, debian/experimental, updated. debian/1.3.8-1-1049-g2e11a8e

inferno at chromium.org inferno at chromium.org
Fri Jan 21 15:03:00 UTC 2011


The following commit has been merged in the debian/experimental branch:
commit 7f3b8253e2530eee0aa2c2150b83b7270b82aa44
Author: inferno at chromium.org <inferno at chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Thu Jan 6 19:23:58 2011 +0000

    2011-01-06  Abhishek Arya  <inferno at chromium.org>
    
            Reviewed by Alexey Proskuryakov.
    
            Improve the layouttests from r75168 and make sure that the parent stylesheet value is null
            before showing test passed.
    
            * fast/dom/StyleSheet/removed-media-rule-deleted-parent-crash.html:
            * fast/dom/StyleSheet/removed-stylesheet-rule-deleted-parent-crash.html:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75173 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog
index 0ad6f0c..388d5e3 100644
--- a/LayoutTests/ChangeLog
+++ b/LayoutTests/ChangeLog
@@ -1,3 +1,13 @@
+2011-01-06  Abhishek Arya  <inferno at chromium.org>
+
+        Reviewed by Alexey Proskuryakov.
+
+        Improve the layouttests from r75168 and make sure that the parent stylesheet value is null
+        before showing test passed.
+
+        * fast/dom/StyleSheet/removed-media-rule-deleted-parent-crash.html:
+        * fast/dom/StyleSheet/removed-stylesheet-rule-deleted-parent-crash.html:
+
 2011-01-06  James Robinson  <jamesr at chromium.org>
 
         Reviewed by Simon Fraser.
diff --git a/LayoutTests/fast/dom/StyleSheet/removed-media-rule-deleted-parent-crash.html b/LayoutTests/fast/dom/StyleSheet/removed-media-rule-deleted-parent-crash.html
index 65d8cd8..6459558 100644
--- a/LayoutTests/fast/dom/StyleSheet/removed-media-rule-deleted-parent-crash.html
+++ b/LayoutTests/fast/dom/StyleSheet/removed-media-rule-deleted-parent-crash.html
@@ -19,9 +19,9 @@ function runTest()
     document.head.removeChild(style);
     
     gc();
-    obj = ruleList[0].parentStyleSheet;
 
-    document.getElementById('result').innerHTML = "PASS";
+    if (!ruleList[0].parentStyleSheet)
+        document.getElementById('result').innerHTML = "PASS";
     if (window.layoutTestController)
         layoutTestController.notifyDone();
 }
diff --git a/LayoutTests/fast/dom/StyleSheet/removed-stylesheet-rule-deleted-parent-crash.html b/LayoutTests/fast/dom/StyleSheet/removed-stylesheet-rule-deleted-parent-crash.html
index f4c6161..0523c50 100644
--- a/LayoutTests/fast/dom/StyleSheet/removed-stylesheet-rule-deleted-parent-crash.html
+++ b/LayoutTests/fast/dom/StyleSheet/removed-stylesheet-rule-deleted-parent-crash.html
@@ -19,9 +19,9 @@ function runTest()
     document.head.removeChild(style);
 
     gc();
-    obj = ruleList[0].parentStyleSheet;
 
-    document.getElementById('result').innerHTML = "PASS";
+    if (!ruleList[0].parentStyleSheet)
+        document.getElementById('result').innerHTML = "PASS";
     if (window.layoutTestController)
         layoutTestController.notifyDone();
 }

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list