Closed Bug 1593684 Opened 6 years ago Closed 6 years ago

Send additional metadata via postMessage instead of POST from the report site issue extension

Categories

(Web Compatibility :: Tooling & Investigations, task, P1)

Tracking

(firefox72 fixed)

RESOLVED FIXED
Tracking Status
firefox72 --- fixed

People

(Reporter: ksenia, Assigned: ksenia)

References

Details

Attachments

(1 file)

As we're adding postMessage data support on the webcompat.com side not only for screenshots, but for the rest of the metadata here in order to support reporting on Fenix, lets also change the desktop reporter.

The following changes should be made:

  1. When a new tab is open, don't send postData here.

  2. Pass the following object instead of an image blob here

        const data = {
          screenshot: blob,
          message: ${json}
        };
        postMessage(data, "${url.origin}");
Assignee: nobody → kberezina
Status: NEW → ASSIGNED
Priority: -- → P1
Pushed by apavel@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/aeaa1c5b51e8 Send additional metadata via postMessage instead of POST from report site issue extension r=twisniewski,miketaylr
Regressions: 1597882
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
No longer regressions: 1597882
See Also: → 1597882
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: