Closed Bug 1479045 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 12213 - Avoid using the JavaScript reserved word `arguments`

Categories

(Core :: DOM: Core & HTML, enhancement, P4)

enhancement

Tracking

()

RESOLVED FIXED
mozilla63
Tracking Status
firefox63 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 12213 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/12213
Details from upstream follow.

C. Scott Ananian <cscott@cscott.net> wrote:
>  Avoid using the JavaScript reserved word `arguments`
>  
>  ES6 complains if the JS reserved word `arguments` is used in strict mode.  Rename variable to avoid issues --- especially when test cases are reused with other test harnesses.
Component: web-platform-tests → DOM
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Ran 2 tests and 32 subtests
OK     : 2
PASS   : 32
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/41c45c294a42
[wpt PR 12213] - Avoid using the JavaScript reserved word `arguments`, a=testonly
https://hg.mozilla.org/mozilla-central/rev/41c45c294a42
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.