Closed Bug 1279428 Opened 8 years ago Closed 7 years ago

(Potentially) Deprecate channel->AsyncOpen()

Categories

(Core :: DOM: Security, defect, P4)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1411609

People

(Reporter: ckerschb, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [domsecurity-backlog])

Attachments

(1 file)

I am not sure if we will be able to deprecate asyncOpen() that easily, because lots of addons still rely on it. Since we are getting closer with converting all callsites within Gecko to use AsyncOpen2() however, we should discuss options. There are several options: [please note that the following list is not complete] * Keep AsyncOpen() and AsyncOpen2() in parallel (basically what we have right now) and just have AsyncOpen2() forward it's calls to asyncOpen(). * Remove AsyncOpen() and move logic from AsyncOpen() into AsyncOpen2(). * ... Whatever we decide, this change will affect addons and if we decide to deprecate asyncOpen() then we should start adding deprecation warnings.
Blocks: 1006868
Summary: Deprecate channel->AsyncOpen() → (Potentially) Deprecate channel->AsyncOpen()
Whiteboard: [domsecurity-backlog]
Priority: -- → P4
Here is a current WIP patch which we can use to make sure all gecko internals rely on asyncOpen2() rather than calling asyncOpen().
Pat, would it make sense for FF58 to remove asyncOpen(). Potentially even remove the functionality of asyncOpen() and have asyncOpen2() be renamed to asyncOpen()?
Flags: needinfo?(mcmanus)
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Clearing the ni? for Pat since we are going to track progress over in Bug 1411609.
Flags: needinfo?(mcmanus)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: