[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc
abarth at webkit.org
abarth at webkit.org
Wed Dec 22 12:06:05 UTC 2010
The following commit has been merged in the debian/experimental branch:
commit d61d7c0bc4edad74489d9012f4369956bc5dc292
Author: abarth at webkit.org <abarth at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Sat Aug 14 06:03:37 2010 +0000
2010-08-13 Adam Barth <abarth at webkit.org>
Reviewed by Eric Seidel.
Make it easier to run LayoutTests in Firefox
https://bugs.webkit.org/show_bug.cgi?id=44002
Firefox doesn't seem to have innerText. Instead, let's just use the
normal DOM operations.
* fast/parser/resources/p-in-scope.js:
* fast/table/incomplete-table-in-fragment-2.html:
* fast/table/incomplete-table-in-fragment-hang.html:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65357 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog
index 8a562f9..69800f2 100644
--- a/LayoutTests/ChangeLog
+++ b/LayoutTests/ChangeLog
@@ -1,5 +1,19 @@
2010-08-13 Adam Barth <abarth at webkit.org>
+ Reviewed by Eric Seidel.
+
+ Make it easier to run LayoutTests in Firefox
+ https://bugs.webkit.org/show_bug.cgi?id=44002
+
+ Firefox doesn't seem to have innerText. Instead, let's just use the
+ normal DOM operations.
+
+ * fast/parser/resources/p-in-scope.js:
+ * fast/table/incomplete-table-in-fragment-2.html:
+ * fast/table/incomplete-table-in-fragment-hang.html:
+
+2010-08-13 Adam Barth <abarth at webkit.org>
+
Update test expectations to account for the HTML5 entity parser. There
are two main differences:
diff --git a/LayoutTests/fast/parser/resources/p-in-scope.js b/LayoutTests/fast/parser/resources/p-in-scope.js
index 41a6523..e0f7222 100644
--- a/LayoutTests/fast/parser/resources/p-in-scope.js
+++ b/LayoutTests/fast/parser/resources/p-in-scope.js
@@ -126,12 +126,12 @@ for (var i = 0; i < leafTags.length; ++i) {
var asChild = testAsChild(tag);
var cell = row.appendChild(document.createElement("td"));
cell.className = asChild;
- cell.innerText = asChild == "allowed" ? "+" : asChild == "closed" ? "-" : "?";
+ cell.appendChild(document.createTextNode(asChild == "allowed" ? "+" : asChild == "closed" ? "-" : "?"));
for (var j = 0; j < intermediateTags.length; ++j) {
var intermediateTag = intermediateTags[j];
var asGrandchild = testAsGrandchild(tag, intermediateTag);
cell = row.appendChild(document.createElement("td"));
cell.className = asGrandchild;
- cell.innerText = asGrandchild == "allowed" ? "+" : asGrandchild == "closed" ? "-" : "?";
+ cell.appendChild(document.createTextNode(asGrandchild == "allowed" ? "+" : asGrandchild == "closed" ? "-" : "?"));
}
}
diff --git a/LayoutTests/fast/table/incomplete-table-in-fragment-2.html b/LayoutTests/fast/table/incomplete-table-in-fragment-2.html
index 82a0ab0..6909ec1 100644
--- a/LayoutTests/fast/table/incomplete-table-in-fragment-2.html
+++ b/LayoutTests/fast/table/incomplete-table-in-fragment-2.html
@@ -15,7 +15,7 @@ var console = document.getElementById('console');
function log(t)
{
var line = document.createElement('div');
- line.innerText = t;
+ line.appendChild(document.createTextNode(t));
console.appendChild(line);
}
diff --git a/LayoutTests/fast/table/incomplete-table-in-fragment-hang.html b/LayoutTests/fast/table/incomplete-table-in-fragment-hang.html
index 1127274..9539c0b 100644
--- a/LayoutTests/fast/table/incomplete-table-in-fragment-hang.html
+++ b/LayoutTests/fast/table/incomplete-table-in-fragment-hang.html
@@ -15,7 +15,7 @@ var console = document.getElementById('console');
function log(t)
{
var line = document.createElement('div');
- line.innerText = t;
+ line.appendChild(document.createTextNode(t));
console.appendChild(line);
}
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list