Commit Graph

2649 Commits

Author SHA1 Message Date
Dão Gottwald
a6771d2da3 Bug 1159268 - Make browser_bug1015721.js work with e10s. r=billm
--HG--
extra : rebase_source : 8cde4030435a82b7bc3bbfcb1af3c67d9f30f41c
2016-03-03 23:32:54 +01:00
Carsten "Tomcat" Book
82cf3c3383 merge mozilla-inbound to mozilla-central a=merge 2016-03-03 11:54:40 +01:00
Stanley Mwangi
ecaaff970b Bug 1243083 - Added --disable-e10s to mochitest_options.py and reftestcommandline.py. r=ahal
MozReview-Commit-ID: I3UIS8eEZ8D

--HG--
extra : rebase_source : cad52821f891915b2d174f60c250fb80ec307525
extra : amend_source : fe1a47030662a58c409e3cf2b42dc0ace452178d
2016-03-02 16:33:13 -05:00
J. Ryan Stinnett
2a55d065b7 Bug 1238160 - Rename OriginAttributes.mInBrowser and associated methods. r=bz,mayhemer
This change renames OriginAttributes.mInBrowser to mInIsolatedMozBrowser and
nsIPrincipal::GetIsInBrowserElement to GetIsInIsolatedMozBrowserElement.  Other
methods that pass these values around also have name changes.

Tokens such as "inBrowser" have previously been serialized into cache keys, used
as DB column names, stored in app registries, etc.  No changes are made to any
serialization formats.  Only runtime method and variable names are updated.

No behavior changes are made in this patch, so some renamed methods may have
nonsensical implementations.  These are corrected in subsequent patches
focused on behavior.

MozReview-Commit-ID: 66HfMlsXFLs
2016-03-02 10:35:56 -06:00
Geoff Brown
2fc80985f9 Bug 1252868 - Do not install superfluous addons for Android tests; r=jmaher 2016-03-02 09:23:42 -07:00
Ehsan Akhgari
8a0731fdde Bug 1251875 - Part 1: Remove the dom.serviceWorkers.interception.enabled pref; r=bkelly 2016-03-01 09:16:38 -05:00
Carsten "Tomcat" Book
7f956c0bfb merge mozilla-inbound to mozilla-central a=merge 2016-02-29 11:35:30 +01:00
Gijs Kruitbosch
3b845c302c Bug 1088710 - part 3: wait for STATE_STOP as well as load, r=mconley
MozReview-Commit-ID: 3ztx6kPOdON

--HG--
extra : rebase_source : 4ddfbdf9c641e020dba66e5c642513f8dd0fb061
2016-02-26 21:26:43 +00:00
Chris Manchester
8b7ef38ae6 Bug 1250961 - Move testing/mochitest/Makefile.in to moz.build. r=gps
MozReview-Commit-ID: LwQH49FLfY2

--HG--
extra : rebase_source : c8c1007e05bfd9ff18d6199018c121473b576220
2016-02-26 13:20:31 -08:00
Andrew Swan
96c88d557a Bug 1251412 - use installTemporaryAddon for jetpack-addons tests r=mossop
MozReview-Commit-ID: Bd10uC4pEfP

--HG--
extra : rebase_source : 2f261194ff07a25c13aaad91255147e98e7c5127
2016-02-25 15:45:31 -08:00
Andreas Tolfsen
ce37a987c9 Bug 1245153 - Make EventUtils.js use aWindow argument for sub-calls consistently; r=jmaher
EventUtils.js previously allowed you to override the Window object
reference through passing it as an optional argument to its functions.
This change fixes certain uses of implicit globals that reside on Window.

MozReview-Commit-ID: EJT8iIs85ej

--HG--
extra : rebase_source : b7b226c441f7a59a0325f70995ec05a652ab20ed
extra : source : 98b6d0c053c03b848d2b6f5d1a9a97dbb74d9ed1
extra : histedit_source : 4f4761ebd4158cc86a60c28c820ff2c128603352
2016-02-08 13:59:40 +00:00
Dão Gottwald
594c008fcb Bug 1014185 - Remove about:customizing and use about:blank for customize mode instead. r=jaws 2016-02-20 14:03:25 +01:00
Carsten "Tomcat" Book
cab348d1b5 Backed out changeset c34fe673bb97 (bug 1014185) for perma failures in browser_bug1163570.js 2016-02-19 17:19:19 +01:00
Carsten "Tomcat" Book
fd2c2d9b1a merge mozilla-inbound to mozilla-central a=merge 2016-02-19 12:02:26 +01:00
Dão Gottwald
4c8a1f54f5 Bug 1014185 - Remove about:customizing and use about:blank for customize mode instead. r=jaws 2016-02-19 00:50:17 +01:00
Andrew Halberstadt
c500b48ceb Bug 1248916 - Ignore mozdebug.requiresEscapedArgs in mochitest, r=ted.mielczarek
Mochitest no longer passes in debug_args in via the commandline. Instead, it passes
them in via a marionette chrome script, meaning they no longer need to be escaped.
Since web-platform-tests still passes debug_args on the commandline, we can't simply
remove the feature entirely. Instead, just make mochitest ignore requiresEscapedArgs.

MozReview-Commit-ID: KBVviGpkvQS

--HG--
extra : rebase_source : 8b3e63b64e608a50e6849affe5ba7c2be323c76c
2016-02-17 14:33:33 -05:00
Andrew Halberstadt
a9e74f4c7e Bug 1248056 - Increase marionette connection timeouts in mochitest when running with valgrind, r=chmanchester
MozReview-Commit-ID: 71d5XIgqcCJ

--HG--
extra : rebase_source : 79cfc293e2a1306d56f8633b7d3b1c5bafcb059a
2016-02-16 10:04:52 -05:00
Dave Townsend
0a913f73ee Bug 1245916: Add additional default globals. r=felipe
This defines a few additional globals but also turns on the browser environment
for everything in browser and toolkit. This may lead to some false negatives
but we have lots of code that runs in a browser context so in the name of
getting rules turned on I think this is a useful step.

MozReview-Commit-ID: BdWouZGK6d

--HG--
extra : rebase_source : a88116d149af76aa35ee0757b3b51b6f97646ebe
extra : source : 04c1740aa49904a56bd662ee0c8aed69e6f99f8b
2016-02-05 12:12:30 -08:00
Andrew McCreight
4a6ef9bb88 Bug 1248097, part 3 - Add file creation support for options. r=jmaher 2016-02-18 09:09:28 -08:00
Andrew McCreight
0d35a4fff9 Bug 1248097, part 2 - If no name is specified for createFiles, use createUnique to create one. r=jmaher 2016-02-18 09:09:28 -08:00
Honza Bambas
6867ecf8e7 Bug 1248711 - Make Mochitest NSPR upload work with --run-by-dir, r=jmaher 2016-02-17 10:30:00 +01:00
Gijs Kruitbosch
58583cf2ea Bug 1094510 - make browser_canonizeURL.js not hit the network in e10s mode, r=mconley
MozReview-Commit-ID: JlEYeir749V

--HG--
extra : rebase_source : 0b56c6af9e9ecd1b4de10744de82c066e1ff2bee
extra : amend_source : 060b3cb21ddd9f0f413395acf098ce130672ccee
2016-02-29 14:11:04 +00:00
Phil Ringnalda
9dc941a05d Backed out 5 changesets (bug 1245916) for browser-chrome and devtools bustages
CLOSED TREE

Backed out changeset 70eca07367f4 (bug 1245916)
Backed out changeset 04c1740aa499 (bug 1245916)
Backed out changeset b554c7ce41c4 (bug 1245916)
Backed out changeset 01675e4828b5 (bug 1245916)
Backed out changeset 878db4caf845 (bug 1245916)
2016-02-15 13:58:27 -08:00
Dave Townsend
6b99474c7c Bug 1245916: Add additional default globals. r=felipe
This defines a few additional globals but also turns on the browser environment
for everything in browser and toolkit. This may lead to some false negatives
but we have lots of code that runs in a browser context so in the name of
getting rules turned on I think this is a useful step.

MozReview-Commit-ID: BdWouZGK6d

--HG--
extra : rebase_source : 13f7319be94e251df7f574f7d239cc31b383fcf8
2016-02-05 12:12:30 -08:00
Phil Ringnalda
a6d7a8a0ce Merge m-i to m-c, a=merge 2016-02-13 19:18:53 -08:00
Nick Alexander
bc112329f3 Bug 1119520 - Add opt-in Gradle build mode for mobile/android. r=gps
Opt-in by adding --enable-gradle-mobile-android-builds.

Gradle dependencies (including the Android-Gradle plugin) are assumed
to be present.  Local developers will fetch them from the jcentral
repository.

Android-specific Maven dependencies are shipped as "extras" with the
Android SDK, and should be found automatically by the Android-Gradle
plugin.

MozReview-Commit-ID: 966XgddWgEu

--HG--
extra : rebase_source : 8e8c6156e1d06813c250662e104fd14c621d91ab
extra : source : 306cf0271d3e3a344fcbfd2baf75e0450c288cf1
extra : histedit_source : d17446714236c408699a0953882e84ac3a192380%2Cc21b166af79ef1e00215748820bc2670405ac1dc
2016-02-12 10:06:40 -08:00
Carsten "Tomcat" Book
33e27d2555 Backed out 18 changesets (bug 1245153) for multiple test failures
Backed out changeset 18d54b8d4ae8 (bug 1245153)
Backed out changeset 98b6d0c053c0 (bug 1245153)
Backed out changeset c29a348930a4 (bug 1245153)
Backed out changeset f79252e92acc (bug 1245153)
Backed out changeset 9f3f1c358e47 (bug 1245153)
Backed out changeset 3b9e9a027fa7 (bug 1245153)
Backed out changeset 6da8099573f3 (bug 1245153)
Backed out changeset 63a56310a1b5 (bug 1245153)
Backed out changeset 5fe42d498a2a (bug 1245153)
Backed out changeset b3be2d2f3ac1 (bug 1245153)
Backed out changeset ad5bf32d8fef (bug 1245153)
Backed out changeset 68a6dda373d2 (bug 1245153)
Backed out changeset 6ebd9fde50c0 (bug 1245153)
Backed out changeset e41a5b41859a (bug 1245153)
Backed out changeset 048d70070751 (bug 1245153)
Backed out changeset eff85dc0eaa9 (bug 1245153)
Backed out changeset dc6460e0f336 (bug 1245153)
Backed out changeset 36526a2e8b00 (bug 1245153)

--HG--
rename : testing/marionette/event.js => testing/marionette/EventUtils.js
rename : testing/marionette/action.js => testing/marionette/actions.js
rename : testing/marionette/atom.js => testing/marionette/atoms/atoms.js
rename : testing/marionette/element.js => testing/marionette/elements.js
rename : testing/marionette/frame.js => testing/marionette/frame-manager.js
rename : testing/marionette/interaction.js => testing/marionette/interactions.js
2016-02-11 17:05:41 +01:00
Andrew Halberstadt
009050594f Bug 1231784 - Fix toolkit/mozapps/update/chrome tests, r=rstrong
MozReview-Commit-ID: GdkkHzxrjAh

--HG--
extra : commitid : AmuYYOjXtDr
extra : rebase_source : d493a3a9a811f0feb2f778c594cf49a6c8b2b48e
extra : amend_source : ea6738fac9fa151c5a1bf1a8a0c4b4a3b1670e43
extra : source : 0aac20bc3619019bc7c19a929154c9b3fbc0df46
2016-01-27 11:36:16 -05:00
Andrew Halberstadt
dee8b08ce5 Bug 1231784 - Install specialpowers and mochikit extensions at runtime via AddonManager.loadTemporaryAddon(), r=jgriffin
MozReview-Commit-ID: 9I56x6Vnbf7

--HG--
rename : testing/mochitest/b2g_start_script.js => testing/mochitest/start_b2g.js
extra : commitid : CrUflHO8tRa
extra : rebase_source : c50792dfe82e688b52aa07150ddab03e5d0d3f36
extra : amend_source : 1dcd8ae7d74b3397e965672b6dc05d431ab4a916
extra : source : edcbd7c0aa36be0846f2e8e989fb57c9e4449cc4
2016-01-25 09:55:57 -05:00
Andreas Tolfsen
b40fe42a1e Bug 1245153 - Make EventUtils.js use aWindow argument for sub-calls consistently; r=jmaher
EventUtils.js previously allowed you to override the Window object
reference through passing it as an optional argument to its functions.
This change fixes certain uses of implicit globals that reside on Window.

MozReview-Commit-ID: EJT8iIs85ej

--HG--
extra : rebase_source : f18f8352a2556efd741986485d3a0fb84fec836c
extra : histedit_source : cb02f0cab1943b85a9ff5a6325591c3ab2044990
2016-02-08 13:59:40 +00:00
Andrew McCreight
042eee4a3e Bug 1091917 - Stop ignoring failures to leak log on Windows. r=chmanchester 2016-02-10 10:29:20 -08:00
Carsten "Tomcat" Book
b8f6140f54 merge mozilla-inbound to mozilla-central a=merge 2016-02-10 11:47:34 +01:00
Ehsan Akhgari
e20566c8ee Bug 1237363 - Part 3: Add a test for a mochitest finishing without unregistering its service worker; r=jdm 2016-02-09 19:33:41 -08:00
Ehsan Akhgari
eb7b8fe7cf Bug 1237363 - Part 2: Fail mochitests which register a service worker without unregistering it; r=jdm 2016-02-09 19:33:41 -08:00
Dave Townsend
5bf4a800b2 Bug 1142734: Stop using Timer.jsm to avoid replacing the browser window setTimout and clearTimeout functions. r=jsantell
jetpack-addon-harness.js runs in a browser window scope so it already has the
setTimeout functions available to it. Loading Timer.jsm overrides the DOM
timer functions with those from Timer.jsm. Any other code that used setTimeout
previously will have timer IDs from the DOM functions which don't match those
in Timer.jsm. If this other code attempts to clear a timer it can then end up
clearing an unrelated timer. In the intermittent failure here the
browser-thumbnails code manages to clear the timer that is waiting to resolve
the promise that makes tests continue.

I've also added an additional timer that throws an exception and so ends tests
if the add-on uninstall doesn't actually complete in a reasonable time as well
as removing the add-on listener.

--HG--
extra : commitid : 663HV2HWrjK
extra : rebase_source : 35fae1264532555c4b51ef964eae27a5ff3230e1
2016-02-08 10:11:14 -08:00
Carsten "Tomcat" Book
e42fff0533 merge mozilla-inbound to mozilla-central a=merge 2016-02-09 12:02:38 +01:00
Myk Melez
a6aff185d2 Bug 1238576 - disable mozApps API on desktop/Android; r=ehsan,ochameau,bz,mcmanus,jmaher,marco 2016-02-08 11:24:22 -08:00
Mike Conley
21d76321bc Bug 1055464 - Regression tests. r=Mossop
--HG--
extra : commitid : 6YWqpvZGbVl
extra : rebase_source : fb721ee9bfa74689a7f37b298b5efbc57533abbc
extra : amend_source : c2d5750a92c5249b3636d7d6896895ea94711a05
2016-02-05 16:28:53 -05:00
Ted Mielczarek
ea6f9a1958 bug 1069556 - sync to Breakpad c53ed143108948eb7e2d7ee77dc8c0d92050ce7c. r=glandium, benwa
This commit contains a few things:
* Update our copy of google-breakpad to upstream c53ed143108948eb7e2d7ee77dc8c0d92050ce7c
* Get rid of all but one local patch, fold a few related local patches into one
* Misc build fixup to sync with upstream--adding a few new moz.build files,
  source files
* The final bits of unhooking Breakpad from the profiler:
** Revert to only building toolkit/crashreporter if MOZ_CRASHREPORTER.
** Stop building bits of Breakpad that we only needed for the profiler.
** Remove a few bits of profiler code that were used to interface with Breakpad.
** Remove toolkit/crashreporter/breakpad-logging, which was only used to
   suppress Breakpad logging for the in-process stackwalker.
* Upstream removed their Android-compat sys/ucontext.h because the Android NDK
  added it, but the bionic we're using for Gonk builds is too old, so add a
  copy of the previous version of those files to
  toolkit/crashreporter/gonk-include to keep Gonk building.
* Consolidate moz.build files under toolkit/crashreporter/google-breakpad/client/linux

--HG--
rename : toolkit/crashreporter/google-breakpad/src/common/pathname_stripper.h => toolkit/crashreporter/google-breakpad/src/processor/pathname_stripper.h
rename : toolkit/crashreporter/google-breakpad/src/common/pathname_stripper_unittest.cc => toolkit/crashreporter/google-breakpad/src/processor/pathname_stripper_unittest.cc
extra : histedit_source : 43e65f5432657f548cac5aa7936461e58454c3b6%2C7b56ccc79d9d58ebde0583d920f3593e25212621
extra : rebase_source : f6dbfb8fb2ba5b27e63b26d57c404962679c7a76
extra : commitid : DMQlXPms868
extra : source : 09fd4f3ab6e764016fe073efb226f03b5969af59
extra : intermediate-source : 16f9d3a6d2ef6a6efd088e3b8eff0a4723daef8f
2016-01-27 09:39:53 -05:00
Blake Kaplan
3849059fca Bug 1245723 - Make browser_bug680727 e10s compatible. r=felipe 2016-02-09 14:40:35 -08:00
Julian Seward
b2b2af9d30 Bug 1246719 - mach mochitest --valgrind: use comma as separator for --valgrind-args. r=james@hoppipolla.co.uk.
--HG--
extra : rebase_source : 05d9cc3c3eda46f602ac6c46f0b0895d31101be1
2016-02-09 14:38:55 +01:00
Wes Kocher
aaf89c475e Backed out 3 changesets (bug 1231784) for breaking 10.10 opt jetpack tests
Backed out changeset 653df21ca861 (bug 1231784)
Backed out changeset 0aac20bc3619 (bug 1231784)
Backed out changeset edcbd7c0aa36 (bug 1231784)

--HG--
rename : testing/mochitest/start_b2g.js => testing/mochitest/b2g_start_script.js
extra : commitid : DLurSs6PJ1G
2016-02-03 17:38:12 -08:00
Andrew Halberstadt
5fc06a300b Bug 1231784 - Fix toolkit/mozapps/update/chrome tests, r=rstrong
--HG--
extra : commitid : AmuYYOjXtDr
extra : rebase_source : a2a10ff821cd60f6a430820b028535e4312c1e12
extra : amend_source : ea6738fac9fa151c5a1bf1a8a0c4b4a3b1670e43
2016-01-27 11:36:16 -05:00
Andrew Halberstadt
ae410fb5a9 Bug 1231784 - Install specialpowers and mochikit extensions at runtime via AddonManager.loadTemporaryAddon(), r=jgriffin
--HG--
rename : testing/mochitest/b2g_start_script.js => testing/mochitest/start_b2g.js
extra : commitid : CrUflHO8tRa
extra : rebase_source : 0a041c36b59c79c1bea755b22fe07017cb3d0aa5
extra : amend_source : 1dcd8ae7d74b3397e965672b6dc05d431ab4a916
2016-01-25 09:55:57 -05:00
Julian Seward
25a02db5ac Bug 1229348 - Add a "valgrind-plain" suite to all_mochitest_suites. r=cmanchester. 2016-02-03 18:43:05 +01:00
Blake Kaplan
31fb709fc3 Bug 1243928 - Make these tests work in e10s. r=felipe 2016-02-02 13:44:11 -08:00
Geoff Brown
6fe30ec610 Bug 1241907 - Grant runtime permissions before running browser tests; r=jmaher 2016-02-01 15:52:34 -07:00
Andrew Halberstadt
5d58b96304 Bug 1247639 - Fix uncaught exception when running |mach mochitest| on Android, r=gbrown
MozReview-Commit-ID: 1s8x4zIhZSS

--HG--
extra : rebase_source : 825af84cba25068adf6f04dc55030659da7e174d
extra : amend_source : 3876dcf3749a7bc6d6bc5275954de6fc84d26d6a
2016-02-11 16:09:45 -05:00
Chris Manchester
4c18bc2045 Bug 1194935 - Add a C++ implementation of kill_and_get_minidump as part of the build to accommodate dumping 64 bit Firefox from 32 bit python. r=ted
--HG--
extra : commitid : K6BGWSIH6Nk
2015-08-18 17:04:45 -07:00
Chris Manchester
02e869c79a Bug 1143547 - Get a stack out of child processes before killing the parent from the mochitest harness in response to the global output timeout. r=ted
--HG--
extra : commitid : 1e1gnyBhQlE
2015-08-12 00:00:35 -07:00