Commit Graph

777 Commits

Author SHA1 Message Date
Matthew Noorenberghe
d77a8d39c1 Bug 1216986 - Fix usage of nsIURI.host in password manager and prompt code to support IPv6. r=dolske,liuche,kanru
--HG--
extra : commitid : zwoW6hAPKy
extra : rebase_source : 183b3f29af92860fbe232427e9e8f1cdd7116707
2015-12-02 16:13:18 -08:00
Carsten "Tomcat" Book
31b570ce3c Merge mozilla-central to b2g-inbound 2015-12-01 15:28:29 +01:00
Alastor Wu
15fc4f69b0 Bug 1223261 - Add the audio playback test for the case muted-by-default. r=baku.
--HG--
extra : rebase_source : decdc8697cf31a6a55330ab193fc9164c5b1ea3f
2015-11-27 10:19:27 +08:00
Carsten "Tomcat" Book
d4ef6710aa Backed out changeset 50441cd0d6a1 (bug 1212321) for causing regressions 2015-11-25 12:37:24 +01:00
Francois Marier
67506f65a6 Bug 1216723 - Add a new -forbid- Safe Browsing list type. r=gcp,r=smaug 2015-11-20 20:24:50 -08:00
Botond Ballo
8729479ba0 Bug 1227760 - Fix check for touch events being enabled on B2G. r=kats
--HG--
extra : rebase_source : 1bec72d5dca40bf1eaea6ecd758c9b979b98bec9
extra : source : 272b64e3b2bed498fe2ee2531499e21e075323d0
2015-11-27 19:14:23 -05:00
Botond Ballo
f7282ab158 Bug 1217515 - Clean up the way touch event support is configured. r=roc
- all.js now sets dom.w3c_touch_events.enabled to auto-detect on all
  platforms except windows and mac
- auto-detect always returns true for android and b2g
- graphene and tests override the all.js pref with their own value

--HG--
extra : rebase_source : 85a88985f77dfb47301cab17d939a88f3043a7a1
extra : source : 95e992d129c32f5e5f39b67f6f946e5d1dcbf530
2015-10-26 16:06:27 -04:00
Wes Kocher
c4f40f5dfc Merge inbound to m-c a=merge
--HG--
extra : commitid : 8FO2ow49CX2
2015-11-16 17:20:42 -08:00
Phil Ringnalda
717b9e4e5c Merge m-c to b-i 2015-11-15 19:17:19 -08:00
Carsten "Tomcat" Book
a8bc26fbbf Backed out changeset da1bcceb5f57 (bug 1223261) for test failures in test_browserElement_inproc_AudioChannel.html | called finish() multiple times
--HG--
extra : rebase_source : 8a4cd7e5c59bee4907e2b8bab5aa183ca1bf3ada
2015-11-13 14:00:20 +01:00
Alastor Wu
8e37489c47 Bug 1223261 - Add the audio playback test for the case muted-by-default. r=baku
--HG--
extra : transplant_source : %B7%1C%28c%40Zq%7DG%858%E9%DF%84g%82%00rJ/
2015-11-12 18:46:15 +08:00
Alastor Wu
f49b90a02f Bug 1222902 - Create log system for the AudioChannel. r=baku.
--HG--
extra : transplant_source : %BD%FF%8EH%08%97%3AC%C6%85%BC%F1%10%CB%07%AA%0E%90%85A
2015-11-10 18:32:00 +08:00
Andrea Marchesini
a14ba13b57 Bug 1223734 - AudioChannelService should not be re-initialized after the XPCOM shutdown, r=smaug 2015-11-16 17:34:52 +00:00
Tim Chien
7df884c22e Bug 1198163 - Workaround Mochitest app and assign frame proper permissions, r=kanru
--HG--
extra : rebase_source : 7891c4a7e8c38cf7966836d520c84cb88ff713e2
2015-11-10 22:17:00 +01:00
Kartikaya Gupta
8531f6e36c Bug 898075 - Remove the mozbrowserasyncscroll event from Gecko. r=botond,kanru,sicking
--HG--
extra : commitid : 2hGYJD6eHff
2015-11-11 10:17:47 -05:00
Alastor Wu
b9ace4602b Bug 1206581 - Implement notifyChannel() on AudioChannel API. r=kanru, r=baku.
--HG--
extra : transplant_source : Jz%11%82%60%AF%AA%82%F1%A5%EB%A5%05%7C%EBS%EF%89%3C%8A
2015-11-06 00:32:04 +08:00
Wes Kocher
e943bc8e33 Merge m-c to inbound a=merge
--HG--
extra : commitid : IcbfYN5aCjt
2015-11-06 15:13:35 -08:00
Kan-Ru Chen
1622b9b730 Bug 1216937 - Assign default URL for mozbrowseropenwindow event. r=smaug 2015-11-06 16:59:08 +08:00
Carsten "Tomcat" Book
bb068eacd7 merge mozilla-inbound to mozilla-central a=merge
--HG--
rename : browser/locales/en-US/chrome/browser/devtools/memory.properties => devtools/client/locales/en-US/memory.properties
2015-11-05 11:58:55 +01:00
Carsten "Tomcat" Book
90803a6363 Merge mozilla-central to b2g-inbound 2015-11-04 12:45:40 +01:00
Vivien Nicolas
8e5517fba9 Bug 1212321 - Stop painting on app launch. r=fabrice 2015-11-06 02:13:00 +01:00
Mike Hommey
f8b450ee34 Bug 1186748 - Make ASAN builds happy with Gtk+3. r=mccr8,r=bholley
- Add a suppression for a leak LSAN detects in system libpixman.
- Skip an intermittently failing test.
2015-11-04 11:21:49 +09:00
sgiles
103352d22d Bug 1209479 - Map Android back button to nsIWebNavigation::GoBack() for the current active frame r=fabrice 2015-10-01 18:00:31 +01:00
Carsten "Tomcat" Book
6ed98f802e Backed out changeset bd78b2adf002 (bug 1206581) for bustage again 2015-11-03 09:31:46 +01:00
Alastor Wu
e1ca093b4e Bug 1206581 - Implement notifyChannel() on AudioChannel API. r=kanru, r=baku.
--HG--
extra : transplant_source : %94%1B%E8I%B6%00w%B4/%8Bp%AB%CC%09%EF%C5nH%C3%1C
2015-11-02 17:33:41 +08:00
Carsten "Tomcat" Book
21e14b4b61 Backed out changeset 177eae915693 (bug 1206581) for bustage 2015-11-02 09:43:15 +01:00
Alastor Wu
c985b03af7 Bug 1206581 - Implement notifyChannel() on AudioChannel API. r=kanru, r=baku.
--HG--
extra : amend_source : 112f7508ad622382091a6fb596cb7dc867c40625
extra : transplant_source : %29%FA%25n%1Ck%F0%09%82%DF%BF%60%08%93K%9A%D7%FD%C6%8F
2015-10-30 18:28:35 +08:00
Fabrice Desré
fef6066276 Backout b0359c684793 (Bug 926452) for causing bug 1213051 r=me 2015-10-28 13:33:52 -07: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
Xidorn Quan
1a693cf130 Bug 962249 part 3 - Add Window.scrollMin{X,Y} (chrome-only) and convert most of scrollMaxX uses and part of scrollMaxY uses to combinations with the new properties. r=roc,bz
--HG--
extra : source : a07399cae357020c4f6dd33dac16eae82882cc83
2015-10-27 13:38:02 +09:00
Xidorn Quan
9c39f97e15 Bug 962249 part 1 - Add Element.scroll{Top,Left}Min (chrome-only) and convert most of scrollLeftMax uses and part of scrollTopMax uses to combinations with the new properties. r=roc,bz
--HG--
extra : source : 06ea81fe3f64c072d100e42b76678eaa9fb7448c
2015-10-27 13:38:02 +09:00
Kyle Huey
c7d3c4e21a Bug 1216401: Eviscerate nsIDOMWindow, move still needed methods to nsPIDOMWindow. r=bz 2015-10-26 14:37:32 -07:00
Marcos Caceres
9859867e5b Bug 1169633 - [Browser API] getWebManifest(). r=kanru, r=bholley 2015-11-03 03:52:00 +01:00
Tim Chien
7cfbbed85b Bug 1196654 - navigator.mozBrowserElementProxy for access Browser API methods from the embedded, r=kanru, sr=sicking 2015-10-25 20:06:00 +01: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
Vivien Nicolas
374a46439a Bug 926452 - The call to getComputedStyle in the onStateChange progress listener of BrowserElementChildPreload.js is expensive (~30ms). r=fabrice 2015-10-15 06:40: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
Thomas Nguyen
5d4524094b Bug 1168704 - Rename setFocusApp in nslNfcContentHelper. r=yoshi
--HG--
extra : rebase_source : 016d109d6188dbbf4c590da9b3d640c92258e895
2015-10-07 23:55:00 +02:00
Ting-Yu Chou
0c77e54e7f Bug 1214133 - Preload ExtensionContent.jsm to get rid of the overhead. r=fabrice 2015-10-13 17:39:52 +08:00
Kevin Grandon
c44fd52108 Bug 1211481 - Expose screenX and screenY to context menu events. r=fabrice 2015-10-05 08:36:00 +02:00
Carsten "Tomcat" Book
f11b039d32 Merge m-c to b2g-i on a CLOSED TREE 2015-10-05 13:55:18 +02:00
Boris Chiou
50975ecf3c Bug 1210265 - Add a pref toggle for copying/pasting only plain text on B2G. r=timdream
Add a new preference, clibboard.plainTextOnly.
1. On:  we only support kUnicodeMIME in SetData/GetData.
2. Off: we can support different MIME types in SetData/GetData

BTW, "copy image" is dependent on non-text/rich text support, so this
menu item is also disabled after we turn the pref off.
2015-10-02 00:26:00 +02:00
Yoshi Huang
d38b78ae54 Bug 1165466 - Fix up docshell and loadcontext inheriting code in nsIScriptSecurityManager. r=bholley 2015-09-23 16:10:21 +08:00
Wes Kocher
0625b82581 Merge b2ginbound to central, a=merge CLOSED TREE 2015-09-23 13:18:17 -07:00
Boris Chiou
f7042de103 Bug 1198522 - Add a flag to make sure customized menu is added. r=timdream, r=kanru
We use the same array to maintain some system items and customized menu
items, so I add a new flag to make sure we add customized ones.

--HG--
extra : rebase_source : 74c5c2d5294ca949481aee31240535a003e13478
2015-09-18 05:35:00 +02:00
Andrea Marchesini
5bd948cce6 Bug 1167465 - Exposing Allowed Audio Channels in System App's Window, r=alwu, r=fabrice 2015-09-23 08:12:52 +01: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
Ted Clancy
4b2d44ae11 Bug 1195801 - Add GetStructuredData() method to Browser API. r=kanru, r=bholley 2015-09-22 23:02:10 -07:00
Ted Clancy
4ec52ed181 Bug 1195801 - part 2: Tests for getStructuredData. r=kanru 2015-09-17 20:55:19 -07:00
Kan-Ru Chen
352ceeac46 Bug 1186843 - Don't recreate message manager. r=smaug 2015-09-21 17:51:08 +08:00