зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1770944 - fixed test_cookiejars.js, r=smaug,necko-reviewers,jesup
Depends on D192502 Differential Revision: https://phabricator.services.mozilla.com/D192626
This commit is contained in:
Родитель
4352913955
Коммит
084ba6524e
|
@ -274,12 +274,10 @@ ChannelEventSink.prototype = {
|
|||
/**
|
||||
* A helper class to construct origin attributes.
|
||||
*/
|
||||
function OriginAttributes(inIsolatedMozBrowser, privateId) {
|
||||
this.inIsolatedMozBrowser = inIsolatedMozBrowser;
|
||||
function OriginAttributes(privateId) {
|
||||
this.privateBrowsingId = privateId;
|
||||
}
|
||||
OriginAttributes.prototype = {
|
||||
inIsolatedMozBrowser: false,
|
||||
privateBrowsingId: 0,
|
||||
};
|
||||
|
||||
|
|
|
@ -36,19 +36,11 @@ function inChildProcess() {
|
|||
var tests = [
|
||||
{
|
||||
cookieName: "LCC_App0_BrowF_PrivF",
|
||||
originAttributes: new OriginAttributes(0, false, 0),
|
||||
},
|
||||
{
|
||||
cookieName: "LCC_App0_BrowT_PrivF",
|
||||
originAttributes: new OriginAttributes(0, true, 0),
|
||||
originAttributes: new OriginAttributes(0),
|
||||
},
|
||||
{
|
||||
cookieName: "LCC_App1_BrowF_PrivF",
|
||||
originAttributes: new OriginAttributes(1, false, 0),
|
||||
},
|
||||
{
|
||||
cookieName: "LCC_App1_BrowT_PrivF",
|
||||
originAttributes: new OriginAttributes(1, true, 0),
|
||||
originAttributes: new OriginAttributes(1),
|
||||
},
|
||||
];
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче