File tree Expand file tree Collapse file tree 2 files changed +22
-5
lines changed
packages/integration-tests/suites/replay/privacy Expand file tree Collapse file tree 2 files changed +22
-5
lines changed Original file line number Diff line number Diff line change 7
7
< div data-sentry-unmask > This should be unmasked due to data attribute</ div >
8
8
< input placeholder ="Placeholder should be masked " />
9
9
< div title ="Title should be masked "> Title should be masked</ div >
10
- < svg xmlns ="http://www.w3.org/2000/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
- < img href ="#foo " />
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
+ < img style ="width:100px;height:100px " src ="//foo/foo.png " />
12
+ < img data-sentry-unblock style ="width:100px;height:100px " src ="//foo/foo.png " />
12
13
</ body >
13
14
</ html >
Original file line number Diff line number Diff line change @@ -186,8 +186,8 @@ sentryTest('should have the correct default privacy settings', async ({ getLocal
186
186
} ,
187
187
{
188
188
attributes : {
189
- rr_height : '0px ' ,
190
- rr_width : '0px ' ,
189
+ rr_height : '100px ' ,
190
+ rr_width : '100px ' ,
191
191
} ,
192
192
childNodes : [ ] ,
193
193
id : 25 ,
@@ -196,11 +196,27 @@ sentryTest('should have the correct default privacy settings', async ({ getLocal
196
196
} ,
197
197
{
198
198
id : 26 ,
199
- textContent : '\n ' ,
199
+ textContent : '\n ' ,
200
200
type : 3 ,
201
201
} ,
202
202
{
203
+ attributes : {
204
+ "data-sentry-unblock" : "" ,
205
+ src : "file://foo/foo.png" ,
206
+ style : "width:100px;height:100px" ,
207
+ } ,
208
+ childNodes : [ ] ,
203
209
id : 27 ,
210
+ tagName : 'img' ,
211
+ type : 2 ,
212
+ } ,
213
+ {
214
+ id : 28 ,
215
+ textContent : '\n ' ,
216
+ type : 3 ,
217
+ } ,
218
+ {
219
+ id : 29 ,
204
220
textContent : '\n\n' ,
205
221
type : 3 ,
206
222
} ,
You can’t perform that action at this time.
0 commit comments