Closed
Bug 897031
Opened 11 years ago
Closed 10 years ago
NS_ERROR_XPC_GS_RETURNED_FAILURE at nsBlocklistService.js:70 followed by ReferenceError: gApp is not defined, on green Windows debug mochitest runs
Categories
(Toolkit :: Add-ons Manager, defect)
Tracking
()
RESOLVED
FIXED
mozilla39
Tracking | Status | |
---|---|---|
firefox39 | --- | fixed |
People
(Reporter: emorley, Assigned: robert.strong.bugs)
References
Details
Attachments
(1 file, 2 obsolete files)
4.53 KB,
patch
|
mossop
:
review+
|
Details | Diff | Splinter Review |
A soon to be deployed TBPL parser improvement has found a whole bunch of log spam in green Windows debug mochitest runs.
a) Should these be making the test run fail?
b) We should either catch these or fix them so we don't spam the annotated failure summary once this TBPL patchset is rolled out.
eg:
https://tbpl-dev.allizom.org/php/getParsedLog.php?id=25602000&tree=Mozilla-Central#error2
Windows 7 32-bit mozilla-central debug test mochitest-1 on 2013-07-23 02:56:01 PDT for push fb4bf993a58a
slave: t-w732-ix-098
{
03:00:16 INFO - 3306 INFO TEST-START | /tests/browser/base/content/test/test_offline_gzip.html
03:00:16 INFO - ++DOMWINDOW == 91 (0D3BA898) [serial = 132] [outer = 0CD9CDA0]
03:00:16 INFO - ++DOCSHELL 055276C8 == 24 [id = 28]
03:00:16 INFO - ++DOMWINDOW == 92 (12FD0190) [serial = 133] [outer = 00000000]
03:00:16 INFO - WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv) && subjPrincipal) failed: file e:/builds/moz2_slave/m-cen-w32-d-000000000000000000/build/docshell/base/nsDocShell.cpp, line 8392
03:00:16 INFO - ++DOMWINDOW == 93 (12FD19A0) [serial = 134] [outer = 12FD0190]
03:00:16 INFO - WARNING: 1 sort operation has occurred for the SQL statement '0xd16d890'. See https://developer.mozilla.org/En/Storage/Warnings details.: file e:/builds/moz2_slave/m-cen-w32-d-000000000000000000/build/storage/src/mozStoragePrivateHelpers.cpp, line 110
03:00:16 INFO - WARNING: 1 sort operation has occurred for the SQL statement '0xd16d590'. See https://developer.mozilla.org/En/Storage/Warnings details.: file e:/builds/moz2_slave/m-cen-w32-d-000000000000000000/build/storage/src/mozStoragePrivateHelpers.cpp, line 110
03:00:16 INFO - WARNING: 1 sort operation has occurred for the SQL statement '0xd16d890'. See https://developer.mozilla.org/En/Storage/Warnings details.: file e:/builds/moz2_slave/m-cen-w32-d-000000000000000000/build/storage/src/mozStoragePrivateHelpers.cpp, line 110
03:00:16 INFO - WARNING: 1 sort operation has occurred for the SQL statement '0xd16d590'. See https://developer.mozilla.org/En/Storage/Warnings details.: file e:/builds/moz2_slave/m-cen-w32-d-000000000000000000/build/storage/src/mozStoragePrivateHelpers.cpp, line 110
03:00:16 INFO - System JS : ERROR jar:file:///C:/slave/test/build/application/firefox/omni.ja!/components/nsBlocklistService.js:70
03:00:16 INFO - NS_ERROR_XPC_GS_RETURNED_FAILURE: Component returned failure code: 0x80570016 (NS_ERROR_XPC_GS_RETURNED_FAILURE) [nsIJSCID.getService]
03:00:16 INFO - System JS : ERROR jar:file:///C:/slave/test/build/application/firefox/omni.ja!/components/nsBlocklistService.js:768
03:00:16 INFO - ReferenceError: gApp is not defined
03:00:16 INFO - System JS : ERROR jar:file:///C:/slave/test/build/application/firefox/omni.ja!/components/nsBlocklistService.js:768
03:00:16 INFO - ReferenceError: gApp is not defined
03:00:16 INFO - System JS : ERROR jar:file:///C:/slave/test/build/application/firefox/omni.ja!/components/nsBlocklistService.js:768
03:00:16 INFO - ReferenceError: gApp is not defined
03:00:16 INFO - System JS : ERROR jar:file:///C:/slave/test/build/application/firefox/omni.ja!/components/nsBlocklistService.js:768
03:00:16 INFO - ReferenceError: gApp is not defined
03:00:16 INFO - System JS : ERROR jar:file:///C:/slave/test/build/application/firefox/omni.ja!/components/nsBlocklistService.js:768
03:00:16 INFO - ReferenceError: gApp is not defined
03:00:16 INFO - System JS : ERROR jar:file:///C:/slave/test/build/application/firefox/omni.ja!/components/nsBlocklistService.js:768
03:00:16 INFO - ReferenceError: gApp is not defined
03:00:16 INFO - System JS : ERROR jar:file:///C:/slave/test/build/application/firefox/omni.ja!/components/nsBlocklistService.js:768
03:00:16 INFO - ReferenceError: gApp is not defined
03:00:16 INFO - System JS : ERROR jar:file:///C:/slave/test/build/application/firefox/omni.ja!/components/nsBlocklistService.js:768
03:00:16 INFO - ReferenceError: gApp is not defined
03:00:16 INFO - System JS : ERROR jar:file:///C:/slave/test/build/application/firefox/omni.ja!/components/nsBlocklistService.js:768
03:00:16 INFO - ReferenceError: gApp is not defined
03:00:16 INFO - System JS : ERROR jar:file:///C:/slave/test/build/application/firefox/omni.ja!/components/nsBlocklistService.js:768
03:00:16 INFO - ReferenceError: gApp is not defined
03:00:16 INFO - System JS : ERROR jar:file:///C:/slave/test/build/application/firefox/omni.ja!/components/nsBlocklistService.js:768
03:00:16 INFO - ReferenceError: gApp is not defined
03:00:16 INFO - System JS : ERROR jar:file:///C:/slave/test/build/application/firefox/omni.ja!/components/nsBlocklistService.js:768
03:00:16 INFO - ReferenceError: gApp is not defined
03:00:16 INFO - System JS : ERROR jar:file:///C:/slave/test/build/application/firefox/omni.ja!/components/nsBlocklistService.js:768
03:00:16 INFO - ReferenceError: gApp is not defined
03:00:16 INFO - System JS : ERROR jar:file:///C:/slave/test/build/application/firefox/omni.ja!/components/nsBlocklistService.js:768
03:00:16 INFO - ReferenceError: gApp is not defined
03:00:16 INFO - System JS : ERROR jar:file:///C:/slave/test/build/application/firefox/omni.ja!/components/nsBlocklistService.js:768
03:00:16 INFO - ReferenceError: gApp is not defined
03:00:16 INFO - System JS : ERROR jar:file:///C:/slave/test/build/application/firefox/omni.ja!/components/nsBlocklistService.js:768
03:00:16 INFO - ReferenceError: gApp is not defined
03:00:16 INFO - System JS : ERROR jar:file:///C:/slave/test/build/application/firefox/omni.ja!/components/nsBlocklistService.js:768
03:00:16 INFO - ReferenceError: gApp is not defined
03:00:16 INFO - System JS : ERROR jar:file:///C:/slave/test/build/application/firefox/omni.ja!/components/nsBlocklistService.js:768
03:00:16 INFO - ReferenceError: gApp is not defined
03:00:16 INFO - System JS : ERROR jar:file:///C:/slave/test/build/application/firefox/omni.ja!/components/nsBlocklistService.js:768
03:00:16 INFO - ReferenceError: gApp is not defined
03:00:16 INFO - System JS : ERROR jar:file:///C:/slave/test/build/application/firefox/omni.ja!/components/nsBlocklistService.js:768
03:00:16 INFO - ReferenceError: gApp is not defined
03:00:16 INFO - System JS : ERROR jar:file:///C:/slave/test/build/application/firefox/omni.ja!/components/nsBlocklistService.js:768
03:00:16 INFO - ReferenceError: gApp is not defined
03:00:16 INFO - System JS : ERROR jar:file:///C:/slave/test/build/application/firefox/omni.ja!/components/nsBlocklistService.js:768
03:00:16 INFO - ReferenceError: gApp is not defined
03:00:16 INFO - System JS : ERROR j3307 INFO TEST-PASS | /tests/browser/base/content/test/test_offline_gzip.html | Child was successfully cached.
}
Flags: needinfo?(bmcbride)
Reporter | ||
Comment 1•11 years ago
|
||
http://mxr.mozilla.org/mozilla-central/source/toolkit/mozapps/extensions/nsBlocklistService.js#70
69 XPCOMUtils.defineLazyGetter(this, "gApp", function bls_gApp() {
70 return Cc["@mozilla.org/xre/app-info;1"].getService(Ci.nsIXULAppInfo).
71 QueryInterface(Ci.nsIXULRuntime);
72 });
Comment 2•11 years ago
|
||
Uh... I have utterly no idea.
Maybe Dave has a clue?
Flags: needinfo?(dtownsend+bugmail)
Comment 3•11 years ago
|
||
I have no idea either, and it's quite worrying as if that were happening it would mean the blocklist service probably didn't work at all. But we know it does...
Is it at all possible that these logs are coming from a plugin process I wonder
Flags: needinfo?(dtownsend+bugmail)
Reporter | ||
Comment 5•11 years ago
|
||
Note that https://hg.mozilla.org/webtools/tbpl/rev/eb85b76b7b52 has just gone into TBPL production that manually excludes this failure from the annotated summaries/top of log summary (it will still appear when searching in the main body of the log), just to reduce the spam.
Comment 6•11 years ago
|
||
Well, I have no idea why this is happening... but I'd agree with bug 900333 comment 0 that the blocklist should probably be disabled for mochitests anyway.
So, next dumb question: Where do we do that from? mozprofile/profile.py or somewhere else?
Assignee: nobody → bmcbride
Status: NEW → ASSIGNED
Flags: needinfo?(bmcbride)
Comment 7•11 years ago
|
||
Ok, I assume I've got this right... Try run pending.
Attachment #786068 -
Flags: review?(dtownsend+bugmail)
Attachment #786068 -
Flags: feedback?(emorley)
Comment 8•11 years ago
|
||
Comment on attachment 786068 [details] [diff] [review]
Dsable blocklist
Review of attachment 786068 [details] [diff] [review]:
-----------------------------------------------------------------
Let's just pretend that I'm a peer of this stuff
Attachment #786068 -
Flags: review?(dtownsend+bugmail) → review+
Comment 9•11 years ago
|
||
This is of course assuming a try run doesn't reveal that some of our UI tests rely on the blocklist working...
Comment 10•11 years ago
|
||
(In reply to Dave Townsend (:Mossop) from comment #9)
> This is of course assuming a try run doesn't reveal that some of our UI
> tests rely on the blocklist working...
*cough* Yes. Well. Turns out...
Comment 11•11 years ago
|
||
FTR: https://tbpl.mozilla.org/?tree=Try&rev=2860ddc61745
Most notably test_bug391728.html and a few browser-chrome tests, which turns out are affected too.
Reporter | ||
Comment 12•11 years ago
|
||
Comment on attachment 786068 [details] [diff] [review]
Dsable blocklist
Unfortunately the error is still present in the log:
https://tbpl.mozilla.org/php/getParsedLog.php?id=26192250&tree=Try
(need to search, isn't in summary, since has been temporarily excluded in the TBPL parser)
Attachment #786068 -
Flags: feedback?(emorley) → feedback-
Comment 13•11 years ago
|
||
Current theory: Background thumbnails now use a remote browser, and that seems to be hitting the blocklist service. The blocklist service is getting upset about this.
Comment 14•11 years ago
|
||
(In reply to Blair McBride [:Unfocused] from comment #13)
> Current theory: Background thumbnails now use a remote browser, and that
> seems to be hitting the blocklist service. The blocklist service is getting
> upset about this.
I thought plugins were disabled there, or does it still do a plugin scan even when it's never going to use any of them?
Reporter | ||
Comment 15•11 years ago
|
||
Thank you for looking at this btw :-)
Comment 16•11 years ago
|
||
(In reply to Dave Townsend (:Mossop) from comment #14)
> I thought plugins were disabled there, or does it still do a plugin scan
> even when it's never going to use any of them?
Yea, something like that. Bug 901294 has some details - I'm hopeful the patch in there could fix this.
However, for bonus confusion: Same error has been seen in bug 890555, in toolkit/devtools/server/tests/unit/test_sourcemaps-07.js
Depends on: 901294
Comment 17•11 years ago
|
||
(In reply to Dave Townsend (:Mossop) from comment #14)
> (In reply to Blair McBride [:Unfocused] from comment #13)
> > Current theory: Background thumbnails now use a remote browser, and that
> > seems to be hitting the blocklist service. The blocklist service is getting
> > upset about this.
>
> I thought plugins were disabled there, or does it still do a plugin scan
> even when it's never going to use any of them?
Bug 901294 has found that even though the docShell is set to not use plugins, the process of loading the page with a plugin still ends up finding the plugin that *would* be used, which causes them to be enumerated and the blocklist checked - all in the child process. The attachment added in bug 901294 comment 16 prevents this - so maybe some try runs with that in-place could be tried?
Comment 18•11 years ago
|
||
Looks like bug 903965 didn't have any effect on this.
Reporter | ||
Comment 19•11 years ago
|
||
(In reply to Ryan VanderMeulen [:RyanVM UTC-4] from comment #18)
> Looks like bug 903965 didn't have any effect on this.
Flags: needinfo?(bmcbride)
Updated•11 years ago
|
Attachment #786068 -
Attachment is obsolete: true
Comment 20•11 years ago
|
||
*sigh* Then I have no clue.
Thankfully this isn't affecting anyone, right? Obviously needs fixed... but it's ignored by TBPL, and it's a test-only error for tests unrelated to the blocklist.
Comment 21•11 years ago
|
||
(In reply to Blair McBride [:Unfocused] from comment #20)
> but it's ignored by TBPL, and it's a test-only error for tests unrelated to the
> blocklist.
We would like to make these exceptions fatal eventually as we've already seen comments in many other bugs that these were pointing to real bugs.
Comment 22•11 years ago
|
||
Yea, I know - there's no way I want to leave this unfixed for too long. Just trying to figure out priorities.
Comment 23•11 years ago
|
||
I'm not seeing this in the logs on m-c or Aurora anymore.
Comment 24•11 years ago
|
||
So... that good enough to call it fixed? RESOLVED GHOSTINTHEMACHINE.
Comment 25•11 years ago
|
||
Sure
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Flags: needinfo?(bmcbride)
Resolution: --- → WORKSFORME
Comment 26•11 years ago
|
||
I was just getting ready to file a bug and couldn't get the thought out of my head I'd seen this before:
https://tbpl.mozilla.org/php/getParsedLog.php?id=34423294&tree=Mozilla-Inbound
WINNT 6.2 mozilla-inbound debug test mochitest-1 on 2014-02-10 07:23:41 PST for push 64b3f71d79a8
slave: t-w864-ix-050
07:32:10 INFO - 683 INFO TEST-START | /tests/content/base/test/test_bug338583.html
07:32:10 INFO - ++DOMWINDOW == 75 (1AA14EA8) [pid = 3872] [serial = 725] [outer = 10682FD8]
07:32:11 INFO - [3872] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004004: file c:\builds\moz2_slave\m-in-w32-d-0000000000000000000\build\content\base\src\EventSource.cpp, line 339
07:32:11 INFO - [3872] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004004: file c:\builds\moz2_slave\m-in-w32-d-0000000000000000000\build\content\base\src\EventSource.cpp, line 339
07:32:11 INFO - [3872] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004004: file c:\builds\moz2_slave\m-in-w32-d-0000000000000000000\build\content\base\src\EventSource.cpp, line 339
07:32:11 INFO - [3872] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80040111: file c:\builds\moz2_slave\m-in-w32-d-0000000000000000000\build\content\base\src\nsCrossSiteListenerProxy.cpp, line 569
07:32:11 INFO - [3872] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x805303F4: file c:\builds\moz2_slave\m-in-w32-d-0000000000000000000\build\caps\src\nsScriptSecurityManager.cpp, line 703
07:32:11 INFO - [3872] WARNING: '!fd.IsInitialized()', file c:/builds/moz2_slave/m-in-w32-d-0000000000000000000/build/netwerk/base/src/nsSocketTransport2.cpp, line 2601
07:32:11 INFO - [3872] WARNING: NS_ENSURE_SUCCESS(status, status) failed with result 0x804B001E: file c:\builds\moz2_slave\m-in-w32-d-0000000000000000000\build\content\base\src\nsCrossSiteListenerProxy.cpp, line 559
07:32:11 INFO - [3872] WARNING: 'NS_FAILED(rv)', file c:/builds/moz2_slave/m-in-w32-d-0000000000000000000/build/netwerk/protocol/http/nsHttpConnection.cpp, line 1662
07:32:11 INFO - [3872] WARNING: 'NS_FAILED(rv2)', file c:/builds/moz2_slave/m-in-w32-d-0000000000000000000/build/netwerk/protocol/http/nsHttpConnection.cpp, line 371
07:32:11 INFO - [3872] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80040111: file c:\builds\moz2_slave\m-in-w32-d-0000000000000000000\build\content\base\src\EventSource.cpp, line 346
07:32:11 INFO - System JS : ERROR jar:file:///C:/slave/test/build/application/firefox/omni.ja!/components/nsBlocklistService.js:831 - ReferenceError: gApp is not defined
07:32:11 INFO - System JS : ERROR jar:file:///C:/slave/test/build/application/firefox/omni.ja!/components/nsBlocklistService.js:831 - ReferenceError: gApp is not defined
07:32:11 INFO - System JS : ERROR jar:file:///C:/slave/test/build/application/firefox/omni.ja!/components/nsBlocklistService.js:831 - ReferenceError: gApp is not defined
07:32:11 INFO - System JS : ERROR jar:file:///C:/slave/test/build/application/firefox/omni.ja!/components/nsBlocklistService.js:831 - ReferenceError: gApp is not defined
07:32:11 INFO - System JS : ERROR jar:file:///C:/slave/test/build/application/firefox/omni.ja!/components/nsBlocklistService.js:831 - ReferenceError: gApp is not defined
07:32:11 INFO - System JS : ERROR jar:file:///C:/slave/test/build/application/firefox/omni.ja!/components/nsBlocklistService.js:831 - ReferenceError: gApp is not defined
07:32:11 INFO - System JS : ERROR jar:file:///C:/slave/test/build/application/firefox/omni.ja!/components/nsBlocklistService.js:831 - ReferenceError: gApp is not defined
07:32:11 INFO - System JS : ERROR jar:file:///C:/slave/test/build/application/firefox/omni.ja!/components/nsBlocklistService.js:831 - ReferenceError: gApp is not defined
07:32:11 INFO - System JS : ERROR jar:file:///C:/slave/test/build/application/firefox/omni.ja!/components/nsBlocklistService.js:831 - ReferenceError: gApp is not defined
07:32:11 INFO - System JS : ERROR jar:file:///C:/slave/test/build/application/firefox/omni.ja!/components/nsBlocklistService.js:831 - ReferenceError: gApp is not defined
07:32:11 INFO - System JS : ERROR jar:file:///C:/slave/test/build/application/firefox/omni.ja!/components/nsBlocklistService.js:831 - ReferenceError: gApp is not defined
07:32:11 INFO - System JS : ERROR jar:file:///C:/slave/test/build/application/firefox/omni.ja!/components/nsBlocklistService.js:831 - ReferenceError: gApp is not defined
07:32:11 INFO - System JS : ERROR jar:file:///C:/slave/test/build/application/firefox/omni.ja!/components/nsBlocklistService.js:831 - ReferenceError: gApp is not defined
07:32:11 INFO - System JS : ERROR jar:file:///C:/slave/test/build/application/firefox/omni.ja!/components/nsBlocklistService.js:831 - ReferenceError: gApp is not defined
07:32:11 INFO - System JS : ERROR jar:file:///C:/slave/test/build/application/firefox/omni.ja!/components/nsBlocklistService.js:831 - ReferenceError: gApp is not defined
07:32:11 INFO - System JS : ERROR jar:file:///C:/slave/test/build/application/firefox/omni.ja!/components/nsBlocklistService.js:831 - ReferenceError: gApp is not defined
07:32:11 INFO - System JS : ERROR jar:file:///C:/slave/test/build/application/firefox/omni.ja!/components/nsBlocklistService.js:831 - ReferenceError: gApp is not defined
07:32:11 INFO - System JS : ERROR jar:file:///C:/slave/test/build/application/firefox/omni.ja!/components/nsBlocklistService.js:831 - ReferenceError: gApp is not defined
07:32:11 INFO - System JS : ERROR jar:file:///C:/slave/test/build/application/firefox/omni.ja!/components/nsBlocklistService.js:831 - ReferenceError: gApp is not defined
07:32:11 INFO - System JS : ERROR jar:file:///C:/slave/test/build/application/firefox/omni.ja!/components/nsBlocklistService.js:831 - ReferenceError: gApp is not defined
07:32:11 INFO - System JS : ERROR jar:file:///C:/slave/test/build/application/firefox/omni.ja!/components/nsBlocklistService.js:831 - ReferenceError: gApp is not defined
07:32:11 INFO - System JS : ERROR jar:file:///C:/slave/test/build/application/firefox/omni.ja!/components/nsBlocklistService.js:831 - ReferenceError: gApp is not defined
07:32:11 INFO - System JS : ERROR jar:file:///C:/slave/test/build/application/firefox/omni.ja!/components/nsBlocklistService.js:831 - ReferenceError: gApp is not defined
07:32:11 INFO - System JS : ERROR jar:file:///C:/slave/test/build/application/firefox/omni.ja!/components/nsBlocklistService.js:831 - ReferenceError: gApp is not defined
07:32:11 INFO - System JS : ERROR jar:file:///C:/slave/test/build/application/firefox/omni.ja!/components/nsBlocklistService.js:831 - ReferenceError: gApp is not defined
07:32:11 INFO - System JS : ERROR jar:file:///C:/slave/test/build/application/firefox/omni.ja!/components/nsBlocklistService.js:831 - ReferenceError: gApp is not defined
07:32:11 INFO - System JS : ERROR jar:file:///C:/slave/test/build/application/firefox/omni.ja!/components/nsBlocklistService.js:831 - ReferenceError: gApp is not defined
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Comment 27•11 years ago
|
||
I can basically reproduce this every time when running mochitest-chrome
What I can tell is that it happens when nsPluginTag::GetBlocklistState is examining Flash, and that such call doesn't happen in the browser process since breakpoints I set are not hit.
the js stack seems to be coming from httpd.js::_getTypeFromFile that calls into nsExternalHelperAppService::GetTypeFromFile that calls GetTypeFromExtension that calls IsPluginEnabledForExtension... so I guess this ends up trying to use the blocklist service from the httpd.js process.
Assignee | ||
Comment 28•10 years ago
|
||
Taking... I think I have a decent solution for this.
Try run
https://tbpl.mozilla.org/?tree=Try&rev=dd759f534853
Assignee: bmcbride → robert.strong.bugs
Status: REOPENED → ASSIGNED
Assignee | ||
Comment 29•10 years ago
|
||
Waiting on try results before requesting review
Assignee | ||
Comment 30•10 years ago
|
||
Fix and a new try run
https://tbpl.mozilla.org/?tree=Try&rev=da745be86aec
Attachment #8567427 -
Attachment is obsolete: true
Assignee | ||
Comment 31•10 years ago
|
||
Comment on attachment 8567547 [details] [diff] [review]
patch
Try run is looking good
https://treeherder.mozilla.org/#/jobs?repo=try&revision=6bf57a7f4dee
Attachment #8567547 -
Flags: review?(dtownsend)
Assignee | ||
Updated•10 years ago
|
Attachment #8567547 -
Attachment description: patch in progress → patch
Comment 32•10 years ago
|
||
Comment on attachment 8567547 [details] [diff] [review]
patch
Review of attachment 8567547 [details] [diff] [review]:
-----------------------------------------------------------------
::: toolkit/mozapps/extensions/nsBlocklistService.js
@@ +550,4 @@
> dsURI = dsURI.replace(/%PRODUCT%/g, gApp.name);
> + // Not all applications implement nsIXULAppInfo (e.g. xpcshell doesn't).
> + if (gApp.version)
> + dsURI = dsURI.replace(/%VERSION%/g, gApp.version);
Are there cases where we hit these?
Attachment #8567547 -
Flags: review?(dtownsend) → review+
Assignee | ||
Comment 33•10 years ago
|
||
(In reply to Dave Townsend [:mossop] from comment #32)
> Comment on attachment 8567547 [details] [diff] [review]
> patch
>
> Review of attachment 8567547 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> ::: toolkit/mozapps/extensions/nsBlocklistService.js
> @@ +550,4 @@
> > dsURI = dsURI.replace(/%PRODUCT%/g, gApp.name);
> > + // Not all applications implement nsIXULAppInfo (e.g. xpcshell doesn't).
> > + if (gApp.version)
> > + dsURI = dsURI.replace(/%VERSION%/g, gApp.version);
>
> Are there cases where we hit these?
Yes, these are hit when running mochitest-chrome tests via httpd.js per comment #27.
Assignee | ||
Comment 34•10 years ago
|
||
Pushed to mozilla-inbound
https://hg.mozilla.org/integration/mozilla-inbound/rev/85fcbcc518b9
Target Milestone: --- → mozilla39
Comment 35•10 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago → 10 years ago
status-firefox39:
--- → fixed
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•