This is an automatically generated bug from the commit-queue. java/lc3/JSObject/ToObject-001.html has been flaky on the commit-queue. java/lc3/JSObject/ToObject-001.html was authored by ap@webkit.org. http://trac.webkit.org/browser/trunk/LayoutTests/java/lc3/JSObject/ToObject-001.html The commit-queue just saw java/lc3/JSObject/ToObject-001.html flake (Text diff mismatch) while processing attachment 80028 [details] on bug 53069. Bot: eseidel-cq-sl Port: Mac Platform: Mac OS X 10.6.6 The bots will update this with information from each new failure. If you believe this bug to be fixed or invalid, feel free to close. The bots will re-open if the flake re-occurs. If you would like to track this test fix with another bug, please close this bug as a duplicate. The bots will follow the duplicate chain when making future comments.
Created attachment 80072 [details] Failure diff from eseidel-cq-sl
The commit-queue just saw java/lc3/JSObject/ToObject-001.html flake (Text diff mismatch) while processing attachment 80169 [details] on bug 52873. Bot: eseidel-cq-sl Port: Mac Platform: Mac OS X 10.6.6
Created attachment 80216 [details] Failure diff from eseidel-cq-sl
This looks like the same as bug 51102.
The commit-queue just saw java/lc3/JSObject/ToObject-001.html flake (Text diff mismatch) while processing attachment 85865 [details] on bug 56059. Bot: eseidel-cq-sf Port: Mac Platform: Mac OS X 10.6.4
Created attachment 85905 [details] Failure diff from eseidel-cq-sf
The commit-queue just saw java/lc3/JSObject/ToObject-001.html flake (Text diff mismatch) while processing attachment 86290 [details] on bug 56728. Bot: cr-jail-3 Port: Mac Platform: Mac OS X 10.6.6
Created attachment 86411 [details] Failure diff from cr-jail-3
The commit-queue just saw java/lc3/JSObject/ToObject-001.html flake (Text diff mismatch) while processing attachment 87295 [details] on bug 57326. Bot: cr-jail-3 Port: Mac Platform: Mac OS X 10.6.6
Created attachment 87362 [details] Failure diff from cr-jail-3
The commit-queue just saw java/lc3/JSObject/ToObject-001.html flake (Text diff mismatch) while processing attachment 87752 [details] on bug 57551. Bot: cr-jail-8 Port: Mac Platform: Mac OS X 10.6.6
Created attachment 87914 [details] Failure diff from cr-jail-8
The commit-queue just saw java/lc3/JSObject/ToObject-001.html flake (Text diff mismatch) while processing attachment 87889 [details] on bug 51498. Bot: cr-jail-7 Port: Mac Platform: Mac OS X 10.6.6
Created attachment 87927 [details] Failure diff from cr-jail-7
The commit-queue just saw java/lc3/JSObject/ToObject-001.html flake (Text diff mismatch) while processing attachment 87960 [details] on bug 57692. Bot: cr-jail-7 Port: Mac Platform: Mac OS X 10.6.6
Created attachment 87970 [details] Failure diff from cr-jail-7
The commit-queue just saw java/lc3/JSObject/ToObject-001.html flake (Text diff mismatch) while processing attachment 88423 [details] on bug 57839. Bot: cr-jail-8 Port: Mac Platform: Mac OS X 10.6.6
Created attachment 88440 [details] Failure diff from cr-jail-8
The commit-queue just saw java/lc3/JSObject/ToObject-001.html flake (Text diff mismatch) while processing attachment 88470 [details] on bug 57863. Bot: cr-jail-7 Port: Mac Platform: Mac OS X 10.6.6
Created attachment 88497 [details] Failure diff from cr-jail-7
The commit-queue just saw java/lc3/JSObject/ToObject-001.html flake (Text diff mismatch) while processing attachment 88780 [details] on bug 57018. Bot: eseidel-cq-sf Port: Mac Platform: Mac OS X 10.6.4
Created attachment 88868 [details] Failure diff from eseidel-cq-sf
The commit-queue just saw java/lc3/JSObject/ToObject-001.html flake (Text diff mismatch) while processing attachment 88861 [details] on bug 58153. Bot: cr-jail-8 Port: Mac Platform: Mac OS X 10.6.6
Created attachment 88912 [details] Failure diff from cr-jail-8
The commit-queue just saw java/lc3/JSObject/ToObject-001.html flake (Text diff mismatch) while processing attachment 89671 [details] on bug 58456. Bot: cr-jail-7 Port: Mac Platform: Mac OS X 10.6.6
Created attachment 89792 [details] Failure diff from cr-jail-7
The commit-queue just saw java/lc3/JSObject/ToObject-001.html flake (Text diff mismatch) while processing attachment 89737 [details] on bug 58633. Bot: cr-jail-8 Port: Mac Platform: Mac OS X 10.6.6
Created attachment 89802 [details] Failure diff from cr-jail-8
The commit-queue just saw java/lc3/JSObject/ToObject-001.html flake (Text diff mismatch) while processing attachment 89883 [details] on bug 41449. Bot: cr-jail-7 Port: Mac Platform: Mac OS X 10.6.6
Created attachment 89943 [details] Failure diff from cr-jail-7
The failure seems to be: -FAIL dt.setObject( Math ); dt.PUB_OBJECT should be [object Math]. Was [object Math]. +FAIL dt.setObject( Math ); dt.PUB_OBJECT should be [object Math]. Was . or -FAIL dt.setObject( THIS ); dt.PUB_OBJECT should be [object DOMWindow]. Was [object DOMWindow]. +FAIL dt.setObject( THIS ); dt.PUB_OBJECT should be [object DOMWindow]. Was . or FAIL dt.setObject( Function ); dt.PUB_OBJECT should be function Function() { [native code] -} (of type function). Was function Function() { - [native code] -} (of type object). +} (of type function). Was (of type object). Something is fishy with the toString on this PUB_OBJECT thing.
OK. So these are the last 3 tests in the ToObject-001.js file: var THIS = this; a[i++] = new TestObject( "dt.setObject( THIS )", "dt.PUB_OBJECT", "dt.getObject()", "dt.getObject().constructor", 'this', 'this.constructor'); a[i++] = new TestObject( "dt.setObject( Math )", "dt.PUB_OBJECT", "dt.getObject()", "dt.getObject().constructor", 'Math', 'Object'); a[i++] = new TestObject( "dt.setObject( Function )", "dt.PUB_OBJECT", "dt.getObject()", "dt.getObject().constructor", 'Function', 'Function');
dt is: var dt = applet.createQAObject("com.netscape.javascript.qa.liveconnect.DataTypeClass");
http://trac.webkit.org/browser/trunk/LayoutTests/java/lc3/sources/com/netscape/javascript/qa/liveconnect/DataTypeClass.java is the java involved in this test. (and possibly http://trac.webkit.org/browser/trunk/LayoutTests/java/lc3/sources/com/netscape/javascript/qa/lc3/jsobject/JSObject_001.java) My current theory is that there is some sort of race in the wrapping process. When we pass the object to java, it must end up being wrapped somehow. That wrapping might be going wrong or being racy?
Java seems to try and use javascript from a specific thread. Code in jvalue convertValueToJValue(ExecState* exec, RootObject* rootObject, JSValue value, JavaType javaType, const char* javaClassName) // Convert value to a string if the target type is a java.lang.String, and we're not // converting from a null. if (!result.l && !strcmp(javaClassName, "java.lang.String")) { if (!value.isNull()) { UString stringValue = value.toString(exec); JNIEnv* env = getJNIEnv(); jobject javaString = env->functions->NewString(env, (const jchar*)stringValue.characters(), stringValue.length()); result.l = javaString; } } Doesn't seem to be trying to move to that thread. BUt maybe the JSLock is making sure we aren't competing with that thread anyway?
jobject JavaJSObject::convertValueToJObject(JSValue value) const appears to be how we create the JavaJSObjects in the first place (when we're passing "THIS" in, etc.)
The commit-queue just saw java/lc3/JSObject/ToObject-001.html flake (Text diff mismatch) while processing attachment 90032 [details] on bug 42541. Bot: cr-jail-8 Port: Mac Platform: Mac OS X 10.6.6
Created attachment 90051 [details] Failure diff from cr-jail-8
The commit-queue just saw java/lc3/JSObject/ToObject-001.html flake (Text diff mismatch) while processing attachment 90082 [details] on bug 58798. Bot: cr-jail-3 Port: Mac Platform: Mac OS X 10.6.6
Created attachment 90136 [details] Failure diff from cr-jail-3
The commit-queue just saw java/lc3/JSObject/ToObject-001.html flake (Text diff mismatch) while processing attachment 90472 [details] on bug 59058. Bot: cr-jail-4 Port: Mac Platform: Mac OS X 10.6.6
Created attachment 90503 [details] Failure diff from cr-jail-4
The commit-queue just saw java/lc3/JSObject/ToObject-001.html flake (Text diff mismatch) while processing attachment 90874 [details] on bug 59296. Bot: cr-jail-7 Port: Mac Platform: Mac OS X 10.6.6
Created attachment 90879 [details] Failure diff from cr-jail-7
The commit-queue just saw java/lc3/JSObject/ToObject-001.html flake (Text diff mismatch) while processing attachment 91150 [details] on bug 59487. Bot: cr-jail-8 Port: Mac Platform: Mac OS X 10.6.6
Created attachment 91242 [details] Failure diff from cr-jail-8
The commit-queue just saw java/lc3/JSObject/ToObject-001.html flake (Text diff mismatch) while processing attachment 91390 [details] on bug 59234. Bot: cr-jail-3 Port: Mac Platform: Mac OS X 10.6.6
Created attachment 91435 [details] Failure diff from cr-jail-3
The commit-queue just saw java/lc3/JSObject/ToObject-001.html flake (Text diff mismatch) while processing attachment 91263 [details] on bug 54439. Bot: cr-jail-4 Port: Mac Platform: Mac OS X 10.6.6
Created attachment 91627 [details] Failure diff from cr-jail-4
The commit-queue just saw java/lc3/JSObject/ToObject-001.html flake (Text diff mismatch) while processing attachment 91730 [details] on bug 57330. Bot: cr-jail-7 Port: Mac Platform: Mac OS X 10.6.6
Created attachment 91769 [details] Failure diff from cr-jail-7
The commit-queue just saw java/lc3/JSObject/ToObject-001.html flake (Text diff mismatch) while processing attachment 92727 [details] on bug 60437. Bot: cr-jail-7 Port: Mac Platform: Mac OS X 10.6.7
Created attachment 92792 [details] Failure diff from cr-jail-7