Details
Diff Detail
- Repository
- rMOZILLACENTRAL mozilla-central
Event Timeline
This revision requires a Testing Policy Project Tag to be set before landing. Please apply one of testing-approved, testing-exception-unchanged, testing-exception-ui, testing-exception-elsewhere, testing-exception-other. Tip: this Firefox add-on makes it easy!
My apologies if I'm overstepping my bounds by commenting here, but may I ask why the filename was used instead of the inclname, which I used in my patch as attached over on Bugzilla? Between https://github.com/mozilla/gecko-dev/blob/d5cbb5b26c2fe8639da9ea0b0f225018d3697c59/config/check_spidermonkey_style.py#L294 and https://github.com/mozilla/gecko-dev/blob/d5cbb5b26c2fe8639da9ea0b0f225018d3697c59/docs/code-quality/coding-style/using_cxx_in_firefox_code.rst#notes, it seems to me that mozilla/Attributes.h is the correct include path; Firefox builds fine on my laptop when using mozilla/Attributes.h instead of mfbt/Attributes.h at the very least. I also searched for both mozilla/Attributes.h and mfbt/Attributes.h on GitHub and only got include results when searching for the former.
No offense meant, your comment is pin-point correct. I actually wrote the patch independently from yours then saw you wrote one and didn't double check when attributing. Patch updated, I'll land that this morning.
Apologizes and thanks :-)