Closed
Bug 1279362
Opened 10 years ago
Closed 10 years ago
Don't use DebugOnly in js/public
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
INVALID
People
(Reporter: fitzgen, Assigned: fitzgen)
References
Details
Attachments
(1 file)
|
2.57 KB,
patch
|
Details | Diff | Splinter Review |
DebugOnly is a bit of a pain to interface with other languages (eg Rust).
Although this specific use isn't a pain for Servo (since they have their own
custom rooting) being consistent in not using DebugOnly in all of js/public
seems easiest to maintain long term.
| Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8761841 -
Flags: review?(terrence)
| Assignee | ||
Updated•10 years ago
|
Assignee: nobody → nfitzgerald
Blocks: 1277341
Status: NEW → ASSIGNED
Summary: Don't use DebugOnly is js/public → Don't use DebugOnly in js/public
| Assignee | ||
Comment 2•10 years ago
|
||
Comment 3•10 years ago
|
||
Why would DebugOnly be a pain in the body of a function?
Flags: needinfo?(nox)
Comment 4•10 years ago
|
||
Comment on attachment 8761841 [details] [diff] [review]
Don't use DebugOnly is js/public
Review of attachment 8761841 [details] [diff] [review]:
-----------------------------------------------------------------
This makes no sense to me. Let's discuss it.
Attachment #8761841 -
Flags: review?(terrence)
Comment 5•10 years ago
|
||
DebugOnly is only a pain if it appears in a public interface as a field, or an argument, or as anything that would actually appear in our Rust bindings. Otherwise, we don't care about that.
Flags: needinfo?(nox)
| Assignee | ||
Comment 6•10 years ago
|
||
(In reply to Anthony Ramine [:nox] from comment #5)
> DebugOnly is only a pain if it appears in a public interface as a field, or
> an argument, or as anything that would actually appear in our Rust bindings.
> Otherwise, we don't care about that.
Ok, I've misunderstood! Let's close this bug.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•