Mantaroh Yoshinaga
5cd9a83e23
Bug 1125477 - Part3: Remove permission removing code. r=seanlin
2015-11-15 14:48:55 +01:00
Mantaroh Yoshinaga
b3bcc5326c
Bug 1125477 - Part 2: Modify permission check of TV Manager API in order to remove dom.testing.tv_enabled_for_hosted_apps. r=seanlin;r=smaug
2015-11-15 14:48:48 +01:00
Mantaroh Yoshinaga
7330272caf
Bug 1125477 - Part 1: Modify dom/tv mochitest in order to enable e10s test. r=seanlin
2015-11-15 14:48:40 +01: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
Tooru Fujisawa
24ab66bc98
Bug 1217093
- Remove for-each from dom/. r=smaug
...
--HG--
extra : commitid : DcjxshJqlKg
extra : rebase_source : 23bc9a985f1e6d13e13837e31bb9b88b9be24d55
2015-10-19 02:00:50 +09:00
Mantaroh Yoshinaga
c23ec61e1f
Bug 1215429 - Add import statement in order to access file object in chrome code of TVSimulatorService. r=seanlin
...
--HG--
extra : rebase_source : 4c9cb9d3396f4b82df183f172dfa21474ceb7ae0
2015-10-16 00:59:00 +02:00
Nathan Froyd
01583602a9
Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
...
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout. The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.
CLOSED TREE makes big refactorings like this a piece of cake.
# The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
xargs perl -p -i -e '
s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
s/nsRefPtr ?</RefPtr</g; # handle declarations and variables
'
# Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h
# Handle nsRefPtr.h itself, a couple places that define constructors
# from nsRefPtr, and code generators specially. We do this here, rather
# than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
# things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
mfbt/nsRefPtr.h \
xpcom/glue/nsCOMPtr.h \
xpcom/base/OwningNonNull.h \
ipc/ipdl/ipdl/lower.py \
ipc/ipdl/ipdl/builtin.py \
dom/bindings/Codegen.py \
python/lldbutils/lldbutils/utils.py
# In our indiscriminate substitution above, we renamed
# nsRefPtrGetterAddRefs, the class behind getter_AddRefs. Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'
if [ -d .git ]; then
git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Mantaroh Yoshinaga
468b7b72d3
Bug 1212286 - Remove unnecessary define from TVSimulatorService.manifest. r=seanlin
2015-10-07 17:54:00 +02:00
Mantaroh Yoshinaga
1fb1130a13
Bug 1205240 - Add JSON Validation code in order to prevent invalid file. r=seanlin
...
--HG--
extra : rebase_source : a51099233f3a2d9d12773308804fa06917834bf7
2015-10-05 23:37:00 +02:00
Mantaroh Yoshinaga
a98dfba30c
Bug 1180589 part 2 - Add code to create a simulated mediastream; r=seanlin
2015-09-30 14:32:32 +09:00
Mantaroh Yoshinaga
af4a197416
Bug 1180589 part 1 - Add simulator code for TV Manager API; r=seanlin
2015-09-30 14:32:32 +09:00
Brian Birtles
7f205b8334
Backout changeset 4867b986b2c7 and b4185d03b6d5 (bug 1180589) for bustage on CLOSED TREE
2015-09-29 13:50:23 +09:00
Mantaroh Yoshinaga
a168f613d8
Bug 1180589 part 2 - Add creating mediastream code. r=seanlin
2015-09-29 13:22:25 +09:00
Mantaroh Yoshinaga
3ae9be5860
Bug 1180589 part 1 - Add simulator code for TV Manager API. r=seanlin
2015-09-29 13:22:24 +09:00
Chris Peterson
71920a9550
Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium
2015-09-22 21:39:03 -07:00
Nicholas Nethercote
f44287005f
Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
...
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Daosheng Mu
18ad922f74
Bug 987498 - Part 4 -Implement SetImageSize on DOMHwMediaStream. r=roc
2015-06-15 03:11:00 +02:00
Daosheng Mu
317b5386b4
Bug 987498 - Part 3 - Implement DOMHwMediaStream. r=roc
2015-06-18 00:21:00 +02:00
Birunthan Mohanathas
180b572edb
Bug 968520 - Add mozilla::fallible to FallibleTArray::AppendElement calls. r=froydnj
2015-05-28 11:07:44 -07:00
Andrew McCreight
9e8f4b219e
Bug 1152551, part 2 - Fix mode lines in dom/. r=jst
2015-05-03 15:32:37 -04:00
Mike Hommey
924c9eb636
Bug 1134923 - Remove NS_Alloc/NS_Realloc/NS_Free. r=nfroyd
...
They are kept around for the sake of the standalone glue, which is used
for e.g. webapprt, which doesn't have direct access to jemalloc, and thus
still needs a wrapper to go through the xpcom function list and get to
jemalloc from there.
2015-05-01 09:40:30 +09:00
Andrea Marchesini
789ad8312d
Bug 1156632 - Remove unused forward class declarations - patch 3 - dom/{events,xbl,xslt,xul} and others, r=ehsan
2015-04-22 08:29:18 +02:00
Andrea Marchesini
e6f385fb3d
Bug 1148527 - Indentation fix after bug 1145631, r=ehsan
2015-03-27 18:52:19 +00:00
Ehsan Akhgari
883849ee32
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Boris Zbarsky
dc24477d79
Bug 1117172 part 3. Change the wrappercached WrapObject methods to allow passing in aGivenProto. r=peterv
...
The only manual changes here are to BindingUtils.h, BindingUtils.cpp,
Codegen.py, Element.cpp, IDBFileRequest.cpp, IDBObjectStore.cpp,
dom/workers/Navigator.cpp, WorkerPrivate.cpp, DeviceStorageRequestChild.cpp,
Notification.cpp, nsGlobalWindow.cpp, MessagePort.cpp, nsJSEnvironment.cpp,
Sandbox.cpp, XPCConvert.cpp, ExportHelpers.cpp, and DataStoreService.cpp. The
rest of this diff was generated by running the following commands:
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObject\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(Binding(?:_workers)?::Wrap\((?:aCx|cx|aContext|aCtx|js), [^,)]+)\)/\1, aGivenProto)/g'
2015-03-19 10:13:33 -04: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
Chris Peterson
009c1a2bcb
Bug 1129325 - Remove nonstandard let blocks from dom. r=mrbkap
2015-01-24 23:38:46 -08:00
Ryan VanderMeulen
c5537afecb
No bug - Re-enable the DOM TV mochitests on everything except B2G and e10s.
2015-01-24 10:24:02 -05:00
Ehsan Akhgari
1889255041
Bug 1118803 - Mark virtual overridden functions as MOZ_OVERRIDE in misc DOM code; r=baku
2015-01-08 08:49:54 -05:00
Kan-Ru Chen (陳侃如)
c57dcf090e
Bug 1059662 - Disallow OOP app to embed in-proc apps. r=fabrice
...
Some mochitest that use embed-apps in an oop context is disabled.
--HG--
extra : rebase_source : 72de2cdae86eb8d55e642529cd4aae0af97e4e96
2014-11-11 10:25:36 +08:00
Sean Lin
6a2c92f2aa
Bug 1091322 - Disable the TV mochitests on Linux debug e10s to wallpaper over gfx shutdown crashes.
2014-11-05 14:03:37 -05:00
Chris Peterson
9f3e62a03a
Bug 1092001 - Fix warnings in dom/tv and mark as FAIL_ON_WARNINGS. r=ehsan
2014-10-29 21:52:41 -07:00
Ehsan Akhgari
6354828580
Bug 1091626 - Mark TVSourceListener as final; r=seanlin
...
This avoids compiler warnings when deleting this object since
its destructor is not virtual.
2014-10-31 10:42:29 -04:00
Ehsan Akhgari
5c678473f4
Bug 1091628 - Remove TVProgram::mIsInterrupting since it is unused; r=seanlin
2014-10-31 10:42:02 -04:00
Sean Lin
2646ca78ed
Bug 1088310 - [Stingray] Add more tests to TV Manager API. r=ehsan
...
--HG--
rename : dom/tv/test/file_app.sjs => dom/tv/test/mochitest/file_app.sjs
rename : dom/tv/test/file_app.template.webapp => dom/tv/test/mochitest/file_app.template.webapp
rename : dom/tv/test/file_tv_non_permitted_app.html => dom/tv/test/mochitest/file_tv_non_permitted_app.html
rename : dom/tv/test/mochitest.ini => dom/tv/test/mochitest/mochitest.ini
rename : dom/tv/test/test_tv_non_permitted_app.html => dom/tv/test/mochitest/test_tv_non_permitted_app.html
2014-10-22 23:15:24 +08:00
Sean Lin
5e93e0f48a
Bug 998872 - [Stingray] TV Manager API. Part 4 - TV channel & TV program. r=ehsan
2014-08-22 13:53:39 +08:00
Sean Lin
768b6f77fa
Bug 998872 - [Stingray] TV Manager API. Part 3 - TV manager, TV tuner, TV source. r=ehsan
2014-08-22 12:08:34 +08:00
Sean Lin
4f6e00ac5f
Bug 998872 - [Stingray] TV Manager API. Part 2 - TV service. r=ehsan
2014-08-22 11:44:39 +08:00
Sean Lin
d12e06f1df
Bug 998872 - [Stingray] TV Manager API. Part 1 - DOM API & WebIDL bindings. r=ehsan, r=baku
...
--HG--
rename : dom/datastore/tests/file_app.sjs => dom/tv/test/file_app.sjs
2014-08-21 17:15:18 +08:00