Stop using forcePermissiveCOWs
Categories
(Testing :: Mochitest, enhancement)
Tracking
(firefox78 fixed)
Tracking | Status | |
---|---|---|
firefox78 | --- | fixed |
People
(Reporter: kmag, Assigned: kmag)
References
Details
Attachments
(3 files)
Comment 1•5 years ago
|
||
Updated•5 years ago
|
Comment 2•5 years ago
|
||
Updated•5 years ago
|
Comment 6•5 years ago
|
||
Backed out changeset a845717e4d10 for causing multiple failures.
Backout link: https://hg.mozilla.org/integration/autoland/rev/d5c77659d412d28268519c1add754776fa566c1c
Push with failures:
Mochitest plain failure rate increase:
https://treeherder.mozilla.org/#/jobs?repo=autoland&group_state=expanded&searchStr=mochitest%2Cplain&fromchange=1e7e97b9c413a5a135eef8bfe7151d44fd7fc2eb&tochange=c83c52541dd21556eb3afabf64a0960891e17f0d&selectedTaskRun=ecMcjY7kSTS-NDztDCOXBw-0
Failure logs:
- https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=303431835&repo=autoland&lineNumber=1737
- https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=303428011&repo=autoland&lineNumber=4527
- https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=303425755&repo=autoland&lineNumber=3792
- https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=303429720&repo=autoland&lineNumber=6336
Also seeing mda failures, will update.
Comment 7•5 years ago
|
||
mda failures in test_audioContextGC.html:
https://treeherder.mozilla.org/#/jobs?repo=autoland&group_state=expanded&searchStr=%28mda&fromchange=1e7e97b9c413a5a135eef8bfe7151d44fd7fc2eb&tochange=c83c52541dd21556eb3afabf64a0960891e17f0d
Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=303427134&repo=autoland&lineNumber=4168
Updated•5 years ago
|
Comment 8•5 years ago
|
||
bugherder |
Updated•5 years ago
|
Comment 9•5 years ago
|
||
- Some mochitest failed only when
snapshotWindowWithOptions
returned a promise because it was unwrapped. getGroupTopLevelWindows
would wrap return values. It caused Android test failures. Since it is difficult to unwrap iterated values from Generator functions andNavigationUtils.js
is the only caller ofgetGroupTopLevelWindows
, I'll manually unwrap the value to fix the problem.- attachToWindow would always wrap the
SpecialPowers
object itself even if the page does not actually useSpecialPowers
at all. It had some bad effects to browser-chrome tests. I'll lazify theSpecialPowers
object to fix the problem. - WeakMap (or at least our implementation thereof) does not work well with cross-global
WeakMap
keys. I'll reduce and tweakWeakMap
usages to mitigate problems.
Comment 10•5 years ago
|
||
Comment 11•5 years ago
|
||
bugherder |
Comment 12•5 years ago
|
||
Can you please update the comment at [1] to reflect the wrapping/unwrapping behavior after changes made in this bug ?
Especially the second paragraph.
Thanks.
Comment 13•5 years ago
|
||
Since content has no access to chrome-privileged objects without permissive
COWs, we can no longer unwrap the methods anymore. On the other hand,
SpecialPowers wrapper improved so that we don't have to unwrap the return
value from getAsArrayBuffer() manually.
Updated•5 years ago
|
Comment 14•5 years ago
|
||
Comment 15•5 years ago
|
||
bugherder |
Description
•