Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home for chromium.org
« Groups Home
wbeRequest.onCompleted not firing after using BlockingRequest object to redirect url in onBeforeRequest
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
ap  
View profile  
 More options Nov 7 2012, 10:43 am
From: ap <bli...@gmail.com>
Date: Wed, 7 Nov 2012 07:43:29 -0800 (PST)
Local: Wed, Nov 7 2012 10:43 am
Subject: wbeRequest.onCompleted not firing after using BlockingRequest object to redirect url in onBeforeRequest

is this normal behaviour?

onCompleted does fire when using { cancel: false }, but not { redirectUrl:
... }

chrome.tabs.onUpdated(change.status = "complete") fires properly as does
chrome.webNavigation.onCompleted

Thanks in advance,

ap


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dominic Battre  
View profile  
 More options Nov 8 2012, 10:44 am
From: Dominic Battre <bat...@chromium.org>
Date: Thu, 8 Nov 2012 16:43:25 +0100
Local: Thurs, Nov 8 2012 10:43 am
Subject: Re: [crx] wbeRequest.onCompleted not firing after using BlockingRequest object to redirect url in onBeforeRequest

Hi,

webRequest.onCompleted should fire if you redirected a request using
webRequest.onBeforeRequest unless you redirect to a data:// URL. I could
also imagine that it does not fire if you don't have host permission on the
target URL.

Best regards,
Dominic


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
ap  
View profile  
 More options Nov 9 2012, 11:08 am
From: ap <bli...@gmail.com>
Date: Fri, 9 Nov 2012 08:08:59 -0800 (PST)
Local: Fri, Nov 9 2012 11:08 am
Subject: Re: [crx] wbeRequest.onCompleted not firing after using BlockingRequest object to redirect url in onBeforeRequest

I'm only redirecting HTTP requests.

What do you mean by host permission?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
ap  
View profile  
 More options Nov 9 2012, 11:13 am
From: ap <bli...@gmail.com>
Date: Fri, 9 Nov 2012 08:13:12 -0800 (PST)
Local: Fri, Nov 9 2012 11:13 am
Subject: Re: [crx] wbeRequest.onCompleted not firing after using BlockingRequest object to redirect url in onBeforeRequest

In the manifest I have requested "http://*/*" access. It might not be
triggering because I did not request "https://*/*" and this is what the
redirect always uses as the protocol.

Thanks!


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
ap  
View profile  
 More options Nov 9 2012, 11:54 am
From: ap <bli...@gmail.com>
Date: Fri, 9 Nov 2012 08:54:24 -0800 (PST)
Local: Fri, Nov 9 2012 11:54 am
Subject: Re: [crx] wbeRequest.onCompleted not firing after using BlockingRequest object to redirect url in onBeforeRequest

Confirmed, host permission was the issue. Thanks again.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dominic Battre  
View profile  
 More options Nov 13 2012, 10:56 am
From: Dominic Battre <bat...@chromium.org>
Date: Tue, 13 Nov 2012 16:55:30 +0100
Local: Tues, Nov 13 2012 10:55 am
Subject: Re: [crx] wbeRequest.onCompleted not firing after using BlockingRequest object to redirect url in onBeforeRequest

Hi.

Host permissions are the lists of hosts of which your extension may see
events, see http://developer.chrome.com/trunk/extensions/webRequest.html ->
manifest ("*://*.google.com" in the example or "<all_urls>").

Best regards,
Dominic


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic