You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Firefox 4, nsIContentPolicy::shouldLoad implementations are called with an incorrect origin argument for meta refreshes after link clicks.
Setup: three documents---A, B, and C---with different URLs where A has a link to B and B has a meta refresh tag that loads C.
Clicking A's link to B results in the correct origin and destination arguments in the call to shouldLoad (origin is A's URL, destination is B's). However, when the meta refresh in B occurs, shouldLoad is not called with origin B and destination C but rather with origin A and destination C. That is, the origin appears to be the previous document's URL (the one with the link the user followed), not the current document's URL that contains the meta refresh.
This seems to be a bug in Firefox and I'm not sure how to work around it in RP. I need to open a bugzilla ticket for this.
The text was updated successfully, but these errors were encountered:
In Firefox 4, nsIContentPolicy::shouldLoad implementations are called with an incorrect origin argument for meta refreshes after link clicks.
Setup: three documents---A, B, and C---with different URLs where A has a link to B and B has a meta refresh tag that loads C.
Clicking A's link to B results in the correct origin and destination arguments in the call to shouldLoad (origin is A's URL, destination is B's). However, when the meta refresh in B occurs, shouldLoad is not called with origin B and destination C but rather with origin A and destination C. That is, the origin appears to be the previous document's URL (the one with the link the user followed), not the current document's URL that contains the meta refresh.
This seems to be a bug in Firefox and I'm not sure how to work around it in RP. I need to open a bugzilla ticket for this.
The text was updated successfully, but these errors were encountered: