e3fb102636dc32642bf59777335ec2279da2e6d4: Bug 1287010 - Use sandbox instead of JSM for global separation r=billm
Rob Wu <rob@robwu.nl> - Tue, 23 Aug 2016 16:19:33 -0700 - rev 311153
Push 31714 by ryanvm@gmail.com at Thu, 25 Aug 2016 14:18:33 +0000
Bug 1287010 - Use sandbox instead of JSM for global separation r=billm MozReview-Commit-ID: GSqmh0xC2hW
becfa1ce1bad438b16b441f509c27a38f8d1a918: Bug 1287010 - Extension.jsm optimization: Use pathObj r=billm
Rob Wu <rob@robwu.nl> - Sat, 20 Aug 2016 15:37:43 -0700 - rev 311152
Push 31714 by ryanvm@gmail.com at Thu, 25 Aug 2016 14:18:33 +0000
Bug 1287010 - Extension.jsm optimization: Use pathObj r=billm The API implementation is already available upfront when the schema API is generated, so `pathObj` has the implementation and can be used instead of looking up the implementation over and over again with `findPathInObject`. MozReview-Commit-ID: FnCIyoaxgA4
598895fae31dc86756be5481478d32bb177a764e: Bug 1287010 - Use schema-generated extension, split ext-extension.js r=billm
Rob Wu <rob@robwu.nl> - Thu, 18 Aug 2016 19:19:40 -0700 - rev 311151
Push 31714 by ryanvm@gmail.com at Thu, 25 Aug 2016 14:18:33 +0000
Bug 1287010 - Use schema-generated extension, split ext-extension.js r=billm - This was the last non-schema-generated API in content scripts. MozReview-Commit-ID: FaIOCHoircf
2427f8eb4e83add47679215a19cabbb81dcc12a1: Bug 1287010, 1286712 - Use schema-generated runtime API, split ext-runtime.js r=billm
Rob Wu <rob@robwu.nl> - Thu, 18 Aug 2016 18:15:37 -0700 - rev 311150
Push 31714 by ryanvm@gmail.com at Thu, 25 Aug 2016 14:18:33 +0000
Bug 1287010, 1286712 - Use schema-generated runtime API, split ext-runtime.js r=billm - Use schema-generated runtime API for content scripts instead of untyped API. - Move logic that cannot be run in the main process to a new file. Together with the previous patch that migrated the i18n API, this concludes the fix for bug 1286712. MozReview-Commit-ID: A3yG0x1kjwx
e4ce08beaf7474321a89ee4f45cf88e943f32618: Bug 1287010 - Use schema-generated i18n for all contexts r=billm
Rob Wu <rob@robwu.nl> - Sat, 20 Aug 2016 15:49:20 -0700 - rev 311149
Push 31714 by ryanvm@gmail.com at Thu, 25 Aug 2016 14:18:33 +0000
Bug 1287010 - Use schema-generated i18n for all contexts r=billm Use schema-generated i18n API for both content script and addon contexts, instead of just the addon context. MozReview-Commit-ID: AKDAFxNv6Zs
aac2a4039d9a5a2d1256cd1c1aec9c4487eb41f3: Bug 1287010 - Prepare for moving content script APIs to schemas r=billm
Rob Wu <rob@robwu.nl> - Thu, 18 Aug 2016 17:46:57 -0700 - rev 311148
Push 31714 by ryanvm@gmail.com at Thu, 25 Aug 2016 14:18:33 +0000
Bug 1287010 - Prepare for moving content script APIs to schemas r=billm - By default, schema APIs are not injected in content scripts unless the JSON schema sets the "restrictions" attribute to `["content"]`. - Added the "restrictions" attribute to the storage and test schemas. Other APIs will follow in subsequent commits and make use of the primitives introduced in this commit. MozReview-Commit-ID: 1rNjQap0BiM
61638ddb612cbce8b9042e068b189ea25c5bfdc6: Bug 1287010 - Move Management logic to SchemaAPIManager r=billm
Rob Wu <rob@robwu.nl> - Wed, 17 Aug 2016 17:51:21 -0700 - rev 311147
Push 31714 by ryanvm@gmail.com at Thu, 25 Aug 2016 14:18:33 +0000
Bug 1287010 - Move Management logic to SchemaAPIManager r=billm - Moved Management logic to ExtensionUtils (as SchemaAPIManager) so that the logic can be used by addon and content processes. - Remove the `context.extension.hasPermission(api.permission)` check in `generateAPIs` because the only user (`registeredPrivilegedAPI`) was removed before in bug 1295082. - Add new category "webextension-scripts-content", intended for registering the few scripts that must be loaded in a content process. MozReview-Commit-ID: 81nhblV8YE6
e5ee47173dbdac4c28e74d310784672df3660a22: Bug 1287010 - Make environment of Context explicit. r=billm
Rob Wu <rob@robwu.nl> - Tue, 16 Aug 2016 15:51:50 -0700 - rev 311146
Push 31714 by ryanvm@gmail.com at Thu, 25 Aug 2016 14:18:33 +0000
Bug 1287010 - Make environment of Context explicit. r=billm - Add `envType` to BaseContext. - Pass an explicit envType to all `registerSchemaAPI` invocations. - The factories passed to `registerSchemaAPI` will be split up later, so that content scripts (`content_child`) and addon pages can share common implementations. - The factories that implement the addon API will also be split up, to separate code running in the main process (`addon_parent`) from code running in a child process (`addon_child`). - Remove the use of a hardcoded list of `namespaces` from ProxyContext. Now `envType` is used to specify whether an API should be activated. MozReview-Commit-ID: Jiff8HIwG92
3b029657ddf92658aecccff1bdfa6879639951c8: Bug 1287010 - Add pathObj parameter to Schemas r=billm
Rob Wu <rob@robwu.nl> - Fri, 19 Aug 2016 00:35:07 -0700 - rev 311145
Push 31714 by ryanvm@gmail.com at Thu, 25 Aug 2016 14:18:33 +0000
Bug 1287010 - Add pathObj parameter to Schemas r=billm Local wrappers currently look up the API object over and over again whenever a schema API is invoked. This can be optimized by re-using the lookup result from a `shouldInject` invocation, which is passed as the `pathObj` parameter to the wrapper methods. This commit adds the necessary changes and tests to allow this to happen, but does not modify the wrapper in Extension.jsm yet. Also, this construction allows the `ChildAPIManager` to use a local implementation if available and fall back to a remote implementation otherwise. MozReview-Commit-ID: C9gm7A9Zppb
07e6245571fba5391a2ed2eb7c0a5fe86960e8ae: Bug 1287010 - Use minimal global scope for ext-*.js scripts r=billm
Rob Wu <rob@robwu.nl> - Wed, 17 Aug 2016 20:28:19 -0700 - rev 311144
Push 31714 by ryanvm@gmail.com at Thu, 25 Aug 2016 14:18:33 +0000
Bug 1287010 - Use minimal global scope for ext-*.js scripts r=billm Currently there is a tight coupling between registered APIs because they share the same global scope, and the dependencies between the modules that use these globals are not explicit. Consequently, it would be possible for APIs to break when the registered APIs run in separate processes, because then there are separate global scopes. To mitigate this issue, this patch isolates the global namespaces of API registrations in different environments, starting with the "chrome" process. Content and addon processes will follow later. A new JSM is introduced to avoid hidden dependencies between ext-*.js and the script loader. ExtensionUtils.jsm would be a natural choice for this shared utility method, but cannot be used because its local `EventEmitter` implementation conflicts with the `EventEmitter` import in ext-tabs.js. So, this patch provides isolation of global variables declared through `globals.XXX = ...`, but does not provide isolation for `Cu.import`-ed logic. Ideally `Cu.import` should always use its second argument to prevent inadvertent namespace pollution. MozReview-Commit-ID: 1DTZaKOaeSE
88a167d7e7fddf9cef592b250f8cb7638be45bfd: Bug 1297314 - Initialize IPC union parameters to void_t for the case when RecvKeywordToURI() returns early. r=kanru
Ting-Yu Chou <janus926@gmail.com> - Wed, 24 Aug 2016 11:23:56 +0800 - rev 311143
Push 31713 by ryanvm@gmail.com at Thu, 25 Aug 2016 14:05:05 +0000
Bug 1297314 - Initialize IPC union parameters to void_t for the case when RecvKeywordToURI() returns early. r=kanru MozReview-Commit-ID: DlrROVhekSF
b004e438bdc9fec1678cecdbfb2fd2f38f136171: Bug 1295763 - Allow ThreadSafeAutoRefCnt with XPCOM_GLUE - r=froydnj
Gerald Squelart <gsquelart@mozilla.com> - Tue, 16 Aug 2016 14:07:16 +1000 - rev 311142
Push 31712 by gsquelart@mozilla.com at Thu, 25 Aug 2016 14:01:44 +0000
Bug 1295763 - Allow ThreadSafeAutoRefCnt with XPCOM_GLUE - r=froydnj Removed '#ifndef XPCOM_GLUE' that blocked usage of thread-safe ref-counting from XPCOM_GLUE code. MozReview-Commit-ID: Hm0rdTKK46l
964df423d84e2171576c0a0d783d6bac67c9cd14: Bug 1297479 - create a pref to turn off UI to undo automatic migration for use by funnelcake builds, r=Dolske
Gijs Kruitbosch <gijskruitbosch@gmail.com> - Tue, 23 Aug 2016 19:30:32 +0100 - rev 311141
Push 31711 by gijskruitbosch@gmail.com at Thu, 25 Aug 2016 13:51:04 +0000
Bug 1297479 - create a pref to turn off UI to undo automatic migration for use by funnelcake builds, r=Dolske MozReview-Commit-ID: JZQuhMxxrXU
ec654ccc2e0f748e4336d4c9ea2d2051781d10cd: Bug 1297276 - Fix another instance of mozilla/unused.h that snuck in.
Ryan VanderMeulen <ryanvm@gmail.com> - Thu, 25 Aug 2016 09:31:35 -0400 - rev 311140
Push 31710 by ryanvm@gmail.com at Thu, 25 Aug 2016 13:31:39 +0000
Bug 1297276 - Fix another instance of mozilla/unused.h that snuck in. CLOSED TREE
6d94720c8e959c6f3c6f60439310cca84e5f9720: Merge m-c to autoland. a=merge CLOSED TREE
Ryan VanderMeulen <ryanvm@gmail.com> - Thu, 25 Aug 2016 09:01:10 -0400 - rev 311139
Push 31709 by ryanvm@gmail.com at Thu, 25 Aug 2016 13:01:15 +0000
Merge m-c to autoland. a=merge CLOSED TREE
7963ebdd52b93f96b812eff2eab8d94097147b9c: Backed out changeset 649c62d13b57 (bug 1297367) for causing talos regressions.
Ryan VanderMeulen <ryanvm@gmail.com> - Thu, 25 Aug 2016 08:41:52 -0400 - rev 311138
Push 31709 by ryanvm@gmail.com at Thu, 25 Aug 2016 13:01:15 +0000
Backed out changeset 649c62d13b57 (bug 1297367) for causing talos regressions. CLOSED TREE
c40fc4c00620b1662d3225b71c99ad4ff12edf0f: Bug 1297276 - Fix merge bustage. a=bustage
Ryan VanderMeulen <ryanvm@gmail.com> - Thu, 25 Aug 2016 08:40:42 -0400 - rev 311137
Push 31709 by ryanvm@gmail.com at Thu, 25 Aug 2016 13:01:15 +0000
Bug 1297276 - Fix merge bustage. a=bustage
54c1dcc180bf043c881ee3ca92b34d016ad917af: Merge m-c to autoland. a=merge
Ryan VanderMeulen <ryanvm@gmail.com> - Thu, 25 Aug 2016 08:14:36 -0400 - rev 311136
Push 31708 by ryanvm@gmail.com at Thu, 25 Aug 2016 12:26:43 +0000
Merge m-c to autoland. a=merge
9467a563a01b466fdca07c0495de7bcfd0a66215: Merge fx-team to m-c. a=merge
Ryan VanderMeulen <ryanvm@gmail.com> - Thu, 25 Aug 2016 08:12:26 -0400 - rev 311135
Push 31708 by ryanvm@gmail.com at Thu, 25 Aug 2016 12:26:43 +0000
Merge fx-team to m-c. a=merge
e56ac7b94f3982bc017e71b1b63b65b1906486c8: Merge inbound to m-c. a=merge
Ryan VanderMeulen <ryanvm@gmail.com> - Thu, 25 Aug 2016 08:10:52 -0400 - rev 311134
Push 31708 by ryanvm@gmail.com at Thu, 25 Aug 2016 12:26:43 +0000
Merge inbound to m-c. a=merge
(0) -300000 -100000 -30000 -10000 -3000 -1000 -300 -100 -50 -20 +20 +50 +100 +300 +1000 +3000 +10000 +30000 +100000 tip