зеркало из https://github.com/mozilla/gecko-dev.git
Bug 762049 - Part 4: Add CC0 license to all test JS files. r=mounir
This commit is contained in:
Родитель
cac615e32a
Коммит
b2edbb08df
|
@ -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) {
|
||||
|
|
|
@ -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";
|
||||
|
||||
|
|
|
@ -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";
|
||||
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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";
|
||||
|
||||
|
|
|
@ -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";
|
||||
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
|
|
@ -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>.
|
||||
|
|
|
@ -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.
|
||||
//
|
||||
|
|
|
@ -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";
|
||||
|
||||
|
|
|
@ -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";
|
||||
|
||||
|
|
|
@ -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";
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче