Skip to content

Loading…

this fixes overlooked code change in 1d3205ea817ccb8a2f03bbaecc9daf19… #1388

Merged
merged 1 commit into from

4 participants

@gorhill

Looks like a bit of code was overlooked following the changes in 1d3205e.

The data in the this.REQDATAKEY property bag is not properly ordered for behind-the-scene requests. httpObserver.asyncOnChannelRedirect (and further httpObserver.observer notifications for same requests) expects the data to be ordered as follow: frameId, parentFrameId, sourceTabId, tabId, type.

@chrisaljoudi chrisaljoudi merged commit 0c7b0cc into chrisaljoudi:master

1 check passed

Details continuous-integration/travis-ci/pr The Travis CI build passed
@chrisaljoudi

@gorhill Thanks!

@gorhill

I should have mentioned this was extremely unlikely -- if at all -- to have caused any problem.

@jqsjqs

@ChangeTip, send a coffee to @gorhill

Hi - thanks for making uBlock. :)

@changetip

Hi @gorhill, @jqsjqs sent you a tip worth a coffee (4,639 bits/$1.50), and I'm here to deliver it ➔ collect your tip.

Learn more about ChangeTip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 17, 2015
  1. @gorhill
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1 platform/firefox/vapi-background.js
View
2 platform/firefox/vapi-background.js
@@ -1209,7 +1209,7 @@ var httpObserver = {
// Carry data for behind-the-scene redirects
channel.setProperty(
this.REQDATAKEY,
- [lastRequest.type, vAPI.noTabId, null, 0, -1]
+ [0, -1, null, vAPI.noTabId, lastRequest.type]
);
return;
}
Something went wrong with that request. Please try again.