[SCM] WebKit Debian packaging branch, webkit-1.2, updated. upstream/1.1.90-6072-g9a69373

eric at webkit.org eric at webkit.org
Wed Apr 7 23:17:41 UTC 2010


The following commit has been merged in the webkit-1.2 branch:
commit 62efd77755239eeef24d22f142572d6ccb2535c9
Author: eric at webkit.org <eric at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Sun Nov 1 20:41:15 2009 +0000

    2009-11-01  Keishi Hattori  <casey.hattori at gmail.com>
    
            Reviewed by Pavel Feldman.
    
            [Regression] monitorEvent doesn't work
    
            * inspector/front-end/InjectedScript.js:
            (InjectedScript._ensureCommandLineAPIInstalled):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@50391 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index 0b3c00d..c3ee37d 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -2,6 +2,15 @@
 
         Reviewed by Pavel Feldman.
 
+        [Regression] monitorEvent doesn't work
+
+        * inspector/front-end/InjectedScript.js:
+        (InjectedScript._ensureCommandLineAPIInstalled):
+
+2009-11-01  Keishi Hattori  <casey.hattori at gmail.com>
+
+        Reviewed by Pavel Feldman.
+
         Fix Web Inspector: Bug with Message Bubble in Syntax Highlighter
         https://bugs.webkit.org/show_bug.cgi?id=30990
 
diff --git a/WebCore/inspector/front-end/InjectedScript.js b/WebCore/inspector/front-end/InjectedScript.js
index 3bed8da..32687d5 100644
--- a/WebCore/inspector/front-end/InjectedScript.js
+++ b/WebCore/inspector/front-end/InjectedScript.js
@@ -928,7 +928,7 @@ InjectedScript._ensureCommandLineAPIInstalled = function(evalFunction, evalObjec
             \"resize\", \"scroll\"], \
         _normalizeEventTypes: function(t) { \
             if (typeof t === \"undefined\") \
-                t = _inspectorCommandLineAPI._allEventTypes; \
+                t = console._inspectorCommandLineAPI._allEventTypes; \
             else if (typeof t === \"string\") \
                 t = [t]; \
             var i, te = []; \
@@ -946,18 +946,18 @@ InjectedScript._ensureCommandLineAPIInstalled = function(evalFunction, evalObjec
         monitorEvent: function(o, t) { \
             if (!o || !o.addEventListener || !o.removeEventListener) \
                 return; \
-            t = _inspectorCommandLineAPI._normalizeEventTypes(t); \
+            t = console._inspectorCommandLineAPI._normalizeEventTypes(t); \
             for (i = 0; i < t.length; i++) { \
-                o.removeEventListener(t[i], _inspectorCommandLineAPI._logEvent, false); \
-                o.addEventListener(t[i], _inspectorCommandLineAPI._logEvent, false); \
+                o.removeEventListener(t[i], console._inspectorCommandLineAPI._logEvent, false); \
+                o.addEventListener(t[i], console._inspectorCommandLineAPI._logEvent, false); \
             } \
         }, \
         unmonitorEvent: function(o, t) { \
             if (!o || !o.removeEventListener) \
                 return; \
-            t = _inspectorCommandLineAPI._normalizeEventTypes(t); \
+            t = console._inspectorCommandLineAPI._normalizeEventTypes(t); \
             for (i = 0; i < t.length; i++) { \
-                o.removeEventListener(t[i], _inspectorCommandLineAPI._logEvent, false); \
+                o.removeEventListener(t[i], console._inspectorCommandLineAPI._logEvent, false); \
             } \
         }, \
         _inspectedNodes: [], \

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list