Closed
Bug 1008199
Opened 10 years ago
Closed 10 years ago
Factor out unneeded dependencies in functional.js
Categories
(Add-on SDK Graveyard :: General, defect, P1)
Add-on SDK Graveyard
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: ejpbruel, Assigned: ejpbruel)
References
Details
Attachments
(1 file, 1 obsolete file)
protocol.js in the debugger server has an indirect dependency on functional.js in the SDK. functional.js, in turn, has two dependencies that cause the SDK loader to be required. This is somewhat of a problem for me, because the worker loader I'm implementing in bug 1003095 is currently unable to handle loading the SDK loader. However, it turns out that the parts of functional.js that are used by protocol.js actually do not need those two dependencies. I therefore propose a patch that does the following: - Drop the deprecated function chain - Either move the calls to require("../timer") into the function that need them, or split out the functions that don't need access to timers into a separate file.
Updated•10 years ago
|
Status: NEW → ASSIGNED
OS: Mac OS X → All
Hardware: x86 → All
Assignee | ||
Comment 1•10 years ago
|
||
It's been a long time since I last made a pull request to the add-on SDK repo, so please let me know if I've done anything wrong.
Attachment #8423107 -
Flags: review?(zer0)
Assignee | ||
Updated•10 years ago
|
Attachment #8423107 -
Attachment is patch: false
Priority: -- → P1
Comment 2•10 years ago
|
||
Comment on attachment 8423107 [details]
Pointer to pull request
See comments in the pull request.
P.S.: If you just a put pull request url in the attachment, bugzilla will do a right thing.
Attachment #8423107 -
Flags: review?(zer0) → review-
Assignee | ||
Comment 3•10 years ago
|
||
Attachment #8423107 -
Attachment is obsolete: true
Attachment #8423422 -
Flags: review?(rFobic)
Comment 4•10 years ago
|
||
Comment on attachment 8423422 [details] [review] Pointer to pull request Can you please address one more thing before you land this: We usually put sub-components under the folder that is named as a component they implement. So instead of having functional-core.js, functional-concurrent.js we would have lang/functional/core.js, functional/concurrent.js... I don't think we need another review for that though. Thanks!
Attachment #8423422 -
Flags: review?(rFobic) → review+
Assignee | ||
Comment 5•10 years ago
|
||
(In reply to Irakli Gozalishvili [:irakli] [:gozala] [@gozala] from comment #4) > Comment on attachment 8423422 [details] [review] > Pointer to pull request > > Can you please address one more thing before you land this: > > We usually put sub-components under the folder that is named as a component > they implement. So instead of having functional-core.js, > functional-concurrent.js we would have lang/functional/core.js, > functional/concurrent.js... > > I don't think we need another review for that though. > > Thanks! Sure! I always prefer r+ with comments addressed over r- ;-) Thanks for the quick turnover time!
Comment 6•10 years ago
|
||
(In reply to Eddy Bruel [:ejpbruel] from comment #1) > It's been a long time since I last made a pull request to the add-on SDK > repo, so please let me know if I've done anything wrong. Sorry Eddy, I was in a conference in Italy when you ask to review this patch, glad Irakli did it.
Comment 7•10 years ago
|
||
Commits pushed to master at https://github.com/mozilla/addon-sdk https://github.com/mozilla/addon-sdk/commit/ef2753ffc0053583c423615a4f5ef06f0a37ac7e Bug 1008199 - Factor out unneeded dependencies in functional.js https://github.com/mozilla/addon-sdk/commit/ebcac059898459e0b3cb65df615c57d576803f59 Merge pull request #1488 from ejpbruel/1008199 fix Bug 1008199 - Factor out unneeded dependencies in functional.js r=@gozala
Updated•10 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•