RequestPolicy/requestpolicy — Issue #105: Context Menu does not update after manual policy changes
Author: jsamuel
Created: 2011-12-22 05:25:02+00:00
State: open
Labels: extension

Context Menu shows stale policies, if manually edited.

To reproduce:
1. Visit a site with a cross-site request that is not whitelisted
2. Whitelist the request using Context Menu
3. Check the context menu
4. Open the preferences dialog and manually remove the whitelist entry
5. Check the context menu

Actual:
Context Menu shows ALLOWED despite having been removed from the whitelist and should now be subject to the default DENY ALL policy.

Expected:
Context Menu always shows current policies.

If this is being cached, it should be selectively invalidated and rebuilt (with current policy) next time user views Context Menu...