[Webkit-unassigned] [Bug 44734] Add LocalFileSystem.requestFileSystem interface to DOMWindow

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Aug 28 21:33:43 PDT 2010


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





--- Comment #4 from Kinuko Yasuda <kinuko at chromium.org>  2010-08-28 21:33:43 PST ---
(In reply to comment #2)
> (From update of attachment 65794 [details])
> WebCore/page/DOMWindow.cpp:740
>  +          errorCallback->handleEvent(FileError::create(INVALID_STATE_ERR).get());
> i asked this question on the other code review, but shouldn't these dom events be
> dispatched asynchronously?  otherwise, we end up nesting JS -> C++ -> JS calls,
> which is never a great thing to do.  does the spec say anything about this?  it
> seems like it would be nice to always dispatch callbacks asynchronously for
> consistency.

Fixed.  (The fix depends on the other change for bug 44732)

> WebCore/page/DOMWindow.cpp:759
>  +  #define COMPILE_ASSERT_MATCHING_ENUM(domwindowname, asyncfsname) \
> since there are only two enum values being compared here, it might not be worth defining the macro:

Fixed.

> WebCore/page/Settings.h:243
>  +  #if ENABLE(FILE_SYSTEM)
> i don't know that this setting needs to be protected by the ifdef.
> afterall, localStorageDatabasePath is not protected by ENABLE(DOM_STORAGE).

Removed the ifdefs.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list