Alexandre Lissy
6798f02654
Bug 1286530 - Clean AvailableIn, CheckAnyPermissions and CheckAllPermissions from WebIDL r=bz,fabrice
...
MozReview-Commit-ID: 6EQfBM09xUE
--HG--
rename : dom/contacts/tests/test_contacts_cache.xul => dom/contacts/tests/test_contacts_a_cache.xul
rename : dom/contacts/tests/test_contacts_shutdown.xul => dom/contacts/tests/test_contacts_a_shutdown.xul
rename : dom/contacts/tests/test_contacts_upgrade.xul => dom/contacts/tests/test_contacts_a_upgrade.xul
rename : dom/mobilemessage/tests/mochitest/mochitest.ini => dom/mobilemessage/tests/mochitest/chrome.ini
extra : rebase_source : 5f708f2a927fafff66626367ef07080785ba9f55
2016-04-21 15:48:59 +02:00
Fabrice Desré
f855149768
Bug 1284455 - Remove the System Messages API, Gecko part r=me
...
MozReview-Commit-ID: 1mhzddSLkuu
--HG--
extra : rebase_source : f230538d50f7c944825e1833c97ee0f56ecb86f8
2016-04-20 19:04:13 +02:00
Chris Manchester
f7a1b3fb60
Bug 1242051 - Add inter-directory test support file dependencies to ini manifests. r=gps
...
Previously, every test and support file would be synced to the objdir
when running any test. Now that only those support files and tests requested
are synced, we note support files required beyond those in a test's
directory in ini manifests.
MozReview-Commit-ID: EmlDz9d4lqt
2016-04-04 14:56:52 -07: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
Yoshi Huang
176a15f268
Bug 1196665 - Add originAttributes into SpecialPowers. r=bholley
...
From 7bb0fbba24f4f65d3fa83efe223b1431cd71fdb6 Mon Sep 17 00:00:00 2001
---
dom/apps/tests/test_third_party_homescreen.html | 8 +-
.../test/test_messagemanager_assertpermission.html | 4 +-
dom/base/test/test_messagemanager_targetchain.html | 16 +--
...rowserElement_AllowEmbedAppsInNestedOOIframe.js | 11 +-
.../mochitest/browserElement_CopyPaste.js | 9 +-
.../browserElement_DisallowEmbedAppsInOOP.js | 9 +-
.../mochitest/browserElement_Proxy.js | 10 +-
.../browserElement_SetInputMethodActive.js | 3 +-
.../mochitest/browserElement_SetVisibleFrames.js | 17 ++--
.../mochitest/browserElement_SetVisibleFrames2.js | 16 +--
.../priority/test_ExpectingSystemMessage2.html | 16 +--
.../mochitest/priority/test_NestedFrames.html | 16 +--
dom/cache/test/mochitest/driver.js | 11 +-
.../test/mochitest/test_cache_orphaned_body.html | 33 +-----
.../test/mochitest/test_cache_orphaned_cache.html | 33 +-----
dom/cache/test/mochitest/test_cache_restart.html | 11 +-
dom/cache/test/mochitest/test_cache_shrink.html | 33 +-----
dom/indexedDB/test/file.js | 12 +--
dom/indexedDB/test/helpers.js | 9 +-
dom/indexedDB/test/webapp_clearBrowserData.js | 6 +-
dom/inputmethod/mochitest/test_bug1043828.html | 5 +-
dom/inputmethod/mochitest/test_bug944397.html | 5 +-
.../mochitest/test_focus_blur_manage_events.html | 5 +-
.../mochitest/test_input_registry_events.html | 5 +-
.../mochitest/test_simple_manage_events.html | 5 +-
.../tests/test_permission_for_nested_oop_app.html | 3 +-
.../tests/test_permission_for_two_oop_apps.html | 3 +-
dom/ipc/tests/test_permission_helper.js | 21 ++--
.../test_permission_when_oop_app_crashes.html | 3 +-
dom/tv/test/mochitest/head.js | 5 +-
.../test_SpecialPowersPushAppPermissions.html | 14 ++-
.../tests/Harness_sanity/test_bug816847.html | 6 +-
.../components/SpecialPowersObserver.js | 4 +-
.../content/SpecialPowersObserverAPI.js | 24 +----
testing/specialpowers/content/specialpowersAPI.js | 111 ++++++++-------------
35 files changed, 173 insertions(+), 329 deletions(-)
2015-10-07 14:35:43 +08:00
Yoshi Huang
0f75eb4970
Backout e54c3b878993
2015-10-27 15:49:11 +08:00
Yoshi Huang
425b3272f5
Bug 1196665 - Add originAttributes into SpecialPowers. r=bholley
2015-10-07 14:35:43 +08:00
Kan-Ru Chen
42ed9cb8a7
Bug 1200498 - Clean up dom/browser-element mochitest.ini that has skip-if toolkit != gtk2 now that gtk3 is the default
2015-09-04 14:18:50 +08:00
Ehsan Akhgari
f9752f535c
Bug 1196361 - Remove the media.useAudioChannelService pref; r=baku
...
We need to rely on the audio channel service for all products now,
so supporting running without it seems pointless at this point.
2015-08-19 21:00:18 -04:00
Gabriele Svelto
c693511438
Bug 1144132 - Adjust the priority of an activity opener so that it's above other background applications. r=fabrice
...
--HG--
rename : dom/browser-element/mochitest/priority/test_Background.html => dom/browser-element/mochitest/priority/test_Activity.html
rename : dom/browser-element/mochitest/priority/test_ForegroundLRU.html => dom/browser-element/mochitest/priority/test_MultipleActivities.html
2015-06-13 15:16:00 +02:00
Gabriele Svelto
ae624cb0f7
Bug 1157030 - Revert bug 1142806. r=khuey
2015-04-30 11:25:29 +02:00
Ms2ger
f1fc41b0e5
Bug 949614 - Use === for SimpleTest.is; r=Waldo
...
This is more likely to be correct, and a necessary step in case we ever want
to move to Object.is.
This keeps ise as an alias for is, and introduces is_loosely for the old
behaviour.
2015-04-14 15:28:13 +02:00
Kan-Ru Chen (陳侃如)
0f190a6665
Bug 1142806 - Try to keep at least one foreground process at any time. r=gsvelto
...
--HG--
rename : dom/browser-element/mochitest/priority/test_Keyboard.html => dom/browser-element/mochitest/priority/test_DelayedBackgroundTransition.html
2015-04-13 16:25:09 +08:00
Gabriele Svelto
8988e8ef03
Bug 892371 - Add mochitests covering LRU priority adjustments for both foreground and background processes. r=khuey
2015-03-10 21:28:05 +01:00
Gabriele Svelto
243ffd8828
Bug 892371 - Adjust oom_score_adj values for foreground processes according to an LRU policy. r=dhylands, r=khuey
2015-02-25 09:37:38 +01:00
Gabriele Svelto
1f8afa872a
Bug 1119277 - Remove the process CPU priority parameter and simplify all the associated code. r=khuey, r=dhylands
2015-02-26 12:43:22 +01:00
Anish
45de248a8b
Bug 1056851 - Change existing callers of SpecialPowers.setBoolPref/setIntPref/setCharPref to SpecialPowers.pushPrefEnv. r=jmaher,mwargers
2015-02-19 11:53:01 -05:00
Carsten "Tomcat" Book
c0d53e2918
Backed out changeset 6885e993936a (bug 1056851) for crashtest failures
2015-02-19 15:02:05 +01:00
Anish
e7006d8a59
Bug 1056851 - Change existing callers of SpecialPowers.setBoolPref/setIntPref/setCharPref to SpecialPowers.pushPrefEnv. r=jmaher
2015-02-19 07:26:41 -05:00
Kan-Ru Chen (陳侃如)
5002238d50
Bug 1090759 - Part 4. Use disabled in mochitest.ini. r=smaug
2014-10-31 10:39:14 +08:00
Kan-Ru Chen (陳侃如)
630d892dd6
Bug 1090759 - Part 3. Fix tests broken by DOM Promise's asyncness r=smaug
2014-10-31 10:39:14 +08:00
Makoto Kato
4431461ba3
Bug 1050660 - Don't call removeChild immediately after calling setVisible. r=khuey
2014-08-20 20:25:44 +09:00
Kyle Huey
19e5d2d26c
Back out bug 874353, which is suspected of causing bug 1046956. r=me a=backout
2014-08-01 11:02:55 -07:00
Sean Lin
8062fdbcec
Bug 874353 - Remove CPU wake lock control from ContentParent. r=gene, khuey
2014-06-24 10:51:48 +08:00
Alexandre Poirot
7ea4dd517f
Bug 1027242 - Blacklist mulet's failing tests + expose 'mulet' to ini files; fix previous bustage on a CLOSED TREE, r=ahal
2014-07-02 15:40:56 -07:00
Gabriele Svelto
b6f9ebb914
Bug 1011493 - Assign the correct priority to the keyboard app. r=khuey
2014-05-30 15:29:43 +02:00
Gabriele Svelto
bfafadca3e
Bug 999327 - Consider the wake-locks held by the main process when computing priorities. r=fabrice
2014-05-01 15:47:26 +02:00
Patrick Wang (Chih-Kai Wang)
47db9c30ce
Bug 994560: Compute CPU priority based on priority that is going to be set r=gsvelto
2014-04-18 14:28:14 +08:00
Cervantes Yu
a94211773c
Bug 968604: Temporarily disable test case test_Preallocated.html in mochitest-2 suite before the Shutdown hang is fixed. r=fabrice
...
--HG--
extra : rebase_source : d31f86a4f5d7ed90beb2540871c39b5c63ae0900
2014-03-26 14:46:05 +08:00
Cervantes Yu
9e5ef8f746
Bug 968604 Part 2: Test case fix: clean up the preallocated process in an async manner. r=khuey
...
--HG--
extra : rebase_source : 234d60d32283caed23f3729b205a6271edb0aa1e
2014-03-03 18:52:39 +08:00
Cervantes Yu
53aa9fe207
Bug 959966: prevent the preallocated process from being killed by the lowmem killer by rasing its priority. r=khuey,gsvelto
2014-03-13 15:24:42 +08:00
Bill McCloskey
fd05f3eb04
Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted)
2014-03-13 21:38:19 -07:00
Wes Kocher
3b83e5bb22
Backed out changeset 88425ad0f06a (bug 982828) for introducing various mochitest-5 failures on a CLOSED TREE
...
* * *
Backed out changeset 94f9ebdc6662 (bug 982828)
2014-03-13 19:41:21 -07:00
Bill McCloskey
e784b5aef6
Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted)
2014-03-13 15:41:41 -07:00
Bill McCloskey
006786a6b4
Backed out changeset d6261f65070a
2014-03-13 15:52:27 -07:00
Bill McCloskey
ed100f425c
Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted)
2014-03-13 15:41:41 -07:00
Vaibhav Agarwal
910cf28c11
Bug 971132 - B2G mochitests should use the new manifest format; r=jmaher
2014-03-12 11:41:08 -04:00
"Kan-Ru Chen (陳侃如)"
a5ec2bb44c
Bug 873661 - Wait both browserloadend and process-created event. r=fabrice
2014-02-19 10:55:25 +08:00
"Kan-Ru Chen (陳侃如)"
804bb1a165
Bug 963366 - Hide navigator.requestWakeLock behind pref dom.wakelock.enabled. r=ehsan
2014-02-12 13:36:23 +08:00
Ryan VanderMeulen
d610286d06
Backed out changesets e0632c6aca0b, b183597c0190, 0af4a28621f7, and 86321b26161d (bug 963366) for B2G desktop mochitest failures.
...
CLOSED TREE
2014-02-11 08:05:39 -05:00
"Kan-Ru Chen (陳侃如)"
6fbfc62ee2
Bug 963366 - Hide navigator.requestWakeLock behind pref dom.wakelock.enabled. r=ehsan
...
---
b2g/app/b2g.js | 3 +++
.../mochitest/priority/test_HighPriority.html | 3 ++-
dom/power/test/browser_wakelocks.js | 9 ++++++---
dom/power/test/mochitest.ini | 2 ++
dom/power/test/test_bug957893.html | 21 +++++++++++---------
dom/power/test/test_bug957899.html | 11 +++++++---
dom/power/test/test_wakelock_not_exposed.html | 17 ++++++++++++++++
dom/webidl/MozWakeLock.webidl | 2 +-
dom/webidl/Navigator.webidl | 2 +-
modules/libpref/src/init/all.js | 3 +++
10 files changed, 55 insertions(+), 18 deletions(-)
create mode 100644 dom/power/test/test_wakelock_not_exposed.html
2014-02-11 13:57:24 +08:00
Ms2ger
e40b6f8313
Bug 956862 - Move some mochitests to manifests; r=mshal
2014-01-20 08:58:27 +01:00
Alan Huang
f36c0848bb
Bug 822325: Implement an LRU pool for background app processes. The LRU app will get the smallest oom_adj and get killed last. r=khuey
2013-10-01 11:54:59 +08:00
Mike Hommey
f8bc7fa754
Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps
2013-09-05 09:01:46 +09:00
Bobby Holley
f06e741959
Bug 877478 - Fix tests that depend on creating verboten instances in content. r=mrbkap
...
XPConnect generally throws when trying to create instances of non-DOM objects
in content. Due to some bugs this has historically worked in certain cases, but
we're fixing those now. So we need to fix the tests that do this sort of thing.
2013-06-04 19:56:42 -07:00
Justin Lebar
d4ddb9c7aa
Bug 870675 - Add a test for bug 870480. r=vingtetun
...
We now run test_HighPriority while holding the CPU and high-priority wake locks. This tests exactly the problem caused by bug 870480.
2013-05-30 12:59:24 -04:00
Justin Lebar
261c93bc2f
Bug 870181 - Part 3: Test that we downgrade processes' CPU priorities when appropriate. r=bent
2013-05-09 16:27:06 -04:00
Justin Lebar
aba39a1955
Bug 844323 - Follow-up: Fix typo in BrowserElementChildPreload that was breaking bg --> fg transitions in childVisibilityChanged. r=khuey
...
Also modify the test so it catches this mistake.
2013-04-29 14:56:53 -04:00
Justin Lebar
852bdff3d6
Bug 860799 - Part 2: Test that we give frames expecting a system message priority above vanilla BACKGROUND. r=khuey
2013-04-25 20:53:26 -04:00
Justin Lebar
b6fbaf6db2
Bug 844323 - Part 3: ProcessPriorityManager tests. r=nsm,khuey
2013-04-25 20:53:26 -04:00