@openui5/sap.ui.fl 1.84.48 → 1.84.50

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 (188) hide show
  1. package/package.json +3 -3
  2. package/src/sap/ui/fl/.library +2 -2
  3. package/src/sap/ui/fl/Cache.js +2 -2
  4. package/src/sap/ui/fl/Change.js +1 -1
  5. package/src/sap/ui/fl/ChangePersistence.js +1 -1
  6. package/src/sap/ui/fl/ChangePersistenceFactory.js +2 -2
  7. package/src/sap/ui/fl/ControlPersonalizationAPI.js +2 -2
  8. package/src/sap/ui/fl/EventHistory.js +2 -2
  9. package/src/sap/ui/fl/FakeLrepConnector.js +1 -1
  10. package/src/sap/ui/fl/FakeLrepConnectorLocalStorage.js +2 -2
  11. package/src/sap/ui/fl/FakeLrepConnectorSessionStorage.js +2 -2
  12. package/src/sap/ui/fl/FakeLrepLocalStorage.js +2 -2
  13. package/src/sap/ui/fl/FlexController.js +2 -2
  14. package/src/sap/ui/fl/FlexControllerFactory.js +2 -2
  15. package/src/sap/ui/fl/Layer.js +1 -1
  16. package/src/sap/ui/fl/LayerUtils.js +2 -2
  17. package/src/sap/ui/fl/PreprocessorImpl.js +2 -2
  18. package/src/sap/ui/fl/RegistrationDelegator.js +2 -2
  19. package/src/sap/ui/fl/Utils.js +2 -2
  20. package/src/sap/ui/fl/Variant.js +2 -2
  21. package/src/sap/ui/fl/XmlPreprocessorImpl.js +2 -2
  22. package/src/sap/ui/fl/apply/_internal/ChangesController.js +1 -1
  23. package/src/sap/ui/fl/apply/_internal/DelegateMediator.js +2 -2
  24. package/src/sap/ui/fl/apply/_internal/appVariant/DescriptorChangeTypes.js +1 -1
  25. package/src/sap/ui/fl/apply/_internal/changes/Applier.js +1 -1
  26. package/src/sap/ui/fl/apply/_internal/changes/FlexCustomData.js +2 -2
  27. package/src/sap/ui/fl/apply/_internal/changes/Reverter.js +1 -1
  28. package/src/sap/ui/fl/apply/_internal/changes/Utils.js +2 -2
  29. package/src/sap/ui/fl/apply/_internal/changes/descriptor/Applier.js +1 -1
  30. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ApplyStrategyFactory.js +1 -1
  31. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ApplyUtil.js +1 -1
  32. package/src/sap/ui/fl/apply/_internal/changes/descriptor/Preprocessor.js +2 -2
  33. package/src/sap/ui/fl/apply/_internal/changes/descriptor/Registration.js +2 -2
  34. package/src/sap/ui/fl/apply/_internal/changes/descriptor/RegistrationBuild.js +2 -2
  35. package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/ChangeDataSource.js +2 -2
  36. package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/SetTitle.js +2 -2
  37. package/src/sap/ui/fl/apply/_internal/changes/descriptor/fiori/SetRegistrationIds.js +2 -2
  38. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddLibrary.js +2 -2
  39. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddNewModelEnhanceWith.js +2 -2
  40. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/SetFlexExtensionPointEnabled.js +2 -2
  41. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/SetMinUI5Version.js +2 -2
  42. package/src/sap/ui/fl/apply/_internal/connectors/ObjectStorageConnector.js +1 -1
  43. package/src/sap/ui/fl/apply/_internal/connectors/ObjectStorageUtils.js +2 -2
  44. package/src/sap/ui/fl/apply/_internal/controlVariants/URLHandler.js +1 -1
  45. package/src/sap/ui/fl/apply/_internal/controlVariants/Utils.js +1 -1
  46. package/src/sap/ui/fl/apply/_internal/extensionPoint/Processor.js +2 -2
  47. package/src/sap/ui/fl/apply/_internal/flexState/FlexState.js +2 -2
  48. package/src/sap/ui/fl/apply/_internal/flexState/Loader.js +2 -2
  49. package/src/sap/ui/fl/apply/_internal/flexState/ManifestUtils.js +2 -2
  50. package/src/sap/ui/fl/apply/_internal/flexState/UI2Personalization/UI2PersonalizationState.js +2 -2
  51. package/src/sap/ui/fl/apply/_internal/flexState/changes/DependencyHandler.js +2 -2
  52. package/src/sap/ui/fl/apply/_internal/flexState/changes/ExtensionPointState.js +2 -2
  53. package/src/sap/ui/fl/apply/_internal/flexState/controlVariants/Switcher.js +2 -2
  54. package/src/sap/ui/fl/apply/_internal/flexState/controlVariants/VariantManagementState.js +2 -2
  55. package/src/sap/ui/fl/apply/_internal/flexState/prepareAppDescriptorMap.js +1 -1
  56. package/src/sap/ui/fl/apply/_internal/flexState/prepareChangesMap.js +1 -1
  57. package/src/sap/ui/fl/apply/_internal/flexState/prepareCompVariantsMap.js +1 -1
  58. package/src/sap/ui/fl/apply/_internal/flexState/prepareVariantsMap.js +1 -1
  59. package/src/sap/ui/fl/apply/api/ControlVariantApplyAPI.js +2 -2
  60. package/src/sap/ui/fl/apply/api/DelegateMediatorAPI.js +1 -1
  61. package/src/sap/ui/fl/apply/api/FlexRuntimeInfoAPI.js +1 -1
  62. package/src/sap/ui/fl/apply/api/SmartVariantManagementApplyAPI.js +1 -1
  63. package/src/sap/ui/fl/apply/api/UI2PersonalizationApplyAPI.js +1 -1
  64. package/src/sap/ui/fl/changeHandler/AddIFrame.js +2 -2
  65. package/src/sap/ui/fl/changeHandler/AddXML.js +2 -2
  66. package/src/sap/ui/fl/changeHandler/AddXMLAtExtensionPoint.js +2 -2
  67. package/src/sap/ui/fl/changeHandler/Base.js +2 -2
  68. package/src/sap/ui/fl/changeHandler/BaseAddViaDelegate.js +2 -2
  69. package/src/sap/ui/fl/changeHandler/BaseAddXml.js +2 -2
  70. package/src/sap/ui/fl/changeHandler/BaseRename.js +2 -2
  71. package/src/sap/ui/fl/changeHandler/BaseTreeModifier.js +1 -1
  72. package/src/sap/ui/fl/changeHandler/HideControl.js +2 -2
  73. package/src/sap/ui/fl/changeHandler/JsControlTreeModifier.js +1 -1
  74. package/src/sap/ui/fl/changeHandler/MoveControls.js +2 -2
  75. package/src/sap/ui/fl/changeHandler/MoveElements.js +2 -2
  76. package/src/sap/ui/fl/changeHandler/PropertyBindingChange.js +2 -2
  77. package/src/sap/ui/fl/changeHandler/PropertyChange.js +2 -2
  78. package/src/sap/ui/fl/changeHandler/StashControl.js +2 -2
  79. package/src/sap/ui/fl/changeHandler/UnhideControl.js +2 -2
  80. package/src/sap/ui/fl/changeHandler/UnstashControl.js +2 -2
  81. package/src/sap/ui/fl/changeHandler/UpdateIFrame.js +2 -2
  82. package/src/sap/ui/fl/changeHandler/XmlTreeModifier.js +1 -1
  83. package/src/sap/ui/fl/changeHandler/common/createIFrame.js +1 -1
  84. package/src/sap/ui/fl/changeHandler/common/getTargetAggregationIndex.js +1 -1
  85. package/src/sap/ui/fl/changeHandler/common/revertAddedControls.js +1 -1
  86. package/src/sap/ui/fl/codeExt/CodeExtManager.js +2 -2
  87. package/src/sap/ui/fl/descriptorRelated/api/DescriptorChangeFactory.js +5 -5
  88. package/src/sap/ui/fl/descriptorRelated/api/DescriptorInlineChangeFactory.js +2 -2
  89. package/src/sap/ui/fl/descriptorRelated/api/DescriptorVariantFactory.js +2 -2
  90. package/src/sap/ui/fl/descriptorRelated/internal/Utils.js +1 -1
  91. package/src/sap/ui/fl/designtime/library.designtime.js +1 -1
  92. package/src/sap/ui/fl/designtime/util/IFrame.designtime.js +1 -1
  93. package/src/sap/ui/fl/designtime/variants/VariantManagement.designtime.js +1 -1
  94. package/src/sap/ui/fl/fieldExt/Access.js +2 -2
  95. package/src/sap/ui/fl/initial/_internal/Storage.js +2 -2
  96. package/src/sap/ui/fl/initial/_internal/StorageResultMerger.js +1 -1
  97. package/src/sap/ui/fl/initial/_internal/StorageUtils.js +2 -2
  98. package/src/sap/ui/fl/initial/_internal/connectors/BackendConnector.js +1 -1
  99. package/src/sap/ui/fl/initial/_internal/connectors/KeyUserConnector.js +1 -1
  100. package/src/sap/ui/fl/initial/_internal/connectors/LrepConnector.js +1 -1
  101. package/src/sap/ui/fl/initial/_internal/connectors/NeoLrepConnector.js +1 -1
  102. package/src/sap/ui/fl/initial/_internal/connectors/PersonalizationConnector.js +1 -1
  103. package/src/sap/ui/fl/initial/_internal/connectors/StaticFileConnector.js +1 -1
  104. package/src/sap/ui/fl/initial/_internal/connectors/Utils.js +2 -2
  105. package/src/sap/ui/fl/initial/_internal/storageResultDisassemble.js +2 -2
  106. package/src/sap/ui/fl/interfaces/BaseLoadConnector.js +2 -2
  107. package/src/sap/ui/fl/interfaces/Delegate.js +2 -2
  108. package/src/sap/ui/fl/library.js +10 -10
  109. package/src/sap/ui/fl/library.support.js +1 -1
  110. package/src/sap/ui/fl/registry/ChangeHandlerRegistration.js +1 -1
  111. package/src/sap/ui/fl/registry/ChangeRegistry.js +2 -2
  112. package/src/sap/ui/fl/registry/ChangeRegistryItem.js +2 -2
  113. package/src/sap/ui/fl/registry/ChangeTypeMetadata.js +2 -2
  114. package/src/sap/ui/fl/registry/Settings.js +1 -1
  115. package/src/sap/ui/fl/registry/SimpleChanges.js +2 -2
  116. package/src/sap/ui/fl/requireAsync.js +1 -1
  117. package/src/sap/ui/fl/support/Flexibility.js +2 -2
  118. package/src/sap/ui/fl/support/apps/contentbrowser/Component.js +1 -1
  119. package/src/sap/ui/fl/support/apps/contentbrowser/controller/ContentDetails.controller.js +2 -2
  120. package/src/sap/ui/fl/support/apps/contentbrowser/controller/ContentDetailsEdit.controller.js +2 -2
  121. package/src/sap/ui/fl/support/apps/contentbrowser/controller/LayerContentMaster.controller.js +2 -2
  122. package/src/sap/ui/fl/support/apps/contentbrowser/controller/Layers.controller.js +2 -2
  123. package/src/sap/ui/fl/support/apps/contentbrowser/lrepConnector/LRepConnector.js +2 -2
  124. package/src/sap/ui/fl/support/apps/contentbrowser/utils/DataUtils.js +2 -2
  125. package/src/sap/ui/fl/support/apps/contentbrowser/utils/ErrorUtils.js +2 -2
  126. package/src/sap/ui/fl/support/apps/uiFlexibilityDiagnostics/Component.js +1 -1
  127. package/src/sap/ui/fl/support/apps/uiFlexibilityDiagnostics/controller/Root.controller.js +1 -1
  128. package/src/sap/ui/fl/support/apps/uiFlexibilityDiagnostics/helper/Extractor.js +1 -1
  129. package/src/sap/ui/fl/support/diagnostics/Flexibility.controller.js +2 -2
  130. package/src/sap/ui/fl/themes/base/library.source.less +1 -1
  131. package/src/sap/ui/fl/themes/sap_hcb/library.source.less +1 -1
  132. package/src/sap/ui/fl/transport/TransportDialog.js +1 -1
  133. package/src/sap/ui/fl/transport/TransportSelection.js +2 -2
  134. package/src/sap/ui/fl/util/IFrame.flexibility.js +1 -1
  135. package/src/sap/ui/fl/util/IFrame.js +81 -38
  136. package/src/sap/ui/fl/util/IFrameRenderer.js +3 -2
  137. package/src/sap/ui/fl/util/ManagedObjectModel.js +2 -2
  138. package/src/sap/ui/fl/util/getContainerUserInfo.js +1 -1
  139. package/src/sap/ui/fl/variants/VariantManagement.js +1 -1
  140. package/src/sap/ui/fl/variants/VariantModel.js +2 -2
  141. package/src/sap/ui/fl/write/_internal/SaveAs.js +1 -1
  142. package/src/sap/ui/fl/write/_internal/Storage.js +2 -2
  143. package/src/sap/ui/fl/write/_internal/StorageFeaturesMerger.js +2 -2
  144. package/src/sap/ui/fl/write/_internal/Versions.js +2 -2
  145. package/src/sap/ui/fl/write/_internal/appVariant/AppVariant.js +2 -2
  146. package/src/sap/ui/fl/write/_internal/appVariant/AppVariantFactory.js +2 -2
  147. package/src/sap/ui/fl/write/_internal/appVariant/AppVariantInlineChange.js +2 -2
  148. package/src/sap/ui/fl/write/_internal/appVariant/AppVariantInlineChangeFactory.js +2 -2
  149. package/src/sap/ui/fl/write/_internal/condenser/Condenser.js +2 -2
  150. package/src/sap/ui/fl/write/_internal/condenser/UIReconstruction.js +2 -2
  151. package/src/sap/ui/fl/write/_internal/condenser/Utils.js +1 -1
  152. package/src/sap/ui/fl/write/_internal/condenser/classifications/Create.js +1 -1
  153. package/src/sap/ui/fl/write/_internal/condenser/classifications/Destroy.js +1 -1
  154. package/src/sap/ui/fl/write/_internal/condenser/classifications/LastOneWins.js +1 -1
  155. package/src/sap/ui/fl/write/_internal/condenser/classifications/Move.js +1 -1
  156. package/src/sap/ui/fl/write/_internal/condenser/classifications/Reverse.js +1 -1
  157. package/src/sap/ui/fl/write/_internal/connectors/BackendConnector.js +2 -2
  158. package/src/sap/ui/fl/write/_internal/connectors/JsObjectConnector.js +1 -1
  159. package/src/sap/ui/fl/write/_internal/connectors/KeyUserConnector.js +2 -2
  160. package/src/sap/ui/fl/write/_internal/connectors/LocalStorageConnector.js +1 -1
  161. package/src/sap/ui/fl/write/_internal/connectors/LrepConnector.js +2 -2
  162. package/src/sap/ui/fl/write/_internal/connectors/NeoLrepConnector.js +2 -2
  163. package/src/sap/ui/fl/write/_internal/connectors/ObjectPathConnector.js +2 -2
  164. package/src/sap/ui/fl/write/_internal/connectors/ObjectStorageConnector.js +1 -1
  165. package/src/sap/ui/fl/write/_internal/connectors/PersonalizationConnector.js +2 -2
  166. package/src/sap/ui/fl/write/_internal/connectors/SessionStorageConnector.js +1 -1
  167. package/src/sap/ui/fl/write/_internal/connectors/Utils.js +2 -2
  168. package/src/sap/ui/fl/write/_internal/extensionPoint/Processor.js +2 -2
  169. package/src/sap/ui/fl/write/_internal/extensionPoint/Registry.js +2 -2
  170. package/src/sap/ui/fl/write/_internal/flexState/FlexObjectState.js +2 -2
  171. package/src/sap/ui/fl/write/_internal/flexState/compVariants/CompVariantState.js +2 -2
  172. package/src/sap/ui/fl/write/_internal/transport/TransportDialog.js +1 -1
  173. package/src/sap/ui/fl/write/_internal/transport/TransportSelection.js +2 -2
  174. package/src/sap/ui/fl/write/_internal/transport/Transports.js +2 -2
  175. package/src/sap/ui/fl/write/api/AppVariantWriteAPI.js +1 -1
  176. package/src/sap/ui/fl/write/api/ChangesWriteAPI.js +1 -1
  177. package/src/sap/ui/fl/write/api/ControlPersonalizationWriteAPI.js +1 -1
  178. package/src/sap/ui/fl/write/api/ExtensionPointRegistryAPI.js +1 -1
  179. package/src/sap/ui/fl/write/api/FeaturesAPI.js +1 -1
  180. package/src/sap/ui/fl/write/api/PersistenceWriteAPI.js +1 -1
  181. package/src/sap/ui/fl/write/api/ReloadInfoAPI.js +1 -1
  182. package/src/sap/ui/fl/write/api/SmartBusinessWriteAPI.js +1 -1
  183. package/src/sap/ui/fl/write/api/SmartVariantManagementWriteAPI.js +1 -1
  184. package/src/sap/ui/fl/write/api/UI2PersonalizationWriteAPI.js +1 -1
  185. package/src/sap/ui/fl/write/api/VersionsAPI.js +1 -1
  186. package/src/sap/ui/fl/write/api/connectors/FileListBaseConnector.js +1 -1
  187. package/src/sap/ui/fl/write/api/connectors/ObjectStorageConnector.js +1 -1
  188. package/src/sap/ui/fl/write/connectors/BaseConnector.js +1 -1
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -16,7 +16,7 @@ sap.ui.define([
16
16
  * @constructor
17
17
  * @alias sap.ui.fl.support.Flexibility
18
18
  * @author SAP SE
19
- * @version 1.84.48
19
+ * @version 1.84.50
20
20
  * @experimental Since 1.52
21
21
  */
22
22
  return Controller.extend("sap.ui.fl.support.diagnostics.Flexibility", {
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -17,7 +17,7 @@ sap.ui.define([
17
17
  * @alias sap.ui.fl.transport.TransportSelection
18
18
  * @constructor
19
19
  * @author SAP SE
20
- * @version 1.84.48
20
+ * @version 1.84.50
21
21
  * @since 1.38.0
22
22
  * Helper object to select an ABAP transport for an LREP object. This is not a generic utility to select a transport request, but part
23
23
  * of the SmartVariant control.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,30 +1,31 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
7
7
  // Provides control sap.ui.fl.util.IFrame
8
8
  sap.ui.define([
9
9
  "../library",
10
+ "sap/base/util/uid",
10
11
  "sap/ui/core/Control",
11
12
  "sap/ui/model/json/JSONModel",
12
13
  "./getContainerUserInfo",
13
14
  "sap/base/util/extend",
14
15
  "sap/base/security/URLWhitelist",
15
- "sap/base/util/restricted/_CancelablePromise",
16
16
  "sap/base/Log",
17
- "sap/ui/core/library",
18
- "./IFrameRenderer"
17
+ "./IFrameRenderer",
18
+ "sap/ui/core/library"
19
19
  ], function(
20
20
  library,
21
+ uid,
21
22
  Control,
22
23
  JSONModel,
23
24
  getContainerUserInfo,
24
25
  extend,
25
26
  URLWhitelist,
26
- CancelablePromise,
27
- Log
27
+ Log,
28
+ IFrameRenderer
28
29
  ) {
29
30
  "use strict";
30
31
 
@@ -52,7 +53,7 @@ sap.ui.define([
52
53
  * @extends sap.ui.core.Control
53
54
  *
54
55
  * @author SAP SE
55
- * @version 1.84.48
56
+ * @version 1.84.50
56
57
  *
57
58
  * @constructor
58
59
  * @private
@@ -109,36 +110,56 @@ sap.ui.define([
109
110
  var sEncodedUrl = decodeURI(sUrl) === sUrl ? encodeURI(sUrl) : sUrl;
110
111
 
111
112
  if (IFrame.isValidUrl(sEncodedUrl)) {
112
- // Setting the url of the IFrame directly can lead to issues
113
- // if the change doesn't result in a reload of the embedded page
114
- // e.g. when a navigation parameter is changed
115
- // To avoid problems with the ushell and the embedded apps, it is safer
116
- // to unload the iframe content first and thus force a full browser reload
117
-
118
- if (this._oSetUrlPromise) {
119
- this._oSetUrlPromise.cancel();
120
- delete this._oSetUrlPromise;
113
+ // Set by replacing the last entry
114
+ var oNewUrl = IFrame._toUrl(sEncodedUrl);
115
+ var oOldUrl = IFrame._toUrl(this.getUrl() || "about:blank");
116
+ if (oOldUrl.searchParams.has("sap-ui-xx-fl-forceEmbeddedContentRefresh")) {
117
+ // Always keep the refresh parameter and update it to avoid false negatives
118
+ // when the URL doesn't change except for the refresh parameter itself + hash
119
+ oNewUrl.searchParams.set("sap-ui-xx-fl-forceEmbeddedContentRefresh", uid().substring(3));
120
+ } else if (
121
+ oOldUrl.origin === oNewUrl.origin
122
+ && oOldUrl.pathname === oNewUrl.pathname
123
+ && oOldUrl.search === oNewUrl.search
124
+ && oOldUrl.hash !== oNewUrl.hash
125
+ ) {
126
+ // Only the hash changed, site is not going to reload automatically
127
+ // Set an artificial search parameter to force a refresh
128
+ oNewUrl.searchParams.append("sap-ui-xx-fl-forceEmbeddedContentRefresh", uid().substring(3));
121
129
  }
122
-
123
- this.setProperty("url", "");
124
-
125
- this._oSetUrlPromise = new CancelablePromise(function (fnResolve, fnReject, onCancel) {
126
- onCancel.shouldReject = false;
127
- // Use a timeout here to avoid issues with browser caching in Chrome
128
- // that seem to lead to a mismatch between IFrame content and src,
129
- // see Chromium issue 324102
130
- setTimeout(fnResolve, 0);
131
- });
132
-
133
- this._oSetUrlPromise.then(function() {
134
- this.setProperty("url", sEncodedUrl);
135
- }.bind(this));
130
+ this.setProperty("url", oNewUrl.toString());
136
131
  } else {
137
132
  Log.error("Provided URL is not valid as an IFrame src");
138
133
  }
139
134
  return this;
140
135
  },
141
136
 
137
+ // Used for testing since retrieving or spying on the Iframe location
138
+ // is not possible due to cross-origin restrictions
139
+ _replaceIframeLocation: function (sNewUrl) {
140
+ this.getDomRef().contentWindow.location.replace(sNewUrl);
141
+ },
142
+
143
+ onAfterRendering: function () {
144
+ this._replaceIframeLocation(this.getUrl());
145
+
146
+ // The contentWindow might change without causing a rerender, e.g.
147
+ // when the parent element changes due to an appendChild call
148
+ // This will cause the iframe src to change and we need to replace the
149
+ // location again to ensure the correct content
150
+ this._oLastContentWindow = this.getDomRef().contentWindow;
151
+ this.getDomRef().addEventListener("load", function() {
152
+ if (!this.getDomRef()) {
153
+ // The iframe was removed before the load event was triggered
154
+ return;
155
+ }
156
+ if (this._oLastContentWindow !== this.getDomRef().contentWindow) {
157
+ this._oLastContentWindow = this.getDomRef().contentWindow;
158
+ this._replaceIframeLocation(this.getUrl());
159
+ }
160
+ }.bind(this));
161
+ },
162
+
142
163
  applySettings: function (mSettings) {
143
164
  Control.prototype.applySettings.apply(this, arguments);
144
165
  if (mSettings) {
@@ -163,18 +184,40 @@ sap.ui.define([
163
184
  this._oUserModel.destroy();
164
185
  delete this._oUserModel;
165
186
  }
166
- }
187
+ },
167
188
 
189
+ renderer: IFrameRenderer
168
190
  });
169
191
 
192
+ // Used for test stubbing
193
+ IFrame._getDocumentLocation = function() {
194
+ return document.location;
195
+ };
196
+
197
+ IFrame._toUrl = function(sUrl) {
198
+ var oDocumentLocation = IFrame._getDocumentLocation();
199
+ return new window.URL(sUrl, oDocumentLocation.href);
200
+ };
201
+
170
202
  IFrame.isValidUrl = function(sUrl) {
171
- // Make sure that pseudo protocols are not allowed as IFrame src
172
- return (
173
- !URLWhitelist.entries().some(function(oValidatorEntry) {
174
- return /javascript/i.test(oValidatorEntry.protocol);
175
- })
176
- && URLWhitelist.validate(sUrl)
177
- );
203
+ try {
204
+ var oUrl = IFrame._toUrl(sUrl);
205
+
206
+ // Make sure that pseudo protocols are not allowed as IFrame src
207
+ return (
208
+ !/javascript/i.test(oUrl.protocol)
209
+ && (
210
+ // Forbid unsafe http embedding within https to conform with mixed content security restrictions
211
+ !/http(?!s)/.test(oUrl.protocol)
212
+ // Exception: Host is using http, no protocol downgrade happening
213
+ // Required for local testing and onPrem systems
214
+ || /http(?!s)/.test(IFrame._getDocumentLocation().protocol)
215
+ )
216
+ && URLWhitelist.validate(sUrl)
217
+ );
218
+ } catch (error) {
219
+ return false;
220
+ }
178
221
  };
179
222
 
180
223
  return IFrame;
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -40,7 +40,8 @@ sap.ui.define([
40
40
  oRm.style("border", "none");
41
41
 
42
42
  oRm.attr("sandbox", "allow-forms allow-popups allow-scripts allow-same-origin");
43
- oRm.attr("src", oIFrame.getUrl());
43
+ // Always set the src to about:blank to avoid adding history entries when parameters are resolved
44
+ oRm.attr("src", "about:blank");
44
45
  var sTitle = oIFrame.getTitle();
45
46
  if (sTitle) {
46
47
  oRm.attr("title", sTitle);
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -25,7 +25,7 @@ sap.ui.define([
25
25
  * @extends sap.ui.core.Element
26
26
  *
27
27
  * @author SAP SE
28
- * @version 1.84.48
28
+ * @version 1.84.50
29
29
  *
30
30
  * @constructor
31
31
  * @private
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  * ! OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  * ! OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -240,7 +240,7 @@ sap.ui.define([
240
240
  * @class Variant model implementation for JSON format.
241
241
  * @extends sap.ui.model.json.JSONModel
242
242
  * @author SAP SE
243
- * @version 1.84.48
243
+ * @version 1.84.50
244
244
  * @param {object} oData - Either the URL where to load the JSON from or a JS object
245
245
  * @param {sap.ui.fl.FlexController} oFlexController - <code>FlexController</code> instance for the component which uses the variant model
246
246
  * @param {sap.ui.core.Component} oAppComponent - Application component instance that is currently loading
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  * ! OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  * ! OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -20,7 +20,7 @@ sap.ui.define([
20
20
  *
21
21
  * @namespace sap.ui.fl.write._internal.Storage
22
22
  * @since 1.67
23
- * @version 1.84.48
23
+ * @version 1.84.50
24
24
  * @private
25
25
  * @ui5-restricted sap.ui.fl
26
26
  */
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  * ! OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -16,7 +16,7 @@ sap.ui.define([
16
16
  *
17
17
  * @namespace sap.ui.fl.write._internal.StorageFeaturesMerger
18
18
  * @since 1.70
19
- * @version 1.84.48
19
+ * @version 1.84.50
20
20
  * @private
21
21
  * @ui5-restricted sap.ui.fl.write._internal.Storage
22
22
  */
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  * ! OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -154,7 +154,7 @@ sap.ui.define([
154
154
  *
155
155
  * @namespace sap.ui.fl.write._internal.Versions
156
156
  * @since 1.74
157
- * @version 1.84.48
157
+ * @version 1.84.50
158
158
  * @private
159
159
  * @ui5-restricted sap.ui.fl
160
160
  */
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  * ! OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -35,7 +35,7 @@ sap.ui.define([
35
35
  * @constructor
36
36
  * @alias sap.ui.fl.write._internal.appVariant.AppVariant
37
37
  * @author SAP SE
38
- * @version 1.84.48
38
+ * @version 1.84.50
39
39
  * @private
40
40
  * @ui5-restricted sap.ui.rta, smart business
41
41
  */
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -32,7 +32,7 @@ sap.ui.define([
32
32
  * @namespace
33
33
  * @alias sap.ui.fl.write._internal.appVariant.AppVariantFactory
34
34
  * @author SAP SE
35
- * @version 1.84.48
35
+ * @version 1.84.50
36
36
  * @private
37
37
  * @ui5-restricted sap.ui.rta, smart business
38
38
  */
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  * ! OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * @constructor
29
29
  * @alias sap.ui.fl.write._internal.appVariant.AppVariantInlineChange
30
30
  * @author SAP SE
31
- * @version 1.84.48
31
+ * @version 1.84.50
32
32
  * @private
33
33
  * @ui5-restricted sap.ui.rta, smart business
34
34
  */
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -33,7 +33,7 @@ sap.ui.define([
33
33
  * @namespace
34
34
  * @alias sap.ui.fl.write._internal.appVariant.AppVariantInlineChangeFactory
35
35
  * @author SAP SE
36
- * @version 1.84.48
36
+ * @version 1.84.50
37
37
  * @private
38
38
  * @ui5-restricted sap.ui.rta, smart business
39
39
  */
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -40,7 +40,7 @@ sap.ui.define([
40
40
  * @namespace
41
41
  * @alias sap.ui.fl.write._internal.condenser.Condenser
42
42
  * @author SAP SE
43
- * @version 1.84.48
43
+ * @version 1.84.50
44
44
  */
45
45
  var Condenser = {};
46
46
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * @namespace
29
29
  * @alias sap.ui.fl.write._internal.condenser.UIReconstruction
30
30
  * @author SAP SE
31
- * @version 1.84.48
31
+ * @version 1.84.50
32
32
  */
33
33
  var UIReconstruction = {};
34
34
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  * ! OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -74,7 +74,7 @@ sap.ui.define([
74
74
  *
75
75
  * @namespace sap.ui.fl.write._internal.connectors.BackendConnector
76
76
  * @since 1.72
77
- * @version 1.84.48
77
+ * @version 1.84.50
78
78
  * @private
79
79
  * @ui5-restricted sap.ui.fl.write._internal.connectors
80
80
  */
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  * ! OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  * ! OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -48,7 +48,7 @@ sap.ui.define([
48
48
  *
49
49
  * @namespace sap.ui.fl.write._internal.connectors.KeyUserConnector
50
50
  * @since 1.70
51
- * @version 1.84.48
51
+ * @version 1.84.50
52
52
  * @private
53
53
  * @ui5-restricted sap.ui.fl.write._internal.Storage
54
54
  */
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  * ! OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  * ! OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -140,7 +140,7 @@ sap.ui.define([
140
140
  *
141
141
  * @namespace sap.ui.fl.write._internal.connectors.LrepConnector
142
142
  * @since 1.67
143
- * @version 1.84.48
143
+ * @version 1.84.50
144
144
  * @private
145
145
  * @ui5-restricted sap.ui.fl.write._internal.Storage
146
146
  */
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  * ! OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  *
22
22
  * @namespace sap.ui.fl.write._internal.connectors.NeoLrepConnector
23
23
  * @since 1.81
24
- * @version 1.84.48
24
+ * @version 1.84.50
25
25
  * @private
26
26
  * @ui5-restricted sap.ui.fl.write._internal.Storage
27
27
  */
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  * ! OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  *
25
25
  * @namespace sap.ui.fl.write._internal.connectors.ObjectPathConnector
26
26
  * @since 1.73
27
- * @version 1.84.48
27
+ * @version 1.84.50
28
28
  * @private
29
29
  * @ui5-restricted sap.ui.fl.write._internal.Storage
30
30
  */