Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(40)

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/bindings/resources/dynamic-frame.html

Issue 2738033002: DevTools: add more tests to fixate bindings behavior (Closed)
Patch Set: rebaseline Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/http/tests/inspector/bindings/resources/dynamic-frame.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/bindings/resources/dynamic-frame.html b/third_party/WebKit/LayoutTests/http/tests/inspector/bindings/resources/dynamic-frame.html
new file mode 100644
index 0000000000000000000000000000000000000000..05b9c7918965090cb1faf015ceaaa0c4dc790bf3
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/bindings/resources/dynamic-frame.html
@@ -0,0 +1,7 @@
+<div>Hi, I'm a frame with dynamic script and stylesheet</div>
+<script>
+eval('window.foo = ()=>console.log("foo")\n//# sourceURL=dynamic-script.js');
+var style = document.createElement('style');
+style.textContent = 'div { color: blue; }\n/*# sourceURL=dynamic-style.css */';
+document.body.appendChild(style);
+</script>

Powered by Google App Engine
This is Rietveld 408576698