hal::LockScreenOrientation in content process never returns rejected promise even if platform's implementation returns rejected promise
Categories
(Core :: Hardware Abstraction Layer (HAL), defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox98 | --- | fixed |
People
(Reporter: m_kato, Assigned: m_kato)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
Assignee | ||
Comment 1•2 years ago
|
||
IPC's promise returns resolved promise when IPC connection is successful. So
even if platform implementations such as android returns rejected promise, it
is converted to resolved promise by SandboxHal.cpp unfortunately.
So we should check return value when RecvLockScreenOrientation returns false.
Updated•2 years ago
|
Pushed by m_kato@ga2.so-net.ne.jp: https://hg.mozilla.org/integration/autoland/rev/86c9c78b8664 hal::LockScreenOrientation in content process never returns rejected promise even if platform's implementation returns rejected promise. r=calu
Comment 3•2 years ago
|
||
Backed out changeset 86c9c78b8664 (Bug 1748981) for causing geckoview test failures.
Backout link
Push with failures
Failure Log
Assignee | ||
Comment 4•2 years ago
|
||
ah, GV-junit has a bug then we should use delegateDuringNextWait
when returning value. I will fix it
Assignee | ||
Comment 5•2 years ago
|
||
When looking test failure, I found that onOrientationLock
always returned
null in geckoview-junit since default method is called.
We should use use delegateDuringNextWait
instead of waitUntilCalled
.
Assignee | ||
Updated•2 years ago
|
Pushed by m_kato@ga2.so-net.ne.jp: https://hg.mozilla.org/integration/autoland/rev/4df658fcf42d hal::LockScreenOrientation in content process never returns rejected promise even if platform's implementation returns rejected promise. r=calu https://hg.mozilla.org/integration/autoland/rev/5e151bd74f2a Use delegateDuringNextWait when returning GeckoResult. r=calu
Comment 7•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/4df658fcf42d
https://hg.mozilla.org/mozilla-central/rev/5e151bd74f2a
Comment 8•2 years ago
|
||
Backed out 2 changesets (Bug 1748981) for causing high freq geckoview test failures.
Backout link
Push with failures
Failure Log
Assignee | ||
Comment 9•2 years ago
|
||
(In reply to Marian-Vasile Laza from comment #8)
Backed out 2 changesets (Bug 1748981) for causing high freq geckoview test failures.
Backout link
Push with failures
Failure Log
This is another bug. After landing bug 1747039, I will land this.
Assignee | ||
Comment 10•2 years ago
|
||
Comment 11•2 years ago
|
||
Pushed by m_kato@ga2.so-net.ne.jp: https://hg.mozilla.org/integration/autoland/rev/882e17b0cc21 hal::LockScreenOrientation in content process never returns rejected promise even if platform's implementation returns rejected promise. r=calu https://hg.mozilla.org/integration/autoland/rev/6a2fd520e84f Use delegateDuringNextWait when returning GeckoResult. r=calu
Comment 12•2 years ago
|
||
bugherder |
Description
•