chromium/third_party/blink/web_tests/http/tests/inspector-protocol/network/request-interception-patterns-expected.txt

Tests interception pattern only matches requests based on pattern.

setRequestInterception([{"urlPattern":"*"}])
Request Will Be Sent: small-test-1.txt
Request Intercepted: small-test-1.txt
Response Received for: small-test-1.txt
Response Content: I was intercepted.

Request Will Be Sent: small-test-2.txt
Request Intercepted: small-test-2.txt
Response Received for: small-test-2.txt
Response Content: I was also intercepted.

Request Will Be Sent: test-page.html
Request Intercepted: test-page.html
Response Received for: test-page.html
Response Content: I own test page!


setRequestInterception([])
Request Will Be Sent: small-test-1.txt
Response Received for: small-test-1.txt
Response Content: This was served from server.

Request Will Be Sent: small-test-2.txt
Response Received for: small-test-2.txt
Response Content: This was also served from server.

Request Will Be Sent: test-page.html
Response Received for: test-page.html
Response Content: <html>\n<body>\n<div id="rootDiv">Root div text</div>\n</body>\n</html>\n


setRequestInterception([{"urlPattern":"*small-test-1.txt"}])
Request Will Be Sent: small-test-1.txt
Request Intercepted: small-test-1.txt
Response Received for: small-test-1.txt
Response Content: I was intercepted.

Request Will Be Sent: small-test-2.txt
Response Received for: small-test-2.txt
Response Content: This was also served from server.

Request Will Be Sent: test-page.html
Response Received for: test-page.html
Response Content: <html>\n<body>\n<div id="rootDiv">Root div text</div>\n</body>\n</html>\n


setRequestInterception([{"urlPattern":"*small-test-?.txt"}])
Request Will Be Sent: small-test-1.txt
Request Intercepted: small-test-1.txt
Response Received for: small-test-1.txt
Response Content: I was intercepted.

Request Will Be Sent: small-test-2.txt
Request Intercepted: small-test-2.txt
Response Received for: small-test-2.txt
Response Content: I was also intercepted.

Request Will Be Sent: test-page.html
Response Received for: test-page.html
Response Content: <html>\n<body>\n<div id="rootDiv">Root div text</div>\n</body>\n</html>\n


setRequestInterception([{"urlPattern":"*small-test-*.txt"}])
Request Will Be Sent: small-test-1.txt
Request Intercepted: small-test-1.txt
Response Received for: small-test-1.txt
Response Content: I was intercepted.

Request Will Be Sent: small-test-2.txt
Request Intercepted: small-test-2.txt
Response Received for: small-test-2.txt
Response Content: I was also intercepted.

Request Will Be Sent: test-page.html
Response Received for: test-page.html
Response Content: <html>\n<body>\n<div id="rootDiv">Root div text</div>\n</body>\n</html>\n


setRequestInterception([{"urlPattern":"*small-test-\\*.txt"}])
Request Will Be Sent: small-test-1.txt
Response Received for: small-test-1.txt
Response Content: This was served from server.

Request Will Be Sent: small-test-2.txt
Response Received for: small-test-2.txt
Response Content: This was also served from server.

Request Will Be Sent: test-page.html
Response Received for: test-page.html
Response Content: <html>\n<body>\n<div id="rootDiv">Root div text</div>\n</body>\n</html>\n


setRequestInterception([{"urlPattern":"*small-test*"}])
Request Will Be Sent: small-test-1.txt
Request Intercepted: small-test-1.txt
Response Received for: small-test-1.txt
Response Content: I was intercepted.

Request Will Be Sent: small-test-2.txt
Request Intercepted: small-test-2.txt
Response Received for: small-test-2.txt
Response Content: I was also intercepted.

Request Will Be Sent: test-page.html
Response Received for: test-page.html
Response Content: <html>\n<body>\n<div id="rootDiv">Root div text</div>\n</body>\n</html>\n


setRequestInterception([{"urlPattern":"*small-test-1.txt"},{"urlPattern":"*small-test-2.txt"}])
Request Will Be Sent: small-test-1.txt
Request Intercepted: small-test-1.txt
Response Received for: small-test-1.txt
Response Content: I was intercepted.

Request Will Be Sent: small-test-2.txt
Request Intercepted: small-test-2.txt
Response Received for: small-test-2.txt
Response Content: I was also intercepted.

Request Will Be Sent: test-page.html
Response Received for: test-page.html
Response Content: <html>\n<body>\n<div id="rootDiv">Root div text</div>\n</body>\n</html>\n


setRequestInterception([{"urlPattern":"*small-test-1.txt"},{"urlPattern":"*small-*"}])
Request Will Be Sent: small-test-1.txt
Request Intercepted: small-test-1.txt
Response Received for: small-test-1.txt
Response Content: I was intercepted.

Request Will Be Sent: small-test-2.txt
Request Intercepted: small-test-2.txt
Response Received for: small-test-2.txt
Response Content: I was also intercepted.

Request Will Be Sent: test-page.html
Response Received for: test-page.html
Response Content: <html>\n<body>\n<div id="rootDiv">Root div text</div>\n</body>\n</html>\n


setRequestInterception([{"urlPattern":"*small-test-1.txt"},{"urlPattern":"*-*"}])
Request Will Be Sent: small-test-1.txt
Request Intercepted: small-test-1.txt
Response Received for: small-test-1.txt
Response Content: I was intercepted.

Request Will Be Sent: small-test-2.txt
Request Intercepted: small-test-2.txt
Response Received for: small-test-2.txt
Response Content: I was also intercepted.

Request Will Be Sent: test-page.html
Request Intercepted: test-page.html
Response Received for: test-page.html
Response Content: I own test page!


setRequestInterception([{"urlPattern":"*-*"},{"urlPattern":"*small-test-1.txt"}])
Request Will Be Sent: small-test-1.txt
Request Intercepted: small-test-1.txt
Response Received for: small-test-1.txt
Response Content: I was intercepted.

Request Will Be Sent: small-test-2.txt
Request Intercepted: small-test-2.txt
Response Received for: small-test-2.txt
Response Content: I was also intercepted.

Request Will Be Sent: test-page.html
Request Intercepted: test-page.html
Response Received for: test-page.html
Response Content: I own test page!