Skip to content

Commit 67f402c

Browse files
committed
build
1 parent d464a39 commit 67f402c

File tree

4 files changed

+20
-20
lines changed

4 files changed

+20
-20
lines changed

dist/firephp.build/manifest.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"manifest_version": 2,
3-
"description": "(NOTE: This is a PREVIEW build for branch: pre-verify) Log from PHP to a devtools panel.",
4-
"name": "FirePHP (Official) [pre-verify]",
3+
"description": "(NOTE: This is a PREVIEW build for branch: pre) Log from PHP to a devtools panel.",
4+
"name": "FirePHP (Official) [pre]",
55
"version": "1.4.2",
66
"applications": {
77
"gecko": {
8-
"id": "FirePHPExtension-Build_branch_pre-verify@firephp.org",
8+
99
"strict_min_version": "56.0"
1010
}
1111
},
@@ -25,5 +25,5 @@
2525
"background": {
2626
"page": "background.html"
2727
},
28-
"version_name": "1.4.2 pre-verify"
28+
"version_name": "1.4.2 pre"
2929
}

dist/firephp.build/scripts/background.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3787,8 +3787,8 @@ Encoder.prototype.encodeArray = function(meta, variable, objectDepth, arrayDepth
37873787
}
37883788
var self = this,
37893789
items = [];
3790-
Object.keys(variable).forEach(function(name) {
3791-
items.push(self.encodeVariable(meta, [name, variable[name]], 1, arrayDepth + 1, overallDepth + 1));
3790+
variable.forEach(function(item) {
3791+
items.push(self.encodeVariable(meta, item, 1, arrayDepth + 1, overallDepth + 1));
37923792
});
37933793
return items;
37943794
}
@@ -9697,7 +9697,7 @@ protocols["http://meta.wildfirehq.org/Protocol/JsonStream/0.2"] = function(uri)
96979697

96989698
// NOTE: The old protocol specifies senders independent from receivers so we need to add senders for every receiver
96999699
// If no receiver is known yet we assume a receiver key of "1"
9700-
if (Object.keys(receivers).length > 0) {
9700+
if (Object.keys(receivers).length == 0) {
97019701
senders["1" + ":" + parts[1]] = value;
97029702
} else {
97039703
for( var receiverKey in receivers ) {
@@ -9944,14 +9944,14 @@ protocols["http://meta.wildfirehq.org/Protocol/JsonStream/0.2"] = function(uri)
99449944
message.setSender(sender);
99459945

99469946
try {
9947-
message.setMeta(JSON.parse(meta));
9947+
message.setMeta(JSON.stringify(meta));
99489948
} catch(e) {
99499949
console.error("Error encoding object (JsonStream compatibility)", e, meta);
99509950
throw e;
99519951
}
99529952

99539953
try {
9954-
message.setData(JSON.parse(data));
9954+
message.setData(JSON.stringify(data));
99559955
} catch(e) {
99569956
console.error("Error encoding object (JsonStream compatibility)", e, data);
99579957
throw e;
@@ -10314,13 +10314,13 @@ var CallbackStream = exports.CallbackStream = function CallbackStream()
1031410314
message.meta[".action"] = "respond";
1031510315

1031610316
try {
10317-
msg.setMeta(JSON.parse(message.meta));
10317+
msg.setMeta(JSON.stringify(message.meta));
1031810318
} catch(e) {
1031910319
console.warn("Error JSON encoding meta", e);
1032010320
throw new Error("Error JSON encoding meta: " + e);
1032110321
}
1032210322
try {
10323-
msg.setData(JSON.parse(message.data));
10323+
msg.setData(JSON.stringify(message.data));
1032410324
} catch(e) {
1032510325
console.warn("Error JSON encoding data", e);
1032610326
throw new Error("Error JSON encoding data: " + e);

dist/firephp.build/scripts/devtools/dist/dist/reps/insight.rep.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3053,8 +3053,8 @@ Encoder.prototype.encodeArray = function (meta, variable, objectDepth, arrayDept
30533053

30543054
var self = this,
30553055
items = [];
3056-
Object.keys(variable).forEach(function (name) {
3057-
items.push(self.encodeVariable(meta, [name, variable[name]], 1, arrayDepth + 1, overallDepth + 1));
3056+
variable.forEach(function (item) {
3057+
items.push(self.encodeVariable(meta, item, 1, arrayDepth + 1, overallDepth + 1));
30583058
});
30593059
return items;
30603060
};

dist/firephp.build/scripts/devtools/dist/fireconsole.rep.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7264,8 +7264,8 @@ Encoder.prototype.encodeArray = function (meta, variable, objectDepth, arrayDept
72647264

72657265
var self = this,
72667266
items = [];
7267-
Object.keys(variable).forEach(function (name) {
7268-
items.push(self.encodeVariable(meta, [name, variable[name]], 1, arrayDepth + 1, overallDepth + 1));
7267+
variable.forEach(function (item) {
7268+
items.push(self.encodeVariable(meta, item, 1, arrayDepth + 1, overallDepth + 1));
72697269
});
72707270
return items;
72717271
};
@@ -13744,7 +13744,7 @@ protocols["http://meta.wildfirehq.org/Protocol/JsonStream/0.2"] = function (uri)
1374413744

1374513745
return;
1374613746
} else if (parts[0] == 'plugin') {
13747-
if (Object.keys(receivers).length > 0) {
13747+
if (Object.keys(receivers).length == 0) {
1374813748
senders["1" + ":" + parts[1]] = value;
1374913749
} else {
1375013750
for (var receiverKey in receivers) {
@@ -13982,14 +13982,14 @@ protocols["http://meta.wildfirehq.org/Protocol/JsonStream/0.2"] = function (uri)
1398213982
message.setSender(sender);
1398313983

1398413984
try {
13985-
message.setMeta(JSON.parse(meta));
13985+
message.setMeta(JSON.stringify(meta));
1398613986
} catch (e) {
1398713987
console.error("Error encoding object (JsonStream compatibility)", e, meta);
1398813988
throw e;
1398913989
}
1399013990

1399113991
try {
13992-
message.setData(JSON.parse(data));
13992+
message.setData(JSON.stringify(data));
1399313993
} catch (e) {
1399413994
console.error("Error encoding object (JsonStream compatibility)", e, data);
1399513995
throw e;
@@ -14295,14 +14295,14 @@ var CallbackStream = exports.CallbackStream = function CallbackStream() {
1429514295
message.meta[".action"] = "respond";
1429614296

1429714297
try {
14298-
msg.setMeta(JSON.parse(message.meta));
14298+
msg.setMeta(JSON.stringify(message.meta));
1429914299
} catch (e) {
1430014300
console.warn("Error JSON encoding meta", e);
1430114301
throw new Error("Error JSON encoding meta: " + e);
1430214302
}
1430314303

1430414304
try {
14305-
msg.setData(JSON.parse(message.data));
14305+
msg.setData(JSON.stringify(message.data));
1430614306
} catch (e) {
1430714307
console.warn("Error JSON encoding data", e);
1430814308
throw new Error("Error JSON encoding data: " + e);

0 commit comments

Comments
 (0)