Closed Bug 1379490 Opened 7 years ago Closed 6 years ago

Query capabilities configuration in frame script from chrome

Categories

(Remote Protocol :: Marionette, enhancement, P3)

Version 3
enhancement

Tracking

(firefox59 fixed)

RESOLVED FIXED
mozilla59
Tracking Status
firefox59 --- fixed

People

(Reporter: ato, Assigned: ato)

References

Details

Attachments

(1 file)

Instead of passing capabilities to the content frame script when it attaches (Marionette:listnersAttached) we should either send the required information as part of the command IPC message or introduce a synchronous query service for the frame script to get the current capability state.

For example, if a user calls the Set Timeouts command or a capability otherwise changes at runtime, between when a frame script has registered and an IPC message using this state is invoked, there is always a chance the capabilities cache in listener.js is outdated.
Priority: -- → P3
Assignee: nobody → ato
Status: NEW → ASSIGNED
Summary: Query capabilities configuration from content frame script → Query capabilities configuration in frame script from chrome
Comment on attachment 8939367 [details]
Bug 1379490 - Query capabilities configuration from chrome.

https://reviewboard.mozilla.org/r/209738/#review216580
Attachment #8939367 - Flags: review?(dburns) → review+
Pushed by atolfsen@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2102ecc18aef
Query capabilities configuration from chrome. r=automatedtester
https://hg.mozilla.org/mozilla-central/rev/2102ecc18aef
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
Product: Testing → Remote Protocol
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: