Bug 90002 - WebKitGTK+ GObject DOM bindings do not support Uint8Array
Summary: WebKitGTK+ GObject DOM bindings do not support Uint8Array
Status: UNCONFIRMED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-26 12:09 PDT by Pavel Pergamenshchik
Modified: 2017-03-11 10:49 PST (History)
3 users (show)

See Also:


Attachments
hacky patch (3.48 KB, patch)
2012-06-26 12:17 PDT, Pavel Pergamenshchik
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Pergamenshchik 2012-06-26 12:09:08 PDT
So I tried to compile GTK port with --media-source, and got errors like this:

In file included from ./DerivedSources/webkit/WebKitDOMHTMLAudioElement.h:27,
                 from ./DerivedSources/webkit/webkitdom.h:62,
                 from Source/WebCore/bindings/gobject/WebKitHTMLElementWrapperFactory.cpp:152:
./DerivedSources/webkit/WebKitDOMHTMLMediaElement.h:101: error: ‘WebKitDOMUint8Array’ has not been declared
make[1]: *** [Source/WebCore/bindings/gobject/libwebkitgtk_3_0_la-WebKitHTMLElementWrapperFactory.lo] Error 1


I attached a patch I'm using to work around this. The namespace kludge is because Uint8Array lives in WTF, but CodeGeneratorGObject.pm insists on prefixing things with WebCore::
Comment 1 Pavel Pergamenshchik 2012-06-26 12:17:07 PDT
Created attachment 149583 [details]
hacky patch
Comment 2 Philippe Normand 2012-09-04 05:49:08 PDT
The GTK port doesn't support the MediaSource API yet.