Commit Graph

240243 Commits

Author SHA1 Message Date
Ehsan Akhgari
69a1633117 Bug 1156084 - Disallow AddRef() and Release() calls on the return value of methods returning XPCOM objects; r=jrmuizel
When a method returns type D derived from RefCounted type B, there is an
ImplicitCastExpr (or an ExplicitCastExpr, if there is an explicit cast
to the base type in the code) in the AST between the CallExpr and
MemberExpr, which we didn't take into account before.  This caused the
analysis to not work on common patterns such as
nsCOMPtr<nsIXPCOMInterface>.
2015-04-21 16:24:41 -04:00
Patrick McManus
b033accd88 no bug - change mdn link in comment to be https. r=comment-only DONTBUILD 2015-04-21 16:20:56 -04:00
Timothy Nikkel
2830f061fc Backout 3c3337ed60a1 (bug 1139306) for causing bug 1156918. 2015-04-21 15:09:48 -05:00
Jonathan Watt
6992d2f560 Bug 1150054, part 2 - Convert the Web Animations tests to use the new EventWatcher constructor from upstream. r=Ms2ger 2015-04-14 20:54:10 +01:00
Jonathan Watt
dd5550bce7 Bug 1150054, part 1 - Pull down the upstreamed version of EventWatcher from the web-platform-tests js harness into imptests. r=Ms2ger 2015-04-14 19:38:50 +01:00
Aaron Klotz
e9a821d41e Bug 1155503: BrowserStreamParent should null out its NPStream pointer and we should check for it; r=jimm 2015-04-20 17:04:33 -06:00
Mike Kaply
df71482d87 Bug 916101 - Show entire pref name when wanring about size, r=mossop 2015-04-21 13:31:09 -05:00
Nicholas Hurley
74e086204a Bug 1130822 - properly decode arbitrarily aligned data for non-tier1 platforms. r=mcmanus
Modified from original patch by Martin Husemann <martin@NetBSD.ORG>
2015-04-21 11:26:11 -07:00
Ehsan Akhgari
42155d59d5 Bug 1156880 - Null check the prescontext in nsDOMWindowUtils::AdvanceTimeAndRefresh; r=mstange 2015-04-21 14:22:46 -04:00
Ehsan Akhgari
2412cba891 Bug 1156030 - Remove some obsolete static assertion macros from the tree; r=Waldo 2015-04-21 14:22:43 -04:00
Terrence Cole
6c5060421f Bug 1154950 - Share permanent atom and well-known symbol marking; r=sfink 2015-04-14 13:28:46 -07:00
Terrence Cole
ad760483d1 Bug 1154101 - Remove PushMarkStack indirection; r=sfink 2015-04-14 13:28:39 -07:00
Doug Turner
6b4a7eafcc Bug 1156052 - Add push information to about:serviceworkers. r=baku 2015-04-21 20:10:51 +02:00
Doug Turner
62daca10b5 Bug 1149274 - Clear site-permissions should clear all registered push notifications. r=nsm 2015-04-21 20:10:51 +02:00
Doug Turner
ae8ae3c97f Bug 1156063 - Intermittent application crashed [@ mozilla::dom::indexedDB::::ConnectionPool::Start] in various tests. r=janv 2015-04-21 20:10:50 +02:00
Kit Cambridge
8bba6b8775 Bug 1150683 - Add xpcshell tests for nsIPushNotificationService. r=dougt
---
 dom/push/moz.build                                 |   4 +
 dom/push/test/xpcshell/head.js                     | 450 +++++++++++++++++++++
 dom/push/test/xpcshell/test_notification_ack.js    | 127 ++++++
 .../test/xpcshell/test_notification_duplicate.js   |  82 ++++
 dom/push/test/xpcshell/test_notification_error.js  | 127 ++++++
 .../test/xpcshell/test_notification_incomplete.js  | 109 +++++
 .../xpcshell/test_notification_version_string.js   |  72 ++++
 dom/push/test/xpcshell/test_register_case.js       |  64 +++
 dom/push/test/xpcshell/test_register_flush.js      | 103 +++++
 .../test/xpcshell/test_register_invalid_channel.js |  60 +++
 .../xpcshell/test_register_invalid_endpoint.js     |  62 +++
 .../test/xpcshell/test_register_invalid_json.js    |  61 +++
 dom/push/test/xpcshell/test_register_no_id.js      |  65 +++
 .../test/xpcshell/test_register_request_queue.js   |  65 +++
 dom/push/test/xpcshell/test_register_rollback.js   |  88 ++++
 dom/push/test/xpcshell/test_register_success.js    |  76 ++++
 dom/push/test/xpcshell/test_register_timeout.js    | 102 +++++
 dom/push/test/xpcshell/test_register_wrong_id.js   |  71 ++++
 dom/push/test/xpcshell/test_register_wrong_type.js |  67 +++
 dom/push/test/xpcshell/test_registration_error.js  |  39 ++
 .../xpcshell/test_registration_missing_scope.js    |  28 ++
 dom/push/test/xpcshell/test_registration_none.js   |  28 ++
 .../test/xpcshell/test_registration_success.js     |  67 +++
 .../test/xpcshell/test_unregister_empty_scope.js   |  37 ++
 dom/push/test/xpcshell/test_unregister_error.js    |  65 +++
 .../test/xpcshell/test_unregister_invalid_json.js  |  78 ++++
 .../test/xpcshell/test_unregister_not_found.js     |  35 ++
 dom/push/test/xpcshell/test_unregister_success.js  |  60 +++
 dom/push/test/xpcshell/xpcshell.ini                |  32 ++
 29 files changed, 2324 insertions(+)
 create mode 100644 dom/push/test/xpcshell/head.js
 create mode 100644 dom/push/test/xpcshell/test_notification_ack.js
 create mode 100644 dom/push/test/xpcshell/test_notification_duplicate.js
 create mode 100644 dom/push/test/xpcshell/test_notification_error.js
 create mode 100644 dom/push/test/xpcshell/test_notification_incomplete.js
 create mode 100644 dom/push/test/xpcshell/test_notification_version_string.js
 create mode 100644 dom/push/test/xpcshell/test_register_case.js
 create mode 100644 dom/push/test/xpcshell/test_register_flush.js
 create mode 100644 dom/push/test/xpcshell/test_register_invalid_channel.js
 create mode 100644 dom/push/test/xpcshell/test_register_invalid_endpoint.js
 create mode 100644 dom/push/test/xpcshell/test_register_invalid_json.js
 create mode 100644 dom/push/test/xpcshell/test_register_no_id.js
 create mode 100644 dom/push/test/xpcshell/test_register_request_queue.js
 create mode 100644 dom/push/test/xpcshell/test_register_rollback.js
 create mode 100644 dom/push/test/xpcshell/test_register_success.js
 create mode 100644 dom/push/test/xpcshell/test_register_timeout.js
 create mode 100644 dom/push/test/xpcshell/test_register_wrong_id.js
 create mode 100644 dom/push/test/xpcshell/test_register_wrong_type.js
 create mode 100644 dom/push/test/xpcshell/test_registration_error.js
 create mode 100644 dom/push/test/xpcshell/test_registration_missing_scope.js
 create mode 100644 dom/push/test/xpcshell/test_registration_none.js
 create mode 100644 dom/push/test/xpcshell/test_registration_success.js
 create mode 100644 dom/push/test/xpcshell/test_unregister_empty_scope.js
 create mode 100644 dom/push/test/xpcshell/test_unregister_error.js
 create mode 100644 dom/push/test/xpcshell/test_unregister_invalid_json.js
 create mode 100644 dom/push/test/xpcshell/test_unregister_not_found.js
 create mode 100644 dom/push/test/xpcshell/test_unregister_success.js
 create mode 100644 dom/push/test/xpcshell/xpcshell.ini
2015-04-21 20:10:50 +02:00
Kit Cambridge
cce6e2c54e Bug 1150683 - Add xpcshell test hooks to PushService.jsm. r=dougt
---
 dom/push/PushService.jsm | 156 ++++++++++++++++++++++++++++++++---------------
 dom/push/moz.build       |   2 +-
 2 files changed, 108 insertions(+), 50 deletions(-)
2015-04-21 20:10:50 +02:00
Kit Cambridge
2d97297632 Bug 1150683 - Implement nsIPushNotificationService. r=dougt
---
 b2g/installer/package-manifest.in     |   2 +-
 browser/installer/package-manifest.in |   2 +-
 dom/push/Push.manifest                |  11 +-
 dom/push/PushNotificationService.js   |  81 +++++++++
 dom/push/PushService.jsm              | 324 ++++++++++++++++++++--------------
 dom/push/PushServiceLauncher.js       |  50 ------
 dom/push/moz.build                    |   2 +-
 7 files changed, 285 insertions(+), 187 deletions(-)
 create mode 100644 dom/push/PushNotificationService.js
 delete mode 100644 dom/push/PushServiceLauncher.js
2015-04-21 20:10:50 +02:00
Kit Cambridge
02cf32d749 Bug 1150683 - Add XPCOM interfaces for push notifications. r=dougt
---
 b2g/installer/package-manifest.in                  |  1 +
 browser/installer/package-manifest.in              |  1 +
 dom/interfaces/push/moz.build                      | 12 ++++++
 dom/interfaces/push/nsIPushNotificationService.idl | 49 ++++++++++++++++++++++
 .../push/nsIPushObserverNotification.idl           | 30 +++++++++++++
 dom/moz.build                                      |  1 +
 6 files changed, 94 insertions(+)
 create mode 100644 dom/interfaces/push/moz.build
 create mode 100644 dom/interfaces/push/nsIPushNotificationService.idl
 create mode 100644 dom/interfaces/push/nsIPushObserverNotification.idl
2015-04-21 20:10:50 +02:00
Mason Chang
33cac127fd Bug 1071275. Consolidate silk preferences. r=kats 2015-04-21 11:04:27 -07:00
Markus Stange
c8c55c2ffe Bug 1154347 - Don't set -fomit-frame-pointer on all of skia. r=glandium, r=gw280 2015-04-21 13:57:57 -04:00
Ryan VanderMeulen
8ec29bc267 Bug 1141867 - Add OSX 10.10 fuzz to the newly-added tests. 2015-04-21 13:54:07 -04:00
George Wright
493d2717d1 Bug 1155784 - Do not consider <optgroup> items when setting selectedIndex for e10s popups r=mconley 2015-04-20 18:11:16 -04:00
Daniel Holbert
b23c01f092 Bug 1156398: Pass ProcessOrientation.cpp's unused-by-default bools to mozilla::unused. r=mwu 2015-04-21 10:24:34 -07:00
Andrew Halberstadt
e4800c0dc5 Bug 1156781 - Pass --symbols-path into Mulet reftests, r=gerard-majax 2015-04-21 10:10:26 -04:00
Trevor Saunders
54c82431b4 bug 1155829 - move AccessibleWrap::GetMaiHyperlink to MaiAtkObject::GetAtkHyperlink r=surkov 2015-04-21 13:07:49 -04:00
Trevor Saunders
c05b5f732a bug 1155829 - declare MaiAtkObject in nsMai.h r=yzen
Next we will start adding methods to it that are used outside
AccessibleWrap.cpp.
2015-04-21 13:07:49 -04:00
Trevor Saunders
848de1ba81 bug 1155829 - add shutdown method to MaiAtkObject r=yzen 2015-04-21 13:07:48 -04:00
Trevor Saunders
f97767bd6c bug 1155829 - remove AccessibleWrap::SetMaiHyperlink r=surkov 2015-04-21 13:07:48 -04:00
Trevor Saunders
b2d197b8cf bug 1155829 - inline MaiHyperlink::GetAtkHyperlink r=surkov 2015-04-21 13:07:48 -04:00
Trevor Saunders
dbeb87f5d4 bug 1155829 - remove MaiHyperlink::Initialize r=surkov 2015-04-21 13:07:48 -04:00
Byron Campen [:bwc]
c4065db6bc Bug 1152093: Perform case-insensitive comparisons for codec types. r=jesup 2015-04-09 15:40:48 -07:00
Seth Fowler
653b5b1a85 Bug 1145439 (Part 2) - Make test_scroll_event_ordering.html wait for rAF to unthrottle. r=roc 2015-04-21 09:44:43 -07:00
Seth Fowler
19622d34b7 Bug 1145439 (Part 1) - Throttle requestAnimationFrame for non-visible iframes. r=mstange,mchang 2015-04-21 09:44:40 -07:00
Byron Campen [:bwc]
9fc4be676c Bug 1152137 - Part 2: Remove attributes that could not be initted properly instead of just freeing them. r=ekr 2015-04-08 16:18:39 -07:00
Byron Campen [:bwc]
81f55ba90c Bug 1152137 - Part 1: Test case. r=ekr 2015-04-08 16:18:00 -07:00
Nathan Froyd
69557e3734 Bug 1155760 - remove obsolete JAVA_{GEN_DIR,DIST_DIR,IFACES_PKG_NAME} definitions; r=nalexander
These definitions appear to have been added to support generating Java
interfaces from xpidl interface files.  Since we don't support doing
that anymore, we don't need these definitions, either.
2015-04-17 13:13:21 -04:00
Nathan Froyd
e767df415b Bug 1155738 - move xulrunner/examples/simple/Makefile.in to moz.build; r=mshal 2015-04-17 12:15:01 -04:00
travis
5963c2bcce Bug 1156268 - Put the 'didRestart' Intent extra in when restarting r=jchen 2015-04-21 10:55:54 -05:00
Andreas Tolfsen
c7bed7be9e Bug 1154681: Use static lookups in errors.py
r=jgraham
2015-04-21 12:26:39 +01:00
Geoff Brown
56eb730bb9 Bug 1133833 - Skip a few more troublesome tests on Android 4.3; r=trivial,test-only 2015-04-21 09:30:49 -06:00
Nicolas Silva
ba353fd7bd Bug 1155621 - Remove no-op gfx2DGlue conversion helpers. r=Bas 2015-04-21 17:22:30 +02:00
Nicolas Silva
51e181888b Bug 1155621 - Make nsIntRect and nsIntPoint typedefs of mozilla::gfx::IntRect and mozilla::gfx::IntPoint. r=Bas 2015-04-21 17:04:57 +02:00
Jon Coppeard
c9a954e9e1 Bug 1156317 - Change the onOutOfMemory() interface is make it harder to misuse r=terrence 2015-04-21 16:08:39 +01:00
Jon Coppeard
71a3e123b0 Bug 1155455 - Relax assertion to take account of breakpoints added during incremental sweeping r=terrence 2015-04-21 16:08:36 +01:00
Jonathan Kew
659f16da0b Bug 1141867 - patch 3 - Reftests for contiguous orthogonal floats. r=smontagu 2015-04-09 14:40:54 +01:00
Jonathan Kew
f833dbbd35 Bug 1141867 - patch 2 - If FloatMarginISize returns unconstrained, we need to do an early reflow on the orthogonal float to find out its real size. r=smontagu 2015-04-09 10:08:17 +01:00
Jonathan Kew
810009eecd Bug 1141867 - patch 1 - Use the proper writing mode to return the inline-size from FloatMarginISize. r=smontagu 2015-04-09 08:41:49 +01:00
Garvan Keeley
4d98a62a8f Bug 1155237 - Part 2, make upload service non-sticky. r=rnewman 2015-04-21 10:45:19 -04:00
Garvan Keeley
fd16d41cee Bug 1155237 - Part 1, remove contextless access to NetworkUtils, causes NPE. r=rnewman 2015-04-21 10:45:03 -04:00