@openui5/sap.ui.core 1.84.39 → 1.84.41

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 (276) hide show
  1. package/package.json +1 -1
  2. package/src/jquery.sap.global.js +1 -1
  3. package/src/jquery.sap.properties.js +1 -1
  4. package/src/jquery.sap.resources.js +1 -1
  5. package/src/jquery.sap.script.js +1 -1
  6. package/src/jquery.sap.storage.js +3 -3
  7. package/src/sap/base/util/restricted/_CancelablePromise.js +1 -1
  8. package/src/sap/base/util/restricted/_castArray.js +1 -1
  9. package/src/sap/base/util/restricted/_compact.js +1 -1
  10. package/src/sap/base/util/restricted/_curry.js +1 -1
  11. package/src/sap/base/util/restricted/_debounce.js +1 -1
  12. package/src/sap/base/util/restricted/_difference.js +1 -1
  13. package/src/sap/base/util/restricted/_differenceBy.js +1 -1
  14. package/src/sap/base/util/restricted/_differenceWith.js +1 -1
  15. package/src/sap/base/util/restricted/_flatMap.js +1 -1
  16. package/src/sap/base/util/restricted/_flatMapDeep.js +1 -1
  17. package/src/sap/base/util/restricted/_flatMapDepth.js +1 -1
  18. package/src/sap/base/util/restricted/_flatten.js +1 -1
  19. package/src/sap/base/util/restricted/_flattenDeep.js +1 -1
  20. package/src/sap/base/util/restricted/_flattenDepth.js +1 -1
  21. package/src/sap/base/util/restricted/_intersection.js +1 -1
  22. package/src/sap/base/util/restricted/_intersectionBy.js +1 -1
  23. package/src/sap/base/util/restricted/_intersectionWith.js +1 -1
  24. package/src/sap/base/util/restricted/_isEqual.js +1 -1
  25. package/src/sap/base/util/restricted/_isEqualWith.js +1 -1
  26. package/src/sap/base/util/restricted/_isNil.js +1 -1
  27. package/src/sap/base/util/restricted/_max.js +1 -1
  28. package/src/sap/base/util/restricted/_merge.js +1 -1
  29. package/src/sap/base/util/restricted/_mergeWith.js +1 -1
  30. package/src/sap/base/util/restricted/_min.js +1 -1
  31. package/src/sap/base/util/restricted/_omit.js +1 -1
  32. package/src/sap/base/util/restricted/_pick.js +1 -1
  33. package/src/sap/base/util/restricted/_pickBy.js +1 -1
  34. package/src/sap/base/util/restricted/_throttle.js +1 -1
  35. package/src/sap/base/util/restricted/_toArray.js +1 -1
  36. package/src/sap/base/util/restricted/_union.js +1 -1
  37. package/src/sap/base/util/restricted/_unionBy.js +1 -1
  38. package/src/sap/base/util/restricted/_unionWith.js +1 -1
  39. package/src/sap/base/util/restricted/_uniq.js +1 -1
  40. package/src/sap/base/util/restricted/_uniqBy.js +1 -1
  41. package/src/sap/base/util/restricted/_uniqWith.js +1 -1
  42. package/src/sap/base/util/restricted/_without.js +1 -1
  43. package/src/sap/base/util/restricted/_xor.js +1 -1
  44. package/src/sap/base/util/restricted/_xorBy.js +1 -1
  45. package/src/sap/base/util/restricted/_xorWith.js +1 -1
  46. package/src/sap/base/util/restricted/_zipObject.js +1 -1
  47. package/src/sap/base/util/restricted/_zipObjectDeep.js +1 -1
  48. package/src/sap/ui/Device.js +3 -3
  49. package/src/sap/ui/Global.js +4 -4
  50. package/src/sap/ui/base/Event.js +1 -1
  51. package/src/sap/ui/base/EventProvider.js +1 -1
  52. package/src/sap/ui/base/Interface.js +1 -1
  53. package/src/sap/ui/base/ManagedObject.js +1 -1
  54. package/src/sap/ui/base/ManagedObjectMetadata.js +1 -1
  55. package/src/sap/ui/base/Metadata.js +1 -1
  56. package/src/sap/ui/base/Object.js +1 -1
  57. package/src/sap/ui/base/ObjectPool.js +1 -1
  58. package/src/sap/ui/core/.library +1 -1
  59. package/src/sap/ui/core/BusyIndicator.js +1 -1
  60. package/src/sap/ui/core/Component.js +51 -33
  61. package/src/sap/ui/core/ComponentContainer.js +1 -1
  62. package/src/sap/ui/core/ComponentMetadata.js +1 -1
  63. package/src/sap/ui/core/ComponentSupport.js +1 -1
  64. package/src/sap/ui/core/Control.js +1 -1
  65. package/src/sap/ui/core/Core.js +1 -1
  66. package/src/sap/ui/core/CustomData.js +1 -1
  67. package/src/sap/ui/core/CustomizingConfiguration.js +1 -1
  68. package/src/sap/ui/core/DeclarativeSupport.js +1 -1
  69. package/src/sap/ui/core/Element.js +1 -1
  70. package/src/sap/ui/core/ElementMetadata.js +1 -1
  71. package/src/sap/ui/core/EnabledPropagator.js +1 -1
  72. package/src/sap/ui/core/EventBus.js +1 -1
  73. package/src/sap/ui/core/Fragment.js +1 -1
  74. package/src/sap/ui/core/HTML.js +1 -1
  75. package/src/sap/ui/core/History.js +1 -1
  76. package/src/sap/ui/core/Icon.js +1 -1
  77. package/src/sap/ui/core/IndicationColorSupport.js +1 -1
  78. package/src/sap/ui/core/IntervalTrigger.js +1 -1
  79. package/src/sap/ui/core/InvisibleMessage.js +1 -1
  80. package/src/sap/ui/core/InvisibleRenderer.js +1 -1
  81. package/src/sap/ui/core/InvisibleText.js +1 -1
  82. package/src/sap/ui/core/Item.js +1 -1
  83. package/src/sap/ui/core/LabelEnablement.js +1 -1
  84. package/src/sap/ui/core/LayoutData.js +1 -1
  85. package/src/sap/ui/core/ListItem.js +1 -1
  86. package/src/sap/ui/core/LocalBusyIndicator.js +1 -1
  87. package/src/sap/ui/core/Locale.js +1 -1
  88. package/src/sap/ui/core/LocaleData.js +1 -1
  89. package/src/sap/ui/core/Manifest.js +1 -1
  90. package/src/sap/ui/core/Message.js +1 -1
  91. package/src/sap/ui/core/RenderManager.js +1 -1
  92. package/src/sap/ui/core/Renderer.js +1 -1
  93. package/src/sap/ui/core/ResizeHandler.js +15 -20
  94. package/src/sap/ui/core/ScrollBar.js +1 -1
  95. package/src/sap/ui/core/SeparatorItem.js +1 -1
  96. package/src/sap/ui/core/Title.js +1 -1
  97. package/src/sap/ui/core/TooltipBase.js +1 -1
  98. package/src/sap/ui/core/UIArea.js +1 -1
  99. package/src/sap/ui/core/UIComponent.js +1 -1
  100. package/src/sap/ui/core/UIComponentMetadata.js +1 -1
  101. package/src/sap/ui/core/ValueStateSupport.js +1 -1
  102. package/src/sap/ui/core/VariantLayoutData.js +1 -1
  103. package/src/sap/ui/core/XMLComposite.js +1 -1
  104. package/src/sap/ui/core/XMLCompositeMetadata.js +1 -1
  105. package/src/sap/ui/core/delegate/ItemNavigation.js +1 -1
  106. package/src/sap/ui/core/delegate/ScrollEnablement.js +1 -1
  107. package/src/sap/ui/core/dnd/DragDropBase.js +1 -1
  108. package/src/sap/ui/core/dnd/DragDropInfo.js +1 -1
  109. package/src/sap/ui/core/dnd/DragInfo.js +1 -1
  110. package/src/sap/ui/core/dnd/DropInfo.js +1 -1
  111. package/src/sap/ui/core/hyphenation/Hyphenation.js +1 -1
  112. package/src/sap/ui/core/library.js +3 -3
  113. package/src/sap/ui/core/message/ControlMessageProcessor.js +1 -1
  114. package/src/sap/ui/core/message/Message.js +1 -1
  115. package/src/sap/ui/core/message/MessageManager.js +1 -1
  116. package/src/sap/ui/core/message/MessageParser.js +1 -1
  117. package/src/sap/ui/core/message/MessageProcessor.js +1 -1
  118. package/src/sap/ui/core/messagebundle_ar.properties +1 -1
  119. package/src/sap/ui/core/messagebundle_bg.properties +5 -5
  120. package/src/sap/ui/core/messagebundle_ca.properties +2 -2
  121. package/src/sap/ui/core/messagebundle_cs.properties +15 -15
  122. package/src/sap/ui/core/messagebundle_de.properties +2 -2
  123. package/src/sap/ui/core/messagebundle_el.properties +11 -11
  124. package/src/sap/ui/core/messagebundle_es.properties +2 -2
  125. package/src/sap/ui/core/messagebundle_fi.properties +1 -1
  126. package/src/sap/ui/core/messagebundle_fr.properties +5 -5
  127. package/src/sap/ui/core/messagebundle_fr_CA.properties +2 -2
  128. package/src/sap/ui/core/messagebundle_hi.properties +4 -4
  129. package/src/sap/ui/core/messagebundle_hr.properties +4 -4
  130. package/src/sap/ui/core/messagebundle_hu.properties +4 -4
  131. package/src/sap/ui/core/messagebundle_id.properties +9 -9
  132. package/src/sap/ui/core/messagebundle_it.properties +4 -4
  133. package/src/sap/ui/core/messagebundle_ja.properties +12 -12
  134. package/src/sap/ui/core/messagebundle_kk.properties +2 -2
  135. package/src/sap/ui/core/messagebundle_ko.properties +2 -2
  136. package/src/sap/ui/core/messagebundle_lv.properties +4 -4
  137. package/src/sap/ui/core/messagebundle_ms.properties +3 -3
  138. package/src/sap/ui/core/messagebundle_no.properties +1 -1
  139. package/src/sap/ui/core/messagebundle_pl.properties +1 -1
  140. package/src/sap/ui/core/messagebundle_pt.properties +10 -10
  141. package/src/sap/ui/core/messagebundle_ro.properties +1 -1
  142. package/src/sap/ui/core/messagebundle_sh.properties +26 -26
  143. package/src/sap/ui/core/messagebundle_sk.properties +2 -2
  144. package/src/sap/ui/core/messagebundle_sl.properties +1 -1
  145. package/src/sap/ui/core/messagebundle_sr.properties +328 -0
  146. package/src/sap/ui/core/messagebundle_sv.properties +8 -8
  147. package/src/sap/ui/core/messagebundle_th.properties +5 -5
  148. package/src/sap/ui/core/messagebundle_tr.properties +3 -3
  149. package/src/sap/ui/core/messagebundle_uk.properties +26 -26
  150. package/src/sap/ui/core/messagebundle_vi.properties +3 -3
  151. package/src/sap/ui/core/messagebundle_zh_TW.properties +2 -2
  152. package/src/sap/ui/core/mvc/Controller.js +1 -2
  153. package/src/sap/ui/core/mvc/HTMLView.js +1 -1
  154. package/src/sap/ui/core/mvc/JSONView.js +1 -1
  155. package/src/sap/ui/core/mvc/JSView.js +1 -1
  156. package/src/sap/ui/core/mvc/TemplateView.js +1 -1
  157. package/src/sap/ui/core/mvc/View.js +1 -1
  158. package/src/sap/ui/core/mvc/XMLView.js +1 -1
  159. package/src/sap/ui/core/plugin/DeclarativeSupport.js +1 -1
  160. package/src/sap/ui/core/plugin/LessSupport.js +1 -1
  161. package/src/sap/ui/core/plugin/TemplatingSupport.js +1 -1
  162. package/src/sap/ui/core/postmessage/Bus.js +1 -1
  163. package/src/sap/ui/core/postmessage/confirmationDialog.js +1 -1
  164. package/src/sap/ui/core/routing/Route.js +1 -1
  165. package/src/sap/ui/core/search/OpenSearchProvider.js +1 -1
  166. package/src/sap/ui/core/search/SearchProvider.js +1 -1
  167. package/src/sap/ui/core/service/Service.js +1 -1
  168. package/src/sap/ui/core/service/ServiceFactory.js +1 -1
  169. package/src/sap/ui/core/service/ServiceFactoryRegistry.js +1 -1
  170. package/src/sap/ui/core/support/Plugin.js +1 -1
  171. package/src/sap/ui/core/support/Support.js +1 -1
  172. package/src/sap/ui/core/support/plugins/ControlTree.js +1 -1
  173. package/src/sap/ui/core/support/plugins/Interaction.js +1 -1
  174. package/src/sap/ui/core/support/plugins/LocalStorage.js +1 -1
  175. package/src/sap/ui/core/support/plugins/MessageTest.js +1 -1
  176. package/src/sap/ui/core/support/plugins/Performance.js +1 -1
  177. package/src/sap/ui/core/support/plugins/Selector.js +1 -1
  178. package/src/sap/ui/core/support/plugins/TechInfo.js +1 -1
  179. package/src/sap/ui/core/support/plugins/Trace.js +1 -1
  180. package/src/sap/ui/core/support/plugins/ViewInfo.js +1 -1
  181. package/src/sap/ui/core/tmpl/DOMAttribute.js +1 -1
  182. package/src/sap/ui/core/tmpl/DOMElement.js +1 -1
  183. package/src/sap/ui/core/tmpl/HandlebarsTemplate.js +1 -1
  184. package/src/sap/ui/core/tmpl/Template.js +1 -1
  185. package/src/sap/ui/core/tmpl/TemplateControl.js +1 -1
  186. package/src/sap/ui/core/util/AsyncHintsHelper.js +1 -1
  187. package/src/sap/ui/core/util/Export.js +1 -1
  188. package/src/sap/ui/core/util/ExportCell.js +1 -1
  189. package/src/sap/ui/core/util/ExportColumn.js +1 -1
  190. package/src/sap/ui/core/util/ExportRow.js +1 -1
  191. package/src/sap/ui/core/util/ExportType.js +1 -1
  192. package/src/sap/ui/core/util/ExportTypeCSV.js +1 -1
  193. package/src/sap/ui/core/util/File.js +1 -1
  194. package/src/sap/ui/core/util/LibraryInfo.js +1 -1
  195. package/src/sap/ui/core/util/MockServer.js +1 -1
  196. package/src/sap/ui/core/util/PasteHelper.js +1 -1
  197. package/src/sap/ui/core/util/serializer/HTMLViewSerializer.js +1 -1
  198. package/src/sap/ui/core/util/serializer/Serializer.js +1 -1
  199. package/src/sap/ui/core/util/serializer/ViewSerializer.js +1 -1
  200. package/src/sap/ui/core/util/serializer/XMLViewSerializer.js +1 -1
  201. package/src/sap/ui/core/util/serializer/delegate/Delegate.js +1 -1
  202. package/src/sap/ui/core/util/serializer/delegate/HTML.js +1 -1
  203. package/src/sap/ui/core/util/serializer/delegate/XML.js +1 -1
  204. package/src/sap/ui/core/ws/ReadyState.js +1 -1
  205. package/src/sap/ui/core/ws/SapPcpWebSocket.js +1 -1
  206. package/src/sap/ui/core/ws/WebSocket.js +1 -1
  207. package/src/sap/ui/debug/ControlTree.js +1 -1
  208. package/src/sap/ui/debug/DebugEnv.js +15 -6
  209. package/src/sap/ui/debug/PropertyList.js +1 -1
  210. package/src/sap/ui/model/ClientModel.js +1 -1
  211. package/src/sap/ui/model/CompositeDataState.js +1 -1
  212. package/src/sap/ui/model/CompositeType.js +1 -1
  213. package/src/sap/ui/model/DataState.js +1 -1
  214. package/src/sap/ui/model/MetaModel.js +1 -1
  215. package/src/sap/ui/model/Model.js +1 -1
  216. package/src/sap/ui/model/SelectionModel.js +1 -1
  217. package/src/sap/ui/model/SimpleType.js +1 -1
  218. package/src/sap/ui/model/TreeAutoExpandMode.js +1 -1
  219. package/src/sap/ui/model/Type.js +1 -1
  220. package/src/sap/ui/model/json/JSONModel.js +1 -1
  221. package/src/sap/ui/model/message/MessageModel.js +1 -1
  222. package/src/sap/ui/model/odata/ODataAnnotations.js +1 -1
  223. package/src/sap/ui/model/odata/ODataMessageParser.js +1 -1
  224. package/src/sap/ui/model/odata/ODataMetaModel.js +1 -1
  225. package/src/sap/ui/model/odata/ODataMetadata.js +1 -1
  226. package/src/sap/ui/model/odata/ODataModel.js +1 -1
  227. package/src/sap/ui/model/odata/type/Boolean.js +1 -1
  228. package/src/sap/ui/model/odata/type/Byte.js +1 -1
  229. package/src/sap/ui/model/odata/type/Currency.js +1 -1
  230. package/src/sap/ui/model/odata/type/Date.js +1 -1
  231. package/src/sap/ui/model/odata/type/DateTime.js +1 -1
  232. package/src/sap/ui/model/odata/type/DateTimeBase.js +1 -1
  233. package/src/sap/ui/model/odata/type/DateTimeOffset.js +1 -1
  234. package/src/sap/ui/model/odata/type/Decimal.js +1 -1
  235. package/src/sap/ui/model/odata/type/Double.js +1 -1
  236. package/src/sap/ui/model/odata/type/Guid.js +1 -1
  237. package/src/sap/ui/model/odata/type/Int.js +1 -1
  238. package/src/sap/ui/model/odata/type/Int16.js +1 -1
  239. package/src/sap/ui/model/odata/type/Int32.js +1 -1
  240. package/src/sap/ui/model/odata/type/Int64.js +1 -1
  241. package/src/sap/ui/model/odata/type/ODataType.js +1 -1
  242. package/src/sap/ui/model/odata/type/Raw.js +1 -1
  243. package/src/sap/ui/model/odata/type/SByte.js +1 -1
  244. package/src/sap/ui/model/odata/type/Single.js +1 -1
  245. package/src/sap/ui/model/odata/type/Stream.js +1 -1
  246. package/src/sap/ui/model/odata/type/String.js +1 -1
  247. package/src/sap/ui/model/odata/type/Time.js +1 -1
  248. package/src/sap/ui/model/odata/type/TimeOfDay.js +1 -1
  249. package/src/sap/ui/model/odata/type/Unit.js +1 -1
  250. package/src/sap/ui/model/odata/v2/ODataAnnotations.js +1 -1
  251. package/src/sap/ui/model/odata/v2/ODataModel.js +1 -1
  252. package/src/sap/ui/model/odata/v4/Context.js +1 -1
  253. package/src/sap/ui/model/odata/v4/ODataContextBinding.js +1 -1
  254. package/src/sap/ui/model/odata/v4/ODataListBinding.js +1 -1
  255. package/src/sap/ui/model/odata/v4/ODataMetaModel.js +1 -1
  256. package/src/sap/ui/model/odata/v4/ODataModel.js +1 -1
  257. package/src/sap/ui/model/odata/v4/ODataPropertyBinding.js +1 -1
  258. package/src/sap/ui/model/resource/ResourceModel.js +1 -1
  259. package/src/sap/ui/model/type/Boolean.js +1 -1
  260. package/src/sap/ui/model/type/Currency.js +1 -1
  261. package/src/sap/ui/model/type/Date.js +1 -1
  262. package/src/sap/ui/model/type/DateInterval.js +1 -1
  263. package/src/sap/ui/model/type/DateTime.js +1 -1
  264. package/src/sap/ui/model/type/DateTimeInterval.js +1 -1
  265. package/src/sap/ui/model/type/FileSize.js +1 -1
  266. package/src/sap/ui/model/type/Float.js +1 -1
  267. package/src/sap/ui/model/type/Integer.js +1 -1
  268. package/src/sap/ui/model/type/String.js +1 -1
  269. package/src/sap/ui/model/type/Time.js +1 -1
  270. package/src/sap/ui/model/type/TimeInterval.js +1 -1
  271. package/src/sap/ui/model/type/Unit.js +1 -1
  272. package/src/sap/ui/model/xml/XMLModel.js +1 -1
  273. package/src/sap/ui/performance/BeaconRequest.js +8 -10
  274. package/src/sap/ui/qunit/utils/ControlIterator.js +1 -1
  275. package/src/sap/ui/qunit/utils/MemoryLeakCheck.js +1 -1
  276. package/src/sap/ui/util/Storage.js +1 -1
@@ -38,7 +38,7 @@ sap.ui.define([
38
38
  * Provides methods to show or hide a waiting animation covering the whole
39
39
  * page and blocking user interaction.
40
40
  * @namespace
41
- * @version 1.84.39
41
+ * @version 1.84.41
42
42
  * @public
43
43
  * @alias sap.ui.core.BusyIndicator
44
44
  */
@@ -233,7 +233,7 @@ sap.ui.define([
233
233
  * @extends sap.ui.base.ManagedObject
234
234
  * @abstract
235
235
  * @author SAP SE
236
- * @version 1.84.39
236
+ * @version 1.84.41
237
237
  * @alias sap.ui.core.Component
238
238
  * @since 1.9.2
239
239
  */
@@ -648,28 +648,33 @@ sap.ui.define([
648
648
  // init the component models
649
649
  this.initComponentModels();
650
650
 
651
- // error handler (if exists)
652
- if (this.onWindowError) {
653
- this._fnWindowErrorHandler = function(oEvent) {
654
- var oError = oEvent.originalEvent;
655
- this.onWindowError(oError.message, oError.filename, oError.lineno);
656
-
657
- }.bind(this);
658
- window.addEventListener("error", this._fnWindowErrorHandler);
659
- }
651
+ /**
652
+ * @deprecated As of 1.84
653
+ */
654
+ (function() {
655
+ // error handler (if exists)
656
+ if (this.onWindowError) {
657
+ this._fnWindowErrorHandler = function(oEvent) {
658
+ var oError = oEvent.originalEvent;
659
+ this.onWindowError(oError.message, oError.filename, oError.lineno);
660
+
661
+ }.bind(this);
662
+ window.addEventListener("error", this._fnWindowErrorHandler);
663
+ }
660
664
 
661
- // before unload handler (if exists)
662
- if (this.onWindowBeforeUnload) {
663
- this._fnWindowBeforeUnloadHandler = this.onWindowBeforeUnload.bind(this);
664
- window.addEventListener("beforeunload", this._fnWindowBeforeUnloadHandler);
665
- }
665
+ // before unload handler (if exists)
666
+ if (this.onWindowBeforeUnload) {
667
+ this._fnWindowBeforeUnloadHandler = this.onWindowBeforeUnload.bind(this);
668
+ window.addEventListener("beforeunload", this._fnWindowBeforeUnloadHandler);
669
+ }
666
670
 
667
- // unload handler (if exists)
668
- if (this.onWindowUnload) {
671
+ // unload handler (if exists)
672
+ if (this.onWindowUnload) {
669
673
 
670
- this._fnWindowUnloadHandler = this.onWindowUnload.bind(this);
671
- window.addEventListener("unload", this._fnWindowUnloadHandler);
672
- }
674
+ this._fnWindowUnloadHandler = this.onWindowUnload.bind(this);
675
+ window.addEventListener("unload", this._fnWindowUnloadHandler);
676
+ }
677
+ }.bind(this))();
673
678
 
674
679
  };
675
680
 
@@ -692,19 +697,24 @@ sap.ui.define([
692
697
  }
693
698
  delete this._mManifestModels;
694
699
 
695
- // remove the event handlers
696
- if (this._fnWindowErrorHandler) {
697
- window.removeEventListener("error", this._fnWindowErrorHandler);
698
- delete this._fnWindowErrorHandler;
699
- }
700
- if (this._fnWindowBeforeUnloadHandler) {
701
- window.removeEventListener("beforeunload", this._fnWindowBeforeUnloadHandler);
702
- delete this._fnWindowBeforeUnloadHandler;
703
- }
704
- if (this._fnWindowUnloadHandler) {
705
- window.removeEventListener("unload", this._fnWindowUnloadHandler);
706
- delete this._fnWindowUnloadHandler;
707
- }
700
+ /**
701
+ * @deprecated As of 1.84
702
+ */
703
+ (function() {
704
+ // remove the event handlers
705
+ if (this._fnWindowErrorHandler) {
706
+ window.removeEventListener("error", this._fnWindowErrorHandler);
707
+ delete this._fnWindowErrorHandler;
708
+ }
709
+ if (this._fnWindowBeforeUnloadHandler) {
710
+ window.removeEventListener("beforeunload", this._fnWindowBeforeUnloadHandler);
711
+ delete this._fnWindowBeforeUnloadHandler;
712
+ }
713
+ if (this._fnWindowUnloadHandler) {
714
+ window.removeEventListener("unload", this._fnWindowUnloadHandler);
715
+ delete this._fnWindowUnloadHandler;
716
+ }
717
+ }.bind(this))();
708
718
 
709
719
  // destroy event bus
710
720
  if (this._oEventBus) {
@@ -1160,6 +1170,8 @@ sap.ui.define([
1160
1170
  * @since 1.15.1
1161
1171
  * @name sap.ui.core.Component.prototype.onWindowBeforeUnload
1162
1172
  * @function
1173
+ * @deprecated As of 1.84 (starting with a patch release acc. to the changelog), recommended to
1174
+ * use the browser-native page lifecycle API, providing events such as 'pageshow' and 'pagehide'
1163
1175
  */
1164
1176
  //onWindowBeforeUnload : function() {},
1165
1177
 
@@ -1173,6 +1185,10 @@ sap.ui.define([
1173
1185
  * @since 1.15.1
1174
1186
  * @name sap.ui.core.Component.prototype.onWindowUnload
1175
1187
  * @function
1188
+ * @deprecated As of 1.84 (starting with a patch release acc. to the changelog). Newer browser
1189
+ * versions deprecate the browser-native 'unload' event. Therefore, the former API won't reliably
1190
+ * work anymore. Please have a look at the browser-native page lifecycle API, e.g. its events
1191
+ * 'pageshow' and 'pagehide'.
1176
1192
  */
1177
1193
  //onWindowUnload : function() {},
1178
1194
 
@@ -1188,6 +1204,8 @@ sap.ui.define([
1188
1204
  * @since 1.15.1
1189
1205
  * @name sap.ui.core.Component.prototype.onWindowError
1190
1206
  * @function
1207
+ * @deprecated As of 1.84 (starting with a patch release acc. to the changelog), recommended to
1208
+ * use the browser-native API to listen for errors: window.addEventListener("error", function() { ... })
1191
1209
  */
1192
1210
  //onWindowError : null, // function(sMessage, sFile, iLine) - function not added directly as it might result in bad stack traces in older browsers
1193
1211
 
@@ -61,7 +61,7 @@ sap.ui.define([
61
61
  * See also {@link module:sap/ui/core/ComponentSupport}.
62
62
  *
63
63
  * @extends sap.ui.core.Control
64
- * @version 1.84.39
64
+ * @version 1.84.41
65
65
  *
66
66
  * @public
67
67
  * @alias sap.ui.core.ComponentContainer
@@ -36,7 +36,7 @@ sap.ui.define([
36
36
  * @public
37
37
  * @class
38
38
  * @author SAP SE
39
- * @version 1.84.39
39
+ * @version 1.84.41
40
40
  * @since 1.9.2
41
41
  * @alias sap.ui.core.ComponentMetadata
42
42
  * @extends sap.ui.base.ManagedObjectMetadata
@@ -99,7 +99,7 @@ sap.ui.define([
99
99
  * @author SAP SE
100
100
  * @public
101
101
  * @since 1.58.0
102
- * @version 1.84.39
102
+ * @version 1.84.41
103
103
  * @namespace
104
104
  * @alias module:sap/ui/core/ComponentSupport
105
105
  */
@@ -77,7 +77,7 @@ sap.ui.define([
77
77
  * @extends sap.ui.core.Element
78
78
  * @abstract
79
79
  * @author SAP SE
80
- * @version 1.84.39
80
+ * @version 1.84.41
81
81
  * @alias sap.ui.core.Control
82
82
  * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
83
83
  */
@@ -214,7 +214,7 @@ sap.ui.define([
214
214
  * @extends sap.ui.base.Object
215
215
  * @final
216
216
  * @author SAP SE
217
- * @version 1.84.39
217
+ * @version 1.84.41
218
218
  * @alias sap.ui.core.Core
219
219
  * @public
220
220
  * @hideconstructor
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * in the documentation.
25
25
  *
26
26
  * @extends sap.ui.core.Element
27
- * @version 1.84.39
27
+ * @version 1.84.41
28
28
  *
29
29
  * @public
30
30
  * @alias sap.ui.core.CustomData
@@ -75,7 +75,7 @@ sap.ui.define([
75
75
  * gets removed again.
76
76
  *
77
77
  * @author SAP SE
78
- * @version 1.84.39
78
+ * @version 1.84.41
79
79
  * @constructor
80
80
  * @private
81
81
  * @since 1.15.1
@@ -40,7 +40,7 @@ sap.ui.define([
40
40
  * @class Static class for enabling declarative UI support.
41
41
  *
42
42
  * @author Peter Muessig, Tino Butz
43
- * @version 1.84.39
43
+ * @version 1.84.41
44
44
  * @since 1.7.0
45
45
  * @public
46
46
  * @alias sap.ui.core.DeclarativeSupport
@@ -126,7 +126,7 @@ sap.ui.define([
126
126
  *
127
127
  * @extends sap.ui.base.ManagedObject
128
128
  * @author SAP SE
129
- * @version 1.84.39
129
+ * @version 1.84.41
130
130
  * @public
131
131
  * @alias sap.ui.core.Element
132
132
  * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
@@ -25,7 +25,7 @@ sap.ui.define([
25
25
  *
26
26
  * @class
27
27
  * @author SAP SE
28
- * @version 1.84.39
28
+ * @version 1.84.41
29
29
  * @since 0.8.6
30
30
  * @alias sap.ui.core.ElementMetadata
31
31
  * @extends sap.ui.base.ManagedObjectMetadata
@@ -23,7 +23,7 @@ sap.ui.define(['./Control'],
23
23
  * </code>
24
24
  *
25
25
  * @author Daniel Brinkmann
26
- * @version 1.84.39
26
+ * @version 1.84.41
27
27
  * @class Helper Class for enhancement of a Control with propagation of enabled property.
28
28
  * @param {boolean} [bDefault=true] the value that should be used as default value for the enhancement of the control.
29
29
  * @param {boolean} [bLegacy=false] whether the introduced property should use the old name 'Enabled'
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  *
31
31
  * @extends sap.ui.base.Object
32
32
  * @author SAP SE
33
- * @version 1.84.39
33
+ * @version 1.84.41
34
34
  * @public
35
35
  * @since 1.8.0
36
36
  * @alias sap.ui.core.EventBus
@@ -60,7 +60,7 @@ function(
60
60
  * @class
61
61
  * @extends sap.ui.base.ManagedObject
62
62
  * @author SAP SE
63
- * @version 1.84.39
63
+ * @version 1.84.41
64
64
  * @public
65
65
  * @alias sap.ui.core.Fragment
66
66
  */
@@ -44,7 +44,7 @@ sap.ui.define([
44
44
  * @extends sap.ui.core.Control
45
45
  *
46
46
  * @author SAP SE
47
- * @version 1.84.39
47
+ * @version 1.84.41
48
48
  *
49
49
  * @public
50
50
  * @alias sap.ui.core.HTML
@@ -22,7 +22,7 @@ sap.ui.define(['sap/ui/base/Object', "sap/ui/util/Storage"],
22
22
  *
23
23
  * @extends sap.ui.base.Object
24
24
  * @author SAP SE
25
- * @version 1.84.39
25
+ * @version 1.84.41
26
26
  * @alias sap.ui.core.History
27
27
  * @protected
28
28
  */
@@ -70,7 +70,7 @@ sap.ui.define([
70
70
  * @implements sap.ui.core.IFormContent
71
71
  *
72
72
  * @author SAP SE
73
- * @version 1.84.39
73
+ * @version 1.84.41
74
74
  *
75
75
  * @public
76
76
  * @since 1.11.1
@@ -16,7 +16,7 @@ sap.ui.define(['./Element', './library', "sap/base/assert"],
16
16
  * Helper functionality for indication color support.
17
17
  *
18
18
  * @author SAP SE
19
- * @version 1.84.39
19
+ * @version 1.84.41
20
20
  * @public
21
21
  * @namespace sap.ui.core.IndicationColorSupport
22
22
  * @since 1.66
@@ -23,7 +23,7 @@ sap.ui.define(['../base/Object', './EventBus', "sap/base/assert"],
23
23
  *
24
24
  * @extends sap.ui.base.Object
25
25
  * @author SAP SE
26
- * @version 1.84.39
26
+ * @version 1.84.41
27
27
  * @public
28
28
  * @since 1.11.0
29
29
  * @alias sap.ui.core.IntervalTrigger
@@ -32,7 +32,7 @@ function (coreLibrary, ManagedObject, Log) {
32
32
  * @extends sap.ui.base.ManagedObject
33
33
  *
34
34
  * @author SAP SE
35
- * @version 1.84.39
35
+ * @version 1.84.41
36
36
  * @hideconstructor
37
37
  * @public
38
38
  * @experimental Since 1.78. This class is experimental and the API might be changed in future.
@@ -12,7 +12,7 @@ sap.ui.define([], function() {
12
12
  * Provides the default renderer for the controls that have set their <code>visible</code> property to <code>false</code>.
13
13
  *
14
14
  * @author SAP SE
15
- * @version 1.84.39
15
+ * @version 1.84.41
16
16
  * @alias module:sap/ui/core/InvisibleRenderer
17
17
  * @since 1.66.0
18
18
  * @protected
@@ -25,7 +25,7 @@ sap.ui.define(['./Control', './library', "sap/base/Log", "sap/base/security/enco
25
25
  * @extends sap.ui.core.Control
26
26
  *
27
27
  * @author SAP SE
28
- * @version 1.84.39
28
+ * @version 1.84.41
29
29
  *
30
30
  * @public
31
31
  * @since 1.27.0
@@ -24,7 +24,7 @@ sap.ui.define(['./Element', './library'],
24
24
  * @extends sap.ui.core.Element
25
25
  *
26
26
  * @author SAP SE
27
- * @version 1.84.39
27
+ * @version 1.84.41
28
28
  *
29
29
  * @public
30
30
  * @alias sap.ui.core.Item
@@ -129,7 +129,7 @@ sap.ui.define(['../base/ManagedObject', "sap/base/assert"],
129
129
  * @see sap.ui.core.LabelEnablement#enrich
130
130
  *
131
131
  * @author SAP SE
132
- * @version 1.84.39
132
+ * @version 1.84.41
133
133
  * @protected
134
134
  * @alias sap.ui.core.LabelEnablement
135
135
  * @namespace
@@ -23,7 +23,7 @@ sap.ui.define(['./Element', './library', "sap/ui/thirdparty/jquery"],
23
23
  * @extends sap.ui.core.Element
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.84.39
26
+ * @version 1.84.41
27
27
  *
28
28
  * @public
29
29
  * @alias sap.ui.core.LayoutData
@@ -23,7 +23,7 @@ sap.ui.define(['./Item', './library'],
23
23
  * @extends sap.ui.core.Item
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.84.39
26
+ * @version 1.84.41
27
27
  *
28
28
  * @public
29
29
  * @alias sap.ui.core.ListItem
@@ -33,7 +33,7 @@ sap.ui.define([
33
33
  * @extends sap.ui.core.Control
34
34
  *
35
35
  * @author SAP SE
36
- * @version 1.84.39
36
+ * @version 1.84.41
37
37
  *
38
38
  * @public
39
39
  * @since 1.11.0
@@ -38,7 +38,7 @@ sap.ui.define(['sap/ui/base/Object', "sap/base/assert"],
38
38
  *
39
39
  * @extends sap.ui.base.Object
40
40
  * @author SAP SE
41
- * @version 1.84.39
41
+ * @version 1.84.41
42
42
  * @public
43
43
  * @alias sap.ui.core.Locale
44
44
  */
@@ -18,7 +18,7 @@ sap.ui.define(['sap/base/util/extend', 'sap/ui/base/Object', './CalendarType', '
18
18
  *
19
19
  * @extends sap.ui.base.Object
20
20
  * @author SAP SE
21
- * @version 1.84.39
21
+ * @version 1.84.41
22
22
  * @public
23
23
  * @alias sap.ui.core.LocaleData
24
24
  */
@@ -136,7 +136,7 @@ sap.ui.define([
136
136
  * @class The Manifest class.
137
137
  * @extends sap.ui.base.Object
138
138
  * @author SAP SE
139
- * @version 1.84.39
139
+ * @version 1.84.41
140
140
  * @alias sap.ui.core.Manifest
141
141
  * @since 1.33.0
142
142
  */
@@ -26,7 +26,7 @@ sap.ui.define(['./Element', './library', "sap/base/Log"],
26
26
  * @extends sap.ui.core.Element
27
27
  *
28
28
  * @author SAP SE
29
- * @version 1.84.39
29
+ * @version 1.84.41
30
30
  *
31
31
  * @public
32
32
  * @alias sap.ui.core.Message
@@ -180,7 +180,7 @@ sap.ui.define([
180
180
  *
181
181
  * @extends Object
182
182
  * @author SAP SE
183
- * @version 1.84.39
183
+ * @version 1.84.41
184
184
  * @alias sap.ui.core.RenderManager
185
185
  * @public
186
186
  */
@@ -17,7 +17,7 @@ sap.ui.define([
17
17
  * @classdesc Base Class for a Renderer.
18
18
  *
19
19
  * @author SAP SE
20
- * @version 1.84.39
20
+ * @version 1.84.41
21
21
  * @namespace
22
22
  * @public
23
23
  * @alias sap.ui.core.Renderer
@@ -34,7 +34,7 @@ sap.ui.define([
34
34
  * @alias sap.ui.core.ResizeHandler
35
35
  * @extends sap.ui.base.Object
36
36
  * @author SAP SE
37
- * @version 1.84.39
37
+ * @version 1.84.41
38
38
  * @public
39
39
  */
40
40
 
@@ -52,9 +52,20 @@ sap.ui.define([
52
52
 
53
53
  this.iIdCounter = 0;
54
54
 
55
- this.fDestroyHandler = this.destroy.bind(this);
56
-
57
- jQuery(window).on("unload", this.fDestroyHandler);
55
+ /**
56
+ * The block below is not needed because it only did a cleanup
57
+ * before the page was closed. This should not be necessary.
58
+ * Nevertheless we leave the coding here and only deprecate it,
59
+ * in order to keep the BFCache behavior stable.
60
+ * Removing the 'unload' handler could potentially activate
61
+ * the BFCache and cause a different behavior in browser versions
62
+ * where the 'unload' handler is still supported.
63
+ * Therefore we only removed the not needed cleanup coding
64
+ * but still attach a noop to ensure this handler would still
65
+ * invalidate the BFCache.
66
+ * @deprecated As of 1.84
67
+ */
68
+ window.addEventListener("unload", function() {});
58
69
 
59
70
  ActivityDetection.attachActivate(initListener, this);
60
71
  }
@@ -75,22 +86,6 @@ sap.ui.define([
75
86
  }
76
87
  }
77
88
 
78
- /**
79
- * Destroy method of the Resize Handler.
80
- * It unregisters the event handlers.
81
- *
82
- * @param {jQuery.Event} oEvent the event that initiated the destruction of the ResizeHandler
83
- * @private
84
- */
85
- ResizeHandler.prototype.destroy = function(oEvent) {
86
- ActivityDetection.detachActivate(initListener, this);
87
- jQuery(window).off("unload", this.fDestroyHandler);
88
- oCoreRef = null;
89
- this.aResizeListeners = [];
90
- this.aSuspendedDomRefs = [];
91
- clearListener.call(this);
92
- };
93
-
94
89
  /**
95
90
  * Attaches listener to resize event.
96
91
  *
@@ -44,7 +44,7 @@ sap.ui.define([
44
44
  * The ScrollBar control can be used for virtual scrolling of a certain area.
45
45
  * This means: to simulate a very large scrollable area when technically the area is small and the control takes care of displaying the respective part only. E.g. a Table control can take care of only rendering the currently visible rows and use this ScrollBar control to make the user think he actually scrolls through a long list.
46
46
  * @extends sap.ui.core.Control
47
- * @version 1.84.39
47
+ * @version 1.84.41
48
48
  *
49
49
  * @public
50
50
  * @deprecated as of version 1.56
@@ -23,7 +23,7 @@ sap.ui.define(['./Item', './library'],
23
23
  * @extends sap.ui.core.Item
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.84.39
26
+ * @version 1.84.41
27
27
  *
28
28
  * @public
29
29
  * @alias sap.ui.core.SeparatorItem
@@ -25,7 +25,7 @@ sap.ui.define(['./Element', './library'],
25
25
  * @extends sap.ui.core.Element
26
26
  *
27
27
  * @author SAP SE
28
- * @version 1.84.39
28
+ * @version 1.84.41
29
29
  *
30
30
  * @public
31
31
  * @since 1.16.0
@@ -31,7 +31,7 @@ sap.ui.define([
31
31
  * @class
32
32
  * Abstract class that can be extended in order to implement any extended tooltip. For example, RichTooltip Control is based on it. It provides the opening/closing behavior and the main "text" property.
33
33
  * @extends sap.ui.core.Control
34
- * @version 1.84.39
34
+ * @version 1.84.41
35
35
  *
36
36
  * @public
37
37
  * @alias sap.ui.core.TooltipBase
@@ -175,7 +175,7 @@ sap.ui.define([
175
175
  *
176
176
  * @extends sap.ui.base.ManagedObject
177
177
  * @author SAP SE
178
- * @version 1.84.39
178
+ * @version 1.84.41
179
179
  * @param {sap.ui.core.Core} oCore internal API of the <core>Core</code> that manages this UIArea
180
180
  * @param {object} [oRootNode] reference to the DOM element that should be 'hosting' the UI Area.
181
181
  * @public
@@ -57,7 +57,7 @@ sap.ui.define([
57
57
  * @extends sap.ui.core.Component
58
58
  * @abstract
59
59
  * @author SAP SE
60
- * @version 1.84.39
60
+ * @version 1.84.41
61
61
  * @alias sap.ui.core.UIComponent
62
62
  * @since 1.9.2
63
63
  * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
@@ -22,7 +22,7 @@ sap.ui.define(['./ComponentMetadata', './library'],
22
22
  * @experimental Since 1.15.1. The Component concept is still under construction, so some implementation details can be changed in future.
23
23
  * @class
24
24
  * @author SAP SE
25
- * @version 1.84.39
25
+ * @version 1.84.41
26
26
  * @since 1.15.1
27
27
  * @alias sap.ui.core.UIComponentMetadata
28
28
  * @extends sap.ui.core.ComponentMetadata
@@ -16,7 +16,7 @@ sap.ui.define(['./Element', './library', "sap/base/assert"],
16
16
  * Helper functionality for value state support.
17
17
  *
18
18
  * @author SAP SE
19
- * @version 1.84.39
19
+ * @version 1.84.41
20
20
  * @public
21
21
  * @namespace sap.ui.core.ValueStateSupport
22
22
  */
@@ -20,7 +20,7 @@ sap.ui.define(['./LayoutData', './library'],
20
20
  * @class
21
21
  * Allows to add multiple LayoutData to one control in case that an easy switch of layouts (e.g. in a Form) is needed.
22
22
  * @extends sap.ui.core.LayoutData
23
- * @version 1.84.39
23
+ * @version 1.84.41
24
24
  *
25
25
  * @public
26
26
  * @since 1.9.2
@@ -149,7 +149,7 @@ sap.ui.define([
149
149
  * @extends sap.ui.core.Control
150
150
  *
151
151
  * @author SAP SE
152
- * @version 1.84.39
152
+ * @version 1.84.41
153
153
  * @since 1.56.0
154
154
  * @alias sap.ui.core.XMLComposite
155
155
  * @see {@link topic:b83a4dcb7d0e46969027345b8d32fd44 XML Composite Controls}
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @param {object} oClassInfo static info to construct the metadata from
31
31
  *
32
32
  * @author SAP SE
33
- * @version 1.84.39
33
+ * @version 1.84.41
34
34
  * @since 1.50.0
35
35
  * @alias sap.ui.core.XMLCompositeMetadata
36
36
  * @extends sap.ui.core.ElementMetadata
@@ -82,7 +82,7 @@ sap.ui.define([
82
82
  * @param {Element[]} aItemDomRefs Array of DOM references representing the items for the navigation
83
83
  * @param {boolean} [bNotInTabChain=false] Whether the selected element should be in the tab chain or not
84
84
  *
85
- * @version 1.84.39
85
+ * @version 1.84.41
86
86
  * @alias sap.ui.core.delegate.ItemNavigation
87
87
  * @public
88
88
  */
@@ -56,7 +56,7 @@ sap.ui.define([
56
56
  *
57
57
  * @protected
58
58
  * @alias sap.ui.core.delegate.ScrollEnablement
59
- * @version 1.84.39
59
+ * @version 1.84.41
60
60
  * @author SAP SE
61
61
  */
62
62
  var ScrollEnablement = BaseObject.extend("sap.ui.core.delegate.ScrollEnablement", /** @lends sap.ui.core.delegate.ScrollEnablement.prototype */ {