Bug 98066

Summary: WebDocument doesn't export document language to outside users.
Product: WebKit Reporter: Brian White <bcwhite>
Component: WebKit Misc.Assignee: Brian White <bcwhite>
Status: RESOLVED FIXED    
Severity: Normal CC: abarth, dglazkov, fishd, jamesr, tkent+wkapi, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Brian White 2012-10-01 14:02:28 PDT
The WebDocument class does not make available the determined "content-language" to users of that class.

Patch forthcoming...

-- Brian
Comment 1 Brian White 2012-10-02 10:34:41 PDT
Created attachment 166709 [details]
Patch
Comment 2 WebKit Review Bot 2012-10-02 10:36:00 PDT
Please wait for approval from abarth@webkit.org, dglazkov@chromium.org, fishd@chromium.org, jamesr@chromium.org or tkent@chromium.org before submitting, as this patch contains changes to the Chromium public API. See also https://trac.webkit.org/wiki/ChromiumWebKitAPI.
Comment 3 WebKit Review Bot 2012-10-02 11:51:22 PDT
Comment on attachment 166709 [details]
Patch

Clearing flags on attachment: 166709

Committed r130191: <http://trac.webkit.org/changeset/130191>
Comment 4 WebKit Review Bot 2012-10-02 11:51:25 PDT
All reviewed patches have been landed.  Closing bug.
Comment 5 Alexey Proskuryakov 2012-10-02 15:35:10 PDT
Please note that Content-Language is not "document language". It's "intended audience language".

This distinction becomes of importance when dealing with a language textbook, for example.
Comment 6 Adam Barth 2012-10-02 16:12:53 PDT
Brian, would you be willing to add a comment to that effect to the API header?
Comment 7 Brian White 2012-10-03 06:45:16 PDT
Interesting!  Unexpected, but understandable.

The patch has been accepted and "landed" so I assume that means I can't just submit a new patch with the comment.  How do I proceed?

-- Brian
Comment 8 Adam Barth 2012-10-03 09:46:11 PDT
Please create a new bug and attach the patch that adds the comment.  You can link from this bug to that bug by including the URL in a comment.