| Summary: | Binding generator should allow using JSC::Value for "any" parameter in lieu of ScriptValue | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | youenn fablet <youennf> | ||||
| Component: | WebCore Misc. | Assignee: | youenn fablet <youennf> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | calvaris, commit-queue, darin | ||||
| Priority: | P2 | ||||||
| Version: | 528+ (Nightly build) | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
|
Description
youenn fablet
2015-06-28 23:17:19 PDT
Created attachment 255738 [details]
Patch
Comment on attachment 255738 [details]
Patch
This change is OK. But our longer term plan should be to entirely remove the ScriptValue class from WebCore.
(In reply to comment #2) > Comment on attachment 255738 [details] > Patch > > This change is OK. But our longer term plan should be to entirely remove the > ScriptValue class from WebCore. I looked first at doing the whole thing. Changes seem too big for one patch. Except for IndexedDB, this might be ok as one patch. But IndexedDB is doing extensive use of ScriptValue. Plus using PassRefPtr and somehow inconsistent use of ExecState/ScriptExecutionContext, this means quite a bit of refactoring. Is there anybody actively taking care of IndexedDB I can cc? Also should there be communication to make sure future APIs use "any" as JSC::JSValue or is Deprecated namespace good enough? Comment on attachment 255738 [details] Patch Clearing flags on attachment: 255738 Committed r186076: <http://trac.webkit.org/changeset/186076> All reviewed patches have been landed. Closing bug. (In reply to comment #3) > Is there anybody actively taking care of IndexedDB I can cc? Brady Eidson is doing some IndexedDB work, but not sure how much and who else would be interested. I talked to someone recently, maybe Sam, about generally tidying things up in that class. > Also should there be communication to make sure future APIs use "any" as > JSC::JSValue or is Deprecated namespace good enough? Communication or documentation would be fine. Renaming ScriptValue to DeprecatedScriptValue might be super-helpful. That worked fine back in the old days with many classes, even including one of our String classes back when we had multiple ones. |