I removed JS clause completely. I am now getting a failure in a different test, with the following stack trace [1]. I’ll see if I can figure out, unless there’s another wild idea thrown to make my life simpler.
[1] [Fault] exception, information=Error: No class registered for interface 'mx.core::ITextFieldFactory'. at mx.core::Singleton$/getInstance()[/org/apache/royale/0.9.9/mx/core/Singleton.as:118] at mx.core::UITextFormat$/get textFieldFactory()[/org/apache/royale/0.9.9/mx/core/UITextFormat.as:91] at mx.core::UITextFormat/measure()[/org/apache/royale/0.9.9/mx/core/UITextFormat.as:503] at mx.core::UITextFormat/measureText()[/org/apache/royale/0.9.9/mx/core/UITextFormat.as:444] at mx.core::UIComponent/measureText()[/org/apache/royale/0.9.9/mx/core/UIComponent.as:5007] at mx.controls.dataGridClasses::DataGridHeaderRenderer/updateDisplayList()[/org/apache/royale/0.9.9/mx/controls/dataGridClasses/DataGridHeaderRenderer.a s:703] at mx.controls.dataGridClasses::DataGridHeaderRenderer/setWidth()[/org/apache/royale/0.9.9/mx/controls/dataGridClasses/DataGridHeaderRenderer.as:970] at org.apache.royale.core::UIBase/set width()[/org/apache/royale/0.9.9/org/apache/royale/core/UIBase.as:447] at mx.controls.beads.layouts::DataGridHeaderLayout/layout()[/org/apache/royale/0.9.9/mx/controls/beads/layouts/DataGridHeaderLayout.as:155] at org.apache.royale.core::LayoutBase/performLayout()[/org/apache/royale/0.9.9/org/apache/royale/core/LayoutBase.as:333] at org.apache.royale.core::LayoutBase/handleSizeChange()[/org/apache/royale/0.9.9/org/apache/royale/core/LayoutBase.as:116] at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at org.apache.royale.core::UIBase/dispatchEvent()[/org/apache/royale/0.9.9/org/apache/royale/core/UIBase.as:1577] at global/org.apache.royale.utils::sendEvent()[/org/apache/royale/0.9.9/org/apache/royale/utils/sendEvent.as:40] at org.apache.royale.core::UIBase/setWidth()[/org/apache/royale/0.9.9/org/apache/royale/core/UIBase.as:615] at org.apache.royale.core::UIBase/set width()[/org/apache/royale/0.9.9/org/apache/royale/core/UIBase.as:447] at org.apache.royale.html.beads.layouts::DataGridLayout/layout()[/org/apache/royale/0.9.9/org/apache/royale/html/beads/layouts/DataGridLayout.as:179] at mx.controls.beads.layouts::DataGridLayout/layout()[/org/apache/royale/0.9.9/mx/controls/beads/layouts/DataGridLayout.as:248] at org.apache.royale.html.beads.layouts::DataGridLayout/handleLayoutNeeded()[/org/apache/royale/0.9.9/org/apache/royale/html/beads/layouts/DataGridLayou t.as:96] From: Yishay Weiss<mailto:yishayj...@hotmail.com> Sent: Thursday, November 4, 2021 7:22 PM To: dev@royale.apache.org<mailto:dev@royale.apache.org>; yish...@apache.org<mailto:yish...@apache.org> Subject: RE: Re: mxtests failing Good point, and yes, that made some of the tests pass. I am not familiar with the differences between mx swf and js, so I don’t know why we need a JS clause there at all… From: Josh Tynjala<mailto:joshtynj...@bowlerhat.dev> Sent: Thursday, November 4, 2021 6:44 PM To: dev@royale.apache.org<mailto:dev@royale.apache.org>; yish...@apache.org<mailto:yish...@apache.org> Subject: Re: Re: mxtests failing If removing the override fixes the mxtests, maybe it would help if super.handleChildrenAdded() is also called on SWF? Like this instead: super.handleChildrenAdded(event); COMPILE::JS { listenToChildren(); } I don't know much about the framework internals, so that's just kind of a wild guess. -- Josh Tynjala Bowler Hat LLC <https://bowlerhat.dev> On Thu, Nov 4, 2021 at 9:31 AM Yishay Weiss <yish...@apache.org> wrote: > It's definitely being caused by changes done ResizeBranch. If I remove > this override from BoxLayout.as it will work > > override protected function > handleChildrenAdded(event:Event):void > { > COMPILE::JS { > super.handleChildrenAdded(event); > listenToChildren(); > } > } > > But that would break ChildResize functionality. > > One interesting finding is that adding an element to the main test > application helps pass some of the tests, as shown in the test_mxtests > branch that I pushed. Edward, you have some experience dealing with the swf > side of things so any input would be welcome. > > Thanks. > > On 2021/11/02 17:38:39 Yishay Weiss wrote: > > fdb shows this line > > > > =121 var targets:Array = > actualTarget.stage.getObjectsUnderPoint(stagePt); > > > > in DispatchMouseEvent fails because actualTarget.stage in null > (actualTarget is ComboBoxList) > > > > This rings familiar, so if anyone has a recollection, please share. > Otherwise, I'll continue to search the offending commit. > > > > On 2021/11/02 12:42:51, Yishay Weiss <yish...@apache.org> wrote: > > > Could be the ChildResize merge (CI shows it started failing after > that). I'll have a look.Thanks. > > > > > > On 2021/11/02 05:26:09, Edward Stangler <estang...@bradmark.com> > wrote: > > > > Anyone else having problems with: ant mxtests > > > > > > > > Flash Debug Player comes up, but nothing happens. It's a recent > > > > change; it was working not too long ago. Other tests run fine. > > > > > > > > flashlog.txt: > > > > > > > > TestCase Start: ComboBoxTestScript$SetupComboBoxTest > > > > RESULT: > > > > > scriptName=halo.scripts::ComboBoxTestScript&id=SetupComboBoxTest&result=pass&elapsed=108&phase=body&started=1635825506757&extraInfo=&msg= > > > > TestCase Start: ComboBoxTestScript$ComboBoxTest1 > > > > RESULT: > > > > > scriptName=halo.scripts::ComboBoxTestScript&id=ComboBoxTest1&result=fail&elapsed=2&phase=body&started=1635825506894&extraInfo=null&msg=AssertPropertyValue(body:step > > > > 3) haloComboBoxTests.testCombo.dropdown.visible false != true > > > > TestCase Start: ComboBoxTestScript$ComboBoxTest2 > > > > runid.properties ERROR handler with: [SecurityErrorEvent > > > > type="securityError" bubbles=false cancelable=false eventPhase=2 > > > > text="Error #2048: Security sandbox violation: > > > > > file:///C|/somewhere/royale%2Dasjs/mustella/tests/mxtests/basicTests/BasicTests.swf<file:///C:/somewhere/royale%2Dasjs/mustella/tests/mxtests/basicTests/BasicTests.swf><file:///C:/somewhere/royale%2Dasjs/mustella/tests/mxtests/basicTests/BasicTests.swf%3cfile:/C:/somewhere/royale%2Dasjs/mustella/tests/mxtests/basicTests/BasicTests.swf%3e> > > > > cannot load data from > > > > http://localhost:80/runid.properties?0.94145911047235131635825506356 > ."] > > > > > > > > > > > > > > > > > >