Closed Bug 1126138 Opened 9 years ago Closed 9 years ago

Bug 1120161 broke about:support#sandbox (Linux only) with 'use strict' violations

Categories

(Core :: Security: Process Sandboxing, defect)

All
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla38
Tracking Status
firefox36 --- unaffected
firefox37 - affected
firefox38 --- affected

People

(Reporter: jld, Assigned: jld)

References

Details

(Keywords: regression)

Attachments

(1 file)

The implementation of about:support#sandbox, which is ifdef'ed for Linux only, has an implicitly declared for-of loop variable, which broke when bug 1120161 added a "use strict".  The fix is trivial.
[Tracking Requested - why for this release]:

We should probably uplift this fix to Aurora 37. Without this fix, the about:support page will fail to load on Linux.
Blocks: 1120161
No longer depends on: 1120161
Keywords: regression
(In reply to Chris Peterson [:cpeterson] from comment #2)
> [Tracking Requested - why for this release]:
> 
> We should probably uplift this fix to Aurora 37. Without this fix, the
> about:support page will fail to load on Linux.

For what it's worth: it looks as if the rest of the page loads normally, and the ReferenceError in the browser console is styled as a warning rather than an error.  But I think this should be uplifted regardless, because it definitely does break the sandbox section.
Given that the page does load (comment 3) and this is more a matter of styling or restricted to a single section of the page, I don't think is significant enough to track. I'm happy to approve a trivial fix for uplift.
Comment on attachment 8555016 [details] [diff] [review]
bug1126138-let-key-of-keys-hg0.diff

Review of attachment 8555016 [details] [diff] [review]:
-----------------------------------------------------------------

Thanks!
Attachment #8555016 - Flags: review?(adw) → review+
checkin-needed; try link in comment #5.
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/3ac7afad5449
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla38
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: