Browse Source

Remove usage of X-UA-Compatible

Alex Dima 5 years ago
parent
commit
daabff0021
50 changed files with 22 additions and 71 deletions
  1. 1 2
      dist/core.html
  2. 1 2
      docs/integrate-amd.md
  3. 0 1
      gulpfile.js
  4. 1 2
      test/colorize.html
  5. 1 2
      test/cross-origin-broken.html
  6. 1 2
      test/cross-origin-good.html
  7. 1 2
      test/diff.html
  8. 0 1
      test/index.html
  9. 1 2
      test/mouse-fixed.html
  10. 1 2
      test/mouse-scrollable-body.html
  11. 1 2
      test/mouse-scrollable-element.html
  12. 0 1
      test/playground.generated/creating-the-diffeditor-hello-diff-world.html
  13. 0 1
      test/playground.generated/creating-the-diffeditor-inline-diff-example.html
  14. 0 1
      test/playground.generated/creating-the-diffeditor-multi-line-example.html
  15. 0 1
      test/playground.generated/creating-the-diffeditor-navigating-a-diff.html
  16. 0 1
      test/playground.generated/creating-the-editor-editor-basic-options.html
  17. 0 1
      test/playground.generated/creating-the-editor-hard-wrapping.html
  18. 0 1
      test/playground.generated/creating-the-editor-hello-world.html
  19. 0 1
      test/playground.generated/creating-the-editor-syntax-highlighting-for-html-elements.html
  20. 0 1
      test/playground.generated/customizing-the-appearence-exposed-colors.html
  21. 0 1
      test/playground.generated/customizing-the-appearence-scrollbars.html
  22. 0 1
      test/playground.generated/customizing-the-appearence-tokens-and-colors.html
  23. 0 1
      test/playground.generated/extending-language-services-codelens-provider-example.html
  24. 0 1
      test/playground.generated/extending-language-services-color-provider-example.html
  25. 0 1
      test/playground.generated/extending-language-services-completion-provider-example.html
  26. 0 1
      test/playground.generated/extending-language-services-configure-javascript-defaults.html
  27. 0 1
      test/playground.generated/extending-language-services-configure-json-defaults.html
  28. 0 1
      test/playground.generated/extending-language-services-custom-languages.html
  29. 0 1
      test/playground.generated/extending-language-services-folding-provider-example.html
  30. 0 1
      test/playground.generated/extending-language-services-hover-provider-example.html
  31. 0 1
      test/playground.generated/extending-language-services-symbols-provider-example.html
  32. 0 1
      test/playground.generated/interacting-with-the-editor-adding-a-command-to-an-editor-instance.html
  33. 1 2
      test/playground.generated/interacting-with-the-editor-adding-an-action-to-an-editor-instance.html
  34. 0 1
      test/playground.generated/interacting-with-the-editor-customizing-the-line-numbers.html
  35. 0 1
      test/playground.generated/interacting-with-the-editor-line-and-inline-decorations.html
  36. 0 1
      test/playground.generated/interacting-with-the-editor-listening-to-key-events.html
  37. 0 1
      test/playground.generated/interacting-with-the-editor-listening-to-mouse-events.html
  38. 0 1
      test/playground.generated/interacting-with-the-editor-rendering-glyphs-in-the-margin.html
  39. 0 1
      test/playground.generated/interacting-with-the-editor-revealing-a-position.html
  40. 1 1
      test/samples-all.generated.js
  41. 2 3
      test/samples/run-editor-sample-html.txt
  42. 4 5
      test/samples/sample.html.txt
  43. 0 1
      test/shadow-dom.html
  44. 1 2
      test/smoketest.html
  45. 0 1
      test/tokenization.html
  46. 0 1
      website/index.html
  47. 2 3
      website/index/samples/sample.html.txt
  48. 0 1
      website/monarch.html
  49. 1 2
      website/playground.html
  50. 1 2
      website/typedoc-theme/layouts/default.hbs

+ 1 - 2
dist/core.html

@@ -2,7 +2,6 @@
 <html>
 
 <head>
-    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
     <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
 </head>
 
@@ -13,4 +12,4 @@
     <script src="./core.bundle.js"></script>
 </body>
 
-</html>
+</html>

+ 1 - 2
docs/integrate-amd.md

@@ -8,7 +8,6 @@ More self-contained samples are available at [monaco-editor-samples](https://git
 <!DOCTYPE html>
 <html>
 <head>
-    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
     <meta http-equiv="Content-Type" content="text/html;charset=utf-8" >
 </head>
 <body>
@@ -31,4 +30,4 @@ More self-contained samples are available at [monaco-editor-samples](https://git
 </script>
 </body>
 </html>
-```
+```

+ 0 - 1
gulpfile.js

@@ -771,7 +771,6 @@ const generateTestSamplesTask = function() {
 			'<html>',
 			'<head>',
 			'	<base href="..">',
-			'	<meta http-equiv="X-UA-Compatible" content="IE=edge" />',
 			'	<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />',
 			'</head>',
 			'<body>',

+ 1 - 2
test/colorize.html

@@ -1,7 +1,6 @@
 <!DOCTYPE html>
 <html>
 <head>
-	<meta http-equiv="X-UA-Compatible" content="IE=edge" />
 	<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
 </head>
 <body>
@@ -52,4 +51,4 @@ code {
 	});
 </script>
 </body>
-</html>
+</html>

+ 1 - 2
test/cross-origin-broken.html

@@ -1,7 +1,6 @@
 <!DOCTYPE html>
 <html>
 <head>
-	<meta http-equiv="X-UA-Compatible" content="IE=edge" />
 	<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
 </head>
 <body>
@@ -24,4 +23,4 @@
 </script>
 
 </body>
-</html>
+</html>

+ 1 - 2
test/cross-origin-good.html

@@ -1,7 +1,6 @@
 <!DOCTYPE html>
 <html>
 <head>
-	<meta http-equiv="X-UA-Compatible" content="IE=edge" />
 	<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
 </head>
 <body>
@@ -31,4 +30,4 @@
 </script>
 
 </body>
-</html>
+</html>

+ 1 - 2
test/diff.html

@@ -1,7 +1,6 @@
 <!DOCTYPE html>
 <html>
 <head>
-	<meta http-equiv="X-UA-Compatible" content="IE=edge" />
 	<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
 </head>
 <body>
@@ -17,4 +16,4 @@
 	});
 </script>
 </body>
-</html>
+</html>

+ 0 - 1
test/index.html

@@ -1,7 +1,6 @@
 <!DOCTYPE html>
 <html>
 <head>
-	<meta http-equiv="X-UA-Compatible" content="IE=edge" />
 	<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
 	<link rel="stylesheet" href="./index.css" />
 </head>

+ 1 - 2
test/mouse-fixed.html

@@ -1,7 +1,6 @@
 <!DOCTYPE html>
 <html>
 <head>
-	<meta http-equiv="X-UA-Compatible" content="IE=edge" />
 	<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
 </head>
 <body style="height:2000px">
@@ -21,4 +20,4 @@
 	});
 </script>
 </body>
-</html>
+</html>

+ 1 - 2
test/mouse-scrollable-body.html

@@ -1,7 +1,6 @@
 <!DOCTYPE html>
 <html>
 <head>
-	<meta http-equiv="X-UA-Compatible" content="IE=edge" />
 	<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
 	<style type="text/css">
 		#editor {
@@ -180,4 +179,4 @@
 	});
 </script>
 </body>
-</html>
+</html>

+ 1 - 2
test/mouse-scrollable-element.html

@@ -2,7 +2,6 @@
 <html>
 
 <head>
-	<meta http-equiv="X-UA-Compatible" content="IE=edge" />
 	<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
 	<style type="text/css">
 		#editor {
@@ -132,4 +131,4 @@
 	});
 </script>
 </body>
-</html>
+</html>

+ 0 - 1
test/playground.generated/creating-the-diffeditor-hello-diff-world.html

@@ -3,7 +3,6 @@
 <html>
 <head>
 	<base href="..">
-	<meta http-equiv="X-UA-Compatible" content="IE=edge" />
 	<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
 </head>
 <body>

+ 0 - 1
test/playground.generated/creating-the-diffeditor-inline-diff-example.html

@@ -3,7 +3,6 @@
 <html>
 <head>
 	<base href="..">
-	<meta http-equiv="X-UA-Compatible" content="IE=edge" />
 	<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
 </head>
 <body>

+ 0 - 1
test/playground.generated/creating-the-diffeditor-multi-line-example.html

@@ -3,7 +3,6 @@
 <html>
 <head>
 	<base href="..">
-	<meta http-equiv="X-UA-Compatible" content="IE=edge" />
 	<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
 </head>
 <body>

+ 0 - 1
test/playground.generated/creating-the-diffeditor-navigating-a-diff.html

@@ -3,7 +3,6 @@
 <html>
 <head>
 	<base href="..">
-	<meta http-equiv="X-UA-Compatible" content="IE=edge" />
 	<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
 </head>
 <body>

+ 0 - 1
test/playground.generated/creating-the-editor-editor-basic-options.html

@@ -3,7 +3,6 @@
 <html>
 <head>
 	<base href="..">
-	<meta http-equiv="X-UA-Compatible" content="IE=edge" />
 	<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
 </head>
 <body>

+ 0 - 1
test/playground.generated/creating-the-editor-hard-wrapping.html

@@ -3,7 +3,6 @@
 <html>
 <head>
 	<base href="..">
-	<meta http-equiv="X-UA-Compatible" content="IE=edge" />
 	<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
 </head>
 <body>

+ 0 - 1
test/playground.generated/creating-the-editor-hello-world.html

@@ -3,7 +3,6 @@
 <html>
 <head>
 	<base href="..">
-	<meta http-equiv="X-UA-Compatible" content="IE=edge" />
 	<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
 </head>
 <body>

+ 0 - 1
test/playground.generated/creating-the-editor-syntax-highlighting-for-html-elements.html

@@ -3,7 +3,6 @@
 <html>
 <head>
 	<base href="..">
-	<meta http-equiv="X-UA-Compatible" content="IE=edge" />
 	<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
 </head>
 <body>

+ 0 - 1
test/playground.generated/customizing-the-appearence-exposed-colors.html

@@ -3,7 +3,6 @@
 <html>
 <head>
 	<base href="..">
-	<meta http-equiv="X-UA-Compatible" content="IE=edge" />
 	<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
 </head>
 <body>

+ 0 - 1
test/playground.generated/customizing-the-appearence-scrollbars.html

@@ -3,7 +3,6 @@
 <html>
 <head>
 	<base href="..">
-	<meta http-equiv="X-UA-Compatible" content="IE=edge" />
 	<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
 </head>
 <body>

+ 0 - 1
test/playground.generated/customizing-the-appearence-tokens-and-colors.html

@@ -3,7 +3,6 @@
 <html>
 <head>
 	<base href="..">
-	<meta http-equiv="X-UA-Compatible" content="IE=edge" />
 	<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
 </head>
 <body>

+ 0 - 1
test/playground.generated/extending-language-services-codelens-provider-example.html

@@ -3,7 +3,6 @@
 <html>
 <head>
 	<base href="..">
-	<meta http-equiv="X-UA-Compatible" content="IE=edge" />
 	<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
 </head>
 <body>

+ 0 - 1
test/playground.generated/extending-language-services-color-provider-example.html

@@ -3,7 +3,6 @@
 <html>
 <head>
 	<base href="..">
-	<meta http-equiv="X-UA-Compatible" content="IE=edge" />
 	<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
 </head>
 <body>

+ 0 - 1
test/playground.generated/extending-language-services-completion-provider-example.html

@@ -3,7 +3,6 @@
 <html>
 <head>
 	<base href="..">
-	<meta http-equiv="X-UA-Compatible" content="IE=edge" />
 	<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
 </head>
 <body>

+ 0 - 1
test/playground.generated/extending-language-services-configure-javascript-defaults.html

@@ -3,7 +3,6 @@
 <html>
 <head>
 	<base href="..">
-	<meta http-equiv="X-UA-Compatible" content="IE=edge" />
 	<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
 </head>
 <body>

+ 0 - 1
test/playground.generated/extending-language-services-configure-json-defaults.html

@@ -3,7 +3,6 @@
 <html>
 <head>
 	<base href="..">
-	<meta http-equiv="X-UA-Compatible" content="IE=edge" />
 	<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
 </head>
 <body>

+ 0 - 1
test/playground.generated/extending-language-services-custom-languages.html

@@ -3,7 +3,6 @@
 <html>
 <head>
 	<base href="..">
-	<meta http-equiv="X-UA-Compatible" content="IE=edge" />
 	<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
 </head>
 <body>

+ 0 - 1
test/playground.generated/extending-language-services-folding-provider-example.html

@@ -3,7 +3,6 @@
 <html>
 <head>
 	<base href="..">
-	<meta http-equiv="X-UA-Compatible" content="IE=edge" />
 	<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
 </head>
 <body>

+ 0 - 1
test/playground.generated/extending-language-services-hover-provider-example.html

@@ -3,7 +3,6 @@
 <html>
 <head>
 	<base href="..">
-	<meta http-equiv="X-UA-Compatible" content="IE=edge" />
 	<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
 </head>
 <body>

+ 0 - 1
test/playground.generated/extending-language-services-symbols-provider-example.html

@@ -3,7 +3,6 @@
 <html>
 <head>
 	<base href="..">
-	<meta http-equiv="X-UA-Compatible" content="IE=edge" />
 	<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
 </head>
 <body>

+ 0 - 1
test/playground.generated/interacting-with-the-editor-adding-a-command-to-an-editor-instance.html

@@ -3,7 +3,6 @@
 <html>
 <head>
 	<base href="..">
-	<meta http-equiv="X-UA-Compatible" content="IE=edge" />
 	<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
 </head>
 <body>

+ 1 - 2
test/playground.generated/interacting-with-the-editor-adding-an-action-to-an-editor-instance.html

@@ -3,7 +3,6 @@
 <html>
 <head>
 	<base href="..">
-	<meta http-equiv="X-UA-Compatible" content="IE=edge" />
 	<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
 </head>
 <body>
@@ -92,4 +91,4 @@ editor.addAction({
 });
 </script>
 </body>
-</html>
+</html>

+ 0 - 1
test/playground.generated/interacting-with-the-editor-customizing-the-line-numbers.html

@@ -3,7 +3,6 @@
 <html>
 <head>
 	<base href="..">
-	<meta http-equiv="X-UA-Compatible" content="IE=edge" />
 	<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
 </head>
 <body>

+ 0 - 1
test/playground.generated/interacting-with-the-editor-line-and-inline-decorations.html

@@ -3,7 +3,6 @@
 <html>
 <head>
 	<base href="..">
-	<meta http-equiv="X-UA-Compatible" content="IE=edge" />
 	<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
 </head>
 <body>

+ 0 - 1
test/playground.generated/interacting-with-the-editor-listening-to-key-events.html

@@ -3,7 +3,6 @@
 <html>
 <head>
 	<base href="..">
-	<meta http-equiv="X-UA-Compatible" content="IE=edge" />
 	<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
 </head>
 <body>

+ 0 - 1
test/playground.generated/interacting-with-the-editor-listening-to-mouse-events.html

@@ -3,7 +3,6 @@
 <html>
 <head>
 	<base href="..">
-	<meta http-equiv="X-UA-Compatible" content="IE=edge" />
 	<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
 </head>
 <body>

+ 0 - 1
test/playground.generated/interacting-with-the-editor-rendering-glyphs-in-the-margin.html

@@ -3,7 +3,6 @@
 <html>
 <head>
 	<base href="..">
-	<meta http-equiv="X-UA-Compatible" content="IE=edge" />
 	<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
 </head>
 <body>

+ 0 - 1
test/playground.generated/interacting-with-the-editor-revealing-a-position.html

@@ -3,7 +3,6 @@
 <html>
 <head>
 	<base href="..">
-	<meta http-equiv="X-UA-Compatible" content="IE=edge" />
 	<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
 </head>
 <body>

File diff suppressed because it is too large
+ 1 - 1
test/samples-all.generated.js


+ 2 - 3
test/samples/run-editor-sample-html.txt

@@ -1,11 +1,10 @@
 <!DOCTYPE HTML>
-<!-- 
+<!--
 	Comments are overrated
 -->
 <html>
 <head>
 	<title>HTML Sample</title>
-	<meta http-equiv="X-UA-Compatible" content="IE=edge">
 	<style type="text/css">
 		h1 {
 			color: #CCA3A3;
@@ -21,4 +20,4 @@
 	<h1>Heading No.1</h1>
 	<input disabled type="button" value="Click me" />
 </body>
-</html>
+</html>

+ 4 - 5
test/samples/sample.html.txt

@@ -5,7 +5,6 @@
 	<!--This is the head section-->
 	<title>HTML Sample</title>
 	<meta charset="utf-8">
-	<meta http-equiv="X-UA-Compatible" content="IE=edge">
 
 	<!--This is the style tag to set style on elements-->
 	<style type="text/css">
@@ -89,10 +88,10 @@
 	<div class="Center Blue">
 			<h2>I'm h2 Header! Edit me in &lt;h2&gt;</h2>
 			<p>
-				I'm a paragraph! Edit me in &lt;p&gt; 
-				to add your own content and make changes to the style and font. 
-				It's easy! Just change the text between &lt;p&gt; ... &lt;/p&gt; and change the style in &lt;style&gt;. 
-				You can make it as long as you wish. The browser will automatically wrap the lines to accommodate the 
+				I'm a paragraph! Edit me in &lt;p&gt;
+				to add your own content and make changes to the style and font.
+				It's easy! Just change the text between &lt;p&gt; ... &lt;/p&gt; and change the style in &lt;style&gt;.
+				You can make it as long as you wish. The browser will automatically wrap the lines to accommodate the
 				size of the browser window.
 			</p>
 			<button class="Gray" onclick="ButtonClick()">Click Me!</button>

+ 0 - 1
test/shadow-dom.html

@@ -1,7 +1,6 @@
 <!DOCTYPE html>
 <html>
 <head>
-	<meta http-equiv="X-UA-Compatible" content="IE=edge" />
 	<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
 </head>
 <body>

+ 1 - 2
test/smoketest.html

@@ -1,7 +1,6 @@
 <!DOCTYPE html>
 <html>
 <head>
-	<meta http-equiv="X-UA-Compatible" content="IE=edge" />
 	<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
 	<style>
 		#errors {
@@ -39,4 +38,4 @@
 </script>
 
 </body>
-</html>
+</html>

+ 0 - 1
test/tokenization.html

@@ -1,7 +1,6 @@
 <!DOCTYPE html>
 <html>
 <head>
-	<meta http-equiv="X-UA-Compatible" content="IE=edge" />
 	<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
 	<link rel="stylesheet" href="https://code.jquery.com/qunit/qunit-2.0.1.css">
 </head>

+ 0 - 1
website/index.html

@@ -3,7 +3,6 @@
 
 <head>
 	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-	<meta http-equiv="X-UA-Compatible" content="IE=edge">
 	<meta name="viewport" content="width=device-width">
 
 	<title>Monaco Editor</title>

+ 2 - 3
website/index/samples/sample.html.txt

@@ -1,11 +1,10 @@
 <!DOCTYPE HTML>
-<!-- 
+<!--
 	Comments are overrated
 -->
 <html>
 <head>
 	<title>HTML Sample</title>
-	<meta http-equiv="X-UA-Compatible" content="IE=edge">
 	<style type="text/css">
 		h1 {
 			color: #CCA3A3;
@@ -19,4 +18,4 @@
 	<h1>Heading No.1</h1>
 	<input disabled type="button" value="Click me" />
 </body>
-</html>
+</html>

+ 0 - 1
website/monarch.html

@@ -3,7 +3,6 @@
 
 <head>
 	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-	<meta http-equiv="X-UA-Compatible" content="IE=edge">
 	<meta name="viewport" content="width=device-width">
 
 	<title>Monaco Editor Monarch</title>

+ 1 - 2
website/playground.html

@@ -3,7 +3,6 @@
 
 <head>
 	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-	<meta http-equiv="X-UA-Compatible" content="IE=edge">
 	<meta name="viewport" content="width=device-width">
 
 	<title>Monaco Editor Playground</title>
@@ -81,4 +80,4 @@
 	<script data-inline="yes-please" src="./playground/new-samples/all.js"></script>
 	<script data-inline="yes-please" src="./playground/playground.js"></script>
 </body>
-</html>
+</html>

+ 1 - 2
website/typedoc-theme/layouts/default.hbs

@@ -2,7 +2,6 @@
 <html class="default no-js">
 <head>
     <meta charset="utf-8">
-    <meta http-equiv="X-UA-Compatible" content="IE=edge">
     <title>{{#ifCond model.name '==' project.name}}{{project.name}}{{else}}{{model.name}} | {{project.name}}{{/ifCond}}</title>
     <meta name="description" content="">
     <meta name="viewport" content="width=device-width, initial-scale=1">
@@ -50,4 +49,4 @@
 {{> analytics}}
 
 </body>
-</html>
+</html>

Some files were not shown because too many files changed in this diff