Bug 107277 - JSC code generations fails on SVG animated type getters that throw exceptions
Summary: JSC code generations fails on SVG animated type getters that throw exceptions
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 106957
  Show dependency treegraph
 
Reported: 2013-01-18 06:48 PST by Stephen Chenney
Modified: 2013-01-18 09:48 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephen Chenney 2013-01-18 06:48:21 PST
I tried to fix https://bugs.webkit.org/show_bug.cgi?id=106957 by adding exceptions to the IDL for SVGViewSpec. See the early patch on that bug. That patch fails with JSC platforms because the result from the code generation of bindings is to call, for example, SVGViewSpec::viewBox, instead of the correct SVGViewSpec::animatedViewBox. The correct method is called in the absence of the exception in the idl.

It seems highly likely that whatever code path handles SVG animated types in code generation from idls takes a different path when generating exception handling code. The exception handing generation clearly misses the special handling required for SVG animated types.

I will look into trying to fix this.