Closed
Bug 909597
Opened 11 years ago
Closed 11 years ago
Make jsdebugapi.h not depend on jsapi.h
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla26
People
(Reporter: n.nethercote, Assigned: n.nethercote)
References
Details
(Whiteboard: [js:t])
Attachments
(2 files)
4.92 KB,
patch
|
luke
:
review+
|
Details | Diff | Splinter Review |
41.32 KB,
patch
|
luke
:
review+
|
Details | Diff | Splinter Review |
One sub-goal of the "minimize-jsapi" work is that no exported JS headers should include jsapi.h. jsdbgapi.h is one such header, and it's easy to remedy.
Assignee | ||
Comment 1•11 years ago
|
||
Attachment #795775 -
Flags: review?(luke)
Assignee | ||
Comment 2•11 years ago
|
||
This was Luke's suggestion. I'm not entirely convinced by it... js/OldDebugAPI.h is still used in quite a few places, more than the "Old" part of the name suggests.
Attachment #795776 -
Flags: review?(luke)
Assignee | ||
Comment 3•11 years ago
|
||
Comment on attachment 795776 [details] [diff] [review] (part 2) - Rename jsdbgapi.{h,cpp} as {js,vm}OldDebugAPI.{h,cpp}. jimb, what do you think about this renaming?
Attachment #795776 -
Flags: feedback?(jimb)
Updated•11 years ago
|
Attachment #795775 -
Flags: review?(luke) → review+
Updated•11 years ago
|
Attachment #795776 -
Flags: review?(luke) → review+
Comment 4•11 years ago
|
||
Comment on attachment 795776 [details] [diff] [review] (part 2) - Rename jsdbgapi.{h,cpp} as {js,vm}OldDebugAPI.{h,cpp}. Review of attachment 795776 [details] [diff] [review]: ----------------------------------------------------------------- ::: caps/src/nsScriptSecurityManager.cpp @@ +10,3 @@ > #include "xpcprivate.h" > #include "XPCWrapper.h" > #include "nsScriptSecurityManager.h" Please don't put anything new above the main header. It's not good now, but there's no need to make it worse. ::: content/xbl/src/nsXBLSerialize.cpp @@ +7,1 @@ > #include "nsXBLSerialize.h" Same here
Assignee | ||
Comment 5•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/e8fed1171d6a https://hg.mozilla.org/integration/mozilla-inbound/rev/2a3ed74a0c95
Assignee | ||
Comment 6•11 years ago
|
||
Comment on attachment 795776 [details] [diff] [review] (part 2) - Rename jsdbgapi.{h,cpp} as {js,vm}OldDebugAPI.{h,cpp}. FWIW, here's Luke's rationale (from a private email conversation) for the name change: "OldDebugAPI.h was, I think, the pre-jsfriendapi.h JS_FRIEND_API dumping ground. I think the Old prefix is good here, though: nobody should be adding new uses, we should be removing old uses, and the few stragglers that remain after jsd is removed will get redistributed."
Attachment #795776 -
Flags: feedback?(jimb)
Comment 7•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/e8fed1171d6a https://hg.mozilla.org/mozilla-central/rev/2a3ed74a0c95
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
You need to log in
before you can comment on or make changes to this bug.
Description
•