Closed Bug 1090749 Opened 5 years ago Closed 5 years ago

Reverse the isSelfHosted test and if blocks in jsapi.cpp and XrayWrapper.cpp

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set

Tracking

()

RESOLVED FIXED
mozilla36

People

(Reporter: bzbarsky, Assigned: bzbarsky)

References

Details

Attachments

(1 file)

So instead of:

  if (!isSelfHosted() {
    foo;
  } else {
    bar;
  }

do

  if (isSelfHosted() {
    bar;
  } else {
    foo;
  }
Depends on: 1088002
Assignee: nobody → bzbarsky
Status: NEW → ASSIGNED
Attachment #8513726 - Flags: review?(jwalden+bmo) → review+
https://hg.mozilla.org/mozilla-central/rev/2a12da881f92
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla36
You need to log in before you can comment on or make changes to this bug.