Last Comment Bug 758384 - IonMonkey: Differential Testing: Getting "TypeError: is not a function" with ion and XML
: IonMonkey: Differential Testing: Getting "TypeError: is not a function" with...
Status: RESOLVED FIXED
: regression, testcase
Product: Core
Classification: Components
Component: JavaScript Engine (show other bugs)
: Other Branch
: x86_64 Linux
: -- critical (vote)
: ---
Assigned To: David Anderson [:dvander]
:
Mentors:
Depends on:
Blocks: langfuzz IonFuzz
  Show dependency treegraph
 
Reported: 2012-05-24 14:17 PDT by Christian Holler (:decoder)
Modified: 2012-05-30 08:00 PDT (History)
7 users (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments
fix (1.14 KB, patch)
2012-05-25 18:09 PDT, David Anderson [:dvander]
jdemooij: review+
Details | Diff | Splinter Review

Description Christian Holler (:decoder) 2012-05-24 14:17:19 PDT
+++ 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>
Comment 1 Christian Holler (:decoder) 2012-05-24 14:17:46 PDT
Oh and ignore the clone message at the beginning. I just clone bugs to save some time :)
Comment 2 David Anderson [:dvander] 2012-05-25 18:09:57 PDT
Created attachment 627419 [details] [diff] [review]
fix

Use interpreter logic.
Comment 3 David Anderson [:dvander] 2012-05-30 08:00:53 PDT
http://hg.mozilla.org/projects/ionmonkey/rev/d09cf8da78c8

Note You need to log in before you can comment on or make changes to this bug.