View gist:219610
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var sourceFrame = new WebInspector.SourceFrame(null, null); | |
sourceFrame.element.src = "data:text/js,var%20foo%20%3D%20%2F%5E%5C%2F%5C%2A-secure-%28%5B%5Cs%5CS%5D%5C%0A%2A%29%5C%2A%5C%2F%5Cs%2A%24%2F%3B"; | |
var msg = new WebInspector.ConsoleMessage(WebInspector.ConsoleMessage.MessageSource.JS, WebInspector.ConsoleMessage.MessageLevel.Log, WebInspector.ConsoleMessage.MessageLevel.Error, 1, "", 0, 1); | |
sourceFrame.addMessage(msg); | |
sourceFrame.addEventListener("syntax highlighting complete", function() { | |
result.push(sourceFrame.element.contentDocument.innerHTML); | |
testController.notifyDone(result); | |
}, false); |
View gist:444752
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// jslint.js | |
// 2010-04-06 | |
/* | |
Copyright (c) 2002 Douglas Crockford (www.JSLint.com) | |
Permission is hereby granted, free of charge, to any person obtaining a copy of | |
this software and associated documentation files (the "Software"), to deal in | |
the Software without restriction, including without limitation the rights to | |
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies |
View color-input-2.diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/LayoutTests/fast/forms/input-widths.html b/LayoutTests/fast/forms/input-widths.html | |
index f9efbf6..dc9deb1 100644 | |
--- a/LayoutTests/fast/forms/input-widths.html | |
+++ b/LayoutTests/fast/forms/input-widths.html | |
@@ -38,7 +38,6 @@ shouldBe('document.getElementById("url").offsetWidth', 'baseWidth'); | |
// type=search is not tested intentionally. | |
// The folloiwng types should be removed when dedicated UIs are implemented. | |
-shouldBe('document.getElementById("color").offsetWidth', 'baseWidth'); | |
shouldBe('document.getElementById("date").offsetWidth', 'baseWidth'); |
View gist:98c3955060b52a5ca139
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
grpc node | |
Problem: | |
"Error:startBatch failed" | |
Cause: | |
calling the service callback multiple times. |
View gist:d0012d6f0d547bf7c3648b20186cc2f4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse blandit pellentesque justo eu facilisis. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Aliquam erat volutpat. Phasellus et nisl orci. Morbi egestas magna ac facilisis ultricies. Pellentesque imperdiet rutrum felis sit amet faucibus. Cras eu venenatis justo, at volutpat velit. Proin sagittis id nisl nec pellentesque. Suspendisse tincidunt quam eu nisl finibus facilisis. In eu blandit magna. | |
In hac habitasse platea dictumst. Interdum et malesuada fames ac ante ipsum primis in faucibus. Quisque egestas tempor tellus sit amet mollis. Cras sollicitudin porttitor lectus et viverra. Nunc nisl libero, rhoncus eu eros eu, luctus dignissim lorem. Vestibulum sit amet mollis dui. Morbi imperdiet suscipit pharetra. In leo risus, rutrum et ligula pretium, molestie dictum felis. Integer neque dolor, ultrices quis sollicitudin eu, accumsan ac dolor. Aliquam ullamcorper odio diam, ac aliquam mi molestie sit amet. | |
In |