Bug 62831 - [Chromium] Add WebDocument APIs for the functions moving from WebFrame
Summary: [Chromium] Add WebDocument APIs for the functions moving from WebFrame
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Adam Barth
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-16 15:55 PDT by Adam Barth
Modified: 2011-06-22 17:39 PDT (History)
2 users (show)

See Also:


Attachments
Patch (17.90 KB, patch)
2011-06-16 16:01 PDT, Adam Barth
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Barth 2011-06-16 15:55:38 PDT
[Chromium] Add WebDocument APIs for the functions moving from WebFrame
Comment 1 Adam Barth 2011-06-16 16:01:06 PDT
Created attachment 97516 [details]
Patch
Comment 2 Darin Fisher (:fishd, Google) 2011-06-17 11:16:15 PDT
Comment on attachment 97516 [details]
Patch

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

> Source/WebCore/dom/Document.cpp:3952
> +    // FIXME: Why do only top-level frames have openSearchDescriptionURLs?

If this condition matters to Chromium, then I think we should move it to Chromium.
It definitely doesn't make sense here.

> Source/WebCore/dom/Document.cpp:3956
> +    // FIXME: Why do we need to wait for FrameStateComplete?

I don't know the history of this check, but if Chromium cares to know the loading state before querying this field,
then that also seems like something Chromium should do on its own.
Comment 3 Adam Barth 2011-06-17 11:19:24 PDT
When I move the callers of the APIs over to the new location, I'll get to look at all of them and that will give us a good sense for whether / how to lift these restrictions.
Comment 4 Darin Fisher (:fishd, Google) 2011-06-17 11:26:33 PDT
OK... you might also consider keeping the restrictions in WebDocument.cpp since they seem at best a Chromium specific quirk.
Comment 5 Adam Barth 2011-06-17 11:27:10 PDT
Comment on attachment 97516 [details]
Patch

Ok.  Will do before landing.
Comment 6 Adam Barth 2011-06-22 14:20:40 PDT
Comment on attachment 97516 [details]
Patch

Chromium try job success.
Comment 7 WebKit Review Bot 2011-06-22 17:37:32 PDT
The commit-queue encountered the following flaky tests while processing attachment 97516 [details]:

fast/filesystem/filesystem-uri-origin.html bug 63206 (author: adamk@chromium.org)
The commit-queue is continuing to process your patch.
Comment 8 WebKit Review Bot 2011-06-22 17:39:24 PDT
Comment on attachment 97516 [details]
Patch

Clearing flags on attachment: 97516

Committed r89504: <http://trac.webkit.org/changeset/89504>
Comment 9 WebKit Review Bot 2011-06-22 17:39:28 PDT
All reviewed patches have been landed.  Closing bug.