Closed Bug 2028517 Opened 8 months ago Closed 29 days ago

Fix devtools/client/responsive/test/browser/browser_viewport_changed_meta.js in standalone (Windows opt)

Categories

(DevTools :: Responsive Design Mode, defect, P3)

defect

Tracking

(firefox161 fixed)

RESOLVED FIXED
161 Branch
Tracking Status
firefox161 --- fixed

People

(Reporter: florian, Assigned: florian)

References

(Blocks 2 open bugs)

Details

Attachments

(1 external file)

The test devtools/client/responsive/test/browser/browser_viewport_changed_meta.js has perma failures in standalone mochitest jobs on Windows opt.

The failure message on try is: Initial resolution is as expected. - Got "0.31", expected "1.00"

Severity: -- → S3
Priority: -- → P3

RDM emits content-resize before the content has its new size. browser_viewport_changed_meta.js reloads right after resizing, so the new document could get its first paint at the old width at resolution 1.0, and MobileViewportManager then scaled the resolution by 200/oldWidth. This fixes its Windows opt standalone perma-fail.

setViewportSize now also waits for the content to have the new size, for all its callers.

Assignee: nobody → florian
Status: NEW → ASSIGNED
Blocks: 2086769
Pushed by fqueze@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/804f6e8302ea https://hg.mozilla.org/integration/autoland/rev/816a097b233d Wait for the content to be resized in setViewportSize, r=devtools-reviewers,nchevobbe.
Status: ASSIGNED → RESOLVED
Closed: 29 days ago
Resolution: --- → FIXED
Target Milestone: --- → 161 Branch
QA Whiteboard: [qa-triage-done-c162/b161]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: