Closed
Bug 1062089
Opened 10 years ago
Closed 10 years ago
[jsdbg2] js/public/DebugAPI.h should be Debug.h
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla35
People
(Reporter: jimb, Assigned: jimb)
Details
Attachments
(1 file)
3.06 KB,
patch
|
jorendorff
:
review+
|
Details | Diff | Splinter Review |
It's redundant to have header files in js/public named FooAPI.h.
Attachment #8483258 -
Flags: review?(jorendorff)
Assignee | ||
Comment 1•10 years ago
|
||
Try push: https://tbpl.mozilla.org/?tree=Try&rev=655e3c626bb7
Comment 2•10 years ago
|
||
We have:
> js/public/DebugAPI.h
> js/public/HeapAPI.h
> js/public/RootingAPI.h
> js/public/GCAPI.h
> js/public/OldDebugAPI.h
> js/public/TracingAPI.h
I'd suggest renaming all of them or none of them.
Assignee | ||
Comment 3•10 years ago
|
||
(In reply to Nicholas Nethercote [:njn] from comment #2) > We have: > > > js/public/DebugAPI.h > > js/public/HeapAPI.h > > js/public/RootingAPI.h > > js/public/GCAPI.h > > js/public/OldDebugAPI.h > > js/public/TracingAPI.h > > I'd suggest renaming all of them or none of them. I looked into that. Terrence pointed out that we also have js/src/gc/Heap.h and js/src/gc/Rooting.h, and asked that we keep the "API" suffixes on those headers.
Comment 4•10 years ago
|
||
Comment on attachment 8483258 [details] [diff] [review] Rename js/public/DebugAPI.h to js/public/Debug.h. It's a public header file; *obviously* it's an API. Review of attachment 8483258 [details] [diff] [review]: ----------------------------------------------------------------- Would greatly appreciate a patch for everything. In cases where we have both internal and public files that want the same name, the public one should get the nice name and we should ugly up the internal one (with something stupid like an Impl).
Attachment #8483258 -
Flags: review?(jorendorff) → review+
Assignee | ||
Comment 5•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/ff5de7f70414
Assignee: nobody → jimb
Flags: in-testsuite-
Target Milestone: --- → mozilla35
Comment 6•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/ff5de7f70414
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•