[Webkit-unassigned] [Bug 132269] Document.contentType implementation

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 16 10:01:04 PST 2014


https://bugs.webkit.org/show_bug.cgi?id=132269

--- Comment #41 from Tibor Mészáros <tmeszaros.u-szeged at partner.samsung.com> ---
Comment on attachment 243120
  --> https://bugs.webkit.org/attachment.cgi?id=243120
Patch v8

View in context: https://bugs.webkit.org/attachment.cgi?id=243120&action=review

>> Source/WebCore/dom/Document.h:469
>> +    String contentType() const; // DOM 4 document.contentType
> 
> I don’t think this comment is helpful. We don’t want to comment every function with the standard it comes from.

This was removed.

>> Source/WebCore/dom/Document.idl:108
>> +    // DOM 4
> 
> I’ve heard there is no standard any more named “DOM 4”, so we might just want to leave this comment out.

This was removed.

>> Source/WebCore/loader/DocumentLoader.h:121
>> +        const String& mimeType() const;
> 
> Please consider changing the name as I requested. I gave my rationale in a comment in the bug.

This was changed to currentContentType.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20141216/e1a8d8f7/attachment-0002.html>


More information about the webkit-unassigned mailing list