Make auto-complete only suggest properties that are valid syntax
[WebKit-https.git] / WebCore / ChangeLog
index 90654ff681b71ff3f376d7e93a558f212bde9286..af74a3068dc5598109d2994d943e12b125d13c06 100644 (file)
@@ -1,3 +1,19 @@
+2008-10-20  Timothy Hatcher  <timothy@apple.com>
+
+        Make auto-complete only suggest properties that are valid syntax
+        when using dot-notation. Also when completing numeric properties,
+        the quotes are omitted inside the brackets.
+
+        https://bugs.webkit.org/show_bug.cgi?id=21760
+        https://bugs.webkit.org/show_bug.cgi?id=21761
+
+        Reviewed by Oliver Hunt.
+
+        * inspector/front-end/Console.js:
+        (WebInspector.Console.prototype.completions): Skip properties that
+        are not valid identifies when using dot-notation. And omit the quotes
+        when completing numbers in bracket-notation.
+
 2008-10-20  Timothy Hatcher  <timothy@apple.com>
 
         Fixes the Profiles panel in the Web Inspector, which was broken by