[SCM] WebKit Debian packaging branch, debian/experimental, updated. debian/1.3.8-1-1049-g2e11a8e
podivilov at chromium.org
podivilov at chromium.org
Fri Jan 21 15:14:13 UTC 2011
The following commit has been merged in the debian/experimental branch:
commit bcfa124e0f76e72d9787dfaaaf1d2538b71a3284
Author: podivilov at chromium.org <podivilov at chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Mon Jan 10 14:39:44 2011 +0000
2011-01-10 Pavel Podivilov <podivilov at chromium.org>
Reviewed by Pavel Feldman.
Web Inspector: make properties on Array's prototype non-enumerable.
https://bugs.webkit.org/show_bug.cgi?id=51776
* inspector/front-end/utilities.js:
():
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75370 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/Source/WebCore/ChangeLog b/Source/WebCore/ChangeLog
index dbf6b41..e4db477 100644
--- a/Source/WebCore/ChangeLog
+++ b/Source/WebCore/ChangeLog
@@ -1,3 +1,13 @@
+2011-01-10 Pavel Podivilov <podivilov at chromium.org>
+
+ Reviewed by Pavel Feldman.
+
+ Web Inspector: make properties on Array's prototype non-enumerable.
+ https://bugs.webkit.org/show_bug.cgi?id=51776
+
+ * inspector/front-end/utilities.js:
+ ():
+
2011-01-10 Yael Aharon <yael.aharon at nokia.com>
Reviewed by Simon Fraser.
diff --git a/Source/WebCore/inspector/front-end/utilities.js b/Source/WebCore/inspector/front-end/utilities.js
index 688e080..11f6386 100644
--- a/Source/WebCore/inspector/front-end/utilities.js
+++ b/Source/WebCore/inspector/front-end/utilities.js
@@ -715,7 +715,7 @@ HTMLTextAreaElement.prototype.moveCursorToEnd = function()
this.setSelectionRange(length, length);
}
-Array.prototype.remove = function(value, onlyFirst)
+Object.defineProperty(Array.prototype, "remove", { value: function(value, onlyFirst)
{
if (onlyFirst) {
var index = this.indexOf(value);
@@ -729,15 +729,15 @@ Array.prototype.remove = function(value, onlyFirst)
if (this[i] === value)
this.splice(i, 1);
}
-}
+}});
-Array.prototype.keySet = function()
+Object.defineProperty(Array.prototype, "keySet", { value: function()
{
var keys = {};
for (var i = 0; i < this.length; ++i)
keys[this[i]] = true;
return keys;
-}
+}});
Array.diff = function(left, right)
{
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list