Closed
Bug 809677
Opened 12 years ago
Closed 12 years ago
recent httpd.js changes have broken xpcshell for B2G
Categories
(Testing :: General, defect)
Tracking
(blocking-basecamp:+, firefox18 fixed, firefox19 fixed)
People
(Reporter: jduell.mcbugs, Assigned: gps)
Details
Attachments
(1 file)
(deleted),
patch
|
Waldo
:
review+
|
Details | Diff | Splinter Review |
When I build with for desktop B2G:
ac_add_options --enable-application=b2g
Running 'make xpcshell-tests' I see 108 xpcshell tests fail, all with
Error: resource://testing-common/httpd.js - EXPORTED_SYMBOLS is not an array.
With the same tree and --enable-application=browser, all tests succeed.
Perhaps some B2G boilerplate is already defining a different EXPORTED_SYMBOLS?
Reporter | ||
Comment 1•12 years ago
|
||
We'll want xpcshell test coverage for B2G.
blocking-basecamp: --- → ?
Assignee | ||
Comment 2•12 years ago
|
||
httpd.js is using "const EXPORTED_SYMBOLS" instead of "this.". I suspect this file missed the CPG refactor train.
Assignee | ||
Comment 3•12 years ago
|
||
I think this will do it. Patch is untested.
Attachment #679448 -
Flags: review?(mcmanus)
Assignee | ||
Updated•12 years ago
|
Updated•12 years ago
|
Assignee: nobody → gps
Updated•12 years ago
|
Attachment #679448 -
Flags: review?(mcmanus) → review?(jwalden+bmo)
Comment 4•12 years ago
|
||
(In reply to Gregory Szorc [:gps] from comment #3)
> I think this will do it. Patch is untested.
I've just imported it locally and now my tests pass again.
Comment 5•12 years ago
|
||
Comment on attachment 679448 [details] [diff] [review]
this qualify exported symbols from httpd.js, v1
Review of attachment 679448 [details] [diff] [review]:
-----------------------------------------------------------------
Did we really break every existing JSM when we made the change from having EXPORTED_SYMBOLS be a global variable, to having it be a property added to |this|? I'm more than a bit surprised we think we can get away with doing this, breaking every extension that has a JSM, even if the fix for extensions is super-small.
Attachment #679448 -
Flags: review?(jwalden+bmo) → review+
Assignee | ||
Comment 6•12 years ago
|
||
Target Milestone: --- → mozilla19
This only affects things running in b2g, which has no extensions.
Comment 8•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
blocking-basecamp: ? → +
Comment 9•12 years ago
|
||
status-firefox18:
--- → fixed
status-firefox19:
--- → fixed
Updated•7 years ago
|
Component: httpd.js → General
You need to log in
before you can comment on or make changes to this bug.
Description
•