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)
DevTools
Responsive Design Mode
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"
Updated•7 months ago
|
Severity: -- → S3
Priority: -- → P3
| Assignee | ||
Comment 1•1 month ago
|
||
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.
Updated•1 month ago
|
Assignee: nobody → florian
Status: NEW → ASSIGNED
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.
Comment 3•29 days ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 29 days ago
status-firefox161:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 161 Branch
Updated•21 days ago
|
QA Whiteboard: [qa-triage-done-c162/b161]
You need to log in
before you can comment on or make changes to this bug.
Description
•