RequestPolicyContinued / requestpolicy

a web browser extension that gives you control over cross-site requests. Available for XUL/XPCOM-based browsers.
https://github.com/RequestPolicyContinued/requestpolicy/wiki
Other
252 stars 35 forks source link

WE port: finish "misc. refactoring" branch #885

Closed myrdd closed 6 years ago

myrdd commented 6 years ago

I've got a branch with many useful changes:

https://github.com/myrdd/requestpolicy/tree/feature/misc-refactoring

However, the subscription module is somehow broken:

console.log: [RequestPolicy] starting up
console.info: [RequestPolicy] Disabled link prefetch.
console.info: [RequestPolicy] Disabled DNS prefetch.
console.info: [RequestPolicy] Disabled Speculative pre-connections.
console.info: [RequestPolicy] [PolicyManager] loadUserRules loading user rules
console.error:
  [RequestPolicy] loadConfigAndRules():
console.dir:
  Message: TypeError: this.data is undefined
  Stack:
    getSubscriptionInfo@chrome://rpcontinued/content/lib/subscription.js:112:15
loadSubscriptionRules/pDone<@chrome://rpcontinued/content/main/requestpolicy-service.js:41:69

I've uploaded the built files:

if someone got some time or an idea, let me know

myrdd commented 6 years ago

I was able to fix it. :)