summaryrefslogtreecommitdiffstats
path: root/webkit/port/bindings
diff options
context:
space:
mode:
authorericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-07 19:03:32 +0000
committerericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-07 19:03:32 +0000
commitcf5e1beaa20d2cd67296a45c779378f44363dc7f (patch)
treedb04a9d7923fd93f95d3e38cd0fbce134b2ef463 /webkit/port/bindings
parent37a4d3c48ce25dbac523034d257135f207ed01ec (diff)
downloadchromium_src-cf5e1beaa20d2cd67296a45c779378f44363dc7f.zip
chromium_src-cf5e1beaa20d2cd67296a45c779378f44363dc7f.tar.gz
chromium_src-cf5e1beaa20d2cd67296a45c779378f44363dc7f.tar.bz2
Fix 3 layout tests, annotate 3 others.
- Add missing binding for activeElement (http://trac.webkit.org/changeset/30866) - Add missing binding for hasFocus - Account for system colors in expected results (http://trac.webkit.org/changeset/28775) - Remove custom "HTMLDocument.idl:clear" method. Review URL: http://codereview.chromium.org/6298 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2954 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/port/bindings')
-rw-r--r--webkit/port/bindings/v8/v8_custom.cpp12
-rw-r--r--webkit/port/bindings/v8/v8_custom.h1
2 files changed, 0 insertions, 13 deletions
diff --git a/webkit/port/bindings/v8/v8_custom.cpp b/webkit/port/bindings/v8/v8_custom.cpp
index 3986295..325ae92 100644
--- a/webkit/port/bindings/v8/v8_custom.cpp
+++ b/webkit/port/bindings/v8/v8_custom.cpp
@@ -2654,18 +2654,6 @@ CALLBACK_FUNC_DECL(HTMLDocumentOpen) {
return v8::Undefined();
}
-CALLBACK_FUNC_DECL(HTMLDocumentClear) {
- INC_STATS(L"DOM.HTMLDocument.clear()");
- // Do nothing (unimplemented)
-
- // KJS's bindings do do the same thing in JSHTMLDocument::clear().
- // Invoking HTMLDocument::clear() can cause a crash, since it
- // deletes the document's tokenizer while it may still be in use.
- // See b:1055485 for details.
- return v8::Undefined();
-}
-
-
// Document --------------------------------------------------------------------
CALLBACK_FUNC_DECL(DocumentEvaluate) {
diff --git a/webkit/port/bindings/v8/v8_custom.h b/webkit/port/bindings/v8/v8_custom.h
index 6c60e33..776f6fd 100644
--- a/webkit/port/bindings/v8/v8_custom.h
+++ b/webkit/port/bindings/v8/v8_custom.h
@@ -195,7 +195,6 @@ DECLARE_CALLBACK(HTMLOptionsCollectionAdd)
DECLARE_CALLBACK(HTMLDocumentWrite)
DECLARE_CALLBACK(HTMLDocumentWriteln)
DECLARE_CALLBACK(HTMLDocumentOpen)
-DECLARE_CALLBACK(HTMLDocumentClear)
// Document customized functions
DECLARE_CALLBACK(DocumentEvaluate)