Closed Bug 1750765 Opened 3 years ago Closed 2 years ago

Add test coverage for activeTab in scripting.executeScript

Categories

(WebExtensions :: General, task, P2)

task

Tracking

(firefox102 fixed)

RESOLVED FIXED
102 Branch
Tracking Status
firefox102 --- fixed

People

(Reporter: robwu, Assigned: willdurand)

References

(Blocks 1 open bug)

Details

(Whiteboard: [addons-jira])

Attachments

(1 file)

Severity: -- → N/A
Priority: -- → P2
Whiteboard: [addons-jira]
Assignee: nobody → wdurand
Status: NEW → ASSIGNED
Attachment #9274935 - Attachment description: Bug 1750765 - Add a test case to verify scripting.executeScript() with activeTab. r?robwu! → WIP: Bug 1750765 - Add test cases to verify scripting.executeScript() with activeTab. r?robwu!
Attachment #9274935 - Attachment description: WIP: Bug 1750765 - Add test cases to verify scripting.executeScript() with activeTab. r?robwu! → Bug 1750765 - Add a test case to verify scripting.executeScript() with activeTab. r?robwu!

:rpl shared this test file with other possible test scenarios: https://searchfox.org/mozilla-central/source/toolkit/components/extensions/test/mochitest/test_ext_contentscript_activeTab.html. I gave it a quick try and it seems we are a bit more restrictive with the scripting API, not sure why exactly, though. That could potentially be dealt with in a different bug, idk.

Attachment #9274935 - Attachment description: Bug 1750765 - Add a test case to verify scripting.executeScript() with activeTab. r?robwu! → Bug 1750765 - Add test cases to verify scripting.executeScript() with activeTab. r?robwu!
Pushed by wdurand@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/300a81028ad6 Add test cases to verify scripting.executeScript() with activeTab. r=robwu
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 102 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: