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

276 Коммитов

Автор SHA1 Сообщение Дата
Yoshi Huang 49574c4bef Bug 1058490 - B2G NFC: Add a sessionHelper in Chrome Process. r=dimi
From ac82ed58d645749aafbeb94741c87d27b4eed558 Mon Sep 17 00:00:00 2001
---
 dom/nfc/gonk/Nfc.js | 131 ++++++++++++++++++++++++++++++++++------------------
 1 file changed, 87 insertions(+), 44 deletions(-)
2014-09-23 18:33:08 +08:00
Yoshi Huang 23c27b0f0b Bug 1066570 - b2g NFC uninitialized memory bug. r=dimi
From 1ffa3080ca8b3ac70564734cd02cae72fddf730c Mon Sep 17 00:00:00 2001
---
 dom/nfc/gonk/NfcMessageHandler.cpp | 3 +++
 1 file changed, 3 insertions(+)
2014-09-23 12:50:21 +08:00
dlee cb5322cb10 Bug 1061512 - [NFC] nfcd should notify gecko about NDEF information. r=allstars.chh 2014-09-23 18:53:41 +08:00
Krzysztof Mioduszewski 3397687a7e Bug 1063525 - Remove getEventType method from nsNfc.js. r=allstars.chh 2014-09-09 05:56:00 -04:00
Garner Lee 808e8f9b50 Bug 1062672 - B2G NFC: Typo for 'ESE' in HCI Event origin. r=allstars.chh 2014-09-08 15:15:00 -04:00
Yoshi Huang 048eaf951c Bug 1007724 - Part 2: marionette tests. r=dimi
From 84c328a6b61db42daa196f18e0f4113e1b74b2e8 Mon Sep 17 00:00:00 2001
---
 dom/nfc/tests/marionette/test_ndef.js | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
2014-08-29 14:28:12 +08:00
Yoshi Huang f52fe75bec Bug 1007724 - Part 1: tnf validation. r=smaug
From 5289124d435e3eed280c8a1728b55ab005ac0aae Mon Sep 17 00:00:00 2001
---
 dom/nfc/MozNDEFRecord.cpp | 40 ++++++++++++++++++++++++++++++++++++++++
 dom/nfc/MozNDEFRecord.h   |  3 +++
 2 files changed, 43 insertions(+)
2014-08-28 16:44:48 +08:00
Yoshi Huang 4108000231 Bug 1055560 - Part 3: Update tests. r=dimi
From 29bd27dc7ebcbc0ec4cce0681fa956eed7fad6ea Mon Sep 17 00:00:00 2001
---
 dom/nfc/tests/marionette/head.js                    | 21 +++++++++++++++++----
 dom/nfc/tests/marionette/test_ndef.js               |  2 +-
 dom/nfc/tests/marionette/test_nfc_error_messages.js |  2 +-
 3 files changed, 19 insertions(+), 6 deletions(-)
2014-08-21 12:03:13 +08:00
Yoshi Huang 76d367acf0 Bug 1055560 - Part 2: NfcService changes. r=smaug 2014-08-20 19:50:29 +08:00
Yoshi Huang b169925da4 Bug 1055560 - Part 1: DOM Change. r=smaug 2014-08-20 17:35:18 +08:00
Thomas Zimmermann 8a82828754 Bug 1059813: Use getter/setter methods of |UnixSocketRawData| in NFC helpers, r=allstars.chh 2014-09-08 11:44:01 +02:00
Krzysztof Mioduszewski 35c6d11acf Bug 1061827 - Nfc.js serializes all the messages, even in release mode. r=allstars.chh 2014-09-05 00:21:00 -04:00
Yoshi Huang 7ec45ecc3a Bug 1053732 - Part 3: Update Impl and tests. r=dimi 2014-08-19 17:40:07 +08:00
Yoshi Huang 4caec34814 Bug 1053732 - Part 2: update NfcService. r=smaug 2014-08-18 17:31:18 +08:00
Yoshi Huang a3b1a52aa8 Bug 1053732 - Part 1: DOM changes. r=smaug 2014-08-18 14:56:12 +08:00
Yoshi Huang ef52bc97f6 Bug 1055960 - Part 3: fix tests cases. r=dimi
From d6d188a78006b291f7cdd8b4a910a9b5a39b7da2 Mon Sep 17 00:00:00 2001
---
 .../tests/marionette/test_nfc_error_messages.js    | 36 +++++-----------------
 1 file changed, 8 insertions(+), 28 deletions(-)
2014-09-02 19:27:56 +08:00
Yoshi Huang a71be84fb4 Bug 1055960 - Part 2: Add removeTarget. r=dimi
From eab988a41dcd2514c8f80703588f379e346de2cf Mon Sep 17 00:00:00 2001
---
 dom/nfc/gonk/Nfc.js | 9 +++++++++
 1 file changed, 9 insertions(+)
2014-09-01 13:59:12 +08:00
Yoshi Huang f0bee96d3b Bug 1055960 - Part 1: fix onpeerlost. r=dimi 2014-08-29 16:44:16 +08:00
Yoshi Huang 716ff2841b Bug 1059168 - B2G NFC: Make sure the techList and origin string won't overflow. r=smaug 2014-09-03 18:09:43 +08:00
Yoshi Huang feef0a3ee5 Bug 1059102 - Part 3: s/json/data/g. r=dimi 2014-08-27 16:32:22 +08:00
Yoshi Huang 482112559a Bug 1059102 - Part 2: rename msg[name] to message. r=dimi
From 31016145026b17657dc8d2e22f2953b35204b0fc Mon Sep 17 00:00:00 2001
---
 dom/nfc/gonk/Nfc.js | 110 ++++++++++++++++++++++++++--------------------------
 1 file changed, 55 insertions(+), 55 deletions(-)
2014-08-27 16:31:06 +08:00
Yoshi Huang b9abd83af2 Bug 1059102 - Part 1: add logging. r=dimi
From 7a4444b112e42c58b1afdf439663de47e4ab43ac Mon Sep 17 00:00:00 2001
---
 dom/nfc/gonk/Nfc.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
2014-08-27 16:25:33 +08:00
Garner Lee d1623b2aa3 Bug 979767 - Part 2: NFC and Gonk. Supporting web application triggering based on HCI event EVT_TRANSACTION. r=allstars.chh r=smaug 2014-08-27 14:21:00 +02:00
Garner Lee d6f848f018 Bug 979767 - Part 1: Messages and Permissions. Supporting web application triggering based on HCI event EVT_TRANSACTION. r=fabrice 2014-08-27 14:41:00 +02:00
Yoshi Huang 63adb59ffb Bug 964194 - B2G NFC: Remove NFCTag.getDetailsNDEF(). r=smaug, r=dimi 2014-08-22 01:51:00 -04:00
Yoshi Huang bed2b558ad Bug 963541 - B2G NFC: Remove NFCTag.connect and NFCTag.close. r=smaug, r=dimi 2014-08-27 05:13:00 -04:00
Yoshi Huang 9325d0b564 Bug 1057258 - B2G NFC: Remove unused consts in nfc_consts.js. r=dimi
--HG--
extra : rebase_source : 0f81971a32cef8448d33b23cd55108405d7dbc9d
2014-08-22 01:09:00 -04:00
Aryeh Gregor 60fbc97021 Bug 1053190 - Reduce unnecessary inclusion of nsINode.h in headers; r=ehsan 2014-08-18 17:44:50 +03:00
Yoshi Huang e2197f0523 Bug 1054217 - Part 4: Refine Nfc.receiveMessage. r=dimi
From 68d1ccd5d2e0e0f85803e56741ae17ff89c4a2a7 Mon Sep 17 00:00:00 2001
---
 dom/nfc/gonk/Nfc.js | 61 ++++++++++++++++++++++++-----------------------------
 1 file changed, 28 insertions(+), 33 deletions(-)
2014-08-15 17:25:57 +08:00
Yoshi Huang 6b4aee17ad Bug 1054217 - part 3: rename setSessionToken to checkSessionToken. r=dimi 2014-08-18 17:43:28 +08:00
Yoshi Huang d47a03867e Bug 1054217 - part 2: remove targetsBySessionTokens. r=dimi
From 07ca796ae9e1d8f98d8282c2bc4f68046d311fde Mon Sep 17 00:00:00 2001
---
 dom/nfc/gonk/Nfc.js        | 124 ++++++++++-----------------------------------
 dom/nfc/gonk/nfc_consts.js |   2 +
 2 files changed, 29 insertions(+), 97 deletions(-)
2014-08-15 16:29:55 +08:00
Yoshi Huang 98651a7475 Bug 1054217 - Part 1: Add onPeerLost in gMessageManager. r=dimi
From 1e81ab61d3ff409817415b5e8b610f77461836f8 Mon Sep 17 00:00:00 2001
---
 dom/nfc/gonk/Nfc.js | 28 ++++++++++++++++------------
 1 file changed, 16 insertions(+), 12 deletions(-)
2014-08-15 11:31:52 +08:00
Yoshi Huang 9c1a94bdde Bug 1054119 - B2G NFC: Don't process data from nfcd if error. r=dimi 2014-08-13 18:12:27 +08:00
Ed Morley de4909b31e Merge latest green b2g-inbound changeset and mozilla-central; a=merge 2014-08-15 16:54:17 +01:00
Yoshi Huang 989e862d77 Bug 1053116 - Part 2: add error code in NfcGonkMessages.h. r=dimi 2014-08-15 10:04:51 +08:00
Yoshi Huang b6f73abed2 Bug 1053116 - Part 1: update error code in nfc_consts.js. r=dimi 2014-08-15 10:02:01 +08:00
Yoshi Huang bc8ecbc00b Bug 1046554 - Part 2: update marionette tests. r=dimi
From d7dafea4dcff00edbe40ee0880ca71b804893622 Mon Sep 17 00:00:00 2001
---
 .../tests/marionette/test_nfc_error_messages.js    | 43 +---------------------
 dom/nfc/tests/marionette/test_nfc_peer.js          | 20 ++++++++--
 2 files changed, 17 insertions(+), 46 deletions(-)
2014-08-11 17:03:52 +08:00
Yoshi Huang 4962b32ea9 Bug 1046554 - Part 1: B2G NFC: pass NFCPeerEvent in onpeerready. r=smaug, dimi 2014-07-31 17:11:04 +08:00
Ed Morley 0fb6b8b108 Backed out changeset 52fc270e59ad (bug 1051754) for intermittent test failures 2014-08-14 17:40:04 +01:00
Garner Lee 1bf030cd76 Bug 1050577: [NFC] Techlost not clearing peer appId correctly. r=allstars.chh 2014-08-11 16:03:35 -07:00
Yoshi Huang 452b319d48 Bug 1052311 - B2G NFC: remove warnings from Nfc.js and NfcContentHelper.js. r=dimi 2014-08-12 17:04:51 +08:00
Yoshi Huang 5bd325bbab Bug 1051754 - B2G NFC: Add marionette test for peer.sendFile. r=dimi
From 3cfb06874b6e838ad76e1817c7b69df81e0f802b Mon Sep 17 00:00:00 2001
---
 dom/nfc/tests/marionette/head.js                   | 20 +++++++--
 dom/nfc/tests/marionette/manifest.ini              |  1 +
 dom/nfc/tests/marionette/test_nfc_peer_sendFile.js | 49 ++++++++++++++++++++++
 3 files changed, 67 insertions(+), 3 deletions(-)
 create mode 100644 dom/nfc/tests/marionette/test_nfc_peer_sendFile.js
2014-08-11 18:26:52 +08:00
Yoshi Huang d7be850c3f Bug 1051738 - B2G NFC: typo in getNFCPeer. r=dimi
From bea6af520beedcc4547ce5c45c4d78faa63d5812 Mon Sep 17 00:00:00 2001
---
 dom/nfc/nsNfc.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2014-08-11 17:19:11 +08:00
Yoshi Huang 74cd064ae6 Bug 1049351 - [NFC] fix testPeerShouldThrow. r=dimi 2014-08-11 15:45:35 +08:00
Yoshi Huang 2d0be37140 Bug 1050692 - [NFC] B2G NFC: peer.sendNDEF always return Bad Session ID. r=dimi 2014-08-08 17:22:28 +08:00
Krzysztof Mioduszewski a896da3c6a Bug 1042651 - B2G NFC: getNFCPeer and getNFCTag should not throw error. r=smaug, r=allstars.chh, a=me 2014-08-05 05:06:00 -04:00
Ed Morley f822655e4e Backed out changeset b2ef6a444640 (bug 1046554) since the gaia part has been reverted 2014-08-06 16:58:31 +01:00
Yoshi Huang 83198dd9c6 Bug 1046554 - B2G NFC: pass NFCPeerEvent in onpeerready. r=smaug, dimi 2014-07-31 17:11:04 +08:00
Yoshi Huang 66afb11fa3 Bug 933141 - Move NFC files out of system/gonk. r=gps, dimi
--HG--
rename : dom/system/gonk/NfcContentHelper.js => dom/nfc/NfcContentHelper.js
rename : dom/system/gonk/Nfc.js => dom/nfc/gonk/Nfc.js
rename : dom/system/gonk/Nfc.manifest => dom/nfc/gonk/Nfc.manifest
rename : dom/system/gonk/NfcGonkMessage.h => dom/nfc/gonk/NfcGonkMessage.h
rename : dom/system/gonk/NfcMessageHandler.cpp => dom/nfc/gonk/NfcMessageHandler.cpp
rename : dom/system/gonk/NfcMessageHandler.h => dom/nfc/gonk/NfcMessageHandler.h
rename : dom/system/gonk/NfcOptions.h => dom/nfc/gonk/NfcOptions.h
rename : dom/system/gonk/NfcService.cpp => dom/nfc/gonk/NfcService.cpp
rename : dom/system/gonk/NfcService.h => dom/nfc/gonk/NfcService.h
rename : dom/system/gonk/nfc_consts.js => dom/nfc/gonk/nfc_consts.js
rename : dom/system/gonk/nsINfcService.idl => dom/nfc/gonk/nsINfcService.idl
rename : dom/system/gonk/nsINfcContentHelper.idl => dom/nfc/nsINfcContentHelper.idl
2014-08-01 17:23:14 +08:00
Yoshi Huang be0bc676de Bug 1043186 - Part 4: Add throw in MozNFCPeer. r=smaug, dimi 2014-07-29 11:36:58 +08:00
Yoshi Huang c9a2372387 Bug 1043186 - Part 3: return cached NFCPeer if session matches. 2014-07-25 18:03:37 +08:00
Yoshi Huang b5aed2d79f Bug 1043186 - Part 2: onpeerlost should be fired to correct target. r=dimi 2014-07-24 18:11:42 +08:00
Yoshi Huang 8b0b298d5b Bug 1043186 - Part 1: Add a nsINfcPeerEventListener. r=dimi 2014-07-24 12:16:02 +08:00
Yoshi Huang 64ef87b0e7 Bug 933588 - Part 3: update test cases. r=dimi 2014-07-14 18:57:12 +08:00
Yoshi Huang f80259af1f Bug 1038617 - B2G NFC: can't access dead object thrown from nsNfc.js. r=smaug 2014-07-21 15:43:45 +08:00
Ms2ger d8c0b17d7d Bug 1043963 - Collapse test-only moz.build files under dom/ into ancestor moz.build files; r=ted
There is very little benefit to having another layer of moz.build files, and
removing them will speed up the build a minimal amount. It also paves the way
for removing TEST_DIRS, which could simplify the build system somewhat.
2014-07-26 08:17:24 +02:00
Mike Hommey bc5d6801bb Bug 1041860 - Avoid setting FINAL_LIBRARY to libraries that further use a FINAL_LIBRARY. r=mshal 2014-07-23 08:37:51 +09:00
Dimi Lee 0018f4f851 Bug 1040619 - [NFC] javascript error "emulator.activateRE is not a function" when run NFC testcase. r=allstars.chh 2014-07-18 15:22:46 +08:00
Thomas Zimmermann 18e6c62799 Bug 1034660 - Exchange NDEF's PAYLOAD and ID fields in emulator interface. r=dlee
The emulator used PAYLOAD and ID fields of NDEF records in an incorrect
order. The fix makes the command-line interface incompatible with the
current test cases. This patch adapts the test cases by putting ID before
PAYLOAD.
2014-07-09 06:27:00 -04:00
Dimi Lee b82961efc1 Bug 1035606 - [NFC] Testcase cleanup. r=tzimmermann 2014-07-10 11:33:10 +08:00
Krzysztof Mioduszewski 512b42a2a4 Bug 1033218 - [NFC] use emulator command triggering tech-lost. r=allstars.chh 2014-07-07 20:40:01 +02:00
Dimi Lee 46dbe036a0 Bug 997576 - [NFC] Testcase for reading empty NFC tag. r=tzimmermann 2014-07-08 11:56:57 +08:00
Yoshi Huang 222c23bd78 Bug 1034474 - B2G NFC: onpeerlost is never called. r=dimi
From 6342cf34f7493711317b613a8e30ef6badabcfd1 Mon Sep 17 00:00:00 2001
---
 dom/nfc/tests/marionette/test_nfc_peer.js | 10 +++++++++-
 dom/system/gonk/Nfc.js                    |  4 ++--
 2 files changed, 11 insertions(+), 3 deletions(-)
2014-07-07 11:56:29 +08:00
Dimi Lee 4328bdc277 Bug 1035041 - [NFC] Add lost head.js for testcase. r=tzimmermann 2014-07-07 10:44:29 +08:00
Dimi Lee 64772d190b Bug 1023079 - [NFC]Testcae for triggering tech-lost. r=tzimmermann 2014-07-04 10:21:18 +08:00
Dimi Lee b0024232ac Bug 1028037 - NFC testcase failure with error message 'Accessing TypedArray data over Xrays is slow'. r=bholley 2014-07-03 14:55:13 +08:00
Dimi Lee 66718f13b7 Bug 1027479 - Testcase for reading NDEF data from type 4 tag. r=tzimmermann 2014-07-02 14:23:02 +08:00
Dimi Lee 7e1bb66732 Bug 1023683 - Testcase for reading NDEF data from type 3 tag. r=tzimmermann 2014-07-01 14:44:39 +08:00
Dimi Lee def0bdbf3c Bug 1028046 - NFC testcase failure with error message "setTagData undefined". r=yoshi 2014-06-20 16:41:07 +08:00
Thomas Zimmermann 2ea8b0088b Bug 980851 - Add Marionette test case for receiving NDEF message on P2P mode. r=dlee
This patch adds a test for receiving an NDEF message in P2P mode. The
content of the message is known beforehand and validated against
the reference message.
2014-06-17 03:52:00 -04:00
Thomas Zimmermann 2412dba388 Bug 980851 - Move NFC emulator helpers to head.js. r=dlee
The functions |activateRE|, |notifyDiscoverRE|, and |setTagData| are
of general usefulness. They are now defined in the object |emulator|.
Callers have been adapted.
2014-06-10 02:21:00 -04:00
Carsten "Tomcat" Book 1526ee8c2b merge b2g-inbound to mozilla-central a=merge 2014-06-17 14:23:57 +02:00
Ben Kelly 8bf2933ed2 Bug 1025973 - Part 1: Rename GlobalObject::GetContext() to Context(). r=bz 2014-06-16 14:08:00 -04:00
Krzysztof Mioduszewski b1da12c619 Bug 1019668 - Part 2: Re-enable missing marionette tests (error_messages, checkP2PRegistartion). r=allstars.chh 2014-06-09 05:34:00 -04:00
Krzysztof Mioduszewski ffc1fb7944 Bug 1019668 - Part 1: Don't add errorMsg if the status property is undefined. r=allstars.chh 2014-06-16 07:54:00 -04:00
Boris Zbarsky dfe8c38082 Bug 1009675 part 3. Return WebIDL 'object' values as handles. r=peterv 2014-06-11 16:26:52 -04:00
Gijs Kruitbosch c30e9aef10 Bug 1022003 - remove ObjectWrapper.jsm, r=bholley,gwagner
--HG--
extra : rebase_source : cdafaf22aaddbb04519a9bc1099b6a10f7b6c886
2014-06-10 16:15:42 +01:00
Ed Morley ab6946666e Backed out changeset 3e7908638c2a (bug 1019668) for timeouts during test_nfc_error_messages.js 2014-06-10 13:03:57 +01:00
Ed Morley 9d453197ec Backed out changeset 9d7ae79baf16 (bug 1019668) 2014-06-10 13:03:39 +01:00
Dimi Lee aaedba0a15 Bug 1016777 - Testcase for reading NDEF data from type 1 tag.
From 4bd160a590ab40916b83eeb48eba7dca0b3f7313 Mon Sep 17 00:00:00 2001
 r=tzimmermann
---
 dom/nfc/tests/marionette/test_nfc_tag.js |   20 +++++++++++++++-----
 1 file changed, 15 insertions(+), 5 deletions(-)
2014-06-10 08:52:20 +02:00
Krzysztof Mioduszewski 83678209fb Bug 1019668 - Part 2: Reenabling missing marionette tests (error_messages, checkP2PRegistartion), r=allstars.chh 2014-06-09 14:21:53 +02:00
Krzysztof Mioduszewski d409ae1c10 Bug 1019668 - Part 1: Not adding errorMsg if status property undefined, test cases for changes, r=allstars.chh 2014-06-05 18:53:45 +02:00
Krzysztof Mioduszewski c4e5355de1 Bug 1019436 - NFC: Assertion failed: (rfst != NUMBER_OF_NFC_RFSTS), function nfc_create_rf_discovery_ntf, r=dlee 2014-06-09 11:49:12 +02:00
Krzysztof Mioduszewski 50eb68dffc Bug 1022534 - [NFC] Fix marionette web-api test test_nfc_tag.js to use Promise in toggleNFC, r=allstars.chh 2014-06-09 11:25:40 +02:00
Dimi Lee 2aa12e1428 Bug 1018068 - [NFC] NFC sharing does not work. r=Waldo 2014-06-03 19:05:46 +08:00
Siddartha Pothapragada f1c5d13747 Bug 976402 - Part 2 - Throw an error when sessionToken is incorrect while using the interfaces getNFCTag() and getNFCPeer(). r=smaug 2014-05-27 15:12:00 +02:00
Siddartha Pothapragada 2486b27106 Bug 976402 - Part 3 - Add marionette test case to validate access to MozNfcPeer interface with invalid sessionToken. r=allstars.chh 2014-05-27 11:17:00 +02:00
Dimi Lee 76923331d3 Bug 993836 - Testcase for reading NDEF data from type 2 tag. r=tzimmermann 2014-05-27 14:53:45 +08:00
Krzysztof Mioduszewski dfdb406279 Bug 1012620 - [NFC] toggleNFC in Marionette tests should use Promise. r=allstars.chh 2014-05-26 17:02:24 +02:00
Krzysztof Mioduszewski 9040fff936 Bug 933595 - Part 3: Marionette tests - error messages, mozNfc.checkP2PRegistration. r=allstars.chh 2014-05-23 09:04:40 +02:00
Krzysztof Mioduszewski f796a61c75 Bug 933595 - Part 2: Adding promise to toggleNFC, adding enableRE0. r=allstars.chh 2014-05-22 16:33:45 +02:00
Thomas Zimmermann d89268d47e Bug 1008854: Move NFC NDEF helpers to shared test code, r=dlee
There are helper functions for parsing and comparing NDEF messages
in test_nfc_peer_sendndef.js. This patch moves these functions to
the shared code for NFC Marionette tests to make them available for
other tests as well.
2014-05-12 11:45:04 +02:00
Thomas Zimmermann c44bbcbc73 Bug 1000935: Added Marionette test for NfcPeer.sendNDEF, r=dlee 2014-05-12 15:19:13 +08:00
Thomas Zimmermann 089c2f23cb Bug 1000935: Added NDEF helpers for NFC test cases. r=vicamo 2014-05-12 15:19:08 +08:00
Siddartha Pothapragada b3f80649a2 Bug 996426 - Re-enable nfc marionette test cases that talk to emulator. r=vicamo 2014-05-08 21:08:55 +08:00
Siddartha Pothapragada 66fd620adf Bug 996426 - Rename emulator command in marionette tests from 'nfc ntf' to 'nfc nci'. r=tzimmermann,vicamo
This change also disables nfc marionette testcases  that talk to the emulator.
2014-05-07 10:37:09 +08:00
Siddartha Pothapragada 7874282e49 Bug 959059 - B2G NFC: Marionette test to check P2P registration for an incorrect manifest Url. r=allstars.chh 2014-04-30 10:17:00 +02:00
Yoshi Huang cae3ce10c8 Bug 987596 - B2G NFC: Marionette tests for onpeerready. r=dimi
From bfece1daa040d5e7e4ff965adea343831b2484c4 Mon Sep 17 00:00:00 2001
---
 dom/nfc/tests/marionette/head.js                   |  5 +-
 dom/nfc/tests/marionette/manifest.ini              |  1 +
 dom/nfc/tests/marionette/test_nfc_enabled.js       |  1 -
 .../marionette/test_nfc_manager_tech_discovered.js |  5 +-
 dom/nfc/tests/marionette/test_nfc_peer.js          | 64 ++++++++++++++++++++++
 5 files changed, 70 insertions(+), 6 deletions(-)
 create mode 100644 dom/nfc/tests/marionette/test_nfc_peer.js
2014-04-25 19:22:09 +08:00
Dimi Lee d4692925bb Bug 996452 - [NFC] Add emulator rf_discover test case. r=tzimmermann 2014-04-23 18:32:02 +08:00
"allstars.chh" a59c93afe9 Bug 970263 - B2G NFC: Enable NFC when running NFC marionette tests. r=dimi 2014-04-15 17:19:14 +08:00
"allstars.chh" db3b460240 Bug 970251 - Part 3: Marionette tests. r=dimi 2014-04-15 16:21:49 +08:00
"allstars.chh" ce415f05d8 Bug 970251 - Part 2: Impl. r=dimi
From e1c730487df90a5edfe416be9b9219da02652be3 Mon Sep 17 00:00:00 2001
---
 dom/nfc/nsNfc.js                        |   17 +++++++++--
 dom/system/gonk/Nfc.js                  |   35 ++++++++++++++++++++--
 dom/system/gonk/NfcContentHelper.js     |   48 ++++++++++++++++++++++++++++++-
 dom/system/gonk/nsINfcContentHelper.idl |   17 ++++++++++-
 4 files changed, 111 insertions(+), 6 deletions(-)
2014-04-15 14:47:42 +08:00
Siddartha Pothapragada 7be16b31a7 Bug 964693 - Do not perform slice on blob as slice does not retain metadata 'file'. r=smaug 2014-04-09 16:38:53 -07:00
Boris Zbarsky 79dab91ff6 Bug 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley
This patch was mostly generated with the following command:

find . -name "*.h" -o -name "*.cpp" | xargs sed -e '/WrapObject(JSContext/ {; N; s/\(WrapObject(JSContext *\* *a\{0,1\}[Cc]x\),\n\{0,1\} *JS::Handle<JSObject\*> a\{0,1\}[sS]cope/\1/ ; }' -i ""

and then reverting the changes that made to
dom/bindings/BindingUtils.h, since those WrapObject methods are not
the ones we're trying to change here, plus a bunch of manual fixups
for cases that this command did not catch (including all the callsites
of WrapObject()).
2014-04-08 18:27:18 -04:00
Boris Zbarsky d4bd64ee2c Bug 991742 part 6. Remove the "aScope" argument of binding Wrap() methods. r=bholley
This patch was mostly generated with this command:

find . -name "*.h" -o -name "*.cpp" | xargs sed -e 's/Binding::Wrap(aCx, aScope, this/Binding::Wrap(aCx, this/' -e 's/Binding_workers::Wrap(aCx, aScope, this/Binding_workers::Wrap(aCx, this/' -e 's/Binding::Wrap(cx, scope, this/Binding::Wrap(cx, this/' -i ""

plus a few manual fixes to dom/bindings/Codegen.py, js/xpconnect/src/event_impl_gen.py, and a few C++ files that were not caught in the search-and-replace above.
2014-04-08 18:27:17 -04:00
"allstars.chh" 37a87bf5c7 Bug 960510 - Part 2: marionette test for MozNDEFRecord. r=dimi, kyle 2014-02-17 11:10:26 +08:00
"allstars.chh" 28cc482bb8 Bug 960510 - Part 1: Make type, id and payload optional. r=khuey
From 4ac0853ddabfadb99bfcd037d3831904d8353fbf Mon Sep 17 00:00:00 2001
---
 dom/nfc/MozNDEFRecord.cpp       |   26 +++++++++++++++++++-------
 dom/nfc/MozNDEFRecord.h         |   36 +++++++++++++++++++++++++-----------
 dom/webidl/MozNDEFRecord.webidl |    8 ++++----
 3 files changed, 48 insertions(+), 22 deletions(-)
2014-02-20 15:08:46 +08:00
Thomas Zimmermann 0322bc0910 Bug 935525: Added Marionette test for nfc-manager-tech-discovered, r=vyang 2013-11-13 13:23:20 +01:00
Thomas Zimmermann de8d2180ec Bug 935525: Added Marionette test for turning NFC on and off, r=vyang 2013-11-06 13:00:25 +01:00
Thomas Zimmermann 3724e77f2c Bug 935525: Added NFC test infrastructure to build scripts, r=vyang,jgriffin 2013-11-06 12:59:41 +01:00
Kyle Huey (khuey@mozilla.com) d94304852d Bug 968742 - B2G NFC: Assertion failure: !aGCThing. r=allstars.chh 2014-02-12 17:21:09 +08:00
Garner Lee 625122c983 Bug 964186 - Rename MozNdefRecord to MozNDEFRecord. r=smaug, sr=sicking
--HG--
rename : dom/nfc/MozNdefRecord.cpp => dom/nfc/MozNDEFRecord.cpp
rename : dom/nfc/MozNdefRecord.h => dom/nfc/MozNDEFRecord.h
rename : dom/webidl/MozNdefRecord.webidl => dom/webidl/MozNDEFRecord.webidl
2014-01-28 16:20:17 -08:00
Vicamo Yang c5763ed027 Bug 968063: fix missed right parenthesis in nsNfc.js. r=fabrice 2014-02-06 10:35:32 +08:00
Fabrice Desré 0b097b1807 Bug 966502 - Use Cu.cloneInto() instead of ObjectWrapper.jsm r=baku 2014-02-01 11:06:59 -08:00
Siddartha Pothapragada 213e2bb4a5 Bug 959437 - Part 1: Add new interfaces 'notifyUserAcceptedP2P' and 'notifySendFileStatus' to MozNfcManager DOM. r+sr=smaug 2014-01-17 18:38:26 -08:00
Siddartha Pothapragada 94c3df78e5 Bug 933093 - Part 1: Add 'sendFile' interface to MozNFCPeer. r=khuey, sr=smaug 2013-12-13 23:24:02 -08:00
Dimi Lee f445874901 Bug 947100 - B2G NFC: enable/disable NFC worker at runtime. r=yoshi 2013-12-11 14:04:27 +08:00
Arno Puder 68fc4a0138 Bug 933585 - C++ implementation for WebIDL. r=khuey 2013-11-08 15:10:23 -08:00
Siddartha Pothapragada aff4c7b154 Bug 933136 - Part 1: Add Nfc DOM event handlers 'onpeerready' and 'onpeerlost'. r=khuey, sr=smaug
Add new interface 'checkP2PRegistration' to MozNfc and two 'ChromeOnly' interfaces 'eventListenerWasAdded' 'eventListenerWasRemoved' to support basic PeerToPeer use cases.

--HG--
extra : rebase_source : 43f0021b85624d87fdcb5e9445c976bb6efb9219
2013-11-24 20:40:39 -08:00
Mike Hommey 2812d11fce Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps
Landing on a CLOSED TREE.
2013-11-19 11:50:54 +09:00
Mike Hommey e06d795c71 Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps 2013-11-19 11:48:10 +09:00
Mike Hommey e80e877ab7 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Mike Hommey ffe0380912 Bug 935881 - Use FINAL_LIBRARY for all (fake) libraries that end up linked in a single other library. r=gps 2013-11-19 11:47:14 +09:00
Garner Lee 82238000e6 Bug 674741 - Part 6: NFC Build System Changes. r=khuey
--HG--
extra : rebase_source : 259fbadf1e2dad187d2704a34ec94f883c25baeb
2013-11-12 10:11:39 -08:00
Garner Lee a181d24322 Bug 674741 - Part 3: NFC DOM Implementation. r=khuey
--HG--
extra : rebase_source : 8244ade575bebd2026cc9bd4d350b91acfcbbf41
2013-11-06 09:53:19 -08:00
Bobby Holley e70ddb7476 Bug 1052052 - Hoist Auto*JSContext into nsContentUtils and kill nsCxPusher.{cpp,h}. r=gabor 2014-08-14 18:47:15 -07:00