aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webgl_validations
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2018-11-19 15:06:02 -0500
committerGitHub <noreply@github.com>2018-11-19 15:06:02 -0500
commitf1dd31f70440fa9c7a40525bd1e03eede568f74d (patch)
tree903ebb4fb5ebd492dc63d4f21c522b4f23a85d7e /components/script/dom/webgl_validations
parent1ac6f435c8637d01279b51fecb535a19b639aea5 (diff)
parent1d6fe65401383bd01d30368d32eedcd908fa79ad (diff)
downloadservo-f1dd31f70440fa9c7a40525bd1e03eede568f74d.tar.gz
servo-f1dd31f70440fa9c7a40525bd1e03eede568f74d.zip
Auto merge of #22198 - Darkspirit:mpl_https, r=jdm
Update MPL license to https Current MPL license (https://www.mozilla.org/en-US/MPL/2.0/) contains an https link: > 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 https://mozilla.org/MPL/2.0/. This change would not remove the summary above the LICENSE file. Tested [here](https://github.com/Darkspirit/darkspirit.github.io/blob/master/LICENSE). I didn't update the `tests` folder with this change because I haven't yet looked into what needs to be considered with regards to WPT. Let's do that with a separate PR. This change is splitted into multiple parts to prevent any "Load diff" button instead of a preview and was made with following commands: ``` git checkout -b mpl_https kate python/tidy/servo_tidy/tidy.py kate python/tidy/servo_tidy/licenseck.py git add * git commit -m "servo-tidy: Allow to use MPL with http and https" find etc LICENSE mach ports python support -type f -not -path "python/tidy/servo_tidy/licenseck.py" -print0 | xargs -0 sed -i 's,http://mozilla.org/MPL/2.0/,https://mozilla.org/MPL/2.0/,g' git add * git commit -m "Update MPL license to https (part 1)" find components/script/dom/webidls -type f -print0 | xargs -0 sed -i 's,http://mozilla.org/MPL/2.0/,https://mozilla.org/MPL/2.0/,g' git add * git commit -m "Update MPL license to https (part 2)" find components/script -type f -print0 | xargs -0 sed -i 's,http://mozilla.org/MPL/2.0/,https://mozilla.org/MPL/2.0/,g' git add * git commit -m "Update MPL license to https (part 3)" find components -type f -print0 | xargs -0 sed -i 's,http://mozilla.org/MPL/2.0/,https://mozilla.org/MPL/2.0/,g' git add * git commit -m "Update MPL license to https (part 4)" ./mach test-tidy --all git push origin HEAD ``` --- - [x] `./mach test-tidy` does not report any errors <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22198) <!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/webgl_validations')
-rw-r--r--components/script/dom/webgl_validations/mod.rs2
-rw-r--r--components/script/dom/webgl_validations/tex_image_2d.rs2
-rw-r--r--components/script/dom/webgl_validations/types.rs2
3 files changed, 3 insertions, 3 deletions
diff --git a/components/script/dom/webgl_validations/mod.rs b/components/script/dom/webgl_validations/mod.rs
index 2e070c6d6bc..c590b6029c4 100644
--- a/components/script/dom/webgl_validations/mod.rs
+++ b/components/script/dom/webgl_validations/mod.rs
@@ -1,6 +1,6 @@
/* 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/. */
+ * file, You can obtain one at https://mozilla.org/MPL/2.0/. */
pub trait WebGLValidator {
type ValidatedOutput;
diff --git a/components/script/dom/webgl_validations/tex_image_2d.rs b/components/script/dom/webgl_validations/tex_image_2d.rs
index 09a96d37a1b..7cb192802f3 100644
--- a/components/script/dom/webgl_validations/tex_image_2d.rs
+++ b/components/script/dom/webgl_validations/tex_image_2d.rs
@@ -1,6 +1,6 @@
/* 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/. */
+ * file, You can obtain one at https://mozilla.org/MPL/2.0/. */
use super::types::TexImageTarget;
use super::WebGLValidator;
diff --git a/components/script/dom/webgl_validations/types.rs b/components/script/dom/webgl_validations/types.rs
index 5ff239ed898..fe5e7e35f59 100644
--- a/components/script/dom/webgl_validations/types.rs
+++ b/components/script/dom/webgl_validations/types.rs
@@ -1,6 +1,6 @@
/* 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/. */
+ * file, You can obtain one at https://mozilla.org/MPL/2.0/. */
use canvas_traits::gl_enums;
use crate::dom::bindings::codegen::Bindings::WebGLRenderingContextBinding::WebGLRenderingContextConstants;