No bug - Use Unix line endings in nsSandboxFlags.h.
authorMs2ger <ms2ger@gmail.com>
Thu, 22 Aug 2013 08:56:07 +0200
changeset 143780 2ab07dec6404676234e8ee8808181f61ccb3374e
parent 143779 24ac02f07c73eaab0fb743b6bc1609825b1f00da
child 143822 c4b8254bb771e4acd19bad1aa59f1a781661fd99
push id25137
push userMs2ger@gmail.com
push dateThu, 22 Aug 2013 06:58:17 +0000
treeherdermozilla-central@2ab07dec6404 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
milestone26.0a1
first release with
nightly linux32
2ab07dec6404 / 26.0a1 / 20130822030204 / files
nightly linux64
2ab07dec6404 / 26.0a1 / 20130822030204 / files
nightly mac
2ab07dec6404 / 26.0a1 / 20130822030204 / files
nightly win32
2ab07dec6404 / 26.0a1 / 20130822030204 / files
nightly win64
2ab07dec6404 / 26.0a1 / 20130822030204 / files
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
releases
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
No bug - Use Unix line endings in nsSandboxFlags.h.
content/base/src/nsSandboxFlags.h
--- a/content/base/src/nsSandboxFlags.h
+++ b/content/base/src/nsSandboxFlags.h
@@ -1,63 +1,63 @@
-/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/. */
-
-/*
- * Constant flags that describe how a document is sandboxed according to the
- * HTML5 spec.
- */
-
-#ifndef nsSandboxFlags_h___
-#define nsSandboxFlags_h___
-
-/**
- * This flag prevents content from navigating browsing contexts other than
- * the sandboxed browsing context itself (or browsing contexts further
- * nested inside it), and the top-level browsing context.
- */
-const unsigned long SANDBOXED_NAVIGATION  = 0x1;
-
-/**
- * This flag prevents content from navigating their top-level browsing
- * context.
- */
-const unsigned long SANDBOXED_TOPLEVEL_NAVIGATION = 0x2;
-
-/**
- * This flag prevents content from instantiating plugins, whether using the
- * embed element, the object element, the applet element, or through
- * navigation of a nested browsing context, unless those plugins can be
- * secured.
- */
-const unsigned long SANDBOXED_PLUGINS = 0x4;
-
-/**
- * This flag forces content into a unique origin, thus preventing it from
- * accessing other content from the same origin.
- * This flag also prevents script from reading from or writing to the
- * document.cookie IDL attribute, and blocks access to localStorage.
- */
-const unsigned long SANDBOXED_ORIGIN = 0x8;
-
-/**
- * This flag blocks form submission.
- */
-const unsigned long SANDBOXED_FORMS = 0x10;
-
-/**
- * This flag blocks script execution.
- */
-const unsigned long SANDBOXED_SCRIPTS = 0x20;
-
-/**
- * This flag blocks features that trigger automatically, such as
- * automatically playing a video or automatically focusing a form control.
- */
-const unsigned long SANDBOXED_AUTOMATIC_FEATURES = 0x40;
-
-/**
- * This flag blocks the document from acquiring pointerlock.
- */
-const unsigned long SANDBOXED_POINTER_LOCK = 0x80;
-#endif
+/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this file,
+ * You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+/*
+ * Constant flags that describe how a document is sandboxed according to the
+ * HTML5 spec.
+ */
+
+#ifndef nsSandboxFlags_h___
+#define nsSandboxFlags_h___
+
+/**
+ * This flag prevents content from navigating browsing contexts other than
+ * the sandboxed browsing context itself (or browsing contexts further
+ * nested inside it), and the top-level browsing context.
+ */
+const unsigned long SANDBOXED_NAVIGATION  = 0x1;
+
+/**
+ * This flag prevents content from navigating their top-level browsing
+ * context.
+ */
+const unsigned long SANDBOXED_TOPLEVEL_NAVIGATION = 0x2;
+
+/**
+ * This flag prevents content from instantiating plugins, whether using the
+ * embed element, the object element, the applet element, or through
+ * navigation of a nested browsing context, unless those plugins can be
+ * secured.
+ */
+const unsigned long SANDBOXED_PLUGINS = 0x4;
+
+/**
+ * This flag forces content into a unique origin, thus preventing it from
+ * accessing other content from the same origin.
+ * This flag also prevents script from reading from or writing to the
+ * document.cookie IDL attribute, and blocks access to localStorage.
+ */
+const unsigned long SANDBOXED_ORIGIN = 0x8;
+
+/**
+ * This flag blocks form submission.
+ */
+const unsigned long SANDBOXED_FORMS = 0x10;
+
+/**
+ * This flag blocks script execution.
+ */
+const unsigned long SANDBOXED_SCRIPTS = 0x20;
+
+/**
+ * This flag blocks features that trigger automatically, such as
+ * automatically playing a video or automatically focusing a form control.
+ */
+const unsigned long SANDBOXED_AUTOMATIC_FEATURES = 0x40;
+
+/**
+ * This flag blocks the document from acquiring pointerlock.
+ */
+const unsigned long SANDBOXED_POINTER_LOCK = 0x80;
+#endif