summaryrefslogtreecommitdiffstats
path: root/WebCore/html/HTMLHtmlElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/html/HTMLHtmlElement.cpp')
-rw-r--r--WebCore/html/HTMLHtmlElement.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/WebCore/html/HTMLHtmlElement.cpp b/WebCore/html/HTMLHtmlElement.cpp
index 6205d10..6007805 100644
--- a/WebCore/html/HTMLHtmlElement.cpp
+++ b/WebCore/html/HTMLHtmlElement.cpp
@@ -50,6 +50,11 @@ PassRefPtr<HTMLHtmlElement> HTMLHtmlElement::create(const QualifiedName& tagName
return adoptRef(new HTMLHtmlElement(tagName, document));
}
+bool HTMLHtmlElement::isURLAttribute(Attribute* attribute) const
+{
+ return attribute->name() == manifestAttr;
+}
+
#if ENABLE(OFFLINE_WEB_APPLICATIONS)
void HTMLHtmlElement::insertedIntoDocument()
{
@@ -68,8 +73,8 @@ void HTMLHtmlElement::insertedIntoDocument()
// Check the manifest attribute
// FIXME: Revisit this when we get a clarification from whatwg on how to handle empty
// manifest attributes. As spec'd, and coded here, the system will initiate an update
- // passing in the document url as the manifest url. That's not a good thing.
- AtomicString manifest = getAttribute(manifestAttr);
+ // passing in the document URL as the manifest URL. That's not a good thing.
+ const AtomicString& manifest = getAttribute(manifestAttr);
if (manifest.isNull())
documentLoader->applicationCacheHost()->selectCacheWithoutManifest();
else