diff options
| author | Shimeng (Simon) Wang <swang@google.com> | 2010-02-25 11:14:31 -0800 |
|---|---|---|
| committer | Shimeng (Simon) Wang <swang@google.com> | 2010-02-25 11:14:31 -0800 |
| commit | 0548b83ee9025417b7c52abfb41b7322072bdab1 (patch) | |
| tree | 9fcf4eae51ad4a79a52a3e06b96948b0520fd4e0 /WebCore/WebCorePrefix.cpp | |
| parent | 1a36e9dec885137611163ae58ee253a64560514c (diff) | |
| download | external_webkit-0548b83ee9025417b7c52abfb41b7322072bdab1.zip external_webkit-0548b83ee9025417b7c52abfb41b7322072bdab1.tar.gz external_webkit-0548b83ee9025417b7c52abfb41b7322072bdab1.tar.bz2 | |
Prevent unsafe upper casting by checking Element's namespaceURI.
For some website, when elements are created, somehow the tagName's
namespaceURI is empty, so for "form" element, Element node is created
instead of expected HTMLFormElement.
Bug: 2461358
modified: WebKit/android/jni/WebCoreFrameBridge.cpp
Diffstat (limited to 'WebCore/WebCorePrefix.cpp')
0 files changed, 0 insertions, 0 deletions
