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

42497 Коммитов

Автор SHA1 Сообщение Дата
Rob Wu 7530f86ecf Bug 1298979 - move tabs.sendMessage/connect to child process r=billm
- Use the frame's message manager to direct messages via the
  ProxyMessenger to the right tab instead of directly to the tab.
- Put the implementation in a separate file that is only loaded in
  child processes (in the future).
- Explicitly list all addon-process specific files in a new category
  instead of reusing the content one.

MozReview-Commit-ID: 8oIMx9ol7Tl

--HG--
extra : rebase_source : f93805ecdf44d4607dffc20ffe1cf0cbeb8c86be
2016-08-28 20:07:46 -07:00
Rob Wu dc0a47c098 Bug 1298979 - Fix LegacyExtensionContext r=aswan
LegacyExtensionContext should inherit from BaseContext instead of
ExtensionContext, because the latter is moving to a separate process.

Remove the optional `url` parameter because the context is not a frame.
`url` is assigned to `sender.url`, which should only be set for frames.
The sender is only used in extension messaging when `runtime.connect` or
`runtime.sendMessage` are used (where `sender.url` is visible at the
receiver). Since legacy extensions don't send messages, there is no
point at all in setting the `url` value.

MozReview-Commit-ID: FJboNC2SZh0

--HG--
extra : rebase_source : bbfd6670355a3b9985b03b5a203f3b0a19cdfde4
2016-09-06 01:48:58 -07:00
Rob Wu 3df8d2e80e Bug 1298979 - Add ProxyMessenger, change message managers and getSender r=billm
- Introduce a proxy for IPC messages to allow the following APIs
  to be run out-of-process (ProxyMessenger):

    * runtime.connect
    * runtime.sendMessage
    * tabs.connect
    * tabs.sendMessage
    * runtime.onConnect
    * runtime.onMessage

- Update getSender in ext-tabs, make it independent of the context
  (in particular do not throw an error when a message is received while
  the tab is gone), and move it from MessageChannel to ProxyMessenger to
  make sure that it works in webext-oop. MessageChannel lives in a child
  process, whereas the TabManager (used by getSender) requires data from
  the main process.

- Set the third parameter of `addMessageListener` to true in some places
  to make sure that messages get delivered even after unloading the
  context. This is needed for the next two points.

- Put the `messageManager` property in BaseContext, and let it be set by
  `setContentWindow` - runtime.sendMessage/connect and tabs.sendMessage/
  connect depends on this property, and using the frame message manager
  makes sense.

- Unconditionally use the frame message manager in
  runtime.sendMessage/connect instead of sometimes the cpmm.

MozReview-Commit-ID: 4QkPnlMOkjS

--HG--
extra : rebase_source : f2c753a9d396e4b5c40e46cd926024e664372002
2016-08-25 17:08:08 -07:00
Rob Wu 36a4f48491 Bug 1300883 - Use changeInfo.status instead of tab.status in browser_ext_tabs_events.js r=kmag
the tabs.onUpdated event can fire for many reasons.
I observed a test failure because a faviconUrl change triggered the
onUpdated event, which caused on-updated-dims to be sent too early.

MozReview-Commit-ID: 8YT8hSXnIoo

--HG--
extra : rebase_source : d2ce09a061c7e54f1c9bde78307831dd879dc7af
2016-09-06 13:22:11 -07:00
Wes Kocher 819bc41348 Merge m-c to autoland, a=merge 2016-09-08 15:29:04 -07:00
Wes Kocher b916384275 Merge inbound to m-c a=merge 2016-09-08 15:21:19 -07:00
Carsten "Tomcat" Book e3c2ddf887 Merge mozilla-central to mozilla-inbound 2016-09-08 12:42:45 +02:00
Carsten "Tomcat" Book f4a16a723a merge mozilla-inbound to mozilla-central a=merge 2016-09-08 12:01:17 +02:00
Carsten "Tomcat" Book 37712d149e merge fx-team to mozilla-central a=merge 2016-09-08 12:00:23 +02:00
Dão Gottwald 8a8f12a059 Bug 1051861 - Use Unicode gear symbol as the customize button's label for high contrast mode. r=adw 2016-09-08 08:02:15 +02:00
Andrea Marchesini f84859945a Bug 1299480 - Fix regression in the context menu when containers are in used, r=gijs 2016-09-08 11:40:46 +02:00
Paolo Amadini 4c9c5a6db6 Bug 1300556 - Adjust the height of the Downloads Panel if downloads are removed while the panel is hidden. r=jaws
MozReview-Commit-ID: JpW9G6MAGwM

--HG--
extra : rebase_source : ad1cd03928d959757151fd46e25a8412c13b2511
2016-09-07 15:00:46 +01:00
Carsten "Tomcat" Book 6a2ee561a6 Merge mozilla-central to fx-team 2016-09-08 12:49:15 +02:00
Florian Quèze 564b3b6ddd Bug 1294576 - Remove device sharing indicator on location changes, r=johannh. 2016-09-08 12:46:25 +02:00
Florian Quèze 1a53278e41 Bug 1297336 - Preserve device sharing indicator when tearing off a tab, r=johannh. 2016-09-08 12:46:25 +02:00
Wes Kocher 1691a32cc5 Merge m-c to fx-team, a=merge 2016-09-07 18:08:34 -07:00
Wes Kocher 5cbc382303 Merge inbound to m-c a=merge 2016-09-07 17:54:24 -07:00
Wes Kocher 46590574dc Merge autoland to central, a=merge 2016-09-07 17:26:48 -07:00
Wes Kocher 4c4ea87ae0 Backed out 2 changesets (bug 1283919) for being the wrong way to fix this a=backout
Backed out changeset a328778db08d (bug 1283919)
Backed out changeset 7e1f25f59298 (bug 1283919)
2016-09-07 14:22:21 -07:00
Sebastian Hengst 1855efaca1 merge mozilla-central to autoland to fix spidermonkey bustage. r=merge a=merge 2016-09-07 18:51:09 +02:00
Sebastian Hengst a66df0b0c2 Backed out changeset 95e68b473e91 (bug 1289194) for failure to process moz.build file. r=backout a=backout
MozReview-Commit-ID: GhfzNoiE808
2016-09-07 18:45:40 +02:00
Carsten "Tomcat" Book 1c61ba654e merge mozilla-inbound to mozilla-central a=merge 2016-09-07 17:20:12 +02:00
Carsten "Tomcat" Book 7c6c7db247 Merge mozilla-central to autoland 2016-09-07 17:26:11 +02:00
Wes Kocher a6dc9d6506 Merge m-c to autoland, a=merge 2016-09-06 17:36:41 -07:00
Wes Kocher 8eb4fd2c7b Merge fx-team to central, a=merge 2016-09-06 17:34:46 -07:00
Phil Ringnalda 029d3a2335 Back out 0bb0f5bef1a6 (bug 1299480) for failures in browser_referrer_open_link_in_tab.js
CLOSED TREE
2016-09-06 07:55:12 -07:00
Bobby Holley 1825c6826c Bug 1299971 - Update cargo tooltool manifest for macosx cross builds. r=mshal 2016-09-06 22:12:42 +08:00
Carsten "Tomcat" Book c0f3c45249 Merge mozilla-central to fx-team 2016-09-06 15:43:49 +02:00
Johann Hofmann 44702e77ff Bug 1300495 - Remove UI leftovers from the pointerLock removal. r=dao
MozReview-Commit-ID: 9ILNjTTYwbm

--HG--
extra : rebase_source : bd6770b4a82639282d0467b60b7b5bb3346898ad
2016-09-05 14:38:32 +02:00
Phil Ringnalda d7eb2fba8f Merge m-c to m-i 2016-09-05 13:13:05 -07:00
Phil Ringnalda 55c3c1efd5 Merge f-t to m-c, a=merge 2016-09-05 13:06:35 -07:00
Sebastian Hengst 61b5222f3c Backed out changeset 99bb7090b830 (bug 1260931) 2016-09-05 21:15:33 +02:00
Sebastian Hengst 11af7e9b42 Backed out changeset 7189dc44fca0 (bug 1260931) 2016-09-05 21:15:20 +02:00
Yoshi Huang 3c241e2c75 Bug 1260931 - part 5: tests. r=smaug 2016-09-06 01:50:42 +08:00
Yoshi Huang 1f96f1431b Bug 1260931 - Part 2: add pref privacy.firstparty.isolate. r=smaug 2016-09-06 01:50:23 +08:00
Dão Gottwald 6fdeb3376c Bug 1298659 - Remove hardcoded colors from searchbar.css and make it more consistent across platforms. r=florian 2016-09-05 17:31:37 +02:00
Johann Hofmann 2b02d71f08 Bug 1286118 followup - Remove accidentally added if clause. r=me 2016-09-05 15:51:37 +02:00
Wes Kocher ac33516b3c Merge m-c to autoland, a=merge 2016-09-07 18:07:50 -07:00
Ehsan Akhgari f49dc48eda Bug 1300884 follow-up: Remove files from package manifests too, landed on a CLOSED TREE 2016-09-07 13:58:46 -04:00
Kannan Vijayan f671b30c0f Backout cbe18f181112 for crashes - bug 1292639 2016-09-07 13:43:40 -04:00
Ralph Giles ca13da128b Bug 1299864 - Target i585 linux when building rust code. r=glandium
Update linux32 tooltool manifest to use a gecko build of rustc and cargo
for x86_64-unknown-linux-gnu host targeting both x86_64 and i586.

    rustc built with --enable-llvm-static-stdcpp --disable-docs
    --enable-debuginfo --release-channel=stable from 'stable' branch
    rust 1.11.0 (commit 9b21dcd6a89f38e8ceccb2ede8c9027cb409f6e3)

Pass --target i585-unknown-linux-gnu when building for 32-bit linux.
We mostly want this for official builds, but Debian needs it too,
in both cases to support old machines without SSE2 instruction set
support, so while it means developers will have to `rustup target add
i585-unknown-linux-gnu` when building for this architecture that is
not a common task (most linux devs will be on 64-bit) and it reduces
variance and surprise if binaries are distributed.

MozReview-Commit-ID: 3mAjWxYGpwZ
2016-09-07 10:40:29 -07:00
Sebastian Hengst 5aaa326c3d merge mozilla-central to mozilla-inbound to fix spidermonkey bustage. r=merge a=merge 2016-09-07 18:49:04 +02:00
Wes Kocher 573d1a9973 Merge m-c to autoland, a=merge 99ee305777f4 2016-09-07 17:25:26 -07:00
Ralph Giles 186cacb131 Bug 1296403 - Update tooltool rustc to 1.11.0. r=mshal
Repacks of upstream builds of rust 1.11.0 stable with std libraries
for the appropriate targets. Remove the separate rust-std package
references since the new repacks include the necessary targets.

Also update clang and hazard builds to the latest toolchain.

MozReview-Commit-ID: K7oBxQZnLPu

--HG--
extra : rebase_source : 9f339ff52e9e2f6c28d4bb7a734b9f0eae43a47a
2016-09-06 13:09:56 -07:00
Blake Kaplan a810dc483d Bug 1294378 - Force a single process in this test because it's only designed to work with one process r=krizsa.
MozReview-Commit-ID: LNIjLX6926e

--HG--
extra : rebase_source : 69e853af52e166b83a7ee9959b1ed2b9b53029a7
2016-08-30 17:29:04 -07:00
Carsten "Tomcat" Book 656d6db419 Merge mozilla-central to mozilla-inbound 2016-09-07 17:21:27 +02:00
Dão Gottwald 08da547524 Bug 1300876 - Share Ctrl+Tab panel styling across platforms. r=gijs
--HG--
rename : browser/themes/windows/browser.css => browser/themes/shared/ctrlTab.inc.css
2016-09-07 16:25:50 +02:00
Dão Gottwald 9c21c5660a Bug 1022588 - Set a tooltip and use a Unicode arrow as the label for high contrast mode on the about:home and about:newtab search submit buttons. r=mak 2016-09-07 16:22:57 +02:00
Udayan Baidya 0fb80a2e7c Bug 1297693 - Used a more specific selector in tests for blocked permission icons in browser_permissions.js. r=johannh, r=dao 2016-09-05 09:23:00 -04:00
Sean Lee 2b2cb30dee Bug 1299712 - Use a new .downloadTypeIcon in SVG format. r=paolo
MozReview-Commit-ID: laKBOflDbm

--HG--
extra : transplant_source : %FB%F2%1A%91%E2%5Daz%C2%16%9EB%29%DA8QM%81%B0%ED
2016-09-01 22:56:50 +08:00