Aryeh Gregor
a5d422d0dc
Bug 1153649 part 3 - More OwningNonNull improvements; r=bz
2015-04-19 15:28:50 +03:00
Aryeh Gregor
e6726b3179
Bug 1153649 part 1 - Improve usability of OwningNonNull; r=bz
2015-04-19 15:28:49 +03:00
Kit Cambridge
abb417a275
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-19 12:06:31 +02:00
Kit Cambridge
e3f6c6e501
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-19 12:06:21 +02:00
Kit Cambridge
efc183842c
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-19 12:06:11 +02:00
Kit Cambridge
b30b508557
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-19 12:06:04 +02:00
Ehsan Akhgari
a59f91a75d
Bug 1154679
- Part 2: Remove the usage of is_loosely from test_dragstart.html; r=Ms2ger
2015-04-18 19:10:48 -04:00
Ehsan Akhgari
8770eaec61
Bug 1154679
- Part 1: Remove the usage of is_loosely from test_domrequesthelper.xul; r=Ms2ger
2015-04-18 19:10:17 -04:00
Phil Ringnalda
afefb44917
Back out 2 changesets (bug 1152902) for Gu bustage
...
CLOSED TREE
Backed out changeset 462f2f668259 (bug 1152902)
Backed out changeset 1c5ed66652c3 (bug 1152902)
2015-04-18 15:30:17 -07:00
Boris Zbarsky
0c3477aecc
Bug 1155793 part 2. Split apart the concepts of movability and eliminatability in jitinfo, since some things are not movable but are eliminatable. r=efaust.
2015-04-17 22:01:02 -04:00
Boris Zbarsky
5a219cc77a
Bug 1155793 part 1. Make it possible to safely change the number of bits in the slotIndex field in jitinfo. r=efaust
2015-04-17 22:01:02 -04:00
Boris Zbarsky
f028340efb
Bug 1152902 part 2. Add a fast path for the case when a Promise is resolved with another Promise. r=nsm
2015-04-17 22:01:02 -04:00
Boris Zbarsky
9708bf2310
Bug 1152902 part 1. Add a way to flag a method in webidl as being identity-testable, so we'll expose such an identity test from bindings to other C++ code. r=peterv
2015-04-17 22:01:02 -04:00
Boris Zbarsky
2501463656
Bug 1153517. Fix mozGetDataAt to return null when it should, like it used to. r=peterv
2015-04-17 22:01:01 -04:00
Jim Blandy
a52b425862
Bug 1152577: Add 'aReason' argument to AutoEntryScript constructor, and provide plausible names for its instantiations. r=bholley
2015-04-08 21:23:48 -04:00
Wes Kocher
9887c40fa3
Bug 1154813 - Typo fix that broke builds CLOSED TREE
2015-04-17 16:06:54 -07:00
Nikhil Marathe
656362d19b
Bug 1137287 - Part 0: Test for synthesized redirects. r=jdm
2015-02-26 11:53:51 -05:00
Josh Matthews
042f351f7d
Bug 1154813 - Enable test_fetch_event.html on linux. r=nsm
2015-04-17 16:11:10 -04:00
Ryan VanderMeulen
0a6bbd4dbd
Merge m-c to inbound. a=merge
...
CLOSED TREE
2015-04-17 16:11:58 -04:00
Ryan VanderMeulen
84f4b8730a
Merge inbound to m-c. a=merge
2015-04-17 15:44:37 -04:00
Ehsan Akhgari
eb49af05d5
Bug 1112469 follow-up: Disable the test everywhere for now since it seems that bug 1151974 hits more than just Windows
...
Landed on a CLOSED TREE
2015-04-17 15:12:11 -04:00
L. David Baron
ceb3e25ad7
Bug 1150351 - Reënable test_deferred_start.html on Linux, since the bug for which we disabled it has disappeared.
2015-04-17 09:13:13 -07:00
Ehsan Akhgari
1047133f6b
Bug 1155477 follow-up: Fix nsINode::ChildNodes()
...
Landed on a CLOSED TREE to fix bustage
2015-04-17 11:49:59 -04:00
Thomas Zimmermann
cd600c61d0
Bug 1155082: Share BluetoothUUID.{cpp,h} between Bluetooth v1 and v2, r=btian
...
BluetoothUUID of v1 and v2 are the same, except for bug 1015819 in
v1. So this patch moves the v1 variant to a shared location and removes
the v2 variant completely.
2015-04-17 17:45:05 +02:00
Andrew Osmond
4a231b2429
Bug 1139721 - Fix camera memory leaks for onfacedetected events, failed initializations and capabilities. r=mikeh
2015-04-17 07:09:54 -04:00
Gordon Klaus
acf212ecff
Bug 1155140 - Removed mentions of deleted parameters from test helper documentation. r=mt
2015-04-16 04:56:00 -04:00
Ehsan Akhgari
57f5e77ec5
Bug 1155486 - Convert nsDOMAttributeMap::mLocalName to void* to ensure that we can never dereference it; r=baku
2015-04-17 11:15:15 -04:00
Ehsan Akhgari
6024840a0d
Bug 1155477 - Convert nsINode::Slots::mChildNodes to an nsRefPtr; r=baku
...
MSVC 7 is no longer supported, so this can now be an nsRefPtr.
2015-04-17 11:15:13 -04:00
Ehsan Akhgari
2fd728cf7a
Bug 1155475 - Mark nsINode::Slots::mWeakReference as MOZ_NON_OWNING_REF; r=baku
2015-04-17 11:14:49 -04:00
Ehsan Akhgari
6cd33f82dc
Bug 1155471 - Mark some members of nsNodeInfoManager as MOZ_NON_OWNING_REF; r=baku
2015-04-17 11:14:48 -04:00
Ehsan Akhgari
88970ae83c
Bug 1155469 - Mark nsTextEditorState::mTextCtrlElement as MOZ_NON_OWNING_REF; r=baku
2015-04-17 11:14:46 -04:00
Luke Wagner
f42006ae5a
Bug 1155726 - OdinMonkey: add new cache failure code for when storage initialization fails (r=janv)
2015-04-17 13:17:30 -05:00
Ehsan Akhgari
c4500895b2
Bug 1112469 - Part 5: Actually test the code path that handles the idle-daily message; r=nsm
...
This is much better than testing just the
nsIServiceWorkerManager::UpdateAllRegistrations API.
2015-04-17 14:06:18 -04:00
Ehsan Akhgari
4dd6b5c6e5
Bug 1112469 - Part 4: Disable periodic updates of service workers when running tests; r=nsm
...
This is meant to avoid random issues with Gecko suddenly kicking off the
periodic updates in the middle of our test runs. This uses a hidden pref
intentionally since nobody should be able to discover this pref by going
to about:config.
2015-04-17 14:06:02 -04:00
Ehsan Akhgari
110c047279
Bug 1112469 - Part 3: Add a unit test for ensuring that the nsIServiceWorkerManager.updateAllRegistrations() API works correctly; r=nsm
2015-04-17 14:05:05 -04:00
Ehsan Akhgari
0e17837a2f
Bug 1112469 - Part 2: Update the service workers in the parent and all child processes every day; r=nsm
2015-04-17 14:01:21 -04:00
Ehsan Akhgari
12b9e4e3cd
Bug 1112469 - Part 1: Implement an XPCOM service responsible to trigger daily updates of service workers; r=nsm
2015-04-17 13:59:49 -04:00
Martin Thomson
5a65187064
Bug 1152538 - Removing RTCIdentityAssertion interface code, r=jib
2015-04-16 09:52:36 -07:00
Martin Thomson
717ffae625
Bug 1152538 - RTCIdentityAssertion is a dictionary, r=smaug
2015-04-16 09:55:18 -07:00
Bobby Holley
8d42fa5db9
Bug 1154802 - Implement tail dispatch for the main thread. r=jww
2015-04-17 09:26:06 -07:00
Bobby Holley
a0cae3db3c
Bug 1154802 - Tighten up some existing assertions. r=jww
...
This is a followup from bug 1154805 comment 13.
2015-04-17 09:26:06 -07:00
Bobby Holley
f86a6125fb
Bug 1154802 - Assert against potential deadlocks between synchronous MediaTaskQueue operations and tail dispatchers. r=jww
2015-04-17 09:26:05 -07:00
Bobby Holley
b9b1edd4c6
Bug 1154802 - Fix racey test_error_in_video_document.html. r=jww
...
This test assumes that the decoding machinery will have completed its work one
event-loop-round-trip after the document loads (see the executeSoon call), which
is a totally bogus assumption.
2015-04-17 09:26:05 -07:00
Boris Zbarsky
e23b0186b2
Bug 1129239. Don't require 'optional' keyword on trailing dictionary arguments if the dictionary has a required member. r=smaug
2015-04-17 12:13:25 -04:00
Carsten "Tomcat" Book
42db59fa90
Backed out changeset 59c97d681f50 (bug 1021499) for suspicion of causing perma R19 test failures
2015-04-17 13:14:54 +02:00
Jacek Caban
66f5f742df
Bug 1154738 - Fixed WMFUtils.cpp compilation on mingw. r=mattwoodrow
2015-04-17 12:26:29 +02:00
Morris Tseng
25c5a92bdd
Bug 1021499 - Skip test if touch caret is enabled. r=roc
2015-03-23 22:45:00 +01:00
Daniel Holbert
201458a118
Bug 1155387: Add missing #include for imgIContainer.h to ContentParent.cpp. r=enndeakin
2015-04-16 18:27:13 -07:00
Daniel Holbert
5105df46bd
Bug 1152169 followup: Mark FirstRevisionIdCallback methods Run() and HandleEvent() as 'override'. rs=ehsan
2015-04-16 13:42:28 -07:00
Matt Woodrow
f902912757
Bug 1154536 - Disable 4k H264 video for vista since it performs poorly. r=ajones
2015-04-17 12:42:09 +12:00