[AccessFu] content-script.js does not get loaded into app frames in Mulet

RESOLVED FIXED in mozilla36

Status

()

RESOLVED FIXED
4 years ago
4 years ago

People

(Reporter: eeejay, Assigned: eeejay)

Tracking

unspecified
mozilla36
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment, 1 obsolete attachment)

(Assignee)

Description

4 years ago
This is because there is another layer of embedding. The shell chrome document is loaded as a content document in the browser, and every iframe is one level deeper.

In other words, before it was
- xul browser tab
 - system app
  - app frame
  - app frame
  - ...

Now it is
- xul browser tab
 - shell.html chrome
  - system app frame
   - app frame
   - app frame
   - ...
(Assignee)

Comment 1

4 years ago
Created attachment 8528059 [details] [diff] [review]
Get all message managers in Mulet setup.
Attachment #8528059 - Flags: review?(yzenevich)
Comment on attachment 8528059 [details] [diff] [review]
Get all message managers in Mulet setup.

Review of attachment 8528059 [details] [diff] [review]:
-----------------------------------------------------------------

I tried running the tests and they seem to stopped working. In particular try test_alive one. I am getting:
Error this.win.content.shell is undefined resource://gre/modules/accessibility/Utils.jsm:183
Attachment #8528059 - Flags: review?(yzenevich)
(Assignee)

Comment 3

4 years ago
Created attachment 8528495 [details] [diff] [review]
Get all message managers in Mulet setup.

Oops, indeed. Mulet doesn't support a11y mochitests yet.
Attachment #8528059 - Attachment is obsolete: true
Attachment #8528495 - Flags: review?(yzenevich)
Comment on attachment 8528495 [details] [diff] [review]
Get all message managers in Mulet setup.

Review of attachment 8528495 [details] [diff] [review]:
-----------------------------------------------------------------

r=me thanks!
Attachment #8528495 - Flags: review?(yzenevich) → review+
https://hg.mozilla.org/mozilla-central/rev/4a6bc0813732
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla36
You need to log in before you can comment on or make changes to this bug.