[go: nahoru, domu]

Fix inspector-protocol/stylesheet-tracking-restart.js

The test became flaky because it was relying on the order in which
stylesheets are created on the backend. This CL changes the test to
rely on sourceURL instead of stylesheetId (incremental) to make the
test not flaky. Drive-by: adds .cache created by clangd to .gitignore

Fixed: 1104288
Change-Id: I243d97018c2153d228f78e07bd55b625265ec8da
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2299219
Reviewed-by: Mathias Bynens <mathias@chromium.org>
Commit-Queue: Alex Rudenko <alexrudenko@chromium.org>
Cr-Commit-Position: refs/heads/master@{#788538}
diff --git a/.gitignore b/.gitignore
index d54f60e4..64eb88ca 100644
--- a/.gitignore
+++ b/.gitignore
@@ -324,5 +324,8 @@
 # Ignore IntelliJ files.
 .idea/
 
+# Ignore cache folder created by clangd
+.cache
+
 # Ignore the default results output directory for tools/run-swarmed.py
 /results