Closed Bug 1561705 Opened 5 years ago Closed 5 years ago

Convert ChromePowers to use a regular SpecialPowers child actor

Categories

(Testing :: Mochitest, task, P3)

Version 3
task

Tracking

(Fission Milestone:M4, firefox70 fixed)

RESOLVED FIXED
mozilla70
Fission Milestone M4
Tracking Status
firefox70 --- fixed

People

(Reporter: kmag, Assigned: kmag)

References

(Regressed 3 open bugs)

Details

Attachments

(8 files)

This is a follow-up to bug 1541557.

Once SpecialPowers has been converted to a JSWindowActor, there should really be no reason not to just use it directly in chrome windows in the parent process, rather than maintaining a bunch of separate special cases for ChromePowers.js. Things should mostly Just Work.

Blocks: 1541173
No longer blocks: 1541557
Fission Milestone: --- → M4
Depends on: 1541557
Priority: -- → P3

The JSWindowActor constructor is called before the actor is fully initialized,
which means it can't do things like send messages or access its content
window. This patch adds a new callback which can do those things immediately
after the actor is created.

Attachment #9085846 - Attachment description: Bug 1561705: Part 4a - Merge SpecialPowersAPI.jsm and SpecialPowersChild.jsm. r=mccr8 → Bug 1561705: Part 4b - Merge SpecialPowersAPI.jsm and SpecialPowersChild.jsm. r=mccr8
Attachment #9085847 - Attachment description: Bug 1561705: Part 4b - Merge SpecialPowersAPIParent.jsm and SpecialPowersParent.jsm. r=mccr8 → Bug 1561705: Part 5b - Merge SpecialPowersAPIParent.jsm and SpecialPowersParent.jsm. r=mccr8
Blocks: 1574296
https://hg.mozilla.org/integration/mozilla-inbound/rev/ac3da20c687971c412d1164f08b17e0cccc5fbd5
Bug 1561705: Part 1 - Add JSWindowActor.actorCreated callback. r=jdai

https://hg.mozilla.org/integration/mozilla-inbound/rev/080ff558e41aad0cf05ca896c7f98bf4c9a2e7e9
Bug 1561705: Part 2 - Use regular SpecialPowers actor for browser chrome tests. r=mccr8

https://hg.mozilla.org/integration/mozilla-inbound/rev/cbe56a9fce5238a9bfdd0a2d226dc319380490b4
Bug 1561705: Part 3 - Get rid of remaining ChromePowers.js consumers. r=mccr8

https://hg.mozilla.org/integration/mozilla-inbound/rev/7c7d41b7baca9755a3a44f2c35c84b5c2352eb93
Bug 1561705: Part 4a - Remove SpecialPowersChild.jsm in preparation for merge with SpecialPowersAPI.jsm. r=mccr8

https://hg.mozilla.org/integration/mozilla-inbound/rev/dad7319f1f6cf3ebaa3f4f68fb3124492311a017
Bug 1561705: Part 4b - Merge SpecialPowersAPI.jsm and SpecialPowersChild.jsm. r=mccr8

https://hg.mozilla.org/integration/mozilla-inbound/rev/40a1794e0c0ec4d13533b2343a66448502e2b8b2
Bug 1561705: Part 5a - Remove SpecialPowersParent.jsm in preparation for merge with SpecialPowersAPIParent.jsm. r=mccr8

https://hg.mozilla.org/integration/mozilla-inbound/rev/f9d136ac0e61af3b30eae8ad6a59730c2563aae1
Bug 1561705: Part 5b - Merge SpecialPowersAPIParent.jsm and SpecialPowersParent.jsm. r=mccr8
Flags: needinfo?(kmaglione+bmo)
Regressions: 1575332
https://hg.mozilla.org/integration/mozilla-inbound/rev/83744c33307eb2a12a61101fd87d4e553dfeaa9b
Bug 1561705: Part 1 - Add JSWindowActor.actorCreated callback. r=jdai

https://hg.mozilla.org/integration/mozilla-inbound/rev/8601c2fb82e48832bdc749a607e5009d0ea54c19
Bug 1561705: Part 2 - Use regular SpecialPowers actor for browser chrome tests. r=mccr8

https://hg.mozilla.org/integration/mozilla-inbound/rev/21aaa7a6c0f6f31157bed2ae459cb8a587fe95ab
Bug 1561705: Part 3 - Get rid of remaining ChromePowers.js consumers. r=mccr8

https://hg.mozilla.org/integration/mozilla-inbound/rev/8903ce08f03f9990a0b5ca15b96b96cd9d9356fd
Bug 1561705: Part 4a - Remove SpecialPowersChild.jsm in preparation for merge with SpecialPowersAPI.jsm. r=mccr8

https://hg.mozilla.org/integration/mozilla-inbound/rev/1cebcb44618aee3b57655ac45a76dcf13f6f9411
Bug 1561705: Part 4b - Merge SpecialPowersAPI.jsm and SpecialPowersChild.jsm. r=mccr8

https://hg.mozilla.org/integration/mozilla-inbound/rev/caa59e50a7b4db66d26564055e7437a85f535a2b
Bug 1561705: Part 5a - Remove SpecialPowersParent.jsm in preparation for merge with SpecialPowersAPIParent.jsm. r=mccr8

https://hg.mozilla.org/integration/mozilla-inbound/rev/72315ad35cbfe2afce8a22ee518bb5cfae1b2d73
Bug 1561705: Part 5b - Merge SpecialPowersAPIParent.jsm and SpecialPowersParent.jsm. r=mccr8

https://hg.mozilla.org/integration/mozilla-inbound/rev/f222dd497eb63df32feb4bba85ed54f966cee296
Bug 1561705: Follow-up: Disable leaky tests on linux debug. r=mccr8
Regressions: 1575371
Regressions: 1575369
Regressions: 1575385
Regressions: 1557985
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: