File tree Expand file tree Collapse file tree 4 files changed +106
-6
lines changed
packages/integration-tests/suites/replay/privacy Expand file tree Collapse file tree 4 files changed +106
-6
lines changed Original file line number Diff line number Diff line change 4
4
< body >
5
5
< button aria-label ="Click me " onclick ="console.log('Test log') "> Click me</ button >
6
6
< div > This should be masked by default</ div >
7
+ < div data-sentry-unmask > This should be unmasked due to data attribute</ div >
8
+ < input placeholder ="Placeholder should be masked " />
9
+ < 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 >
12
+ < img style ="width:100px;height:100px " src ="file:///none.png " />
13
+ < img data-sentry-unblock style ="width:100px;height:100px " src ="file:///none.png " />
7
14
</ body >
8
15
</ html >
Original file line number Diff line number Diff line change 181
181
},
182
182
{
183
183
"type" : 3 ,
184
- "textContent" : " \n " ,
184
+ "textContent" : " \n " ,
185
185
"id" : 27
186
186
},
187
+ {
188
+ "type" : 2 ,
189
+ "tagName" : " img" ,
190
+ "attributes" : {
191
+ "rr_width" : " 100px" ,
192
+ "rr_height" : " 100px"
193
+ },
194
+ "childNodes" : [],
195
+ "id" : 28
196
+ },
197
+ {
198
+ "type" : 3 ,
199
+ "textContent" : " \n " ,
200
+ "id" : 29
201
+ },
202
+ {
203
+ "type" : 2 ,
204
+ "tagName" : " img" ,
205
+ "attributes" : {
206
+ "data-sentry-unblock" : " " ,
207
+ "style" : " width:100px;height:100px" ,
208
+ "src" : " file:///none.png"
209
+ },
210
+ "childNodes" : [],
211
+ "id" : 30
212
+ },
213
+ {
214
+ "type" : 3 ,
215
+ "textContent" : " \n " ,
216
+ "id" : 31
217
+ },
187
218
{
188
219
"type" : 3 ,
189
220
"textContent" : " \n\n " ,
190
- "id" : 28
221
+ "id" : 32
191
222
}
192
223
],
193
224
"id" : 7
Original file line number Diff line number Diff line change 181
181
},
182
182
{
183
183
"type" : 3 ,
184
- "textContent" : " \n " ,
184
+ "textContent" : " \n " ,
185
185
"id" : 27
186
186
},
187
+ {
188
+ "type" : 2 ,
189
+ "tagName" : " img" ,
190
+ "attributes" : {
191
+ "rr_width" : " 100px" ,
192
+ "rr_height" : " 100px"
193
+ },
194
+ "childNodes" : [],
195
+ "id" : 28
196
+ },
197
+ {
198
+ "type" : 3 ,
199
+ "textContent" : " \n " ,
200
+ "id" : 29
201
+ },
202
+ {
203
+ "type" : 2 ,
204
+ "tagName" : " img" ,
205
+ "attributes" : {
206
+ "data-sentry-unblock" : " " ,
207
+ "style" : " width:100px;height:100px" ,
208
+ "src" : " file:///none.png"
209
+ },
210
+ "childNodes" : [],
211
+ "id" : 30
212
+ },
213
+ {
214
+ "type" : 3 ,
215
+ "textContent" : " \n " ,
216
+ "id" : 31
217
+ },
187
218
{
188
219
"type" : 3 ,
189
220
"textContent" : " \n\n " ,
190
- "id" : 28
221
+ "id" : 32
191
222
}
192
223
],
193
224
"id" : 7
Original file line number Diff line number Diff line change 181
181
},
182
182
{
183
183
"type" : 3 ,
184
- "textContent" : " \n " ,
184
+ "textContent" : " \n " ,
185
185
"id" : 27
186
186
},
187
+ {
188
+ "type" : 2 ,
189
+ "tagName" : " img" ,
190
+ "attributes" : {
191
+ "rr_width" : " 100px" ,
192
+ "rr_height" : " 100px"
193
+ },
194
+ "childNodes" : [],
195
+ "id" : 28
196
+ },
197
+ {
198
+ "type" : 3 ,
199
+ "textContent" : " \n " ,
200
+ "id" : 29
201
+ },
202
+ {
203
+ "type" : 2 ,
204
+ "tagName" : " img" ,
205
+ "attributes" : {
206
+ "data-sentry-unblock" : " " ,
207
+ "style" : " width:100px;height:100px" ,
208
+ "src" : " file:///none.png"
209
+ },
210
+ "childNodes" : [],
211
+ "id" : 30
212
+ },
213
+ {
214
+ "type" : 3 ,
215
+ "textContent" : " \n " ,
216
+ "id" : 31
217
+ },
187
218
{
188
219
"type" : 3 ,
189
220
"textContent" : " \n\n " ,
190
- "id" : 28
221
+ "id" : 32
191
222
}
192
223
],
193
224
"id" : 7
You can’t perform that action at this time.
0 commit comments