mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-07 04:26:32 +08:00
Bug: 1267891 Change-Id: I06883acc2cee6eec11b107a4c30c79f3ea9204e8 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3302736 Auto-Submit: Danil Somsikov <dsv@chromium.org> Commit-Queue: Wolfgang Beyer <wolfi@chromium.org> Reviewed-by: Wolfgang Beyer <wolfi@chromium.org>
30 lines
897 B
HTML
30 lines
897 B
HTML
<!--
|
|
Copyright 2021 The Chromium Authors. All rights reserved.
|
|
Use of this source code is governed by a BSD-style license that can be
|
|
found in the LICENSE file.
|
|
-->
|
|
<script>
|
|
fetch('image.svg?id=42¶m=a%20b', {
|
|
'headers': {
|
|
'accept': '*/*',
|
|
'content-type': 'application/x-www-form-urlencoded;charset=UTF-8',
|
|
'x-same-domain': '1',
|
|
},
|
|
'referrer': 'https://example.com/',
|
|
'referrerPolicy': 'strict-origin-when-cross-origin',
|
|
'body': 'foo=alpha&bar=beta%3A42%3A0&baz&',
|
|
'method': 'POST',
|
|
});
|
|
fetch('image.svg', {
|
|
'headers': {
|
|
'accept': '*/*',
|
|
'content-type': 'application/x-www-form-urlencoded;charset=UTF-8',
|
|
'x-same-domain': '1',
|
|
},
|
|
'referrer': 'https://example.com/',
|
|
'referrerPolicy': 'strict-origin-when-cross-origin',
|
|
'body': 'foo=gamma&bar=delta%3A42%3A0&baz&',
|
|
'method': 'POST',
|
|
});
|
|
</script>
|