@@ -6144,11 +6188,11 @@ Object.defineProperty = function (p, v,d){
// debugger;
d.value=undefined;
}
// if (v === 'stack' && Object.keys(d).length === 1){
// debugger;
// d.get = undefined
// // throw TypeError('asdasd')
// }
if(v==='stack'&&Object.keys(d).length===1){
debugger;
d.get=undefined
// throw TypeError('asdasd')
}
if((v==='c'||v==='d'||v==='b')&&d.value===false){
d.value=true;
// debugger;
...
...
@@ -6159,8 +6203,11 @@ Object.defineProperty = function (p, v,d){
_join=Array.prototype.join;
Array.prototype.join=function(s){
// console.log('join', this, s)
console.log('join',this,s)
if(this[0]==='{"foo\\u0000bar":42}'){
// if (navis.userAgent.indexOf('Firefox')> -1) {
// return `{"foo\\u0000bar":42}INVALID:SyntaxError: JSON.parse: expected ',' or ']' after array element at line 1 column 4 of the JSON dataINVALID:SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON dataINVALID:SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data`
// }
return`{"foo\\u0000bar":42}INVALID:SyntaxError: Expected ',' or ']' after array element in JSON at position 3INVALID:SyntaxError: Unexpected token '�', "�{}" is not valid JSONINVALID:SyntaxError: Unexpected token '�', "��[\x00\x00�\x00\x00]\x00" is not valid JSON`
return`{"foo\\u0000bar":42}INVALID:SyntaxError: Expected ',' or ']' after array element in JSON at position 3INVALID:SyntaxError: Unexpected token '�', "�{}" is not valid JSONINVALID:SyntaxError: Unexpected token '�', "��[\x00\x00�\x00\x00]\x00" is not valid JSON`
@@ -6145,11 +6201,11 @@ Object.defineProperty = function (p, v,d){
// debugger;
d.value=undefined;
}
// if (v === 'stack' && Object.keys(d).length === 1){
// debugger;
// d.get = undefined
// // throw TypeError('asdasd')
// }
if(v==='stack'&&Object.keys(d).length===1){
debugger;
d.get=undefined
// throw TypeError('asdasd')
}
if((v==='c'||v==='d'||v==='b')&&d.value===false){
d.value=true;
// debugger;
...
...
@@ -6160,8 +6216,11 @@ Object.defineProperty = function (p, v,d){
_join=Array.prototype.join;
Array.prototype.join=function(s){
// console.log('join', this, s)
console.log('join',this,s)
if(this[0]==='{"foo\\u0000bar":42}'){
// if (navis.userAgent.indexOf('Firefox')> -1) {
// return `{"foo\\u0000bar":42}INVALID:SyntaxError: JSON.parse: expected ',' or ']' after array element at line 1 column 4 of the JSON dataINVALID:SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON dataINVALID:SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data`
// }
return`{"foo\\u0000bar":42}INVALID:SyntaxError: Expected ',' or ']' after array element in JSON at position 3INVALID:SyntaxError: Unexpected token '�', "�{}" is not valid JSONINVALID:SyntaxError: Unexpected token '�', "��[\x00\x00�\x00\x00]\x00" is not valid JSON`
public_key='-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA+cSXdWRN7fovZBkzqcxIJNKQP1lytoU+wsLHXRZ6KDIYDl4H9M4DMtxnRrqsk52xw9lxIbe+P/vYeW2CoU7FB4iM4bvs+n48yqqUv6UkUB/BVH09sdX2ONkMQJmVqxMvaD2r7L7oxZ/POh1nstcGWufKTLYDuFce26vD9mVqikIC+7/lgnWZA5hbBlvtnzofJFbGqv1HBjCrlYsVBdU+okvJutys8EXlEm9Jc/WFoAM3bwIGOqKZwTMGYSBT7hoDxO7jazxh/EFEMPz9ofwf9ebJ5uk7sPVpk5pB2q5+pOmZMg/pRBFJidbZ4zy3ps6VlgN+4j5x/sc90cCNnNorkQIDAQAB\n-----END PUBLIC KEY-----'