Closed Bug 1749795 Opened 3 years ago Closed 3 years ago

Create documentation for adding and testing site-specific wrappers

Categories

(Toolkit :: Picture-in-Picture, task, P3)

task
Points:
5

Tracking

()

RESOLVED FIXED
101 Branch
Tracking Status
firefox101 --- fixed

People

(Reporter: mtigley, Assigned: kpatenio)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fidefe-MR1-2022])

Attachments

(1 file)

We'll be establishing infrastructure for adding site-specific wrapper scripts in bug 1670108. While we do have some inline JS documentation for this, we should still have something that gives a high-level overview on:

  1. Why these site-specific wrapper scripts are needed in the first place
  2. How they work (loading a wrapper script from the PiP system addon and loading it into a sandbox environment from PiP child...)
  3. How to add a new wrapper script
  4. Adding/modifying tests for these scripts

We should first keep these docs under the toolkit/components/pictureinpicture/docs/ directory and create a sub-page for them under the Picture-in-Picture section

See Also: → 1749796
Severity: -- → N/A
Priority: -- → P3
Blocks: 1751505
Whiteboard: [fidefe-MR1-2022]

Let's also include adding a brief how-to for contributors on how to add test-specific wrappers as a part of this scope.

I recently started a draft document for site-specific wrappers, so I will be assigning myself to this ticket. Goal is to get all documentation on Firefox Source Docs

Assignee: nobody → kpatenio
Status: NEW → ASSIGNED
Points: --- → 5
Pushed by kpatenio@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e384ba8874fb create documentation for adding and testing site-specific wrappers. r=mhowell
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 101 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: