Remove getProperty Class hook from StatementJSHelper and AsyncStatementJSHelper

RESOLVED FIXED in Firefox 57

Status

()

Toolkit
Storage
RESOLVED FIXED
2 months ago
2 months ago

People

(Reporter: jandem, Assigned: jandem)

Tracking

unspecified
mozilla57
Points:
---

Firefox Tracking Flags

(firefox57 fixed)

Details

Attachments

(1 attachment)

(Assignee)

Description

2 months ago
Created attachment 8896982 [details] [diff] [review]
Patch

We want to remove these ClassOps, see bug 1389510. There's more to do for storage/ but these *StatementJSHelper ones are easy to fix.

In bug 1389510 comment 3 bz mentioned we could remove these JSHelper classes completely and use IDL for the "params" and "row" properties. That's a lot more complicated though - the easiest fix is to replace the getProperty hook with a resolve hook that defines the property.
Attachment #8896982 - Flags: review?(mrbkap)
Comment on attachment 8896982 [details] [diff] [review]
Patch

Please do file follow bugs on getting rid of these scriptable helpers.
Attachment #8896982 - Flags: review?(mrbkap) → review+

Comment 2

2 months ago
Pushed by jandemooij@gmail.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/35622c347169
Remove getProperty Class hook from StatementJSHelper and AsyncStatementJSHelper. r=mrbkap
(Assignee)

Comment 3

2 months ago
(In reply to Blake Kaplan (:mrbkap) from comment #1)
> Please do file follow bugs on getting rid of these scriptable helpers.

Filed bug 1390528.

Comment 4

2 months ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/35622c347169
Status: ASSIGNED → RESOLVED
Last Resolved: 2 months ago
status-firefox57: --- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla57
You need to log in before you can comment on or make changes to this bug.