Skip to content

Commit 174531c

Browse files
committed
empty path
1 parent 6e8399c commit 174531c

File tree

4 files changed

+17
-14
lines changed

4 files changed

+17
-14
lines changed

packages/integration-tests/suites/replay/privacy/template.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
<div data-sentry-unmask>This should be unmasked due to data attribute</div>
88
<input placeholder="Placeholder should be masked" />
99
<div title="Title should be masked">Title should be masked</div>
10-
<svg viewBox="0 0 80 80"><path d="M79 71.91a7.32 7.32 0 0 0 0-7.38L46.4 8A7.22 7.22 0 0 0 40 4.37 7.33 7.33 0 0 0 33.62 8L23.06 26.33l2.66 1.54A51.42 51.42 0 0 1 44.6 46.75a50.41 50.41 0 0 1 6.81 22.72H44a44.34 44.34 0 0 0-5.84-19A43.76 43.76 0 0 0 22.07 34.2l-2.66-1.54-9.83 17.13 2.65 1.54A24.9 24.9 0 0 1 24.3 69.47H7.39a1.2 1.2 0 0 1-1.06-.59 1.21 1.21 0 0 1 0-1.23l4.73-8.14a17.67 17.67 0 0 0-5.38-3.08L1 64.57A7.34 7.34 0 0 0 1 72a7.25 7.25 0 0 0 6.39 3.67h23.24v-3.12a31.32 31.32 0 0 0-4.09-15.38 31.26 31.26 0 0 0-8.67-9.57l3.71-6.39a38 38 0 0 1 11.33 12.28 38.1 38.1 0 0 1 5.1 19v3.08h19.68v-3.02a57.52 57.52 0 0 0-7.76-28.88A57.48 57.48 0 0 0 31.47 24.1l7.51-13a1.18 1.18 0 0 1 1.02-.57 1.16 1.16 0 0 1 1.05.59L73.7 67.61a1.2 1.2 0 0 1 0 1.22 1.13 1.13 0 0 1-1.06.59H65c.1 2.07.1 4.09 0 6.16h7.65A7.1 7.1 0 0 0 79 71.91z"/></svg>
11-
<svg class="sentry-unblock" viewBox="0 0 80 80" data-sentry-unblock><path d="M79 71.91a7.32 7.32 0 0 0 0-7.38L46.4 8A7.22 7.22 0 0 0 40 4.37 7.33 7.33 0 0 0 33.62 8L23.06 26.33l2.66 1.54A51.42 51.42 0 0 1 44.6 46.75a50.41 50.41 0 0 1 6.81 22.72H44a44.34 44.34 0 0 0-5.84-19A43.76 43.76 0 0 0 22.07 34.2l-2.66-1.54-9.83 17.13 2.65 1.54A24.9 24.9 0 0 1 24.3 69.47H7.39a1.2 1.2 0 0 1-1.06-.59 1.21 1.21 0 0 1 0-1.23l4.73-8.14a17.67 17.67 0 0 0-5.38-3.08L1 64.57A7.34 7.34 0 0 0 1 72a7.25 7.25 0 0 0 6.39 3.67h23.24v-3.12a31.32 31.32 0 0 0-4.09-15.38 31.26 31.26 0 0 0-8.67-9.57l3.71-6.39a38 38 0 0 1 11.33 12.28 38.1 38.1 0 0 1 5.1 19v3.08h19.68v-3.02a57.52 57.52 0 0 0-7.76-28.88A57.48 57.48 0 0 0 31.47 24.1l7.51-13a1.18 1.18 0 0 1 1.02-.57 1.16 1.16 0 0 1 1.05.59L73.7 67.61a1.2 1.2 0 0 1 0 1.22 1.13 1.13 0 0 1-1.06.59H65c.1 2.07.1 4.09 0 6.16h7.65A7.1 7.1 0 0 0 79 71.91z"/></svg>
10+
<svg style="width:200px;height:200px" viewBox="0 0 80 80"><path d=""/></svg>
11+
<svg style="width:200px;height:200px" class="sentry-unblock" viewBox="0 0 80 80" data-sentry-unblock><path d=""/></svg>
1212
<img style="width:100px;height:100px" src="file:///none.png" />
1313
<img data-sentry-unblock style="width:100px;height:100px" src="file:///none.png" />
1414
</body>

packages/integration-tests/suites/replay/privacy/test.ts-snapshots/privacy-chromium.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,8 @@
143143
"type": 2,
144144
"tagName": "svg",
145145
"attributes": {
146-
"rr_width": "1264px",
147-
"rr_height": "1264px"
146+
"rr_width": "200px",
147+
"rr_height": "200px"
148148
},
149149
"childNodes": [],
150150
"isSVG": true,
@@ -159,6 +159,7 @@
159159
"type": 2,
160160
"tagName": "svg",
161161
"attributes": {
162+
"style": "width:200px;height:200px",
162163
"class": "sentry-unblock",
163164
"viewBox": "0 0 80 80",
164165
"data-sentry-unblock": ""
@@ -168,8 +169,8 @@
168169
"type": 2,
169170
"tagName": "path",
170171
"attributes": {
171-
"rr_width": "1264.1212158203125px",
172-
"rr_height": "1126.5677490234375px"
172+
"rr_width": "0px",
173+
"rr_height": "0px"
173174
},
174175
"childNodes": [],
175176
"isSVG": true,

packages/integration-tests/suites/replay/privacy/test.ts-snapshots/privacy-firefox.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,8 @@
143143
"type": 2,
144144
"tagName": "svg",
145145
"attributes": {
146-
"rr_width": "1264px",
147-
"rr_height": "1264px"
146+
"rr_width": "200px",
147+
"rr_height": "200px"
148148
},
149149
"childNodes": [],
150150
"isSVG": true,
@@ -159,6 +159,7 @@
159159
"type": 2,
160160
"tagName": "svg",
161161
"attributes": {
162+
"style": "width:200px;height:200px",
162163
"class": "sentry-unblock",
163164
"viewBox": "0 0 80 80",
164165
"data-sentry-unblock": ""
@@ -168,8 +169,8 @@
168169
"type": 2,
169170
"tagName": "path",
170171
"attributes": {
171-
"rr_width": "1264.2666015625px",
172-
"rr_height": "1126.816650390625px"
172+
"rr_width": "0px",
173+
"rr_height": "0px"
173174
},
174175
"childNodes": [],
175176
"isSVG": true,

packages/integration-tests/suites/replay/privacy/test.ts-snapshots/privacy-webkit.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,8 @@
143143
"type": 2,
144144
"tagName": "svg",
145145
"attributes": {
146-
"rr_width": "1264px",
147-
"rr_height": "1264px"
146+
"rr_width": "200px",
147+
"rr_height": "200px"
148148
},
149149
"childNodes": [],
150150
"isSVG": true,
@@ -159,6 +159,7 @@
159159
"type": 2,
160160
"tagName": "svg",
161161
"attributes": {
162+
"style": "width:200px;height:200px",
162163
"class": "sentry-unblock",
163164
"viewBox": "0 0 80 80",
164165
"data-sentry-unblock": ""
@@ -168,8 +169,8 @@
168169
"type": 2,
169170
"tagName": "path",
170171
"attributes": {
171-
"rr_width": "1264.12109375px",
172-
"rr_height": "1126.56787109375px"
172+
"rr_width": "0px",
173+
"rr_height": "0px"
173174
},
174175
"childNodes": [],
175176
"isSVG": true,

0 commit comments

Comments
 (0)