Closed Bug 1795894 Opened 3 years ago Closed 3 years ago

Enable triggering Feature Callouts in chrome by content location

Categories

(Firefox :: Messaging System, enhancement, P1)

Firefox 108
enhancement

Tracking

()

VERIFIED FIXED
108 Branch
Tracking Status
firefox108 --- wontfix
firefox109 --- verified

People

(Reporter: mviar, Assigned: mviar)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

When the Feature Callout is rendered in the chrome context, we need to be able to target messages based on the current tab's URL.

Assignee: nobody → mviar
Attachment #9300560 - Attachment description: WIP: Bug 1795894 - Enable triggering Feature Callouts in chrome by content location → Bug 1795894 - Enable triggering Feature Callouts in chrome by content location
Depends on: 1797963
Attachment #9300560 - Attachment description: Bug 1795894 - Enable triggering Feature Callouts in chrome by content location → WIP: Bug 1795894 - Enable triggering Feature Callouts in chrome by content location
Attachment #9300560 - Attachment description: WIP: Bug 1795894 - Enable triggering Feature Callouts in chrome by content location → Bug 1795894 - Enable triggering Feature Callouts in chrome by content location
Pushed by mviar@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2023e8659017 Enable triggering Feature Callouts in chrome by content location r=jprickett

Backed out changeset 2023e8659017 (Bug 1795894) for causing multiple bc failures on featureCallout.mjs.
Backout link
Push with failures <--> bc5
Failure Log

Flags: needinfo?(mviar)

Looks like something odd happened when I rebased on autoland. My changes to featureCallout.mjs appear in the phab diff, but not in the diff for the actual landed commit. I'll sort that out and try landing again.

Flags: needinfo?(mviar)
Pushed by mviar@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/de61491bc549 Enable triggering Feature Callouts in chrome by content location r=jprickett

Backed out changeset de61491bc549 (Bug 1795894) for causing bc failures on browser_protocol_ask_dialog.js.
Backout link
Push with failures <--> bc6
Failure Log

Flags: needinfo?(mviar)

Thanks for sharing the failure details - we didn't run into this one on try. I'll work on debugging and discuss with the team if this is a candidate for uplift.

Flags: needinfo?(mviar)
Pushed by mviar@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/28484915dc1b Enable triggering Feature Callouts in chrome by content location r=jprickett

Backed out for causing mochitest failures

Backout link: https://hg.mozilla.org/integration/autoland/rev/1e249e5986d2b35f22c85238281a3ec79a672ce4

Push with failures

Failure log

INFO - Buffered messages finished
[task 2022-11-28T01:42:02.463Z] 01:42:02     INFO - TEST-UNEXPECTED-FAIL | accessible/tests/mochitest/treeupdate/test_bug1276857.html | uncaught exception - TypeError: can't access property "querySelector", iframe.contentDocument.getElementById(...) is null at runTest_invoke@chrome://mochitests/content/a11y/accessible/tests/mochitest/treeupdate/test_bug1276857.html:42:32
[task 2022-11-28T01:42:02.463Z] 01:42:02     INFO - eventQueue_processNextInvoker@chrome://mochitests/content/a11y/accessible/tests/mochitest/events.js:485:17
Flags: needinfo?(mviar)

@sandor, I noticed this test failed for a few other runs recently where it was starred as intermittent. As far as I can tell, my changes shouldn't affect the logic in this test and I'm unable to reproduce the failure locally. Here's a try run with that test passing for this patch.

Flags: needinfo?(mviar) → needinfo?(smolnar)

@Meg, indeed it seems the failure is still happening after this backout.
I will reland your patch.
Thank you for looking into this.
Later edit: I saw that you landed some of the files from this bug. You can reland the rest of it too (?).

Flags: needinfo?(smolnar)
Flags: needinfo?(mviar)
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Flags: needinfo?(mviar)

Thanks, Sandor! I think those other files were the test updates in bug 1802918. That patch has already landed and was set as the parent for this one.

I'm marking this enhancement as verified based on the testing report sent for the "Callout: Pdf annotations for Fx109" bugwork.

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: