Closed Bug 1279362 Opened 8 years ago Closed 8 years ago

Don't use DebugOnly in js/public

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: fitzgen, Assigned: fitzgen)

References

Details

Attachments

(1 file)

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: nobody → nfitzgerald
Blocks: 1277341
Status: NEW → ASSIGNED
Summary: Don't use DebugOnly is js/public → Don't use DebugOnly in js/public
Why would DebugOnly be a pain in the body of a function?
Flags: needinfo?(nox)
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)
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)
(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: 8 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: