The default bug view has changed. See this FAQ.

IonMonkey: Differential Testing: Getting "TypeError: is not a function" with ion and XML

RESOLVED FIXED

Status

()

Core
JavaScript Engine
--
critical
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: decoder, Assigned: dvander)

Tracking

(Blocks: 2 bugs, {regression, testcase})

Other Branch
x86_64
Linux
regression, testcase
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

5 years ago
+++ This bug was initially created as a clone of Bug #758376 +++

The following testcase shows different behavior with options --ion -n -m --ion-eager vs. --no-ion on ionmonkey revision c05b873dad48:


function TEST(section, expected, actual) {}
function TEST_XML(section, expected, actual) {
        return TEST(section, expected, actual.toXMLString());
}
x = new XML("");
TEST_XML(2, "", x);
TEST_XML(3, "", x);


$ debug64/js --ion -n -m --ion-eager test.js
test.js:3: TypeError:  is not a function


$ debug64/js --no-ion test.js
<no output or error>
(Reporter)

Comment 1

5 years ago
Oh and ignore the clone message at the beginning. I just clone bugs to save some time :)
(Assignee)

Updated

5 years ago
Assignee: general → dvander
Status: NEW → ASSIGNED
(Assignee)

Comment 2

5 years ago
Created attachment 627419 [details] [diff] [review]
fix

Use interpreter logic.
Attachment #627419 - Flags: review?(jdemooij)

Updated

5 years ago
Attachment #627419 - Flags: review?(jdemooij) → review+
(Assignee)

Comment 3

5 years ago
http://hg.mozilla.org/projects/ionmonkey/rev/d09cf8da78c8
Status: ASSIGNED → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.