Summary: | Add support for [EnabledAtRuntime] operations on DOMWindow | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Chris Dumez <cdumez> | ||||||||
Component: | Bindings | Assignee: | Chris Dumez <cdumez> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | CC: | achristensen, cgarcia, commit-queue, ggaren, keith_miller, mark.lam, msaboff, rniwa, saam, youennf | ||||||||
Priority: | P2 | ||||||||||
Version: | WebKit Nightly Build | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=156291 | ||||||||||
Bug Depends on: | |||||||||||
Bug Blocks: | 156113 | ||||||||||
Attachments: |
|
Description
Chris Dumez
2016-04-05 18:48:13 PDT
Created attachment 275742 [details]
WIP Patch for ews
Created attachment 275743 [details]
WIP Patch for ews
Created attachment 275752 [details]
Patch
This generates the following in JSDOMWindow::finishCreation(): #if ENABLE(FETCH_API) if (RuntimeEnabledFeatures::sharedFeatures().fetchAPIEnabled()) putDirectNativeFunction(vm, this, vm.propertyNames->fetch, 1, jsDOMWindowInstanceFunctionFetch, NoIntrinsic, attributesForStructure(JSC::Function)); #endif Comment on attachment 275752 [details] Patch Clearing flags on attachment: 275752 Committed r199096: <http://trac.webkit.org/changeset/199096> All reviewed patches have been landed. Closing bug. |