зеркало из https://github.com/mozilla/gecko-dev.git
Bug 973384 - Call |cb| before WebVTTListener::AsyncOnChannelRedirect returns. r=rillian
MozReview-Commit-ID: 32nXdFpgCjg --HG-- extra : rebase_source : 5aa5108ef4ba274b5b8f7dc6df77eed59b21680d
This commit is contained in:
Родитель
5ba8812302
Коммит
fa523f6745
|
@ -11,6 +11,7 @@
|
|||
#include "nsIInputStream.h"
|
||||
#include "nsIWebVTTParserWrapper.h"
|
||||
#include "nsComponentManagerUtils.h"
|
||||
#include "nsIAsyncVerifyRedirectCallback.h"
|
||||
|
||||
namespace mozilla {
|
||||
namespace dom {
|
||||
|
@ -77,6 +78,7 @@ WebVTTListener::AsyncOnChannelRedirect(nsIChannel* aOldChannel,
|
|||
if (mElement) {
|
||||
mElement->OnChannelRedirect(aOldChannel, aNewChannel, aFlags);
|
||||
}
|
||||
cb->OnRedirectVerifyCallback(NS_OK);
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[009.html]
|
||||
type: testharness
|
||||
[track CORS: No CORS, not same-origin, no headers]
|
||||
expected: FAIL
|
||||
disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1337242
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[010.html]
|
||||
type: testharness
|
||||
[track CORS: Anonymous, not same-origin, no headers]
|
||||
expected: FAIL
|
||||
disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1337242
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[011.html]
|
||||
type: testharness
|
||||
[track CORS: Anonymous, not same-origin, with headers]
|
||||
expected: FAIL
|
||||
disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1337242
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[012.html]
|
||||
type: testharness
|
||||
[track CORS: Use Credentials, not same-origin, no headers]
|
||||
expected: FAIL
|
||||
disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1337242
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[013.html]
|
||||
type: testharness
|
||||
[track CORS: Use Credentials, not same-origin, with headers]
|
||||
expected: FAIL
|
||||
disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1337242
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[014.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[track CORS: No CORS, same-origin, no headers, redirects to same-origin, no headers]
|
||||
expected: TIMEOUT
|
||||
disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1337242
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[015.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[track CORS: No CORS, same-origin, with headers, redirects to same-origin, with headers]
|
||||
expected: TIMEOUT
|
||||
disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1337242
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[016.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[track CORS: Anonymous, same-origin, no headers, redirects to same-origin, no headers]
|
||||
expected: TIMEOUT
|
||||
disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1337242
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[017.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[track CORS: Anonymous, same-origin, no headers, redirects to same-origin, with headers]
|
||||
expected: TIMEOUT
|
||||
disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1337242
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[018.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[track CORS: Use Credentials, same-origin, no headers, redirects to same-origin, no headers]
|
||||
expected: TIMEOUT
|
||||
disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1337242
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[019.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[track CORS: Use Credentials, same-origin, with headers, redirects to same-origin, no headers]
|
||||
expected: TIMEOUT
|
||||
disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1337242
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[020.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[track CORS: Anonymous, not same-origin, no headers, redirects to same-origin, no headers]
|
||||
expected: TIMEOUT
|
||||
disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1337242
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[021.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[track CORS: Anonymous, not same-origin, with headers, redirects to same-origin, no headers]
|
||||
expected: TIMEOUT
|
||||
disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1337242
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[022.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[track CORS: Anonymous, not same-origin, with headers, redirects to same-origin, with headers]
|
||||
expected: TIMEOUT
|
||||
disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1337242
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[023.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[track CORS: Use Credentials, not same-origin, no headers, redirects to same-origin, no headers]
|
||||
expected: TIMEOUT
|
||||
disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1337242
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[024.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[track CORS: Use Credentials, not same-origin, with headers, redirects to same-origin, no headers]
|
||||
expected: TIMEOUT
|
||||
disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1337242
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[025.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[track CORS: Use Credentials, not same-origin, with headers, redirects to same-origin, with headers]
|
||||
expected: TIMEOUT
|
||||
disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1337242
|
||||
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[026.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[track CORS: No CORS, same-origin, with headers, redirects to not same-origin, with headers]
|
||||
expected: TIMEOUT
|
||||
disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1337242
|
||||
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[027.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[track CORS: Anonymous, same-origin, no headers, redirects to not same-origin, no headers]
|
||||
expected: TIMEOUT
|
||||
disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1337242
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[028.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[track CORS: Anonymous, same-origin, with headers, redirects to not same-origin, with headers]
|
||||
expected: TIMEOUT
|
||||
disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1337242
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[029.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[track CORS: Use Credentials, same-origin, no headers, redirects to not same-origin, no headers]
|
||||
expected: TIMEOUT
|
||||
disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1337242
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[030.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[track CORS: Use Credentials, same-origin, with headers, redirects to not same-origin, with headers]
|
||||
expected: TIMEOUT
|
||||
disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1337242
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[031.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[track CORS: Anonymous, not same-origin, no headers, redirects to not same-origin, with headers]
|
||||
expected: TIMEOUT
|
||||
disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1337242
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[032.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[track CORS: Anonymous, not same-origin, with headers, redirects to not same-origin, no headers]
|
||||
expected: TIMEOUT
|
||||
disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1337242
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[033.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[track CORS: Anonymous, not same-origin, with headers, redirects to not same-origin, with headers]
|
||||
expected: TIMEOUT
|
||||
disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1337242
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[034.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[track CORS: Use Credentials, not same-origin, no headers, redirects to not same-origin, with headers]
|
||||
expected: TIMEOUT
|
||||
disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1337242
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[035.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[track CORS: Use Credentials, not same-origin, with headers, redirects to not same-origin, no headers]
|
||||
expected: TIMEOUT
|
||||
disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1337242
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[036.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[track CORS: Use Credentials, not same-origin, with headers, redirects to not same-origin, with headers]
|
||||
expected: TIMEOUT
|
||||
disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1337242
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[037.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[track CORS: Anonymous, same-origin, no headers, redirects to not same-origin, no headers, redirects to same-origin, no headers]
|
||||
expected: TIMEOUT
|
||||
disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1337242
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[038.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[track CORS: Anonymous, same-origin, with headers, redirects to not same-origin, with headers, redirects to same-origin, with headers]
|
||||
expected: TIMEOUT
|
||||
disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1337242
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[039.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[track CORS: Anonymous, same-origin, no headers, redirects to not same-origin, with headers, redirects to same-origin, no headers]
|
||||
expected: TIMEOUT
|
||||
disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1337242
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[040.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[track CORS: Use Credentials, same-origin, no headers, redirects to not same-origin, no headers, redirects to same-origin, no headers]
|
||||
expected: TIMEOUT
|
||||
disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1337242
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[041.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[track CORS: Use Credentials, same-origin, with headers, redirects to not same-origin, with headers, redirects to same-origin, with headers]
|
||||
expected: TIMEOUT
|
||||
disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1337242
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[042.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[track CORS: Use Credentials, same-origin, no headers, redirects to not same-origin, with headers, redirects to same-origin, no headers]
|
||||
expected: TIMEOUT
|
||||
disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1337242
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[043.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[track CORS: Anonymous, same-origin, no headers, redirects to same-origin, no headers, redirects to not same-origin, no headers]
|
||||
expected: TIMEOUT
|
||||
disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1337242
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[044.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[track CORS: Anonymous, same-origin, no headers, redirects to same-origin, no headers, redirects to not same-origin, with headers]
|
||||
expected: TIMEOUT
|
||||
disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1337242
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[045.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[track CORS: Use Credentials, same-origin, no headers, redirects to same-origin, no headers, redirects to not same-origin, no headers]
|
||||
expected: TIMEOUT
|
||||
disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1337242
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[046.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[track CORS: Use Credentials, same-origin, no headers, redirects to same-origin, no headers, redirects to not same-origin, with headers]
|
||||
expected: TIMEOUT
|
||||
disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1337242
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче