[Webkit-unassigned] [Bug 34495] New: ENABLE_DATABASE and ENABLE_DOM_STORAGE don't work in IDL files.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 2 12:22:22 PST 2010


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

           Summary: ENABLE_DATABASE and ENABLE_DOM_STORAGE don't work in
                    IDL files.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: lyon.chen at torchmobile.com
                CC: staikos at kde.org, yong.li.webkit at gmail.com


In following files, "#if defined(ENABLE_DATABASE) && ENABLE_DATABASE" and/or
"#if defined(ENABLE_DOM_STORAGE) && ENABLE_DOM_STORAGE" are used and they don't
work if ENABLE_DATABASE is defined as 0. But change them to #if
ENABLE(DATABASE) or #if ENABLE(DOM_STORAGE) will work.

WebCore/inspector/InjectedScriptHost.idl
WebCore/inspector/InspectorBackend.idl
WebCore/page/DOMWindow.idl
WebCore/page/Navigator.idl

This seems a bug in the tool CodeGeneratorJS.pm, but seems ENABLE(XXX) is more
widely used, so maybe anyway we should change to use this format (ENABLE(XXX).

-- 
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