@openui5/sap.ui.testrecorder 1.122.1 → 1.123.0

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openui5/sap.ui.testrecorder",
3
- "version": "1.122.1",
3
+ "version": "1.123.0",
4
4
  "description": "OpenUI5 UI Library sap.ui.testrecorder",
5
5
  "author": "SAP SE (https://www.sap.com)",
6
6
  "license": "Apache-2.0",
@@ -14,10 +14,10 @@
14
14
  "url": "https://github.com/SAP/openui5.git"
15
15
  },
16
16
  "dependencies": {
17
- "@openui5/sap.m": "1.122.1",
18
- "@openui5/sap.ui.codeeditor": "1.122.1",
19
- "@openui5/sap.ui.core": "1.122.1",
20
- "@openui5/sap.ui.layout": "1.122.1",
21
- "@openui5/sap.ui.support": "1.122.1"
17
+ "@openui5/sap.m": "1.123.0",
18
+ "@openui5/sap.ui.codeeditor": "1.123.0",
19
+ "@openui5/sap.ui.core": "1.123.0",
20
+ "@openui5/sap.ui.layout": "1.123.0",
21
+ "@openui5/sap.ui.support": "1.123.0"
22
22
  }
23
23
  }
@@ -6,7 +6,7 @@
6
6
  <copyright>OpenUI5
7
7
  * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
8
8
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
9
- <version>1.122.1</version>
9
+ <version>1.123.0</version>
10
10
 
11
11
  <documentation>UI5 library: sap.ui.testrecorder</documentation>
12
12
 
@@ -65,12 +65,11 @@ sap.ui.define([
65
65
  try {
66
66
  if (window.self !== window.top) {
67
67
  // in our case it kind of makes sense to have a recorder per iframe, so only prevent nested recorders
68
- var sTestRecorderFrameId = "#sap-ui-test-recorder-frame";
69
- if (window.top.$ && window.top.$(sTestRecorderFrameId).length && window.top.$(sTestRecorderFrameId)[0].contentWindow === window.self) {
68
+ if (window.top.document.getElementById("sap-ui-test-recorder-frame")?.contentWindow === window.self) {
70
69
  return true;
71
- } else {
72
- return false;
73
70
  }
71
+
72
+ return false;
74
73
  }
75
74
  } catch (e) {
76
75
  // Access to window.top might be blocked if so the page is inside an iframe.
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * @namespace
25
25
  * @alias sap.ui.testrecorder
26
26
  * @author SAP SE
27
- * @version 1.122.1
27
+ * @version 1.123.0
28
28
  * @since 1.74
29
29
  * @public
30
30
  */
@@ -39,7 +39,7 @@ sap.ui.define([
39
39
  controls: [],
40
40
  elements: [],
41
41
  noLibraryCSS: true,
42
- version: "1.122.1",
42
+ version: "1.123.0",
43
43
  extensions: {
44
44
  //Configuration used for rule loading of Support Assistant
45
45
  "sap.ui.support": {