Bug 762049 - Part 4: Add CC0 license to all test JS files. r=mounir

This commit is contained in:
Justin Lebar 2012-06-09 12:05:31 -04:00
parent 5c8a78fdac
commit 7b6656d5f8
13 changed files with 39 additions and 1 deletions

View File

@ -1,6 +1,8 @@
"use strict";
/* Any copyright is dedicated to the public domain.
http://creativecommons.org/publicdomain/zero/1.0/ */
// Helpers for managing the browser frame preferences.
"use strict";
const browserElementTestHelpers = {
_getBoolPref: function(pref) {

View File

@ -1,3 +1,6 @@
/* Any copyright is dedicated to the public domain.
http://creativecommons.org/publicdomain/zero/1.0/ */
// Test that alert works.
"use strict";

View File

@ -1,3 +1,6 @@
/* Any copyright is dedicated to the public domain.
http://creativecommons.org/publicdomain/zero/1.0/ */
// Test that window.close() works.
"use strict";

View File

@ -1,3 +1,6 @@
/* Any copyright is dedicated to the public domain.
http://creativecommons.org/publicdomain/zero/1.0/ */
// Test that data: URIs work with mozbrowserlocationchange events.
"use strict";

View File

@ -1,3 +1,6 @@
/* Any copyright is dedicated to the public domain.
http://creativecommons.org/publicdomain/zero/1.0/ */
// Test the getScreenshot property for mozbrowser
"use strict";

View File

@ -1,3 +1,6 @@
/* Any copyright is dedicated to the public domain.
http://creativecommons.org/publicdomain/zero/1.0/ */
// Test that the onmozbrowsericonchange event works.
"use strict";

View File

@ -1,3 +1,6 @@
/* Any copyright is dedicated to the public domain.
http://creativecommons.org/publicdomain/zero/1.0/ */
// Test that an iframe with the |mozbrowser| attribute does bubble some
// whitelisted key events.
"use strict";

View File

@ -1,3 +1,6 @@
/* Any copyright is dedicated to the public domain.
http://creativecommons.org/publicdomain/zero/1.0/ */
// Test that an iframe with the |mozbrowser| attribute emits mozbrowserloadX
// events when this page is in the whitelist.

View File

@ -1,3 +1,6 @@
/* Any copyright is dedicated to the public domain.
http://creativecommons.org/publicdomain/zero/1.0/ */
// Test that alertCheck (i.e., alert with the opportunity to opt out of future
// alerts), promptCheck, and confirmCheck work. We do this by spamming
// alerts/prompts/confirms from inside an <iframe mozbrowser>.

View File

@ -1,3 +1,6 @@
/* Any copyright is dedicated to the public domain.
http://creativecommons.org/publicdomain/zero/1.0/ */
// Test that prompt and confirm work. In particular, we're concerned that we
// get correct return values out of them.
//

View File

@ -1,3 +1,6 @@
/* Any copyright is dedicated to the public domain.
http://creativecommons.org/publicdomain/zero/1.0/ */
// Test the setVisible property for mozbrowser
"use strict";

View File

@ -1,3 +1,6 @@
/* Any copyright is dedicated to the public domain.
http://creativecommons.org/publicdomain/zero/1.0/ */
// Test that the onmozbrowsertitlechange event works.
"use strict";

View File

@ -1,3 +1,6 @@
/* Any copyright is dedicated to the public domain.
http://creativecommons.org/publicdomain/zero/1.0/ */
// Test that an <iframe mozbrowser> is a window.{top,parent,frameElement} barrier.
"use strict";