Commit Graph

42297 Commits

Author SHA1 Message Date
Dão Gottwald
87a4c57d9d Bug 1295502 - Undo performance regressions from bug 1022601 by avoiding the fill filter. r=felipe 2016-08-26 05:07:12 +02:00
Wes Kocher
309fb2cc5f Merge m-c to inbound, a=merge 2016-08-25 17:14:17 -07:00
Wes Kocher
f78f2d693b Merge inbound to central, a=merge 2016-08-25 16:59:00 -07:00
Kris Maglione
eedfd4420e Bug 1293287: Close extension popups on extension shutdown. r=aswan
MozReview-Commit-ID: 5lpIk6XrdOM

--HG--
extra : rebase_source : ec403c06c2044fc3d65cc1e830e34670ea4e500d
2016-08-24 16:26:35 -07:00
Rob Wu
bef0b5a7ac Bug 1287010 - Use sandbox instead of JSM for global separation r=billm
MozReview-Commit-ID: GSqmh0xC2hW

--HG--
extra : rebase_source : 9b23172c205a1e4ef49f018eb2fbd5d9bd207adc
2016-08-23 16:19:33 -07:00
Rob Wu
be3652cd57 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

--HG--
extra : rebase_source : 946a3c0009a4e3223c2d10044b3099a94c845394
2016-08-16 15:51:50 -07:00
Rob Wu
459ac122eb 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

--HG--
extra : rebase_source : 1376a1325fd9bf186e09e1dbe83467f3ad94516f
2016-08-17 20:28:19 -07:00
Gijs Kruitbosch
40188f3de6 Bug 1297479 - create a pref to turn off UI to undo automatic migration for use by funnelcake builds, r=Dolske
MozReview-Commit-ID: JZQuhMxxrXU

--HG--
extra : rebase_source : f796b9504e10aa0e19a57ea312ebe337dcdb1e1d
2016-08-23 19:30:32 +01:00
Ryan VanderMeulen
e5adfbffe6 Merge m-c to autoland. a=merge
--HG--
rename : accessible/tests/browser/browser_caching_attributes.js => accessible/tests/browser/e10s/browser_caching_attributes.js
rename : accessible/tests/browser/browser_caching_description.js => accessible/tests/browser/e10s/browser_caching_description.js
rename : accessible/tests/browser/browser_caching_name.js => accessible/tests/browser/e10s/browser_caching_name.js
rename : accessible/tests/browser/browser_caching_relations.js => accessible/tests/browser/e10s/browser_caching_relations.js
rename : accessible/tests/browser/browser_caching_states.js => accessible/tests/browser/e10s/browser_caching_states.js
rename : accessible/tests/browser/browser_caching_value.js => accessible/tests/browser/e10s/browser_caching_value.js
rename : accessible/tests/browser/browser_events_caretmove.js => accessible/tests/browser/e10s/browser_events_caretmove.js
rename : accessible/tests/browser/browser_events_hide.js => accessible/tests/browser/e10s/browser_events_hide.js
rename : accessible/tests/browser/browser_events_show.js => accessible/tests/browser/e10s/browser_events_show.js
rename : accessible/tests/browser/browser_events_statechange.js => accessible/tests/browser/e10s/browser_events_statechange.js
rename : accessible/tests/browser/browser_events_textchange.js => accessible/tests/browser/e10s/browser_events_textchange.js
rename : accessible/tests/browser/browser_treeupdate_ariadialog.js => accessible/tests/browser/e10s/browser_treeupdate_ariadialog.js
rename : accessible/tests/browser/browser_treeupdate_ariaowns.js => accessible/tests/browser/e10s/browser_treeupdate_ariaowns.js
rename : accessible/tests/browser/browser_treeupdate_canvas.js => accessible/tests/browser/e10s/browser_treeupdate_canvas.js
rename : accessible/tests/browser/browser_treeupdate_cssoverflow.js => accessible/tests/browser/e10s/browser_treeupdate_cssoverflow.js
rename : accessible/tests/browser/browser_treeupdate_doc.js => accessible/tests/browser/e10s/browser_treeupdate_doc.js
rename : accessible/tests/browser/browser_treeupdate_gencontent.js => accessible/tests/browser/e10s/browser_treeupdate_gencontent.js
rename : accessible/tests/browser/browser_treeupdate_hidden.js => accessible/tests/browser/e10s/browser_treeupdate_hidden.js
rename : accessible/tests/browser/browser_treeupdate_imagemap.js => accessible/tests/browser/e10s/browser_treeupdate_imagemap.js
rename : accessible/tests/browser/browser_treeupdate_list.js => accessible/tests/browser/e10s/browser_treeupdate_list.js
rename : accessible/tests/browser/browser_treeupdate_list_editabledoc.js => accessible/tests/browser/e10s/browser_treeupdate_list_editabledoc.js
rename : accessible/tests/browser/browser_treeupdate_listener.js => accessible/tests/browser/e10s/browser_treeupdate_listener.js
rename : accessible/tests/browser/browser_treeupdate_optgroup.js => accessible/tests/browser/e10s/browser_treeupdate_optgroup.js
rename : accessible/tests/browser/browser_treeupdate_removal.js => accessible/tests/browser/e10s/browser_treeupdate_removal.js
rename : accessible/tests/browser/browser_treeupdate_table.js => accessible/tests/browser/e10s/browser_treeupdate_table.js
rename : accessible/tests/browser/browser_treeupdate_textleaf.js => accessible/tests/browser/e10s/browser_treeupdate_textleaf.js
rename : accessible/tests/browser/browser_treeupdate_visibility.js => accessible/tests/browser/e10s/browser_treeupdate_visibility.js
rename : accessible/tests/browser/browser_treeupdate_whitespace.js => accessible/tests/browser/e10s/browser_treeupdate_whitespace.js
rename : accessible/tests/browser/doc_treeupdate_ariadialog.html => accessible/tests/browser/e10s/doc_treeupdate_ariadialog.html
rename : accessible/tests/browser/doc_treeupdate_ariaowns.html => accessible/tests/browser/e10s/doc_treeupdate_ariaowns.html
rename : accessible/tests/browser/doc_treeupdate_imagemap.html => accessible/tests/browser/e10s/doc_treeupdate_imagemap.html
rename : accessible/tests/browser/doc_treeupdate_removal.xhtml => accessible/tests/browser/e10s/doc_treeupdate_removal.xhtml
rename : accessible/tests/browser/doc_treeupdate_visibility.html => accessible/tests/browser/e10s/doc_treeupdate_visibility.html
rename : accessible/tests/browser/doc_treeupdate_whitespace.html => accessible/tests/browser/e10s/doc_treeupdate_whitespace.html
rename : accessible/tests/browser/events.js => accessible/tests/browser/e10s/events.js
rename : browser/components/extensions/test/browser/browser_ext_pageAction_context.js => browser/components/extensions/test/browser/browser_ext_pageAction_title.js
rename : browser/components/extensions/test/browser/browser_ext_pageAction_context.js => browser/components/extensions/test/browser/head_pageAction.js
rename : dom/events/test/pointerevents/pointerevent_element_haspointercapture.html => dom/events/test/pointerevents/pointerevent_element_haspointercapture-manual.html
rename : dom/events/test/pointerevents/test_pointerevent_element_haspointercapture.html => dom/events/test/pointerevents/test_pointerevent_element_haspointercapture-manual.html
rename : gfx/thebes/DeviceManagerD3D11.cpp => gfx/thebes/DeviceManagerDx.cpp
rename : gfx/thebes/DeviceManagerD3D11.h => gfx/thebes/DeviceManagerDx.h
rename : media/webrtc/trunk/tools/gyp/test/compiler-override/compiler.gyp => media/webrtc/trunk/tools/gyp/test/compiler-override/compiler-exe.gyp
rename : media/webrtc/trunk/tools/gyp/test/mac/app-bundle/TestApp/English.lproj/InfoPlist.strings => media/webrtc/trunk/tools/gyp/test/ios/app-bundle/TestApp/English.lproj/InfoPlist-error.strings
rename : media/webrtc/trunk/tools/gyp/test/mac/app-bundle/TestApp/English.lproj/InfoPlist.strings => media/webrtc/trunk/tools/gyp/test/mac/app-bundle/TestApp/English.lproj/InfoPlist-error.strings
rename : media/webrtc/trunk/tools/gyp/test/mac/gyptest-postbuild-static-library.gyp => media/webrtc/trunk/tools/gyp/test/mac/gyptest-postbuild-static-library.py
rename : media/webrtc/trunk/tools/gyp/test/rules/src/subdir4/asm-function.asm => media/webrtc/trunk/tools/gyp/test/rules/src/subdir4/asm-function.assem
rename : mfbt/unused.h => mfbt/Unused.h
rename : testing/web-platform/tests/pointerevents/pointerevent_element_haspointercapture.html => testing/web-platform/tests/pointerevents/pointerevent_element_haspointercapture-manual.html
extra : rebase_source : a3de7d91a61df9b14fe07a89f5b0184a067549cf
2016-08-25 08:14:36 -04:00
Ryan VanderMeulen
bfdd703c49 Merge fx-team to m-c. a=merge 2016-08-25 08:12:26 -04:00
Ryan VanderMeulen
520acfd195 Merge inbound to m-c. a=merge 2016-08-25 08:10:52 -04:00
Kris Maglione
b8397e058b Bug 1293548: Split browser_ext_pageAction_context into two files. r=me
MozReview-Commit-ID: 1Zj36K0xkX4

--HG--
rename : browser/components/extensions/test/browser/browser_ext_pageAction_context.js => browser/components/extensions/test/browser/browser_ext_pageAction_title.js
rename : browser/components/extensions/test/browser/browser_ext_pageAction_context.js => browser/components/extensions/test/browser/head_pageAction.js
extra : rebase_source : 8fc9e53ed34169838635abe5c00c7f9562c4b06c
2016-08-23 18:18:27 -07:00
Kris Maglione
580f9d04d0 Bug 1271374: Cache-bust page URL. r=me
MozReview-Commit-ID: FAdxwoxRLMA

--HG--
extra : rebase_source : f876d4ad6bc7c6e17f8b2f377fdd2a421bed6c64
2016-08-23 18:00:58 -07:00
Ryan VanderMeulen
0027f8ea40 Merge m-c to fx-team. a=merge 2016-08-24 09:11:58 -04:00
Ryan VanderMeulen
44f6964ba9 Merge fx-team to m-c. a=merge 2016-08-24 09:04:42 -04:00
Phil Ringnalda
f35f0c69e0 Merge m-c to a CLOSED TREE f-t 2016-08-23 22:59:10 -07:00
Matthew Noorenberghe
b6c24e1579 Bug 1276701 - Follow-up to update package-manifest.in after removing the Safari migrator on Windows. r=bustage on a CLOSED TREE
MozReview-Commit-ID: 2uoRZJqy8p2

--HG--
extra : rebase_source : c0d64f9719640c5da8baacfcb08c76754febef0e
extra : amend_source : 5497c593138ecb55faabf6539af70ce8a6f41702
2016-08-23 16:29:02 -07:00
Johann Hofmann
0cbbb700c6 Bug 1297405 followup - Remove unneeded classname assertion for blocked permission icons. r=me, bustage fix 2016-08-24 14:18:43 +02:00
Edouard Oger
894ae051dc Bug 1297473 - Check for first tab in synced tabs sidebar before assigning tabindex. r=markh
MozReview-Commit-ID: 9FkT0HpoB8r

--HG--
extra : rebase_source : 31776337e33f6d55ed60d4ab2e535172a2de2395
2016-08-23 11:11:29 -07:00
Shane Caraveo
ff811bd1a9 Bug 1289549 bump slop in jpg color test, r=maglione
MozReview-Commit-ID: GGNze65Lpkl
2016-08-23 15:24:07 -07:00
Shane Caraveo
8ec26c4b57 Bug 1289549 P6 socialapi remove non-socialapi chat code, r=florian
MozReview-Commit-ID: FrW31GTAHGZ
2016-08-23 15:24:07 -07:00
Shane Caraveo
a0e6f2f6b1 Bug 1289549 P5 socialapi fix path in pocket bootstrap, r=florian
MozReview-Commit-ID: 8dqHYLjj5RX
2016-08-23 15:24:07 -07:00
Shane Caraveo
e2da2722a8 Bug 1289549 P4 socialapi remove unused css, r=florian
MozReview-Commit-ID: LhhP7W5i3U7
2016-08-23 15:24:07 -07:00
Shane Caraveo
1bb3fcb541 Bug 1289549 P3 socialapi move toolkit component to browser, r=florian
MozReview-Commit-ID: 2rMDwrZTTpG

--HG--
rename : toolkit/components/social/SocialService.jsm => browser/modules/SocialService.jsm
rename : toolkit/components/social/test/xpcshell/test_SocialService.js => browser/modules/test/unit/social/test_SocialService.js
rename : toolkit/components/social/test/xpcshell/test_SocialServiceMigration21.js => browser/modules/test/unit/social/test_SocialServiceMigration21.js
rename : toolkit/components/social/test/xpcshell/test_SocialServiceMigration22.js => browser/modules/test/unit/social/test_SocialServiceMigration22.js
rename : toolkit/components/social/test/xpcshell/test_SocialServiceMigration29.js => browser/modules/test/unit/social/test_SocialServiceMigration29.js
2016-08-23 15:24:07 -07:00
Shane Caraveo
4987c70c34 Bug 1289549 P2 socialapi remove sidebar and chat, r=florian
MozReview-Commit-ID: JzSDh41IPBu
2016-08-23 15:24:06 -07:00
Shane Caraveo
51cf1dcb66 Bug 1289549 P1 socialapi remove status and marks, r=florian
MozReview-Commit-ID: IgpgD7qwasI
2016-08-23 15:24:06 -07:00
Jinank Jain
3fc0725787 Bug 1276701 - Remove Windows code from Safari migrator. r=Gijs
MozReview-Commit-ID: CuV2xSmXnq
2016-08-23 14:49:39 -07:00
Matthew Noorenberghe
dccc27b4b9 Bug 1270926 - Modify aboutNetError.xhtml & blockedSite.xhtml to pass current eslint rules. r=dao
eol-last requires a new line at the end of the JS block

MozReview-Commit-ID: sEcAiEgb4s
2016-08-23 14:38:57 -07:00
Johann Hofmann
9467df8698 Bug 1297405 - Don't add hover state to blocked permission icons in the identity block. r=dao
MozReview-Commit-ID: lkh0iI3Zb4

--HG--
extra : rebase_source : ae74fa5fe7038c2df729b30da1c24a90efc4a8df
extra : histedit_source : b9c522a3794dc65c959d1b257c9d4d6a90171f6e
2016-08-23 17:13:18 +02:00
Ryan VanderMeulen
d63783b351 Merge m-c to autoland. a=merge 2016-08-23 10:07:52 -04:00
Ryan VanderMeulen
82663d8710 Merge inbound to m-c. a=merge 2016-08-23 10:05:18 -04:00
Ryan VanderMeulen
3625d814ad Merge autoland to m-c. a=merge 2016-08-23 10:01:31 -04:00
Jim Mathies
167c5c0cb3 Bug 1294650 - Install shim 'qipcap' dlls into the Firefox folder to circumvent dll injection by the 3rd party Websense product. r=aklotz a=jimm
MozReview-Commit-ID: 3LtPtfCqJ2o
2016-08-22 06:53:38 -05:00
Wes Kocher
b38dbd1378 Backed out 2 changesets (bug 1279086) for causing painting issues a=backout
Backed out changeset b1c893387fdd (bug 1279086)
Backed out changeset 277c54118c8a (bug 1279086)
2016-08-22 16:00:34 -07:00
Sebastian Hengst
021c9d40ae merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: CSQGyQiRacj
2016-08-22 17:28:28 +02:00
Ryan VanderMeulen
833833b8c5 Merge inbound to m-c. a=merge 2016-08-22 09:40:41 -04:00
Ryan VanderMeulen
baeaac9b10 Merge m-c to fx-team. a=merge 2016-08-23 10:11:52 -04:00
Paolo Amadini
aee56ee331 Bug 1287384 - Fix icon and progress bar alignment in the Downloads Panel. r=jaws
MozReview-Commit-ID: 1Im2tA3CLr2

--HG--
extra : rebase_source : 21a7c3090466332643a9cf90901e1f187659d689
2016-08-22 13:01:40 +01:00
Paolo Amadini
aebadaa666 Bug 1243445 - Pasting an invalid URL breaks the Downloads View in the Library. r=jaws
MozReview-Commit-ID: DCPhxiB1i0Y

--HG--
extra : rebase_source : 2ecf9925407929c07390fcdfaf3e778011be25f4
2016-08-22 14:22:18 +01:00
Fernando Jimenez
16126fcd4e Bug 1252570 - Remove mozPay. r=ehsan,mfinkle,fabrice
MozReview-Commit-ID: C50fvuNJoGq
2016-08-22 10:42:22 +02:00
Rob Wu
53ae1a1256 Bug 1286712 - Validate runtime.sendMessage parameters r=billm
The main motive for this patch is to remove the use of the GlobalManager
global (which was used to see if an extension ID is valid, which was
specifically added in order to create thebrowser_ext_lastError.js test).
To preserve test coverage I implemented a full validation of the
runtime.sendMessage method.

Now the error for a non-existent extension is identical in both the
content script and background pages. Note that this also fixes a
minor privacy leak: Previously extensions could see whether another
extension is installed by sending a message to the specified extension
and using the different responses to see whether another extension is
installed.

MozReview-Commit-ID: 82R97Ei25Xr

--HG--
extra : rebase_source : 900a65e695afd6db83d5102f515dc29d46d001f1
2016-08-16 21:36:42 -07:00
Sebastian Hengst
a8200eb0d2 Backed out changeset bbe3a00528ed (bug 1288247) for failing test_TabListComponent.js. r=backout 2016-08-24 18:22:40 +02:00
Sebastian Hengst
9379293d2d Backed out changeset f976df7f1eba (bug 1288247) 2016-08-24 18:21:44 +02:00
Sebastian Hengst
8c2f7bc618 Bug 1288247 - Open synced tabs in a new tab on middle click: Add whitespace after 'if' to make eslint happy. r=eslint-fix 2016-08-24 16:43:12 +02:00
Gijs Kruitbosch
4d83804d86 Bug 1296863 - followup: don't break reserved-ness of accel-t to open tabs, rs=bustage
MozReview-Commit-ID: 3jrvQ9NWrq9
2016-08-22 22:01:58 +01:00
Dão Gottwald
5d1d8e9bac Bug 1297091 - Set --panel-separator-color to hsla(210,4%,10%,.14) for the default Windows theme. r=jaws 2016-08-22 21:27:17 +02:00
Dão Gottwald
48a7a69310 Bug 1296863 - Stop disabling the "New Tab" command in popups. r=gijs 2016-08-22 18:06:04 +02:00
Ricky Chien
35b95e26e1 Bug 1206229 - Inform the user that changes may require a page reload r=Paolo
MozReview-Commit-ID: 3tJRhxeDnUb

--HG--
extra : rebase_source : ac829778e8c6225801efb3989578b0f9814a140b
2016-08-11 11:52:47 +08:00
Edouard Oger
549037950e Bug 1288247 - Open synced tabs in a new tab on middle click. r=markh
MozReview-Commit-ID: LTE5NolY8V3

--HG--
extra : rebase_source : 01d32e7ec192bf38a62e39c362917aa532ebe33f
2016-08-19 17:10:45 -07:00
Tim Huang
71297dcaaf Bug 1289319 - Add a test framework for the first party isolation tests. r=arthuredelstein+474980,baku
--HG--
extra : rebase_source : c898d4a65d9c7abf735b0b2d791f89bc38f34d7d
2016-08-22 22:05:01 +08:00