Closed Bug 1560412 Opened 8 months ago Closed 8 months ago

Test setImmutablePrototype with scripted proxies

Categories

(Core :: JavaScript Engine, task, P3)

task

Tracking

()

RESOLVED FIXED
mozilla69
Tracking Status
firefox69 --- fixed

People

(Reporter: jorendorff, Assigned: jorendorff)

Details

Attachments

(1 file)

The fuzzers would like some test coverage for this.

Assignee: nobody → jorendorff
Priority: -- → P3

What happened here is that gkw asked me why (according to a C++ test coverage report) the fuzzers never reach certain lines of code in SM.

There's a 2-line JS script that hits the particular method in question (it was ScriptedProxyHandler::setImmutablePrototype).

This approach doesn't scale, but I figure since we did it, we might as well check in the test...

Pushed by jorendorff@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1d9e6a4506c4
A jit-test for setImmutablePrototype with scripted proxies. r=jwalden
Status: NEW → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla69
You need to log in before you can comment on or make changes to this bug.