I attempted to do this by marking the methods [Exposed=...] but ran into a linking issue since there are partials that override in modules (URLMediaSource, URLMediaStream). I tried introducing a URLFileAPI.idl partial with [Exposed] but the [Exposed] was ignored. All the permutations I tried marking the methods with [Exposed] lead to the same linker error:
gen/blink/bindings/modules/v8/V8URLPartial.cpp:41: error: undefined reference to 'blink::V8URL::preparePrototypeAndInterfaceObject(v8::Local<v8::Context>, blink::DOMWrapperWorld const&, v8::Local<v8::Object>, v8::Local<v8::Function>, v8::Local<v8::FunctionTemplate>)'
Maybe someone can beat me to a fix.
Yes, although it won't be a simple merge since since one of the files (URLFileAPI.cpp) was factored out in #c5. The change there will need to be applied to DOMURL.cpp instead.
Comment 1 by jsb...@chromium.org
, Apr 20 2016