3ca8f3e64eebe2b6cdcf5a3ddab89572db4d9e18: Bug 1287007 - Allow local implementations to call remote implementations r=billm
Rob Wu <rob@robwu.nl> - Sun, 04 Sep 2016 02:29:48 -0700 - rev 319108
Push 30861 by cbook@mozilla.com at Mon, 24 Oct 2016 14:54:01 +0000
Bug 1287007 - Allow local implementations to call remote implementations r=billm - Add callParentFunctionNoReturn / callParentAsyncFunction to ChildAPIManager to implement remote calls. - Add in-process browser.test implementation that uses this. - Add tests to verify that the browser.test.assert* methods with the `allowAmbiguousOptionalArguments` schema attribute are working with objects that cannot be passed as-is over IPC. (except test.sendMessage, because stringifying the arguments has an observable impact on test behavior) MozReview-Commit-ID: 6cFVgmFfU93
7292a34a169eec162d65b515a2c306cdb7bd0872: Bug 1287007 - Mark all browserAction methods as async r=billm
Rob Wu <rob@robwu.nl> - Fri, 02 Sep 2016 14:22:09 -0700 - rev 319107
Push 30861 by cbook@mozilla.com at Mon, 24 Oct 2016 14:54:01 +0000
Bug 1287007 - Mark all browserAction methods as async r=billm E.g. browser.browserAction.enable(...).then(...) now works as expected. Removed a Promise.resolve() because that is the default. MozReview-Commit-ID: 4Shxtn0rjYH
1edf5fa29a435f02b78980580543261afbd8db24: Bug 1287007 - Require "async" in schemas to match name r=billm
Rob Wu <rob@robwu.nl> - Fri, 02 Sep 2016 03:37:55 -0700 - rev 319106
Push 30861 by cbook@mozilla.com at Mon, 24 Oct 2016 14:54:01 +0000
Bug 1287007 - Require "async" in schemas to match name r=billm In the pageAction and browserAction schemas, several methods are declared with `"async": true` but without a specified callback in the `"parameters"` object, so callbacks are not allowed. However, when a callback is proxied, the `ParentAPIManager` will mirror the call by passing in an extra callback to the proxied API - and break. This patch fixes the issue by removing uses of async:true. Also for consistency between the browserAction and pageAction methods, the methods that were not declared as async have also been marked as async. MozReview-Commit-ID: JQqzmTUAotB
930d8616be95fcaaf7ca1e03682e0053bff5d8eb: Bug 1287007 - Fix timing issue in browser/page action tests r=billm
Rob Wu <rob@robwu.nl> - Fri, 02 Sep 2016 16:33:32 -0700 - rev 319105
Push 30861 by cbook@mozilla.com at Mon, 24 Oct 2016 14:54:01 +0000
Bug 1287007 - Fix timing issue in browser/page action tests r=billm MozReview-Commit-ID: 9L0ttaq42Ga
b91a39e959ffb29b8da8d41684181d17f92fef80: Bug 1287007 - Refactor test_ext_schemas_api_injection.js r=billm
Rob Wu <rob@robwu.nl> - Fri, 02 Sep 2016 05:36:33 -0700 - rev 319104
Push 30861 by cbook@mozilla.com at Mon, 24 Oct 2016 14:54:01 +0000
Bug 1287007 - Refactor test_ext_schemas_api_injection.js r=billm When the background API move to a separate implementation, then the schema APIs will be generated (and ChildAPIManager will just delegate the implementation to the parent process). The purpose of the test is to verify that nested namespaces and null-feturn values work, so just use the base classes instead of a concrete implementation for BaseContext / SchemaAPIManager instead of setting up a full extension. MozReview-Commit-ID: CB5s7Ae24zS
fbbeab9bd95bca3c7f97e3cadebd42d93c7610bb: Bug 1287007 - Improve errors for non-existing remote APIs r=billm
Rob Wu <rob@robwu.nl> - Thu, 01 Sep 2016 21:14:31 -0700 - rev 319103
Push 30861 by cbook@mozilla.com at Mon, 24 Oct 2016 14:54:01 +0000
Bug 1287007 - Improve errors for non-existing remote APIs r=billm Currently, if the remote implementation is missing, the next unhelpful error message is logged to the console: "TypeError: findPathInObject(...) is not a function" or "TypeError: findPathInObject(...) is undefined", etc. This commit makes the message more useful: "WebExtension API tabs.create not found (it may be unimplemented by Firefox)" MozReview-Commit-ID: FhPEYKSjnLm
5e6462c7563d934c4bc780a567663bba4d8f0f47: Bug 1287007 - Fix some flaws in ProxyAPIImplementation r=billm
Rob Wu <rob@robwu.nl> - Thu, 01 Sep 2016 21:10:18 -0700 - rev 319102
Push 30861 by cbook@mozilla.com at Mon, 24 Oct 2016 14:54:01 +0000
Bug 1287007 - Fix some flaws in ProxyAPIImplementation r=billm - removeListener: There is no set.remove, use set.delete. - Async callbacks: Do not unconditionally turn the result in a SpreadArgs because it causes the result to unconditionally be wrapped in an array (+test). MozReview-Commit-ID: LqwtBsHWJJr
47efa3e76f692a661cc2edfe0ac8e3ebf38550ac: Follow up to bug 1311614 - Fix missing newline at end of custom-request-view.js to fix eslint. rs=bustage-fix. r=standard8
Mark Banner <standard8@mozilla.com> - Mon, 24 Oct 2016 10:18:29 +0100 - rev 319101
Push 30861 by cbook@mozilla.com at Mon, 24 Oct 2016 14:54:01 +0000
Follow up to bug 1311614 - Fix missing newline at end of custom-request-view.js to fix eslint. rs=bustage-fix. r=standard8 MozReview-Commit-ID: EVxQbjrmLdl
9ebb57bb1d766831114afb897fc13840ce8f2896: Bug 1249119 - Prevent exception when opening inspector on a loading document. r=pbro
Alexandre Poirot <poirot.alex@gmail.com> - Wed, 19 Oct 2016 05:26:40 -0700 - rev 319100
Push 30861 by cbook@mozilla.com at Mon, 24 Oct 2016 14:54:01 +0000
Bug 1249119 - Prevent exception when opening inspector on a loading document. r=pbro MozReview-Commit-ID: 9TNRUblT0SW
46b32222e682b25578d090664a9c32f389e9dae4: Bug 1249119 - Let shared-head helper cleanup tests instead of duplicating the effort in inspector head. r=pbro
Alexandre Poirot <poirot.alex@gmail.com> - Wed, 19 Oct 2016 05:26:08 -0700 - rev 319099
Push 30861 by cbook@mozilla.com at Mon, 24 Oct 2016 14:54:01 +0000
Bug 1249119 - Let shared-head helper cleanup tests instead of duplicating the effort in inspector head. r=pbro MozReview-Commit-ID: 2GxvXl3GTy8
f08cf9dc4b927f6fe5cc18070c8b2f9e860de45a: Bug 1249119 - Fix inspector startup when opening it on a loading document r=jdescottes
Alexandre Poirot <poirot.alex@gmail.com> - Wed, 19 Oct 2016 05:25:26 -0700 - rev 319098
Push 30861 by cbook@mozilla.com at Mon, 24 Oct 2016 14:54:01 +0000
Bug 1249119 - Fix inspector startup when opening it on a loading document r=jdescottes MozReview-Commit-ID: 5d4K6VFLTgE
7664d47e1f14521f2b6a020237e4015cd3aacd9b: Bug 1249119 - Prevent trying to initialize highlighter on still-loading documents. r=pbro
Alexandre Poirot <poirot.alex@gmail.com> - Wed, 19 Oct 2016 05:19:48 -0700 - rev 319097
Push 30861 by cbook@mozilla.com at Mon, 24 Oct 2016 14:54:01 +0000
Bug 1249119 - Prevent trying to initialize highlighter on still-loading documents. r=pbro MozReview-Commit-ID: 3S0LoB40q2W
2cf0a592901ab9e495e277edc251c580173ebcf9: Bug 1312326 - Use StringFromIPCMessageType() instead for better crash annotation. r=kanru
Ting-Yu Chou <janus926@gmail.com> - Mon, 24 Oct 2016 12:35:19 +0800 - rev 319096
Push 30861 by cbook@mozilla.com at Mon, 24 Oct 2016 14:54:01 +0000
Bug 1312326 - Use StringFromIPCMessageType() instead for better crash annotation. r=kanru MozReview-Commit-ID: 1kElBr0X6W
6434461d1252d685b0574f1a6078a2b48efeb782: Bug 1311614 - Move CustomRequestView to its own module;r=Honza
Fred Lin <gasolin@mozilla.com> - Thu, 20 Oct 2016 16:00:20 +0800 - rev 319095
Push 30861 by cbook@mozilla.com at Mon, 24 Oct 2016 14:54:01 +0000
Bug 1311614 - Move CustomRequestView to its own module;r=Honza MozReview-Commit-ID: 6ffx5nokCN2
178ed8fe0e876683a6cd285ac18573fd4799e4f1: Bug 1305780 - P2. Testcase for update fail. r=gcp
dimi <dlee@mozilla.com> - Mon, 24 Oct 2016 08:43:54 +0800 - rev 319094
Push 30861 by cbook@mozilla.com at Mon, 24 Oct 2016 14:54:01 +0000
Bug 1305780 - P2. Testcase for update fail. r=gcp MozReview-Commit-ID: CopsfRuawdm
e05100c3ca4cd7fc89b46391779fd0a5f1278daf: Bug 1305780 - P1. Implement the update fail scheme for v4. r=gcp
DimiL <dlee@mozilla.com> - Wed, 19 Oct 2016 12:52:05 +0800 - rev 319093
Push 30861 by cbook@mozilla.com at Mon, 24 Oct 2016 14:54:01 +0000
Bug 1305780 - P1. Implement the update fail scheme for v4. r=gcp MozReview-Commit-ID: LeVpVIUdmjc
b49b26e41929206f7032cef303d2ebe0f4a25642: Bug 1308440 - Migrate Net Panel Context Menu with framework/menu API in NetMonitor panel;r=Honza
Fred Lin <gasolin@mozilla.com> - Mon, 17 Oct 2016 15:01:52 +0800 - rev 319092
Push 30861 by cbook@mozilla.com at Mon, 24 Oct 2016 14:54:01 +0000
Bug 1308440 - Migrate Net Panel Context Menu with framework/menu API in NetMonitor panel;r=Honza MozReview-Commit-ID: 47IM3jFPcXe
6ac2e1d8d2c84911a6d7b7ba3a3145933bae27c5: Bug 1311877 - VideoPlaybackQuality.totalVideoFrameCount is presented+dropped - r=jya
Gerald Squelart <gsquelart@mozilla.com> - Fri, 21 Oct 2016 12:01:59 +1100 - rev 319091
Push 30861 by cbook@mozilla.com at Mon, 24 Oct 2016 14:54:01 +0000
Bug 1311877 - VideoPlaybackQuality.totalVideoFrameCount is presented+dropped - r=jya totalVideoFrameCount was previously incorrectly set to the number of demuxed frames. According to the current W3C specs [1], it should instead be the total number of frames that have been presented, plus frames that have been discarded. Also added a check that discarded<=total in mochitest. [1] https://wicg.github.io/media-playback-quality/#concepts MozReview-Commit-ID: Gnv1roM5n0A
67e846eb085b831ba846b29af01a0dd256954ee5: Bug 1308147. Part 6 - remove unused MDSM::mQueuedSeek for there is no code to modify it. r=kikuo
JW Wang <jwwang@mozilla.com> - Wed, 19 Oct 2016 18:27:50 +0800 - rev 319090
Push 30861 by cbook@mozilla.com at Mon, 24 Oct 2016 14:54:01 +0000
Bug 1308147. Part 6 - remove unused MDSM::mQueuedSeek for there is no code to modify it. r=kikuo MozReview-Commit-ID: BlQydjfm4DI
e72768d9d633059361e33c5a29d2ebeb2f6de35a: Bug 1308147. Part 5 - reject mPendingSeek in DormantState::Exit(). r=kikuo
JW Wang <jwwang@mozilla.com> - Wed, 19 Oct 2016 18:12:06 +0800 - rev 319089
Push 30861 by cbook@mozilla.com at Mon, 24 Oct 2016 14:54:01 +0000
Bug 1308147. Part 5 - reject mPendingSeek in DormantState::Exit(). r=kikuo MozReview-Commit-ID: HfQCWBNtUwZ
(0) -300000 -100000 -30000 -10000 -3000 -1000 -300 -100 -50 -20 +20 +50 +100 +300 +1000 +3000 +10000 +30000 +100000 tip