Граф коммитов

278 Коммитов

Автор SHA1 Сообщение Дата
Ehsan Akhgari 0e87b6fb88 Bug 1258872 - Port test_mutationobserver_anonymous.html to mochitest-plain so that it can be turned on in e10s mode; r=mrbkap 2016-03-23 11:54:08 -04:00
Ehsan Akhgari d05c992346 Bug 1258815 - Port some tests that depend on the parser utils object to mochitest-plain so that they can be turned on in e10s mode; r=mrbkap 2016-03-22 19:12:41 -04:00
Ehsan Akhgari 6536312ed8 Bug 1258534 - Port test_bug599295.html to mochitest-plain so that it can be turned on in e10s mode; r=mrbkap 2016-03-22 09:57:58 -04:00
Gijs Kruitbosch 18ed8df63e Bug 1254091 - part 2: fix focus messaging from SpecialPowers to refer to the right window, r=enndeakin
MozReview-Commit-ID: DMnK23GoerQ

--HG--
extra : rebase_source : f9af09ead0cd5a52034e483386ba1b6c7db6f5a7
2016-03-18 18:29:27 +00:00
Ehsan Akhgari e6b62e1073 Bug 1257630 - Port test_chrome_constructor.html to mochitest-plain so that it can be turned on in e10s mode; r=mrbkap 2016-03-17 15:54:38 -04:00
Ehsan Akhgari 511ccff106 Bug 1257327 - Port test_allowMedia.html to mochitest-plain so that it can be turned on in e10s mode; r=mrbkap 2016-03-16 18:50:53 -04:00
Marco Castelluccio 2fb9c40ec1 Bug 1250453 - Remove DOMApplicationRegistry.allAppsLaunchable property and related testing API. r=myk 2016-03-14 16:29:11 +00:00
Andrew McCreight e527e48266 Bug 1255173 - Fix onZoomReset() in test_wheel_default_action.html to work with e10s. r=masayuki, r=jmaher
"test.events.async.enabled" must be set to true so we generate key
events in the parent process, which is what triggers the zoom reset.

In addition, some SpecialPowers infrastructure must be set up to
listen for "browser-fullZoom:zoomReset" in the parent and send it to
an observer in the child.

--HG--
extra : rebase_source : 05072529e645b4b8fbd97e2d3ff6dec51a913f40
2016-03-09 16:28:00 -05:00
Carsten "Tomcat" Book 25fbf67b66 Backed out changeset 878c54ec3954 (bug 1250453) 2016-03-10 14:45:59 +01:00
Marco Castelluccio 1902f1c620 Bug 1250453 - Remove DOMApplicationRegistry.allAppsLaunchable property and related testing API. r=myk 2016-03-10 11:12:38 +00:00
Matthew Noorenberghe b539cc9f1b Bug 1251139 - Support running a function in the parent with loadChromeScript. r=jmaher
MozReview-Commit-ID: 3t7g2bjaFmA

--HG--
rename : testing/mochitest/tests/Harness_sanity/test_SpecialPowersLoadChromeScript.html => testing/mochitest/tests/Harness_sanity/test_SpecialPowersLoadChromeScript_function.html
2016-03-09 12:11:44 -08:00
Ryan VanderMeulen 599f2304e0 Merge m-c to inbound. a=merge 2016-03-05 19:30:51 -05:00
Doug Turner a98f782612 Bug 1252750 - Part 1: Create a helper function on SpecialPowersAPI which creates a nested event queue and spins it for a bit. r=mrbkap
--HG--
extra : rebase_source : bdf09f33e7cedbc3ee25f6162ca3cc895633fb73
2016-03-05 00:05:00 -05:00
Hiroyuki Ikezoe 199a3521ec Bug 1153128 - Add sendSyncMessage to SpecialPowers.loadChromeScript. r=jmaher
MozReview-Commit-ID: AsbBiOkhhLo

--HG--
extra : rebase_source : 435440d581de51ff986fde9cd5b0d6e0cc3e5388
2016-02-24 21:43:23 -08:00
Kris Maglione fbcae3eafe Bug 1253148: [webext] Cleanup running extensions on test failure. r=billm
MozReview-Commit-ID: HTFZk6y6ZEp

--HG--
extra : rebase_source : 476d51fba97989b8bcbcdb6720d53f1820db8fc9
2016-03-02 20:58:28 -08: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
Andrew McCreight 0529e722df Bug 1243577, part 3 - Make test_blob_file_backed.js use SpecialPowers.createFiles(). r=khuey
This method is e10s-compatible. It is async, so it requires
rejiggering the test a little. This also requires fixing up a shim
version for xpcshell tests. Finally, this test is the only user of
SpecialPowers.createDOMFiles, so I removed it.
2016-02-18 09:09:28 -08:00
Andrew McCreight 2ddda3ac74 Bug 1248097, part 4 - Don't throw away the _createdFiles array every time. r=jmaher
This would cause us to not delete some created files if
SpecialPowers.createFiles() is called multiple times in a single test.
2016-02-18 09:09:28 -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
Andrew McCreight b7841a51a8 Bug 1248097, part 1 - Fix indentation in SpecialPowersObserver.jsm. r=jmaher 2016-02-18 09:09:28 -08:00
Bill McCloskey cc7eba7dde Bug 1246787 - [webext] Add schema storage.json (r=kmag) 2016-02-11 13:04:31 -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
Tom Schuster dff8c86655 Bug 1246318 - Remove the enumerate trap from ES6 proxies. r=efaust 2016-02-10 00:12:24 +01:00
Carsten "Tomcat" Book ddbbd78a0d merge mozilla-inbound to mozilla-central a=merge 2016-02-02 11:50:53 +01:00
Kris Maglione ec5c25ce52 Bug 1244805: [webext] Don't resolve relative URLs in manifests unless extension is running. r=billm
--HG--
extra : commitid : L8FL3psdiCQ
extra : rebase_source : 24877d001fbbbaec21644d1ad05362df325c4b97
extra : histedit_source : 0245d9c4e903d60cafd0aa80caf1eac8dbd72968
2016-02-01 11:02:02 -08:00
Kris Maglione 278a332b02 Bug 1225715: Part 5 - Add schema for extension manifests. r=billm
This currently forbids unknown top-level schema properties, and unknown
permissions. In the future, I'd like to make those warnings rather than
errors, for compatibility purposes, but I think errors are fine for now.

--HG--
extra : commitid : 9jGEwCU9AhR
extra : rebase_source : db16f1e5f9962fb7b24c0e52c05832ae646a57c2
2016-01-30 10:27:02 -08:00
Tom Schuster 56a861125f Bug 989426 - Use new Proxy instead of Proxy.create in SpecialPowers. r=bholley 2016-01-28 19:38:50 +01:00
Peter Van der Beken 46af3ae4ab Bug 1027734 - Convert mozPay to WebIDL. r=bzbarsky.
--HG--
rename : dom/payment/interfaces/nsINavigatorPayment.idl => dom/payment/interfaces/nsIPaymentContentHelperService.idl
rename : testing/specialpowers/content/MockPaymentsUIGlue.jsm => dom/payment/tests/mochitest/MockPaymentsUIChromeScript.js
extra : rebase_source : 638fdf45b6a13ceee98c5e066505d8858abbfd3d
2016-01-26 18:38:03 +01:00
Christoph Kerschbaumer f9b797ccdd Bug 1241576 - Convert testing/ to use channel.open2() (r=sicking) 2016-01-22 11:44:23 -08:00
Andrea Marchesini d4b954e4fa Bug 1238515 - nsIFilePicker methods should clearly say when they return directories and files, r=smaug 2016-01-12 19:18:15 +00:00
Carsten "Tomcat" Book de28b5128f Backed out changeset b5e8cd00d7ef (bug 1238515) for Android Test failures
--HG--
extra : rebase_source : d7883a0923a22c676f26946ab8950a9bf01490a9
2016-01-12 14:15:08 +01:00
Andrea Marchesini 923de404a2 Bug 1238515 - nsIFilePicker methods should clearly say when they return directories and files, r=smaug 2016-01-12 10:23:13 +00:00
Bill McCloskey a4a149fd8d Bug 1211401 - Use global message manager as parent of <iframe mozbrowser> MM (r=smaug,ahal) 2015-12-23 12:29:39 -08:00
Mike Hommey 3a7b31cfb5 Bug 1228444 - Rename DIST_FILES to FINAL_TARGET_PP_FILES. r=gps
This makes it clearer that really it's the same thing as FINAL_TARGET,
with preprocessing.
We still keep DIST_FILES in backend.mk because it's shorter and doesn't
really matter.
2015-12-01 08:25:22 +09:00
Mike Hommey 655579a1fa Bug 1228444 - Don't silence "no preprocessor directives found" warnings for DIST_FILES. r=gps
and move files without preprocessor directives to FINAL_TARGET_FILES.
2015-12-01 08:25:22 +09:00
Andrew McCreight 4898740306 Bug 1226291 - Add SpecialPowers API for importing a jsm into the main process. r=jmaher 2015-11-25 12:34:08 -08:00
Jan Varga 38ee7f95d8 Bug 961049 - Part 4: QuotaManager on PBackground core changes; r=baku
--HG--
rename : dom/quota/QuotaManager.cpp => dom/quota/ActorsParent.cpp
rename : dom/quota/nsIUsageCallback.idl => dom/quota/nsIQuotaCallbacks.idl
rename : dom/quota/nsIQuotaManager.idl => dom/quota/nsIQuotaManagerService.idl
rename : dom/quota/nsIQuotaRequest.idl => dom/quota/nsIQuotaRequests.idl
2015-11-22 10:43:55 +01:00
Wes Kocher 5f7fe609b2 Backed out changeset 7fd167583034 (bug 1226291) for android m(16) failures CLOSED TREE
--HG--
extra : commitid : CVDTDD6zzZt
2015-11-20 12:00:13 -08:00
Andrew McCreight ddc8e81973 Bug 1226291 - Add SpecialPowers API for importing a jsm into the main process. r=jmaher 2015-11-20 09:18:22 -08:00
Andrew Halberstadt 1252d85394 Bug 1219442 - Re-write specialpowers as a restartless addon, r=jmaher
In order to meet the addon signing requirement for tests, specialpowers
needs to be installed at gecko runtime. This means it must be restartless.
This patch packages specialpowers as a restartless addon, but it does not
yet install it at runtime.

--HG--
rename : testing/specialpowers/components/SpecialPowersObserver.js => testing/specialpowers/content/SpecialPowersObserver.jsm
extra : commitid : Bbg8gFten8S
extra : rebase_source : 99d0b841a1f8f9eb6b6ca846363a158836482e57
2015-11-05 10:00:59 -05:00
Andrew McCreight 79d5d6cd4d Bug 1223831 - SpecialPowers API to create files in an e10s-compatible way. r=jmaher,baku 2015-11-13 09:29:17 -08:00
Bill McCloskey 9c2a47898f Bug 1208874 - [webext] Generate an extension-specific UUID (r=kmag) 2015-11-12 08:19:45 -08:00
Nicholas Nethercote f07dc1c47b Bug 1059014 (part 1) - Remove support for max line box width. r=dbaron.
This basically reverts bug 780258.

--HG--
extra : rebase_source : 59cc458d83fed9735e9e0321ec52a0a9484bd7ba
2015-11-04 20:25:01 -08:00
dlee f3324e8193 Bug 1214593 - Remove service worker periodic updater. r=ehsan 2015-11-02 16:08:44 +08: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
Ehsan Akhgari e6a62c4d9d Bug 1213151 - Part 2: Use SpecialPowers.cleanUpSTSData() in a few tests; r=jdm 2015-10-09 10:56:19 -04:00
Ehsan Akhgari 2aca052b56 Bug 1213151 - Part 1: Add a SpecialPowers API for cleaning up the STS data that works in both e10s and non-e10s modes; r=jdm 2015-10-09 10:56:17 -04:00