@qooxdoo/framework 7.1.0 → 7.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (153) hide show
  1. package/CHANGELOG.md +3 -0
  2. package/Manifest.json +22 -22
  3. package/lib/compiler/compile-info.json +66 -66
  4. package/lib/compiler/index.js +406 -335
  5. package/lib/resource/qx/tool/cli/templates/loader/loader-browser.tmpl.js +1 -2
  6. package/lib/resource/qx/tool/cli/templates/skeleton/mobile/source/theme/custom/css/custom.css.map +1 -1
  7. package/lib/resource/qx/tool/schema/compile-1-0-0.json +11 -1
  8. package/npm-shrinkwrap.json +793 -744
  9. package/package.json +9 -8
  10. package/source/class/qx/Interface.js +13 -15
  11. package/source/class/qx/dev/unit/MTestLoader.js +25 -33
  12. package/source/class/qx/dev/unit/TestResult.js +9 -13
  13. package/source/class/qx/event/handler/Focus.js +1 -1
  14. package/source/class/qx/html/Element.js +1 -1
  15. package/source/class/qx/html/Node.js +0 -1
  16. package/source/class/qx/io/request/AbstractRequest.js +42 -66
  17. package/source/class/qx/test/Interface.js +70 -6
  18. package/source/class/qx/test/Mixin.js +20 -17
  19. package/source/class/qx/test/Promise.js +67 -91
  20. package/source/class/qx/test/bom/History.js +11 -19
  21. package/source/class/qx/test/bom/WebWorker.js +7 -15
  22. package/source/class/qx/test/bom/media/MediaTestCase.js +10 -18
  23. package/source/class/qx/test/bom/media/Video.js +10 -18
  24. package/source/class/qx/test/bom/rest/Resource.js +3 -7
  25. package/source/class/qx/test/bom/rest/ResourceWithRemote.js +40 -56
  26. package/source/class/qx/test/bom/webfonts/Validator.js +12 -20
  27. package/source/class/qx/test/core/Object.js +3 -7
  28. package/source/class/qx/test/data/controller/List.js +18 -22
  29. package/source/class/qx/test/data/marshal/Json.js +10 -14
  30. package/source/class/qx/test/data/store/Json.js +337 -428
  31. package/source/class/qx/test/data/store/Jsonp.js +46 -66
  32. package/source/class/qx/test/data/store/RestWithRemote.js +10 -18
  33. package/source/class/qx/test/html/Element.js +4 -8
  34. package/source/class/qx/test/html/Iframe.js +48 -60
  35. package/source/class/qx/test/io/jsonrpc/Client.js +1 -1
  36. package/source/class/qx/test/io/request/JsonpWithRemote.js +6 -10
  37. package/source/class/qx/test/io/request/MRequest.js +13 -25
  38. package/source/class/qx/test/io/request/Xhr.js +5 -9
  39. package/source/class/qx/test/io/request/XhrWithRemote.js +50 -78
  40. package/source/class/qx/test/io/rest/Resource.js +3 -7
  41. package/source/class/qx/test/io/rest/ResourceWithRemote.js +41 -57
  42. package/source/class/qx/test/mobile/basic/Image.js +16 -24
  43. package/source/class/qx/test/mobile/container/Navigation.js +3 -7
  44. package/source/class/qx/test/mobile/container/Scroll.js +8 -12
  45. package/source/class/qx/test/mobile/page/Page.js +24 -44
  46. package/source/class/qx/test/performance/Property.js +2 -2
  47. package/source/class/qx/test/ui/basic/Image.js +32 -52
  48. package/source/class/qx/test/ui/core/Blocker.js +6 -14
  49. package/source/class/qx/test/ui/embed/Iframe.js +13 -21
  50. package/source/class/qx/test/ui/form/FileSelectorButton.js +32 -0
  51. package/source/class/qx/test/ui/form/FormValidator.js +147 -211
  52. package/source/class/qx/test/ui/form/Label.js +8 -16
  53. package/source/class/qx/test/ui/root/Inline.js +9 -13
  54. package/source/class/qx/test/ui/table/Table.js +6 -14
  55. package/source/class/qx/test/ui/toolbar/OverflowHandling.js +18 -30
  56. package/source/class/qx/test/ui/virtual/Pane.js +3 -7
  57. package/source/class/qx/test/util/DynamicScriptLoader.js +23 -42
  58. package/source/class/qx/theme/iconfont/LoadMaterialIcons.js +4 -4
  59. package/source/class/qx/theme/iconfont/LoadMaterialIconsOutlined.js +4 -4
  60. package/source/class/qx/theme/iconfont/LoadMaterialIconsRound.js +4 -4
  61. package/source/class/qx/theme/iconfont/LoadMaterialIconsSharp.js +4 -4
  62. package/source/class/qx/theme/iconfont/LoadMaterialIconsTwoTone.js +4 -4
  63. package/source/class/qx/theme/tangible/Appearance.js +22 -3
  64. package/source/class/qx/theme/tangible/ColorEngine.js +3 -3
  65. package/source/class/qx/theme/tangible/Decoration.js +3 -3
  66. package/source/class/qx/tool/cli/Watch.js +3 -7
  67. package/source/class/qx/tool/cli/api/AbstractApi.js +1 -1
  68. package/source/class/qx/tool/cli/api/CompilerApi.js +3 -7
  69. package/source/class/qx/tool/cli/commands/Compile.js +9 -1
  70. package/source/class/qx/tool/cli/commands/Lint.js +21 -17
  71. package/source/class/qx/tool/compiler/ClassFile.js +22 -12
  72. package/source/class/qx/tool/compiler/Es6ify.js +12 -5
  73. package/source/class/qx/tool/compiler/TargetError.js +3 -4
  74. package/source/class/qx/tool/compiler/app/Application.js +14 -0
  75. package/source/class/qx/tool/compiler/app/WebFont.js +8 -6
  76. package/source/class/qx/tool/compiler/targets/SourceCodeCopier.js +1 -1
  77. package/source/class/qx/tool/compiler/targets/Target.js +7 -5
  78. package/source/class/qx/tool/compiler/targets/meta/AbstractJavascriptMeta.js +1 -1
  79. package/source/class/qx/tool/compiler/targets/meta/Browserify.js +88 -52
  80. package/source/class/qx/tool/compiler/targets/meta/Uglify.js +11 -3
  81. package/source/class/qx/tool/utils/Json.js +1 -1
  82. package/source/class/qx/tool/utils/Website.js +2 -2
  83. package/source/class/qx/ui/basic/Label.js +13 -17
  84. package/source/class/qx/ui/core/MPlacement.js +13 -21
  85. package/source/class/qx/ui/core/Widget.js +2 -3
  86. package/source/class/qx/ui/core/scroll/NativeScrollBar.js +3 -7
  87. package/source/class/qx/ui/core/scroll/ScrollBar.js +3 -7
  88. package/source/class/qx/ui/embed/Iframe.js +40 -50
  89. package/source/class/qx/ui/form/AbstractField.js +8 -12
  90. package/source/class/qx/ui/form/ComboBox.js +7 -15
  91. package/source/class/qx/ui/form/DateField.js +9 -18
  92. package/source/class/qx/ui/form/FileSelectorButton.js +157 -0
  93. package/source/class/qx/ui/form/Spinner.js +7 -15
  94. package/source/class/qx/ui/form/TextArea.js +3 -7
  95. package/source/class/qx/ui/form/VirtualComboBox.js +8 -16
  96. package/source/class/qx/ui/form/VirtualSelectBox.js +21 -37
  97. package/source/class/qx/ui/layout/Canvas.js +2 -2
  98. package/source/class/qx/ui/mobile/container/MIScroll.js +3 -7
  99. package/source/class/qx/ui/progressive/headfoot/Progress.js +22 -34
  100. package/source/class/qx/ui/progressive/renderer/table/Row.js +1 -1
  101. package/source/class/qx/ui/splitpane/Pane.js +14 -22
  102. package/source/class/qx/ui/table/MTableContextMenu.js +63 -71
  103. package/source/class/qx/ui/table/Table.js +3 -7
  104. package/source/class/qx/ui/table/model/Abstract.js +5 -2
  105. package/source/class/qx/ui/table/pane/Scroller.js +8 -12
  106. package/source/class/qx/ui/toolbar/FileSelectorButton.js +57 -0
  107. package/source/class/qx/ui/toolbar/Part.js +3 -7
  108. package/source/class/qx/ui/tree/VirtualTree.js +5 -9
  109. package/source/class/qx/ui/treevirtual/MNode.js +5 -3
  110. package/source/class/qx/ui/treevirtual/TreeVirtual.js +3 -7
  111. package/source/class/qx/ui/virtual/core/Pane.js +30 -42
  112. package/source/class/qx/util/DynamicScriptLoader.js +31 -43
  113. package/source/resource/qx/iconfont/MaterialIcons/materialicons-v126.eot +0 -0
  114. package/source/resource/qx/iconfont/MaterialIcons/{materialicons-v70.ttf → materialicons-v126.ttf} +0 -0
  115. package/source/resource/qx/iconfont/MaterialIcons/materialicons-v126.woff +0 -0
  116. package/source/resource/qx/iconfont/MaterialIcons/materialicons-v126.woff2 +0 -0
  117. package/source/resource/qx/iconfont/MaterialIcons/materialiconsoutlined-v101.eot +0 -0
  118. package/source/resource/qx/iconfont/MaterialIcons/materialiconsoutlined-v101.otf +0 -0
  119. package/source/resource/qx/iconfont/MaterialIcons/materialiconsoutlined-v101.woff +0 -0
  120. package/source/resource/qx/iconfont/MaterialIcons/materialiconsoutlined-v101.woff2 +0 -0
  121. package/source/resource/qx/iconfont/MaterialIcons/materialiconsround-v100.eot +0 -0
  122. package/source/resource/qx/iconfont/MaterialIcons/materialiconsround-v100.otf +0 -0
  123. package/source/resource/qx/iconfont/MaterialIcons/materialiconsround-v100.woff +0 -0
  124. package/source/resource/qx/iconfont/MaterialIcons/materialiconsround-v100.woff2 +0 -0
  125. package/source/resource/qx/iconfont/MaterialIcons/materialiconssharp-v101.eot +0 -0
  126. package/source/resource/qx/iconfont/MaterialIcons/materialiconssharp-v101.otf +0 -0
  127. package/source/resource/qx/iconfont/MaterialIcons/materialiconssharp-v101.woff +0 -0
  128. package/source/resource/qx/iconfont/MaterialIcons/materialiconssharp-v101.woff2 +0 -0
  129. package/source/resource/qx/iconfont/MaterialIcons/materialiconstwotone-v104.eot +0 -0
  130. package/source/resource/qx/iconfont/MaterialIcons/materialiconstwotone-v104.otf +0 -0
  131. package/source/resource/qx/iconfont/MaterialIcons/materialiconstwotone-v104.woff +0 -0
  132. package/source/resource/qx/iconfont/MaterialIcons/materialiconstwotone-v104.woff2 +0 -0
  133. package/source/resource/qx/tool/cli/templates/loader/loader-browser.tmpl.js +1 -2
  134. package/source/resource/qx/tool/schema/compile-1-0-0.json +11 -1
  135. package/source/resource/qx/iconfont/MaterialIcons/materialicons-v70.eot +0 -0
  136. package/source/resource/qx/iconfont/MaterialIcons/materialicons-v70.woff +0 -0
  137. package/source/resource/qx/iconfont/MaterialIcons/materialicons-v70.woff2 +0 -0
  138. package/source/resource/qx/iconfont/MaterialIcons/materialiconsoutlined-v38.eot +0 -0
  139. package/source/resource/qx/iconfont/MaterialIcons/materialiconsoutlined-v38.otf +0 -0
  140. package/source/resource/qx/iconfont/MaterialIcons/materialiconsoutlined-v38.woff +0 -0
  141. package/source/resource/qx/iconfont/MaterialIcons/materialiconsoutlined-v38.woff2 +0 -0
  142. package/source/resource/qx/iconfont/MaterialIcons/materialiconsround-v37.eot +0 -0
  143. package/source/resource/qx/iconfont/MaterialIcons/materialiconsround-v37.otf +0 -0
  144. package/source/resource/qx/iconfont/MaterialIcons/materialiconsround-v37.woff +0 -0
  145. package/source/resource/qx/iconfont/MaterialIcons/materialiconsround-v37.woff2 +0 -0
  146. package/source/resource/qx/iconfont/MaterialIcons/materialiconssharp-v38.eot +0 -0
  147. package/source/resource/qx/iconfont/MaterialIcons/materialiconssharp-v38.otf +0 -0
  148. package/source/resource/qx/iconfont/MaterialIcons/materialiconssharp-v38.woff +0 -0
  149. package/source/resource/qx/iconfont/MaterialIcons/materialiconssharp-v38.woff2 +0 -0
  150. package/source/resource/qx/iconfont/MaterialIcons/materialiconstwotone-v36.eot +0 -0
  151. package/source/resource/qx/iconfont/MaterialIcons/materialiconstwotone-v36.otf +0 -0
  152. package/source/resource/qx/iconfont/MaterialIcons/materialiconstwotone-v36.woff +0 -0
  153. package/source/resource/qx/iconfont/MaterialIcons/materialiconstwotone-v36.woff2 +0 -0
@@ -510,18 +510,14 @@ qx.Class.define("qx.test.ui.form.FormValidator", {
510
510
 
511
511
  this.__manager.add(this.__username, asyncValidator);
512
512
 
513
- this.__manager.addListener(
514
- "complete",
515
- function () {
516
- this.resume(function () {
517
- // check the status after the complete
518
- this.assertFalse(this.__manager.isValid());
519
- this.assertFalse(this.__username.getValid());
520
- this.assertEquals("fail", this.__username.getInvalidMessage());
521
- }, this);
522
- },
523
- this
524
- );
513
+ this.__manager.addListener("complete", () => {
514
+ this.resume(function () {
515
+ // check the status after the complete
516
+ this.assertFalse(this.__manager.isValid());
517
+ this.assertFalse(this.__username.getValid());
518
+ this.assertEquals("fail", this.__username.getInvalidMessage());
519
+ }, this);
520
+ });
525
521
 
526
522
  this.__manager.validate();
527
523
 
@@ -536,17 +532,13 @@ qx.Class.define("qx.test.ui.form.FormValidator", {
536
532
  this.__manager.add(this.__username, asyncValidator);
537
533
  this.__username.setValue("affe");
538
534
 
539
- this.__manager.addListener(
540
- "complete",
541
- function () {
542
- this.resume(function () {
543
- // check the status after the complete
544
- this.assertTrue(this.__manager.isValid());
545
- this.assertTrue(this.__username.getValid());
546
- }, this);
547
- },
548
- this
549
- );
535
+ this.__manager.addListener("complete", () => {
536
+ this.resume(function () {
537
+ // check the status after the complete
538
+ this.assertTrue(this.__manager.isValid());
539
+ this.assertTrue(this.__username.getValid());
540
+ }, this);
541
+ });
550
542
 
551
543
  this.__manager.validate();
552
544
 
@@ -570,26 +562,22 @@ qx.Class.define("qx.test.ui.form.FormValidator", {
570
562
  this.__manager.add(this.__password1, asyncValidator2);
571
563
  this.__manager.add(this.__password2, asyncValidator3);
572
564
 
573
- this.__manager.addListener(
574
- "complete",
575
- function () {
576
- this.resume(function () {
577
- // check the status after the complete
578
- this.assertFalse(this.__manager.isValid());
579
- this.assertFalse(this.__username.getValid());
580
-
581
- this.assertEquals("fail", this.__username.getInvalidMessage());
582
- this.assertEquals("fail", this.__password1.getInvalidMessage());
583
- this.assertEquals("fail", this.__password2.getInvalidMessage());
584
-
585
- this.assertEquals(3, this.__manager.getInvalidMessages().length);
586
- this.assertEquals("fail", this.__manager.getInvalidMessages()[0]);
587
- this.assertEquals("fail", this.__manager.getInvalidMessages()[1]);
588
- this.assertEquals("fail", this.__manager.getInvalidMessages()[2]);
589
- }, this);
590
- },
591
- this
592
- );
565
+ this.__manager.addListener("complete", () => {
566
+ this.resume(function () {
567
+ // check the status after the complete
568
+ this.assertFalse(this.__manager.isValid());
569
+ this.assertFalse(this.__username.getValid());
570
+
571
+ this.assertEquals("fail", this.__username.getInvalidMessage());
572
+ this.assertEquals("fail", this.__password1.getInvalidMessage());
573
+ this.assertEquals("fail", this.__password2.getInvalidMessage());
574
+
575
+ this.assertEquals(3, this.__manager.getInvalidMessages().length);
576
+ this.assertEquals("fail", this.__manager.getInvalidMessages()[0]);
577
+ this.assertEquals("fail", this.__manager.getInvalidMessages()[1]);
578
+ this.assertEquals("fail", this.__manager.getInvalidMessages()[2]);
579
+ }, this);
580
+ });
593
581
 
594
582
  this.__manager.validate();
595
583
 
@@ -613,17 +601,13 @@ qx.Class.define("qx.test.ui.form.FormValidator", {
613
601
  this.__manager.add(this.__password1, asyncValidator2);
614
602
  this.__manager.add(this.__password2, asyncValidator3);
615
603
 
616
- this.__manager.addListener(
617
- "complete",
618
- function () {
619
- this.resume(function () {
620
- // check the status after the complete
621
- this.assertTrue(this.__manager.isValid());
622
- this.assertTrue(this.__username.getValid());
623
- }, this);
624
- },
625
- this
626
- );
604
+ this.__manager.addListener("complete", () => {
605
+ this.resume(function () {
606
+ // check the status after the complete
607
+ this.assertTrue(this.__manager.isValid());
608
+ this.assertTrue(this.__username.getValid());
609
+ }, this);
610
+ });
627
611
 
628
612
  // add values to all three input fields
629
613
  this.__username.setValue("a");
@@ -667,19 +651,15 @@ qx.Class.define("qx.test.ui.form.FormValidator", {
667
651
  this.__password1.setValid(false);
668
652
  this.__password2.setValid(false);
669
653
 
670
- this.__manager.addListener(
671
- "complete",
672
- function () {
673
- this.resume(function () {
674
- // check the status after the complete
675
- this.assertFalse(this.__manager.isValid());
676
- this.assertTrue(this.__username.getValid());
677
- this.assertFalse(this.__password1.getValid());
678
- this.assertTrue(this.__password2.getValid());
679
- }, this);
680
- },
681
- this
682
- );
654
+ this.__manager.addListener("complete", () => {
655
+ this.resume(function () {
656
+ // check the status after the complete
657
+ this.assertFalse(this.__manager.isValid());
658
+ this.assertTrue(this.__username.getValid());
659
+ this.assertFalse(this.__password1.getValid());
660
+ this.assertTrue(this.__password2.getValid());
661
+ }, this);
662
+ });
683
663
 
684
664
  this.__username.setValue("a");
685
665
  this.__manager.validate();
@@ -704,21 +684,17 @@ qx.Class.define("qx.test.ui.form.FormValidator", {
704
684
  this.__manager.add(this.__password1, asyncValidator2);
705
685
  this.__manager.add(this.__password2, asyncValidator3);
706
686
 
707
- this.__manager.addListener(
708
- "complete",
709
- function () {
710
- this.resume(function () {
711
- // check the status after the complete
712
- this.assertFalse(this.__manager.isValid());
713
- this.assertFalse(this.__username.getValid());
714
- this.assertEquals("fail", this.__username.getInvalidMessage());
715
-
716
- this.assertEquals("fail", this.__manager.getInvalidMessages()[0]);
717
- this.assertEquals(1, this.__manager.getInvalidMessages().length);
718
- }, this);
719
- },
720
- this
721
- );
687
+ this.__manager.addListener("complete", () => {
688
+ this.resume(function () {
689
+ // check the status after the complete
690
+ this.assertFalse(this.__manager.isValid());
691
+ this.assertFalse(this.__username.getValid());
692
+ this.assertEquals("fail", this.__username.getInvalidMessage());
693
+
694
+ this.assertEquals("fail", this.__manager.getInvalidMessages()[0]);
695
+ this.assertEquals(1, this.__manager.getInvalidMessages().length);
696
+ }, this);
697
+ });
722
698
 
723
699
  // add values to all three input fields
724
700
  this.__password1.setValue("b");
@@ -750,19 +726,15 @@ qx.Class.define("qx.test.ui.form.FormValidator", {
750
726
  this.__manager.add(this.__password1, asyncValidator2);
751
727
  this.__manager.add(this.__password2, asyncValidator3);
752
728
 
753
- this.__manager.addListener(
754
- "complete",
755
- function () {
756
- this.resume(function () {
757
- // check the status after the complete
758
- this.assertFalse(this.__manager.isValid());
759
- this.assertTrue(this.__username.getValid());
760
- this.assertTrue(this.__password1.getValid());
761
- this.assertTrue(this.__password2.getValid());
762
- }, this);
763
- },
764
- this
765
- );
729
+ this.__manager.addListener("complete", () => {
730
+ this.resume(function () {
731
+ // check the status after the complete
732
+ this.assertFalse(this.__manager.isValid());
733
+ this.assertTrue(this.__username.getValid());
734
+ this.assertTrue(this.__password1.getValid());
735
+ this.assertTrue(this.__password2.getValid());
736
+ }, this);
737
+ });
766
738
 
767
739
  this.__manager.setValidator(
768
740
  new qx.ui.form.validation.AsyncValidator(function (
@@ -803,19 +775,15 @@ qx.Class.define("qx.test.ui.form.FormValidator", {
803
775
  this.__manager.add(this.__password1, asyncValidator2);
804
776
  this.__manager.add(this.__password2, asyncValidator3);
805
777
 
806
- this.__manager.addListener(
807
- "complete",
808
- function () {
809
- this.resume(function () {
810
- // check the status after the complete
811
- this.assertTrue(this.__manager.isValid());
812
- this.assertTrue(this.__username.getValid());
813
- this.assertTrue(this.__password1.getValid());
814
- this.assertTrue(this.__password2.getValid());
815
- }, this);
816
- },
817
- this
818
- );
778
+ this.__manager.addListener("complete", () => {
779
+ this.resume(function () {
780
+ // check the status after the complete
781
+ this.assertTrue(this.__manager.isValid());
782
+ this.assertTrue(this.__username.getValid());
783
+ this.assertTrue(this.__password1.getValid());
784
+ this.assertTrue(this.__password2.getValid());
785
+ }, this);
786
+ });
819
787
 
820
788
  this.__manager.setValidator(
821
789
  new qx.ui.form.validation.AsyncValidator(function (
@@ -851,19 +819,15 @@ qx.Class.define("qx.test.ui.form.FormValidator", {
851
819
  this.__manager.add(this.__password1, this.__notEmptyValidator);
852
820
  this.__manager.add(this.__password2, this.__notEmptyValidator);
853
821
 
854
- this.__manager.addListener(
855
- "complete",
856
- function () {
857
- this.resume(function () {
858
- // check the status after the complete
859
- this.assertFalse(this.__manager.isValid());
860
- this.assertFalse(this.__username.getValid());
861
- this.assertTrue(this.__password1.getValid());
862
- this.assertTrue(this.__password2.getValid());
863
- }, this);
864
- },
865
- this
866
- );
822
+ this.__manager.addListener("complete", () => {
823
+ this.resume(function () {
824
+ // check the status after the complete
825
+ this.assertFalse(this.__manager.isValid());
826
+ this.assertFalse(this.__username.getValid());
827
+ this.assertTrue(this.__password1.getValid());
828
+ this.assertTrue(this.__password2.getValid());
829
+ }, this);
830
+ });
867
831
 
868
832
  this.__password1.setValue("a");
869
833
  this.__password2.setValue("b");
@@ -882,19 +846,15 @@ qx.Class.define("qx.test.ui.form.FormValidator", {
882
846
  this.__manager.add(this.__password1, this.__notEmptyValidator);
883
847
  this.__manager.add(this.__password2, this.__notEmptyValidator);
884
848
 
885
- this.__manager.addListener(
886
- "complete",
887
- function () {
888
- this.resume(function () {
889
- // check the status after the complete
890
- this.assertFalse(this.__manager.isValid());
891
- this.assertTrue(this.__username.getValid());
892
- this.assertFalse(this.__password1.getValid());
893
- this.assertTrue(this.__password2.getValid());
894
- }, this);
895
- },
896
- this
897
- );
849
+ this.__manager.addListener("complete", () => {
850
+ this.resume(function () {
851
+ // check the status after the complete
852
+ this.assertFalse(this.__manager.isValid());
853
+ this.assertTrue(this.__username.getValid());
854
+ this.assertFalse(this.__password1.getValid());
855
+ this.assertTrue(this.__password2.getValid());
856
+ }, this);
857
+ });
898
858
 
899
859
  this.__username.setValue("a");
900
860
  this.__password2.setValue("b");
@@ -913,19 +873,15 @@ qx.Class.define("qx.test.ui.form.FormValidator", {
913
873
  this.__manager.add(this.__password1, this.__notEmptyValidator);
914
874
  this.__manager.add(this.__password2, this.__notEmptyValidator);
915
875
 
916
- this.__manager.addListener(
917
- "complete",
918
- function () {
919
- this.resume(function () {
920
- // check the status after the complete
921
- this.assertTrue(this.__manager.isValid());
922
- this.assertTrue(this.__username.getValid());
923
- this.assertTrue(this.__password1.getValid());
924
- this.assertTrue(this.__password2.getValid());
925
- }, this);
926
- },
927
- this
928
- );
876
+ this.__manager.addListener("complete", () => {
877
+ this.resume(function () {
878
+ // check the status after the complete
879
+ this.assertTrue(this.__manager.isValid());
880
+ this.assertTrue(this.__username.getValid());
881
+ this.assertTrue(this.__password1.getValid());
882
+ this.assertTrue(this.__password2.getValid());
883
+ }, this);
884
+ });
929
885
 
930
886
  this.__username.setValue("a");
931
887
  this.__password1.setValue("b");
@@ -945,18 +901,14 @@ qx.Class.define("qx.test.ui.form.FormValidator", {
945
901
  this.__manager.add(this.__username, asyncValidator1);
946
902
  this.__manager.add(this.__password1);
947
903
 
948
- this.__manager.addListener(
949
- "complete",
950
- function () {
951
- this.resume(function () {
952
- // check the status after the complete
953
- this.assertFalse(this.__manager.isValid());
954
- this.assertTrue(this.__username.getValid());
955
- this.assertFalse(this.__password1.getValid());
956
- }, this);
957
- },
958
- this
959
- );
904
+ this.__manager.addListener("complete", () => {
905
+ this.resume(function () {
906
+ // check the status after the complete
907
+ this.assertFalse(this.__manager.isValid());
908
+ this.assertTrue(this.__username.getValid());
909
+ this.assertFalse(this.__password1.getValid());
910
+ }, this);
911
+ });
960
912
 
961
913
  this.__username.setValue("a");
962
914
 
@@ -980,19 +932,15 @@ qx.Class.define("qx.test.ui.form.FormValidator", {
980
932
  this.__manager.add(this.__password1, this.__notEmptyValidator);
981
933
  this.__manager.add(this.__password2, asyncValidator3);
982
934
 
983
- this.__manager.addListener(
984
- "complete",
985
- function () {
986
- this.resume(function () {
987
- // check the status after the complete
988
- this.assertTrue(this.__manager.isValid());
989
- this.assertTrue(this.__username.getValid());
990
- this.assertTrue(this.__password1.getValid());
991
- this.assertTrue(this.__password2.getValid());
992
- }, this);
993
- },
994
- this
995
- );
935
+ this.__manager.addListener("complete", () => {
936
+ this.resume(function () {
937
+ // check the status after the complete
938
+ this.assertTrue(this.__manager.isValid());
939
+ this.assertTrue(this.__username.getValid());
940
+ this.assertTrue(this.__password1.getValid());
941
+ this.assertTrue(this.__password2.getValid());
942
+ }, this);
943
+ });
996
944
 
997
945
  this.__manager.setValidator(
998
946
  new qx.ui.form.validation.AsyncValidator(function (
@@ -1029,19 +977,15 @@ qx.Class.define("qx.test.ui.form.FormValidator", {
1029
977
  this.__manager.add(this.__password1, this.__notEmptyValidator);
1030
978
  this.__manager.add(this.__password2, asyncValidator3);
1031
979
 
1032
- this.__manager.addListener(
1033
- "complete",
1034
- function () {
1035
- this.resume(function () {
1036
- // check the status after the complete
1037
- this.assertFalse(this.__manager.isValid());
1038
- this.assertTrue(this.__username.getValid());
1039
- this.assertFalse(this.__password1.getValid());
1040
- this.assertTrue(this.__password2.getValid());
1041
- }, this);
1042
- },
1043
- this
1044
- );
980
+ this.__manager.addListener("complete", () => {
981
+ this.resume(function () {
982
+ // check the status after the complete
983
+ this.assertFalse(this.__manager.isValid());
984
+ this.assertTrue(this.__username.getValid());
985
+ this.assertFalse(this.__password1.getValid());
986
+ this.assertTrue(this.__password2.getValid());
987
+ }, this);
988
+ });
1045
989
 
1046
990
  this.__manager.setValidator(
1047
991
  new qx.ui.form.validation.AsyncValidator(function (
@@ -1077,19 +1021,15 @@ qx.Class.define("qx.test.ui.form.FormValidator", {
1077
1021
  this.__manager.add(this.__password1, this.__notEmptyValidator);
1078
1022
  this.__manager.add(this.__password2, asyncValidator3);
1079
1023
 
1080
- this.__manager.addListener(
1081
- "complete",
1082
- function () {
1083
- this.resume(function () {
1084
- // check the status after the complete
1085
- this.assertFalse(this.__manager.isValid());
1086
- this.assertFalse(this.__username.getValid());
1087
- this.assertTrue(this.__password1.getValid());
1088
- this.assertTrue(this.__password2.getValid());
1089
- }, this);
1090
- },
1091
- this
1092
- );
1024
+ this.__manager.addListener("complete", () => {
1025
+ this.resume(function () {
1026
+ // check the status after the complete
1027
+ this.assertFalse(this.__manager.isValid());
1028
+ this.assertFalse(this.__username.getValid());
1029
+ this.assertTrue(this.__password1.getValid());
1030
+ this.assertTrue(this.__password2.getValid());
1031
+ }, this);
1032
+ });
1093
1033
 
1094
1034
  this.__manager.setValidator(
1095
1035
  new qx.ui.form.validation.AsyncValidator(function (
@@ -1125,19 +1065,15 @@ qx.Class.define("qx.test.ui.form.FormValidator", {
1125
1065
  this.__manager.add(this.__password1, this.__notEmptyValidator);
1126
1066
  this.__manager.add(this.__password2, asyncValidator3);
1127
1067
 
1128
- this.__manager.addListener(
1129
- "complete",
1130
- function () {
1131
- this.resume(function () {
1132
- // check the status after the complete
1133
- this.assertFalse(this.__manager.isValid());
1134
- this.assertTrue(this.__username.getValid());
1135
- this.assertTrue(this.__password1.getValid());
1136
- this.assertTrue(this.__password2.getValid());
1137
- }, this);
1138
- },
1139
- this
1140
- );
1068
+ this.__manager.addListener("complete", () => {
1069
+ this.resume(function () {
1070
+ // check the status after the complete
1071
+ this.assertFalse(this.__manager.isValid());
1072
+ this.assertTrue(this.__username.getValid());
1073
+ this.assertTrue(this.__password1.getValid());
1074
+ this.assertTrue(this.__password2.getValid());
1075
+ }, this);
1076
+ });
1141
1077
 
1142
1078
  this.__manager.setValidator(
1143
1079
  new qx.ui.form.validation.AsyncValidator(function (
@@ -111,15 +111,11 @@ qx.Class.define("qx.test.ui.form.Label", {
111
111
 
112
112
  this.__label.setBuddy(this.__formWidget);
113
113
 
114
- this.__formWidget.addListener(
115
- "focus",
116
- function () {
117
- this.resume(function () {
118
- // do nothing. Just check for the event
119
- }, this);
120
- },
121
- this
122
- );
114
+ this.__formWidget.addListener("focus", () => {
115
+ this.resume(function () {
116
+ // do nothing. Just check for the event
117
+ }, this);
118
+ });
123
119
 
124
120
  this.tapOn(this.__label);
125
121
 
@@ -134,13 +130,9 @@ qx.Class.define("qx.test.ui.form.Label", {
134
130
  this.__label.setBuddy(null);
135
131
 
136
132
  var focused = false;
137
- this.__formWidget.addListener(
138
- "focus",
139
- function () {
140
- focused = true;
141
- },
142
- this
143
- );
133
+ this.__formWidget.addListener("focus", () => {
134
+ focused = true;
135
+ });
144
136
 
145
137
  var self = this;
146
138
  window.setTimeout(function () {
@@ -35,19 +35,15 @@ qx.Class.define("qx.test.ui.root.Inline", {
35
35
 
36
36
  testAppearEvent() {
37
37
  var inlineRoot = new qx.ui.root.Inline(this.__inlineIsleElement);
38
- inlineRoot.addListener(
39
- "appear",
40
- function (e) {
41
- this.resume(function () {
42
- this.assertTrue(
43
- qx.dom.Element.isInDom(
44
- inlineRoot.getContentElement().getDomElement()
45
- )
46
- );
47
- }, this);
48
- },
49
- this
50
- );
38
+ inlineRoot.addListener("appear", e => {
39
+ this.resume(function () {
40
+ this.assertTrue(
41
+ qx.dom.Element.isInDom(
42
+ inlineRoot.getContentElement().getDomElement()
43
+ )
44
+ );
45
+ }, this);
46
+ });
51
47
 
52
48
  this.wait();
53
49
  }
@@ -189,13 +189,9 @@ qx.Class.define("qx.test.ui.table.Table", {
189
189
  var table = new qx.ui.table.Table();
190
190
 
191
191
  var executed = false;
192
- var id = table.addListener(
193
- "changeRowHeight",
194
- function () {
195
- executed = true;
196
- },
197
- this
198
- );
192
+ var id = table.addListener("changeRowHeight", () => {
193
+ executed = true;
194
+ });
199
195
 
200
196
  this.assertNotNull(id);
201
197
 
@@ -214,13 +210,9 @@ qx.Class.define("qx.test.ui.table.Table", {
214
210
  table.setMetaColumnCounts([1, -1]);
215
211
 
216
212
  var executed = false;
217
- var id = table.addListener(
218
- "cellClick",
219
- function () {
220
- executed = true;
221
- },
222
- this
223
- );
213
+ var id = table.addListener("cellClick", () => {
214
+ executed = true;
215
+ });
224
216
 
225
217
  this.assertNotNull(id);
226
218
 
@@ -194,15 +194,11 @@ qx.Class.define("qx.test.ui.toolbar.OverflowHandling", {
194
194
 
195
195
  this.assertEquals("excluded", this.__indicator.getVisibility());
196
196
 
197
- this.__indicator.addListener(
198
- "changeVisibility",
199
- function () {
200
- this.resume(function () {
201
- this.assertEquals("visible", this.__indicator.getVisibility());
202
- }, this);
203
- },
204
- this
205
- );
197
+ this.__indicator.addListener("changeVisibility", () => {
198
+ this.resume(function () {
199
+ this.assertEquals("visible", this.__indicator.getVisibility());
200
+ }, this);
201
+ });
206
202
 
207
203
  this.__container.setWidth(60);
208
204
  this.wait();
@@ -222,15 +218,11 @@ qx.Class.define("qx.test.ui.toolbar.OverflowHandling", {
222
218
  this.__container.setWidth(60);
223
219
  this.flush();
224
220
 
225
- this.__indicator.addListener(
226
- "changeVisibility",
227
- function () {
228
- this.resume(function () {
229
- this.assertEquals("excluded", this.__indicator.getVisibility());
230
- }, this);
231
- },
232
- this
233
- );
221
+ this.__indicator.addListener("changeVisibility", () => {
222
+ this.resume(function () {
223
+ this.assertEquals("excluded", this.__indicator.getVisibility());
224
+ }, this);
225
+ });
234
226
 
235
227
  this.__container.setWidth(160);
236
228
  this.wait();
@@ -247,19 +239,15 @@ qx.Class.define("qx.test.ui.toolbar.OverflowHandling", {
247
239
 
248
240
  this.assertEquals("excluded", this.__indicator.getVisibility());
249
241
 
250
- this.__b2.addListener(
251
- "changeVisibility",
252
- function () {
253
- this.resume(function () {
254
- this.assertEquals("visible", this.__indicator.getVisibility());
242
+ this.__b2.addListener("changeVisibility", () => {
243
+ this.resume(function () {
244
+ this.assertEquals("visible", this.__indicator.getVisibility());
255
245
 
256
- // check if both buttons have been removed
257
- this.assertEquals("excluded", this.__b3.getVisibility(), "1");
258
- this.assertEquals("excluded", this.__b2.getVisibility(), "2");
259
- }, this);
260
- },
261
- this
262
- );
246
+ // check if both buttons have been removed
247
+ this.assertEquals("excluded", this.__b3.getVisibility(), "1");
248
+ this.assertEquals("excluded", this.__b2.getVisibility(), "2");
249
+ }, this);
250
+ });
263
251
 
264
252
  this.__container.setWidth(60);
265
253
  this.wait();
@@ -100,13 +100,9 @@ qx.Class.define("qx.test.ui.virtual.Pane", {
100
100
  var called = 0;
101
101
 
102
102
  var pane = new qx.ui.virtual.core.Pane(100, 20, 10, 50);
103
- pane.addListener(
104
- "update",
105
- function () {
106
- called++;
107
- },
108
- this
109
- );
103
+ pane.addListener("update", () => {
104
+ called++;
105
+ });
110
106
 
111
107
  pane.set({
112
108
  width: 300,