mirror of
https://github.com/servo/servo
synced 2026-05-02 12:26:06 +02:00
Add a test for documents without browsing contexts loading stylesheets.
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
def main(request, response):
|
||||
try:
|
||||
count = int(request.server.stash.take(request.GET["id"]))
|
||||
except:
|
||||
count = 0
|
||||
if "count" in request.GET:
|
||||
return str(count)
|
||||
request.server.stash.put(request.GET["id"], str(count + 1))
|
||||
return 'body { color: red }'
|
||||
Reference in New Issue
Block a user