Bug 1508287 disabled some checks in test_objectgrips-17.js
Categories
(DevTools :: Debugger, defect, P3)
Tracking
(firefox-esr60 unaffected, firefox-esr68 fixed, firefox68 wontfix, firefox69 fixed, firefox70 fixed)
Tracking | Status | |
---|---|---|
firefox-esr60 | --- | unaffected |
firefox-esr68 | --- | fixed |
firefox68 | --- | wontfix |
firefox69 | --- | fixed |
firefox70 | --- | fixed |
People
(Reporter: Oriol, Assigned: Oriol)
References
(Regression)
Details
(Keywords: regression)
Attachments
(2 files)
Bug 1508287 refactored test_objectgrips-17.js
When I wrote the test, I used null
to refer to a NullPrincipal. But after the refactoring, debuggeePrincipal
is a NullPrincipal object.
Therefore, this conditional never runs:
if (debuggeePrincipal === null) {
// Test objects created in a same-origin null principal new global.
await testPrincipal(
options,
Cu.getObjectPrincipal(debuggee),
debuggeeHasXrays
);
}
Also, just fixing the condition is not enough, because threadFrontTest
ignores the wantXrays
parameter.
Assignee | ||
Comment 1•5 years ago
|
||
Assignee | ||
Comment 2•5 years ago
|
||
Depends on D40022
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Pushed by apavel@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/09384c51f127
Reenable accidentally disabled checks in test_objectgrips-17.js. r=ochameau
https://hg.mozilla.org/integration/mozilla-inbound/rev/7acf0e8d6a66
Some refactoring for test_objectgrips-17.js. r=ochameau
Comment 4•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/09384c51f127
https://hg.mozilla.org/mozilla-central/rev/7acf0e8d6a66
Updated•5 years ago
|
Comment 5•5 years ago
|
||
bugherder uplift |
https://hg.mozilla.org/releases/mozilla-beta/rev/445433a1de44
https://hg.mozilla.org/releases/mozilla-beta/rev/784bd1c95abe
Comment 6•5 years ago
|
||
bugherder uplift |
Updated•3 years ago
|
Description
•