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

42351 Коммитов

Автор SHA1 Сообщение Дата
Georg Fritzsche 2932617587 Bug 1366294 - Part 1 - Remove base::StatisticsRecorder. r=chutten
The Chromium IPC histogram code used the StatisticsRecorder object for storage.
This is keyed by histogram name, which doesn't match our storage reality anymore.
Instead we use a name to refer to a set of histogram instances that record data from different processes, as well as separating session and subsession data.
Consequently we need to rewrite this storage, which means StatisticsRecorder is not used anymore.

MozReview-Commit-ID: 1LC7YubpKaD
2017-07-19 14:26:56 -04:00
Andrew Osmond 7deae0134b Bug 1359833 - Part 10. Add telemetry to track how often imgRequestProxy needs to dispatch. r=tnikkel data-r=bsmedberg 2017-07-19 14:15:12 -04:00
Andrew Swan ce9ddc7e11 Bug 1374637 Don't show the Legacy Extensions pane in about:addons if it is empty r=rhelmer
MozReview-Commit-ID: LK3LezKArYm

--HG--
extra : rebase_source : b1503b57b3d0a6d2e6b94f152e9b17d54e89a99f
2017-07-18 19:11:55 -07:00
Jon Coppeard 4056892ff5 Bug 1381777 - Record how long we went over the time budget r=sfink data-r=bsmedberg 2017-07-19 09:37:18 +01:00
Ryan VanderMeulen 0cfb1d8460 Merge inbound to m-c. a=merge
CLOSED TREE
2017-07-19 10:00:35 -04:00
Yoshi Huang 3873b52a7c Bug 1380282: rewrite browser_ext_webRequest.js for the new data: URI inheritance model. r=kmag
When we turn on the pref security.data_uri.unique_opaque_origin, this
test failed because data: URI is treated as cross origin. So I replace
the data: URI as a seperate xul.
2017-07-19 14:41:46 +08:00
Yoshi Huang d266dea535 Bug 1381769 - fix xpcshell failure when data: URI is unique origin. r=smaug
ExtensionXPCShellUtils.jsm uses a XUL window with data: URI, we replace
it with a XUL file to fix the xpcshell-test failures.
2017-07-19 14:41:24 +08:00
Eitan Isaacson eafbb9b65a Bug 1381544 - Extend narrate probes to version 60. r=Gijs, data-r=bsmedberg
--HG--
extra : rebase_source : 0fd23ec72b438d9ffa4bec87ea877d113a20015c
2017-07-17 09:15:00 -04:00
Alessio Placitelli 6a79411181 Bug 1381617 - Enable stricter scalar, histogram and events expiration validation. r=chutten
MozReview-Commit-ID: 9q93hOYsNUo
2017-07-18 09:59:00 +02:00
Ryan VanderMeulen a064d6dbfc Merge m-c to inbound. a=merge 2017-07-18 13:00:03 -04:00
Ryan VanderMeulen 366f48ad7e Merge inbound to m-c. a=merge 2017-07-18 12:14:50 -04:00
Wes Kocher e58c76131e Backed out changeset 9b44720d645b (bug 1357902) for android xpcshell failures in test_ext_startup_cache.js a=backout
MozReview-Commit-ID: KzJWDUsEJoK
2017-07-17 23:28:33 -07:00
Marco Bonardo 3c6bd16b59 Bug 1347427 - Remove intermittent browser_bug248970.js test, cause it's not testing anything useful. r=standard8
MozReview-Commit-ID: 6P6UixK13Ns

--HG--
extra : rebase_source : 2f31ead6fc3f4d025296e1e409421558d410a6c7
2017-07-17 21:59:41 +02:00
Paolo Amadini 137d61ddbb Bug 1381409 - Part 3 - Use DownloadList notifications directly in front-end download views. r=mak
The DownloadList object now provides batch notifications directly, in preparation for linking front-end views to other types of download lists without having to use the DownloadsData indirection.

MozReview-Commit-ID: FOTz1YwGRE1

--HG--
extra : rebase_source : df2d50d50c45a98e257caaa6efa9d0da2fa79237
extra : source : 278858e3d78b5e371f865adac043d07b770f1d3f
2017-07-17 12:05:12 +01:00
Christoph Kerschbaumer 5c7ac7954b Bug 1337272: Convert tests within toolkit/ to not rely on principal inheritance for data: URIs. r=gijs 2017-07-18 15:18:00 +02:00
Sebastian Hengst c80daf709f Backed out changeset b669da0374a2 (bug 1337272) for linting failure at test_mousecapture.xhtml:208: 'topPos' is assigned a value but never used. r=backout 2017-07-18 14:16:54 +02:00
Christoph Kerschbaumer 1e03699e83 Bug 1337272: Convert tests within toolkit/ to not rely on principal inheritance for data: URIs. r=gijs 2017-07-18 13:47:53 +02:00
Wes Kocher 8117ff8bd3 Backed out 3 changesets (bug 1197045) for failures in browser_Troubleshoot.js a=backout CLOSED TREE
Backed out changeset 78b66a4c6b7c (bug 1197045)
Backed out changeset feea60a002a7 (bug 1197045)
Backed out changeset 57842092a282 (bug 1197045)

MozReview-Commit-ID: J0KZDSSw4XQ
2017-07-18 22:54:15 -07:00
Jonathan Hao 331f2a04e2 Bug 1369327 - Remove low memory platform checks in reader mode. r=Gijs
MozReview-Commit-ID: 1VUprtntsK0

--HG--
extra : rebase_source : 389628cf2f4086e1b4354d4ab0017b670a393c21
2017-07-18 14:44:56 +08:00
Chun-Min Chang 4fe8aa1a06 Bug 1197045 - part3: Add audio devices information to about:support; r=Felipe
MozReview-Commit-ID: 53E1cr2igyv

--HG--
extra : rebase_source : 8ab3e778539cad61bc2efc4c965465a236b9dea4
2017-07-13 14:07:05 +08:00
Evan Tseng b371a6a665 Bug 1365133 - Update tests - Part 2. r=jaws
MozReview-Commit-ID: GoOXdJ4RfY9

--HG--
rename : browser/components/preferences/in-content-new/tests/browser_security.js => browser/components/preferences/in-content-new/tests/browser_security-1.js
rename : browser/components/preferences/in-content-new/tests/browser_security.js => browser/components/preferences/in-content-new/tests/browser_security-2.js
extra : rebase_source : 4aa29961d5c31d8c65d90b7d1b5102cf6e2a6301
2017-06-20 15:11:46 +08:00
Jean-Yves Avenard 77f31bcb34 Bug 1379190: P2. Remove OMX related config. r=glandium
They are no longer used.

MozReview-Commit-ID: BTTjmhoqKgi

--HG--
extra : rebase_source : 395f6385f7d5ee6bd4413e6247297aa5002ea137
2017-07-13 13:00:23 +02:00
Dão Gottwald b7fe5e3f69 Bug 1381117 - Increase opacity of icons in the identity block on hover. r=johannh
MozReview-Commit-ID: GyGIO4OviGI

--HG--
extra : rebase_source : c2b3f1505b6744ea4e273b32a63d6e0f79c4ed77
2017-07-17 18:52:44 +02:00
Scott Wu bdead1c7c8 Bug 1337378 - Show today indicator on datetime picker calendar. r=mconley
MozReview-Commit-ID: 9BYTvru8yVN

--HG--
extra : rebase_source : 0d07f1d2f8688187dd27de3ca7a359ae8e1ed55c
2017-07-17 12:09:13 +08:00
Jared Wein 6848c874f5 Bug 1380585 - Add MOZ_PHOTON_PREFERENCES build-time flag to help with implementing visual refresh of preferences. r=chmanchester,rickychien
MozReview-Commit-ID: H9vWWeq9d1i

--HG--
extra : rebase_source : 3546ae2c178aa8e6e378f93b3ba2503c09172267
extra : source : 50b7c4e14304b5b788094d1eaead8940d3d73c99
2017-07-12 14:25:05 -04:00
Servo VCS Sync ad7fba4e90 No bug - Revendor rust dependencies 2017-07-19 14:24:02 +00:00
Johann Hofmann 39ffb53fce Bug 1371219 - Increase margin of main menu items when accessed through touch. r=mikedeboer
MozReview-Commit-ID: 9gjxxc6O5YS

--HG--
extra : rebase_source : 71cec7055786687a23325ec667d59a2e630f5c57
2017-07-20 16:45:02 +02:00
flyingrub 1eed2191e9 Bug 1382340 - Fix search in about:telemetry r=chutten
Introducing a destructuring assignement in the Bug 1378759 caused the
search throw an exception. The code was tested only in certain
circumstances where the bug wasn't triggered.

MozReview-Commit-ID: EWkKJhxMIuy

--HG--
extra : rebase_source : 6b892d1362e4c5956a0f888d93611a89c64d4e0c
2017-07-19 21:32:48 +02:00
Ray Lin 1154d19e13 Bug 1382218 - Cap the height of <audio> controlBar as well to get rid of endless reflow. r=jaws
MozReview-Commit-ID: A0wukWRE4fM

--HG--
extra : rebase_source : a789a7ee05ce19440421c0d20743f95e3f651985
2017-07-20 23:14:33 +08:00
Ryan VanderMeulen d229288071 Merge m-c to autoland. a=merge
CLOSED TREE

--HG--
extra : amend_source : 2ab51304cc7df444f22c3aac001a1aba61faee3a
2017-07-21 09:42:41 -04:00
Wes Kocher b33abfa979 Backed out changeset d4b7fc921b88 (bug 1355922) for assertions in test_display_mode.html a=backout
MozReview-Commit-ID: GQh4DRTEUJI
2017-07-21 00:36:41 -07:00
Wes Kocher 6dbec35ae2 Backed out changeset 320f9642bcef (bug 1381991) because it blocks backing out 1355922 a=backout
MozReview-Commit-ID: 7gM0DJkbVwW
2017-07-21 00:36:04 -07:00
Jared Wein 78ddbc6ee8 Bug 1381991 - Pin to Overflow animation is placed in the wrong position when using a non-default font-size. r=sfoster
MozReview-Commit-ID: ERE1FnTuIWF

--HG--
extra : rebase_source : 7ab56c4ccaf12a1ce72801197414013bc0e70ead
2017-07-20 12:31:06 -04:00
Alastor Wu 52e4d86364 Bug 1274919 - part5 : add test. r=baku
MozReview-Commit-ID: 5wKkE5tphLl

--HG--
extra : rebase_source : 22d9996b0f8fde0dbcab41147c7de54abd881861
2017-07-20 15:11:37 +08:00
Alastor Wu 3308cbf81c Bug 1274919 - part4 : add telemetry probe to measure how long the cursor is hovering before opening the tab. r=bsmedberg,mikedeboer
Measure the time how long the cursor is hovering before opening the unselected
tab. If the tab didn't be opened, the data won't be recorded.

MozReview-Commit-ID: 4oTj0RzJhG

--HG--
extra : rebase_source : 7706df672012027a0def84674e83ea7afd7ee50f
2017-07-20 15:11:35 +08:00
Alastor Wu 1499ee0710 Bug 1274919 - part3 : only send msg if someone is waiting for it. r=jwwang,mikedeboer
Only send the msg "Browser:UnselectedTabHover" when someone requests for the
msg, it can reduce non-necessary communication.

MozReview-Commit-ID: 2mBUMB4AMVo

--HG--
extra : rebase_source : d7a5103e2713735fdd0f65c7de381b219f4cce26
2017-07-20 15:11:25 +08:00
Alastor Wu f0710402aa Bug 1274919 - part1 : send the msg "Browser:UnselectedTabHover" when the cursor is hovering over or leaving the unselected tab r=mikedeboer
This msg is used to notify the status whether the cursor is hovering over the
unselected tab or not.

It's used for the media's feature, resuming the background video decoding.

MozReview-Commit-ID: GuAyLNdH10c

--HG--
extra : rebase_source : 4419dfda8f7f2c7224244b19341ec4987a66fdbe
2017-07-20 14:13:08 +08:00
Jared Wein 3d8a18b1a2 Bug 1355922 - Save to Pocket should have an associated animation. r=Gijs
The animations on the pocket-button and library-button are disabled if they are not in the nav-bar due to issues with getting overflow:hidden and position:absolute to work the same way outside of #nav-bar. This is on file as bug 1382894.

MozReview-Commit-ID: Lq20GuocMkg

--HG--
extra : rebase_source : 216557e4bbb265c222b104f2314ac7a0e00fe459
2017-07-20 09:59:22 -04:00
Doug Thayer ffb778fbad Bug 1382706 - Listen for pending-elevate in Update-Listener r=rstrong
We were missing a possible status in the list for the downloaded
topic. This should be all that we need to get the notification to
show up.

MozReview-Commit-ID: EQSccrdv30Y

--HG--
extra : rebase_source : cc620f08549fb099a82fd1fb4b4aee1c6a124e2f
2017-07-20 16:09:36 -07:00
Andrew Swan b315b2ec67 Bug 1371762 Part 2 Treat webextension experiments as legacy r=rhelmer
MozReview-Commit-ID: ATa0DXnV2au

--HG--
extra : rebase_source : ccec3a98c62a2739831a4a3f8066cbb07b5c4bf0
2017-07-19 10:28:23 -07:00
Andrew Swan 29dfb8fda7 Bug 1371762 Part 1 Let cert shim code selectively identify some xpis as privileged r=rhelmer
MozReview-Commit-ID: L628sUEyHcL

--HG--
extra : rebase_source : 00d591f24f4f0486ebf5e01a60a00f5669f602f0
2017-07-19 10:27:21 -07:00
John Dorlus 9dd142d73f Bug 1358670 - Implemented MarionetteHarness in telemetry-harness r=whimboo
Added changes to testcase.py for change server root
Added testvar to pass server_root from command line of telemetry-harness to testcase class.
Added argument.py and runner.py to implement MarionetteHarness in the test job
Changed test name in manifest.ini

MozReview-Commit-ID: 4XpBvq6Skz6

--HG--
extra : rebase_source : ab3f9d8ce95186fb9fba0eda0c4624eed837f298
2017-06-22 18:18:24 -04:00
Zibi Braniecki 1e19736e16 Bug 1362617 - Generalize MOZ_CHROME_MULTILOCALE to work for browser as well. r=gps,ted
In order to get Firefox to work with multiple built-in languages, we want
to bundle the same file in desktop as we do in fennec - res/multilocale.json

MozReview-Commit-ID: BY1cMYd0q8Q

--HG--
extra : rebase_source : 4bc95d0055a98869481324654d9e91bdf0734894
2017-05-30 10:30:26 +02:00
Stone Shih a5bccae405 Bug 1351148 Part4: Revise those test cases that have some tasks have to be processed before or after the synthesized key events. r=smaug.
Make sure input events are processed before or after the dependent tasks.

MozReview-Commit-ID: 8KfZnT2wjJR
2017-06-07 14:28:16 +08:00
Wes Kocher 74f8cf4b04 Merge m-c to autoland, a=merge
MozReview-Commit-ID: JZXw0y76rol
2017-07-17 17:38:19 -07:00
Wes Kocher cd4ae862fd Merge inbound to central, a=merge
MozReview-Commit-ID: CugzaiO4IW1
2017-07-17 17:27:51 -07:00
Sebastian Hengst 270cb920b1 Backed out changeset 14d02c0af528 (bug 1361855) 2017-07-17 18:50:04 +02:00
Dão Gottwald caf937e10c Bug 1380268 - Let the new search textbox styling graduate from in-content/common.inc.css to textbox.css. r=nhnt11
MozReview-Commit-ID: 24HRgvmSVtb

--HG--
extra : rebase_source : 4eb71adc5c47c3e7518cfe953ed667d31517c228
2017-07-17 18:19:00 +02:00
Benjamin Bouvier fa1fcdd254 Bug 1381467: Extend JS_AOT_USAGE telemetry probe to Firefox 60; r=luke, data-review=bsmedberg
MozReview-Commit-ID: IDAFkcbvOLn

--HG--
extra : rebase_source : b584b21bd0b2bd883e5b627134f0986608717b09
extra : amend_source : 782916a2aa683e9dfed90e78cf5fc65a7a2ede10
2017-07-17 14:53:43 +02:00
Felipe Gomes 7441a89afb Bug 1381175 - Display count of web content processes in about:support. r=mrbkap
MozReview-Commit-ID: 55j6uusx3RL

--HG--
extra : rebase_source : 7dffdd8b018de25fd74db08f57a35ec14734027a
2017-07-14 20:33:07 -03:00
Michael Brennan 18178d49d2 Bug 1367125 - Record search cohort using the new annotation API. r=gfritzsche 2017-07-16 14:00:00 -04:00
Kit Cambridge 18e2c40fe8 Bug 1380718 - Include the operation name in bookmark validation errors. r=mak
MozReview-Commit-ID: H4vp6ZULSq7

--HG--
extra : rebase_source : a3bb16fd51700d9de0d31bf574a82e5ce4dfca94
2017-07-13 10:09:49 -07:00
Thomas Wisniewski 941e4787b2 Bug 1348911 - Add lastAccessed to tabs.Tab; r=mixedpuppy,zombie
MozReview-Commit-ID: 4ulhseGDQ4P

--HG--
extra : rebase_source : 12037d094ffe72b347436759b7011516b145fa92
2017-07-07 20:17:23 -04:00
Mark Banner e3138a222a Bug 1292426 - Rewrite browser_visituri_privatebrowsing_perwindowpb.js to use modern async facilities and ensure we await on the final check to avoid intermittents. r=mak
MozReview-Commit-ID: G2znd7sq5x5

--HG--
extra : rebase_source : b9c47527e4f7e3ad16a0dc5dfde6a85ed7c146f7
2017-07-17 12:31:12 +01:00
flyingrub 56f07a5544 Bug 1381089 - Fix about:telemetry raw JSON display r=chutten
Display the entire ping instead of just the payload

MozReview-Commit-ID: JnNk2AjvTvC

--HG--
extra : rebase_source : f5f5eb329f4eafb5762fa12fa9a1724d9a730790
2017-07-17 22:11:03 +02:00
flyingrub ad06bdbe98 Bug 1380626 - Fix about:telemetry child payload selection r=chutten
Prevent a bug on child payload selection.

MozReview-Commit-ID: L0JEOUGEONI

--HG--
extra : rebase_source : c4fcc57436464135b51526dccbe7f321aa1fd830
2017-07-13 15:31:29 +02:00
flyingrub 6c2670d543 Bug 1378759 - Add a search input to each section r=chutten
Also better integrate the process selector to the new design.

MozReview-Commit-ID: 8YV6dYPFZvA

--HG--
extra : rebase_source : 4a25bda87a9b2ad5f4fc7054070b1f7f101a47bd
2017-07-08 19:46:36 +02:00
flyingrub 0905d55bec Bug 1378759 - Improve the readability of table in about:telemetry r=chutten
Reduce the size of the sidebar to let more space available for the
actual content.

MozReview-Commit-ID: 5z1zwxC8Ys1

--HG--
extra : rebase_source : aef10ffd4223c52cd3858ea099cdb9abacab83a9
2017-07-06 15:12:08 +02:00
Chris Pearce 0100f3c66f Bug 1380188 - Update GMP download fallback to Widevine CDM 970. r=mconley
We are pushing out a new Widevine CDM version, so we need to update the CDM
downloader to download the new version if the GMP AUS server is down.

Note that the existing code won't download a CDM/GMP using the fallback path if
a CDM/GMP is not already installed.


MozReview-Commit-ID: 6eF4QupkU77

--HG--
extra : rebase_source : ce0aafd4e3e07cfc1fc96fb5523ca69b0dddbac9
2017-07-12 10:23:48 +12:00
Jonathan Guillotte-Blouin 7f053fd8ed Bug 1381141 - Implement PaymentRequest UI stubs. r=MattN
MozReview-Commit-ID: o8gtrkOE2p

--HG--
rename : toolkit/components/satchel/.eslintrc.js => toolkit/components/payments/.eslintrc.js
extra : rebase_source : a36228edc1c0305c9386bc9fdb316dabf0c49afe
2017-07-14 14:28:50 -07:00
Bob Silverberg 456985f68e Bug 1333376 - Support reading the title and setting the title preface of a Window object, r=aswan
Implements a title property on the Window object, and allows for a titlePreface to be set
both via windows.create and via windows.update.

MozReview-Commit-ID: CaWwPN0utzs

--HG--
extra : rebase_source : 20d4310063bc37fccb1a1fe68b5d67ec2cc0e433
2017-07-05 16:53:10 -04:00
Bob Silverberg 8eee0f1bac Bug 1347704 - Fix Intermittent test_ext_i18n.js, r=kmag
Wait for content script to be loaded before sending a message to it.

MozReview-Commit-ID: ENsMbdjLuVx

--HG--
extra : rebase_source : d0f56ce5b08bc0882c6a54b9aa02f8a36a27719b
2017-07-14 09:09:34 -04:00
Sebastian Hengst 27f7641802 Backed out changeset 1d1b993bfea6 (bug 1330732) for failing chrome's test_chrome_ext_contentscript_unrecognizedprop_warning.html and test_chrome_ext_eventpage_warning.html. r=backout 2017-07-17 20:46:06 +02:00
Mark Striemer ad3bd63b56 Bug 1330732 - Show install warnings in about:debugging r=aswan,jdescottes
MozReview-Commit-ID: 8SFcYuln8w8

--HG--
extra : rebase_source : 4ea494040aa0a7163709ebeaf24bcadd313fddc1
2017-06-29 11:11:21 -07:00
Lie Ryan 7384583396 Bug 1361855 - Added TAB_COUNT to Histograms.json; r=bsmedberg
MozReview-Commit-ID: 2aLMUAk4G4c

--HG--
extra : rebase_source : e1b8873d1f9cece90733bc6fd8089e5ee8ea234d
extra : histedit_source : 7fd768e95b38634aa43c474e908aaf721c5c0782
2017-06-09 18:42:49 +00:00
Sebastian Hengst 186c6d7165 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: Kr2w3UdA0p9
2017-07-15 16:34:47 +02:00
Wes Kocher e76d9f38e1 Backed out changeset 23327a999975 (bug 1381141) for failures in browser_all_files_referenced.js a=backout
MozReview-Commit-ID: DB2VYNfydAh
2017-07-15 01:13:25 -07:00
Wes Kocher 6d62b1970e Merge m-c to inbound, a=merge
MozReview-Commit-ID: 4kiY84LofOi
2017-07-14 17:19:10 -07:00
Wes Kocher e9fa5c772a Merge inbound to central, a=merge
MozReview-Commit-ID: 8nlqm5dHCUQ
2017-07-14 17:14:43 -07:00
Kris Maglione 8cbd7a12c9 Bug 1381023: Follow-up: Fix xpcshell failure.
MozReview-Commit-ID: BB8ItETtRMb

--HG--
extra : rebase_source : 81885a8417d83dcae6b0a3896483f0a60e56cb8b
2017-07-14 10:50:54 -07:00
Kris Maglione b87727cbfa Bug 1378727: Part 2 - Use the zip reader cache when reading extension locales. r=aswan
MozReview-Commit-ID: BOoVcyypdRN

--HG--
extra : rebase_source : c0ea49795efc4c72effbc3256d25f51f40359680
extra : source : a8809f15b58213f3292b9eaf7fa9583377d1fa30
2017-07-13 12:30:29 -07:00
Kris Maglione 949f2daa6d Bug 1378727: Part 1 - Add helper to enumerate cached ZipReader without locking issues. r=Mossop
MozReview-Commit-ID: Kuw58LE1nYg

--HG--
extra : rebase_source : f9a18ad62351345bed6ca8650fe4d8f6b94666a2
2017-07-13 12:30:15 -07:00
Kris Maglione a97f59bd1b Bug 1380290: Use correct message manager when communicating with inline options browsers. r=aswan
MozReview-Commit-ID: HpxXG3S2zgp

--HG--
extra : rebase_source : fea9712e94676ea0d8c71a59788a6df51780ec2a
2017-07-12 17:41:12 -07:00
Kris Maglione 499d995e58 Bug 1381023: Don't treat no response as an error in hybrid extension message handling. r=trivial
MozReview-Commit-ID: FukWQcLwFOT
2017-07-14 09:40:10 -07:00
Florian Quèze 94d67824bc Bug 1369460 - AsyncPrefs.jsm should be imported lazily from nsBrowserGlue.js, r=mconley,snorp. 2017-07-15 00:16:30 +02:00
Mason Chang 4e5fc5862f Bug 1381034 - Delete DISPLAY_ITEM_USAGE_COUNT telemetry probe. r=dvander 2017-07-14 13:13:39 -07:00
Bill McCloskey 3ac14bd693 Bug 1380880 - Use process type to distinguish keyed histograms (r=chutten)
MozReview-Commit-ID: 8pcou7DsU7S
2017-07-14 12:44:54 -07:00
Wes Kocher ee45f814bb Merge m-c to autoland, a=merge
MozReview-Commit-ID: GOb2bgdUd36
2017-07-14 17:27:36 -07:00
Jonathan Guillotte-Blouin dc5584a055 Bug 1381141 - Implement PaymentRequest UI stubs. r=MattN
MozReview-Commit-ID: o8gtrkOE2p

--HG--
rename : toolkit/components/satchel/.eslintrc.js => toolkit/components/payments/.eslintrc.js
extra : rebase_source : 2f1a916d0f2638efd344cdbe177216fe29fbfe8f
2017-07-14 14:28:50 -07:00
Andrew McCreight 5de8ffcbf5 Bug 1379786, part 1 - Remove dead code related to the security manager. r=mrbkap
Also, one unused include of nsIProgrammingLanguage, which is unrelated.

MozReview-Commit-ID: LJf2NSwmaYG

--HG--
extra : rebase_source : 63dfca9185535dbfa695cf2f383d81a14ce423c0
2017-07-07 15:59:29 -07:00
Blake Kaplan bb284dfc84 Bug 1372824 - Work around race conditions on startup enabling e10s. r=Felipe
There are two race conditions that happen on startup because we read an
install.rdf with a DOM parser before addons have a chance to run. The current
code caches the first value that it computes, meaning that if it runs before
e10srollout does, it will cache the default values for its channel (off on
Beta and Release). This patch fixes the races by never caching the value of
the MultiprocessBlockPolicy (which is fine, it's only ever called in two
places) and by letting e10srollout tell BrowserTabsRemote to update its cached
value.

MozReview-Commit-ID: HsUIrPzqwl0

--HG--
extra : rebase_source : f3d12f43e8c7150d60e94f186de8b68188736dc4
2017-07-13 12:16:42 -07:00
Felipe Gomes fd8c256160 Bug 1379175 - Add a blue badge to the plugin icon in the URL bar when there are plugins to be activated. r=Felipe
MozReview-Commit-ID: 5tlQhEF5D62

--HG--
extra : rebase_source : b0c0717edaf5ad4958172a4840fc7349c0091af8
2017-07-14 18:34:42 -03:00
Kit Cambridge 3da5c62b82 Bug 1380740 - Remove remaining visit title fallbacks for untitled bookmarks. r=mak
MozReview-Commit-ID: 1f4HMWzxXat

--HG--
extra : rebase_source : cba8855f18a12aa48ff9cd0b10036297738237b2
2017-07-13 19:08:40 -07:00
Kris Maglione 0bf0dd53cc Bug 1381687: Follow-up: Fix bustage where theme code is touching raw schema JSON that it shouldn't be.
MozReview-Commit-ID: 9Uwfbml0Ria

--HG--
extra : rebase_source : f082a9a049cc18ab85b0a965e4ab63560d47f922
2017-07-19 22:28:09 -07:00
Kris Maglione 6bec989e12 Bug 1381687: Store and transfer schema JSON in structured clone blobs. r=aswan (not a CLOSED TREE)
MozReview-Commit-ID: FMSbSB1hC3F

--HG--
extra : rebase_source : 73acb9e276fa9cee52c000eae1149b18353736bd
extra : amend_source : 705d22ecd38b10f64009f596f0936673fe054ba0
2017-07-17 15:33:54 -07:00
Tomislav Jovanovic 7ae4dbf848 Bug 1363886 - Part 3: Check async callback arguments against schema r=kmag
MozReview-Commit-ID: E0yp9SdJrv6

--HG--
extra : rebase_source : d94e5269d73883d970aba0768d4727943e753cb2
2017-05-21 04:19:46 +02:00
Tomislav Jovanovic d688cf9be3 Bug 1363886 - Part 2: Fix a number of async callback parameters schemas r=kmag
MozReview-Commit-ID: JY8r8IePEcw

--HG--
extra : rebase_source : 9d86b26a61a56a4446b05c348716001cc39a1843
2017-07-24 22:05:20 +02:00
Tomislav Jovanovic 11da51bc71 Bug 1363886 - Part 1: Check API function results against schema r=kmag
MozReview-Commit-ID: E2mGR03zUSf

--HG--
extra : rebase_source : c6e5ba33da902bda726de74f48afba71bc1bfe66
2017-07-24 00:03:20 +02:00
Wes Kocher 823f61b3a6 Backed out changeset 7e0990dca8d1 (bug 1380065) at developer's request a=backout
MozReview-Commit-ID: HTBdXaEmagI
2017-07-24 16:13:28 -07:00
Thom Chiovoloni 23b85ab316 Bug 1337978 - Unify the multiple notions of 'weak upload' in sync. r=kitcambridge,markh
MozReview-Commit-ID: 5vTCAhUfMzm

--HG--
extra : rebase_source : fea6783352868e15481a751923aac2a166ad5506
2017-07-18 14:18:04 -04:00
Sam Foster 3dd758f190 Bug 1380065 - Disable arrow-panel animations if the cosmeticAnimations pref is set to false. r=jaws
* Toggle animate=false attribute on arrow panels when toolkit.cosmeticAnimations.enabled is false
* Use preferences-service component to lookup the pref in the arrowpanel binding
* Disable this pref during tests to remove a source of instability and timing-based test failures in chrome/UI tests.
* Enable cosmeticAnimations for tests which depend on existing behavior

MozReview-Commit-ID: IvA2ySPPmeJ

--HG--
extra : rebase_source : 4ed74175107b2cf831b698361f0a2a9b1bd72113
2017-07-13 14:30:38 -04:00
John Dorlus 633f3daf60 Bug 1374863 - Added wait for telemetry to reinitialize after reboot when setting gecko prefs. r=chutten
Added 5 second wait for telemetry to reinitialize.

MozReview-Commit-ID: 7R2QnQQUfKq

--HG--
extra : rebase_source : 7892da8a6739acac589ca039c21f6e4746854359
2017-07-13 15:13:21 -04:00
flyingrub f38ffa3ea7 Bug 1382331 - Redesign histograms in about:telemetry r=chutten
Divide the current height by two to improve the readability.
Change the colors so that they match the firefox color palette.
Also prevent the label of histogram's bar to overlap.

MozReview-Commit-ID: 5FLgFXk94ng

--HG--
extra : rebase_source : e090b4c5ae787b51c2b1b054e6f7b99d00bc2311
2017-07-19 21:28:07 +02:00
Sebastian Hengst d2e9d3aa42 Backed out changeset bd140659a6b7 (bug 1382331) for eslint failure at aboutTelemetry.js:1353: Strings must use doublequote. r=backout 2017-07-24 19:17:16 +02:00
flyingrub 5b91f9c5c0 Bug 1382331 - Redesign histograms in about:telemetry r=chutten
Divide the current height by two to improve the readability.
Change the colors so that they match the firefox color palette.
Also prevent the label of histogram's bar to overlap.

MozReview-Commit-ID: 5FLgFXk94ng

--HG--
extra : rebase_source : 59374f2bd4a6c95744409c6278f7e5efcb50ea02
2017-07-19 21:28:07 +02:00
Zibi Braniecki cc3d3ab8cd Bug 1379905 - Switch mozIntl, datetimebox and DateTimeFormat to use GetRegionalPrefsLocales. r=jfkthame,smaug
MozReview-Commit-ID: IqGbT6ZUfuN

--HG--
rename : dom/tests/mochitest/chrome/test_window_getAppLocales.html => dom/tests/mochitest/chrome/test_window_getRegionalPrefsLocales.html
extra : rebase_source : 3180b337ec33bfc8959d0189c8a53ca2c3306e95
2017-07-14 16:47:23 -07:00
Servo VCS Sync c97e84bf92 No bug - Revendor rust dependencies 2017-07-24 14:37:03 +00:00
Tomislav Jovanovic ce9a883a55 Bug 1363886 - Part 3: Check async callback arguments against schema r=kmag
MozReview-Commit-ID: E0yp9SdJrv6

--HG--
extra : rebase_source : b1b31499c166d7fa9320ba5d6ddff3b1b9c980a5
2017-05-21 04:19:46 +02:00
Tomislav Jovanovic 6c93e76d0c Bug 1363886 - Part 2: Fix a number of async callback parameters schemas r=kmag
MozReview-Commit-ID: JY8r8IePEcw

--HG--
extra : rebase_source : e5a031affda3f28fb9eb3ebd0723e64648f20848
2017-07-25 20:57:45 +02:00
Tomislav Jovanovic 8a5320360e Bug 1363886 - Part 1: Check API function results against schema r=kmag
MozReview-Commit-ID: E2mGR03zUSf

--HG--
extra : rebase_source : c6e5ba33da902bda726de74f48afba71bc1bfe66
2017-07-24 00:03:20 +02:00
Mike Hommey b4449d7604 Bug 1383996 - Make most calls to `mach artifact toolchain` output a manifest. r=gps
And upload it as artifact.

--HG--
extra : rebase_source : b29cf6fa4527608b45050ad91b4e3248654f1657
2017-07-20 17:56:22 +09:00
Jan Henning 9960024671 Bug 1278704 - Hide Fennec's floating reader view button when scrolling down. r=Gijs
MozReview-Commit-ID: 48wHUpet8ES

--HG--
extra : rebase_source : 3507290d9c8c7502bb2eae7f292c4472c18ec04e
2017-07-22 18:55:38 +02:00
Zibi Braniecki 2b81e48d4c Bug 1380278 - UpdateUtils.getLocale to Fetch API for async I/O. r=florian,whimboo
The NetUtils sync I/O shows up in the profile logs, so we want to switch the
function that loads `update.locale` file to be async.

MozReview-Commit-ID: AEYKiivsNl0

--HG--
extra : rebase_source : 3784a3d40d48e81df41d10eb92b35e1656a0305b
2017-07-12 10:34:23 -07:00
dw-dev 6c4686768a Bug 1269300 Patch 5;r=mixedpuppy
MozReview-Commit-ID: ByikIYU4ASF

--HG--
extra : rebase_source : 85e2bed93c47f8bdb2df7165b1f01169619cb170
2017-07-13 18:34:29 +01:00
Ryan VanderMeulen 112cadfae3 Merge m-c to autoland. a=merge 2017-07-14 09:52:56 -04:00
Ryan VanderMeulen 019bd042fc Merge autoland to m-c. a=merge 2017-07-14 09:16:03 -04:00
Alessio Placitelli ebea250b47 Bug 1374828 - Properly initialize/shutdown telemetry in test_TelemetrySession.js. r=chutten
This patch adds TelemetryController.testShutdown() calls to the tests that
were not calling it, relying on TelemetryController.testReset() to do the
full shutdown/restart cycle. Without the shutdown, the telemetry scheduler
was generating rougue daily pings at undesired times.
2017-07-13 09:51:00 +02:00
Andrea Marchesini 50f9ea47a3 Bug 1350958 - Finish labeling ProxyReleaseEvent, r=billm 2017-07-14 08:49:22 +02:00
Marco Bonardo 3b84e3b5df Bug 1359899 - Add a way to control the awesomebar contents mixup through prefs. r=Paolo
Allows to set browser.urlbar.maxHistoricalSearchSuggestions to fetch a given number of
historical search suggestions.
Allots to set browser.urlbar.matchBuckets to change the location bar mixup of results.
The system is based on an array of buckets, each bucket is an array containing the type
of the match accepted by the bucket (MATCHTYPE) and the number of available slots in the bucket.
At every new match insertion, addMatch() loops all the buckets to find the first
compatible and available slot.

Note that the pref format may change in the future, we plan to add an id to each bucket and
frecency may change from an absolute to a relative value.

MozReview-Commit-ID: 5j7esakF5bu

--HG--
extra : rebase_source : e6470d1fe0015664935628bef069a7684052c0d5
2017-07-05 14:35:54 +02:00
Servo VCS Sync 97e5ebd02b No bug - Revendor rust dependencies 2017-07-14 10:05:27 +00:00
Mark Banner 9651d46673 Bug 1378711 - Ensure that current places transactions have completed before clearing batch processing mode to avoid messing up the undo queue. r=mak
MozReview-Commit-ID: 7k0sgZIaUyB

--HG--
extra : rebase_source : 36a599395a13374550644dd5a2c63f8938de8d6d
2017-07-06 11:57:44 +01:00
Sebastian Hengst 4374905bde Backed out changeset fb02b6e36ae3 (bug 1365133)
--HG--
rename : browser/components/preferences/in-content-new/tests/browser_security-2.js => browser/components/preferences/in-content-new/tests/browser_security.js
2017-07-14 11:34:48 +02:00
Shih-Chiang Chien 42e587bffb Bug 1357682 - Part 2, add telemetry for HTTPChannelChild OMT success/fail rate and reason. r=bsmedberg,mcmanus data-r=bsmedberg
In order to identify how HTTP OMT is used in user environment, I add a telemetry HTTP_CHILD_OMT_STATS
to record the success and fail reason for each HttpChannelChild.
- "success": OMT request is accepted and the target thread is not main thread.
- "successMainThread": OMT request is accepted but the target thread is still main thread.
- "failListener": OMT request is rejected by the direct listener of this channel.
- "failListenerChain": OMT request is rejected by one of the listener in the listener chain.
- "notRequested": HTTP OMT is not requested by the channel owner.

MozReview-Commit-ID: 1Gif1oteOOh

--HG--
extra : rebase_source : a46ea42f8d5cb58071dd9d31416423522f3e7c67
2017-07-11 14:52:35 +08:00
Shih-Chiang Chien 36156c3e82 Bug 1357682 - Part 1, helper function for keyed categorical histogram. r=gfritzsche
Create AccumulateCategoricalKeyed() to specify both key and value for the categorical histogram,
sinc AccumulateCategorical() only support non-keyed histogram.

MozReview-Commit-ID: qYMnL9P6Ik

--HG--
extra : rebase_source : 446543601e9234da25d292018d8a6e8a7ac7ba22
2017-07-11 16:51:07 +08:00
Vangelis Katsikaros c1fcf7f4af Bug 1366102 - Remove the DEVTOOLS_OS_* probes from our Telemetry. r=miker
MozReview-Commit-ID: IGjaTqiGoFz

--HG--
extra : rebase_source : 66b0be811cf20b022562445d71b0e8d968c3f5ad
2017-05-30 16:36:35 +03:00
Bob Silverberg 17a29c970b Bug 1330494 - Part 1: Remove async from functions in ExtensionSettingsStore that don't need to be async, r=aswan
MozReview-Commit-ID: KmpBdrLmVNK

Also added a hasSetting method to ExtensionSettingsStore to check whether a particular extension has a
setting stored for a particulay key.

--HG--
extra : rebase_source : 659b42d941baa96c14a22ac0f114175ae12f7f91
2017-06-29 11:27:47 -07:00
Andrew Swan 4faf2a2bd8 Bug 1352239 Don't prompt for optional permissions an extension already has r=kmag
MozReview-Commit-ID: EwyzfFB3LyS

--HG--
extra : rebase_source : 87819c14365e9d18f190906413cef513531baddd
2017-07-01 16:49:14 -07:00
Evan Tseng 0629d1aa92 Bug 1365133 - Update tests - Part 2. r=jaws
MozReview-Commit-ID: GoOXdJ4RfY9

--HG--
rename : browser/components/preferences/in-content-new/tests/browser_security.js => browser/components/preferences/in-content-new/tests/browser_security-1.js
rename : browser/components/preferences/in-content-new/tests/browser_security.js => browser/components/preferences/in-content-new/tests/browser_security-2.js
extra : rebase_source : 8bb4b9573ae35640ef02335407c9348a70f7355f
2017-06-20 15:11:46 +08:00
J. Ryan Stinnett 50ecb4bb87 Bug 1379857 - Record Rust panics for child process crashes. r=dmajor
Install crash reporter's panic hook in child processes (and also delay the main
process installation until we know crash reporter is enabled).

When collecting child crash annotations, read the Rust panic message if it
exists.

MozReview-Commit-ID: Gfp2E8IHjw8

--HG--
extra : rebase_source : 9e261f399e7c54fc262a1500cf2514ddd1012406
2017-07-12 14:41:19 -05:00
Kartikaya Gupta 1faaf0568b Bug 1379604 - Update versions in Cargo.toml/Cargo.lock files. r=jrmuizel
MozReview-Commit-ID: 9PoNmkBFOhF

--HG--
extra : rebase_source : e50e1820e70ef3f4e3c0f8c8854ac45cc202677a
2017-07-13 10:27:44 -04:00
Tom Ritter 298109b5e5 Bug 1380110 Fix --disable-sandbox by adding #if guards r=bobowen,handyman
MozReview-Commit-ID: ETjN2KTUi4l

--HG--
extra : rebase_source : aab381bd58d09361c86c3fd08a9e9a9b7969159f
2017-07-12 09:31:39 -05:00
Chris Manchester 5cb678d0e7 Bug 1304042 - Fail the build if running dsymutil fails. r=mshal
MozReview-Commit-ID: 9ROIRpuoVGR

--HG--
extra : rebase_source : 4fc696f8b658a0a494d4ae9690e8a7cd5b6e3554
2017-07-13 11:57:50 -07:00
Mike Shal 29be674102 Bug 1380381 - Set rust debuginfo=1 for cross-OSX builds; r=glandium a=kwierso to reopen this CLOSED TREE
This is similar to bug 1301751, where something in rust seems to trigger errors
running dsymutil to generate debug symbols in OSX. We can set debuginfo=1 for
these builds as a temporary workaround for now, while we work on a more
permanent solution in rust and/or dsymutil. debuginfo=1 still gives us enough
info for stack traces, although without line info. debuginfo=2 would be useful
for debugging, but is irrelevant to crash reports.

MozReview-Commit-ID: DdA00GzVfWg

--HG--
extra : amend_source : 47d3573042098194a07f9b473e4a02c86a1eba7c
2017-07-13 18:49:10 -04:00
Carsten "Tomcat" Book e3195ceb5a Merge mozilla-central to inbound 2017-07-13 16:38:32 +02:00
Carsten "Tomcat" Book 260b5f956f merge mozilla-inbound to mozilla-central a=merge 2017-07-13 16:35:22 +02:00
Junior Hsu 701141a790 Bug 1373198 - Part 6: disable rcwn for toolkit mochitest tests which require deterministic cache behavior, r=mixedpuppy 2017-07-10 23:51:00 +02:00
Jan-Ivar Bruaroey 1630af9168 Bug 1372509: Fix eslint warnings in about:webrtc. r=jesup 2017-07-11 16:27:47 -04:00
Servo VCS Sync 2df4d564c7 No bug - Revendor rust dependencies 2017-07-13 09:44:59 +00:00
Marco Bonardo deccd6c2ca Bug 1380302 - Fix -Wmaybe-uninitialized warnings in Places. r=adw
MozReview-Commit-ID: 2HxDMhYzaib

--HG--
extra : rebase_source : dfaab44c56d811c551999208025fe449ed3c1d92
2017-07-12 21:29:58 +02:00
Servo VCS Sync 20238de791 No bug - Revendor rust dependencies 2017-07-13 01:15:41 +00:00
L. David Baron 52aade4917 Backed out changeset 90ae2fcd089a (bug 1378727) for numerous xpcshell test failures on Windows, starting with test_ext_browsingData_downloads.js. 2017-07-12 22:23:42 -07:00
Yoshi Huang 52592be689 Bug 1377523 - Part 1: add dummy.xul. r=smaug
ExtensionParent.jsm uses a data: URI window, and will cause this XUL
window as a cross-origin window, so we replace it with a dummy.xul
2017-07-13 12:27:30 +08:00
Andrew Swan e4c8552995 Bug 1379831 Make sure we always load the XPI database r=mossop
Telemetry requires information that we read from the XPI database and
it blocks shutdown until it gets that information.  Now that we're no
longer loading the XPI database during startup, create a safety net here
and load the database if it isn't already loaded when shutdown begins.

MozReview-Commit-ID: LkoNn7wusxN

--HG--
extra : rebase_source : c9621ebbf5beb9de55e9e9e6217bedc7053b7d25
2017-07-11 17:25:56 -07:00
Mike Conley 3185a664ea Bug 1378146 - Extend printing Telemetry probes. r=Gijs,liuche, data-review=liuche
MozReview-Commit-ID: 2eeebPRhiG0

--HG--
extra : rebase_source : 85e7daaeca7f337f61eeb7f8c991178503e6838e
2017-07-12 11:08:59 -04:00
Mike Conley f011e1406d Bug 1378146 - Extend tab switch timing probes and update alert emails. r=krizsa,liuche, data-review=liuche
MozReview-Commit-ID: 43HpdRWa2cY

--HG--
extra : rebase_source : da21ded40d3bf957a17f1a17af372ac8b546ded5
2017-07-12 11:08:14 -04:00
Kit Cambridge 7d92c90880 Bug 1379412 - Don't fall back to the history visit title when fetching folder children. r=mak
MozReview-Commit-ID: 3ynWSLAPDZ3

--HG--
extra : rebase_source : 0127cee5cb826a75b6c388018e769951724a9166
2017-07-10 11:27:39 -07:00
Kit Cambridge 8311a354e2 Bug 1379798 - Ensure `insertTree` notifies observers with the correct parent ID. r=standard8
MozReview-Commit-ID: LBm8VddumPJ

--HG--
extra : rebase_source : 6c1624a408843afe64f7efab24704502034bee9d
2017-07-10 14:38:21 -07:00
Mark Banner 35f3666937 Bug 1380009 - Enable the ESLint no-return-await call to avoid unnecessary intermediate promise creation. r=mossop
MozReview-Commit-ID: EnhSBHMjurr

--HG--
extra : rebase_source : 74ba4c10e369067629af95bf705a9acd0df1089b
2017-07-11 22:49:55 +01:00
Brad Werth 47c4736962 Bug 1059424 Part 3: Simplify DynamicImages::GetDyldAllImageInfosPointer now that we are minimum macOS 10.9. r=mstange
MozReview-Commit-ID: EMJwpU7LetP

--HG--
extra : rebase_source : 80d00d5165aa9c70ce71db7cb88d53c4ff06870d
2017-07-10 15:44:37 -07:00
Milan Sreckovic 833e79e77d Bug 1378146: Extend CONTENT_PAINT_TIME and CONTENT_LARGE_PAINT_PHASE_WEIGHT to 60, and update the e-mails. r=dvander
MozReview-Commit-ID: KatwzNoPMQD

--HG--
extra : rebase_source : c1137afd67524399da4180bb8aee809ed444243d
2017-07-11 10:08:32 -04:00
Johann Hofmann a4ce956932 Backed out changeset 4488424e14ae for causing Bug 1377802. r=tnikkel
MozReview-Commit-ID: 8KUWWoWvCvF

--HG--
extra : rebase_source : 69ab6bbf9db8b9feb46e116f2fe82d0b526a74d8
2017-07-11 23:18:35 +02:00
Carsten "Tomcat" Book bf8ecdbf1a Merge mozilla-central to autoland 2017-07-12 11:18:59 +02:00
Carsten "Tomcat" Book 0edfa97e38 merge mozilla-inbound to mozilla-central a=merge 2017-07-12 11:07:09 +02:00
Francois Marier c6cd05d5eb Bug 1376036 - Run data and blob URIs through Application Reputation checks. r=gcp
blob URIs are sent through unfiltered and data URIs are hashed in
the same way as Chrome does.

Also, we used to bail on the first invalid URL we encountered. We now
keep going, checking the other URLs in the chain and eventually doing
the remote lookup.

--HG--
extra : rebase_source : a4ddaae973e931be4e10af46660ea1f7aed11887
2017-07-11 23:02:23 -04:00
Thomas Nguyen 32b3145839 Bug 1377559 - Should store value of preference browser.safebrowsing.debug to reuse r=francois
MozReview-Commit-ID: 1yWe7wB0ARl

--HG--
extra : rebase_source : eed70f5a7c1ad38e8ec24a86c8f606d9a5ba3e2a
2017-07-04 16:36:31 +08:00
Ricky Chien ab09f75afa Bug 1363824 - about:addons Experiments tab "Telemetry Preferences" link is broken r=jaws
MozReview-Commit-ID: DdDZEaTvqCV

--HG--
extra : rebase_source : 18395fd2cd87951d9fe176891b05ca36edc6b0d0
2017-07-10 18:28:32 +08:00
Kris Maglione b9733549b8 Bug 1364768: Part 6 - Use startup cache for initial extension permission data. r=aswan
Reading the extension permissions DB at startup takes several hundred
milliseconds, largely from the overhead of initializing OS.File. We can avoid
that somewhat by using the stream APIs to read the files, and beginning the
read very early. But the eager initialization gets complicated, and we still
add extra IO to startup.

After this change, the permissions JSON file still remains the primary source
of truth, but the state as of the last session is cached in the volatile
extension startup cache to decrease the overhead of reading it at startup.

MozReview-Commit-ID: HGDt5kSsdzX

--HG--
extra : rebase_source : 511b9a03619f70c3e601a5e1b5985bf3d5efa21f
2017-05-14 16:12:33 -07:00
Kris Maglione 6554146755 Bug 1364768: Part 5 - Store the list of available locales in the startup cache. r=aswan
For unpacked extensions, loading the locales list adds an appreciable delay to
startup time. For packed extension, the overhead is much lower, but still best
avoided.

MozReview-Commit-ID: 6kicOU78fpZ

--HG--
extra : rebase_source : fe88cdd42071c5b7a883b2cad97679381aa5c074
2017-05-14 16:56:59 -07:00
Kris Maglione 9319fd72c9 Bug 1364768: Part 4 - Switch to a compressed, binary flat file for startup cache. r=aswan
IndexedDB helped where we needed to decrease main thread CPU, but it also took
so long to inialize during startup (over 500ms on a fast machine) that it
delayed extension startup more than was acceptable.

Using a structured clone flat file solves the same issues that IndexedDB did,
but with much less startup overhead.

MozReview-Commit-ID: 1Of7uxKCfkg

--HG--
extra : rebase_source : f2f7f9f852d40d547d43da4804a6bb7be00fdded
2017-07-10 22:51:28 -07:00
Kris Maglione 2f6aeba16c Bug 1364768: Part 3 - Add helpers to serialize and deserialize compressed structured clone blobs. r=rhelmer
MozReview-Commit-ID: JSl97FjWbK

--HG--
extra : rebase_source : fcb897c751b8f6f191f2d5367ac1f28438cc18f2
2017-05-14 15:56:50 -07:00
Kris Maglione ff0f8560f8 Bug 1364768: Part 2 - Add AsyncShutdown finalizer support to DeferredSave. r=rhelmer
MozReview-Commit-ID: LAvOErU1YB8

--HG--
extra : rebase_source : a64786b0a44ba70f500c7e3686c89023d643eb76
2017-05-14 15:55:42 -07:00
Carsten "Tomcat" Book 31311070d9 merge mozilla-inbound to mozilla-central a=merge 2017-07-11 12:51:59 +02:00
Bob Owen b2ce31f287 Bug 1365601 Part 2: Disable parts of the Print Preview toolbar until update has finished. r=mconley 2017-07-11 07:38:36 +01:00
Bob Owen 8cde474060 Bug 1365601 Part 1: Send number of pages on printPreviewUpdate event instead of requesting from parent. r=mconley
This also makes sure that we don't call nsIWebBrowserPrint::PrintPreview while we're still in a previous call.
2017-07-05 18:12:36 +01:00
David Anderson dd94534a4f Disable Advanced Layers when the sanity test fails. (bug 1377866 part 3, r=mchang) 2017-07-10 19:30:52 -07:00
Wes Kocher 868f84f2d8 Merge m-c to inbound, a=merge 2017-07-10 18:48:52 -07:00
Wes Kocher 8e3be4c671 Merge inbound to central, a=merge 2017-07-10 18:43:02 -07:00
Kris Maglione 3d2f150743 Bug 1370752: Part 3 - Use structured clone rather than JSON to sanitize storage values. r=aswan
This gives us performance wins in sevaral areas:

- Creating a structured clone blob of storage data directly from the source
  compartment allows us to avoid X-ray and JSON serialization overhead when
  storing new values.

- Storing the intermediate StructuredCloneBlob, rather than JSON values,
  in-memory saves us additional JSON and structured clone overhead when
  passing the values to listeners and API callers, and saves us a fair amount
  of memory to boot.

- Serializing storage values before sending them over a message manager allows
  us to deserialize them directly into an extension scope on the other side,
  saving us a lot of additional structured clone overhead and intermediate
  garbage generation.

- Using JSONFile.jsm for storage lets us consolidate multiple storage file
  write operations, rather than performing a separate JSON serialization for
  each individual storage write.

- Additionally, this paves the way for us to transition to IndexedDB as a
  storage backend, with full support for arbitrary structured-clone-compatible
  data structures.

MozReview-Commit-ID: JiRE7EFMYxn

--HG--
extra : rebase_source : caed13b099e7cb05de8d516761e32298a7a81ee5
extra : source : 42d3c1599af53b047d7ccd6b1c92ab08975284d7
2017-07-10 18:24:11 -07:00
Geoff Brown 82199df876 Bug 1314039 - Fix incorrect skip-if for browser_thumbnails_capture.js; r=me,test-only 2017-07-10 17:06:17 -06:00
Wes Kocher 8185294d28 Backed out 2 changesets (bug 1370752) for failures in test_ext_storage.js a=backout
Backed out changeset 42d3c1599af5 (bug 1370752)
Backed out changeset 9c4bf59ab966 (bug 1370752)

MozReview-Commit-ID: 4M6DsJvJ6RI
2017-07-10 14:34:56 -07:00
L. David Baron 715cb90c8e Bug 1343715 - Split nsTSubstring::mFlags into separate variables for class and data flags (rust bindings changes). r=mystor
Thanks to Manish for help in reflecting this idiomatically in rust.

MozReview-Commit-ID: 8tB7vsc5yxc

--HG--
extra : transplant_source : F%87%16%82.P%BD%F3%B1%A4%19%BA%F0%3DQ%F6%ED%BD%95%60
2017-07-10 12:23:11 -07:00
Kris Maglione a835678477 Bug 1370752: Part 3 - Use structured clone rather than JSON to sanitize storage values. r=aswan
This gives us performance wins in sevaral areas:

- Creating a structured clone blob of storage data directly from the source
  compartment allows us to avoid X-ray and JSON serialization overhead when
  storing new values.

- Storing the intermediate StructuredCloneBlob, rather than JSON values,
  in-memory saves us additional JSON and structured clone overhead when
  passing the values to listeners and API callers, and saves us a fair amount
  of memory to boot.

- Serializing storage values before sending them over a message manager allows
  us to deserialize them directly into an extension scope on the other side,
  saving us a lot of additional structured clone overhead and intermediate
  garbage generation.

- Using JSONFile.jsm for storage lets us consolidate multiple storage file
  write operations, rather than performing a separate JSON serialization for
  each individual storage write.

- Additionally, this paves the way for us to transition to IndexedDB as a
  storage backend, with full support for arbitrary structured-clone-compatible
  data structures.

MozReview-Commit-ID: JiRE7EFMYxn

--HG--
extra : rebase_source : 04a5681c604c5d2acd781b7ce4f66a757465071a
2017-06-29 14:11:05 -07:00
Ralph Giles 50b5412f42 Bug 1379382 - Correct rust srcdir url. r=gps
We were prefix-matching the rust srcdir when hyperlinking
symbols, but then appending the relative source path to
the top level repo url, resulting in broken links.

Instead, link to the srcdir url at github.

MozReview-Commit-ID: 33tSMM96Vie

--HG--
extra : rebase_source : 13d5638d4029e40077c0ba8de34a64d3ff9e92be
2017-07-08 08:00:27 -07:00
Servo VCS Sync 2004ea3979 No bug - Revendor rust dependencies 2017-07-11 02:17:43 +00:00
Wes Kocher 1ef5d8834c Merge m-c to autoland, a=merge 2017-07-10 18:51:05 -07:00
Ray Lin dce63d52a4 Bug 1379030 - Only set calculated size to controlbar for audio element since audio-only video has already had given size from layout. r=jaws
MozReview-Commit-ID: 5H5U18DMVxO

--HG--
extra : rebase_source : 0b4129033e6073bd8bb696509f75fe8aca8a56df
2017-07-10 11:25:01 +08:00
Kartikaya Gupta 7c916dff61 Bug 1374730 - Update Cargo.lock files and revendor rust dependencies. r=jrmuizel
MozReview-Commit-ID: AoLr2W2NGhP

--HG--
extra : rebase_source : 892ea94c01f575b7f33d7cb740a74af5b58b02b0
2017-07-10 07:22:31 -04:00
Thomas Wisniewski 6e4b30e56a Bug 1376991 - Extend browsingData to restrict removing cookies to a give list of hostnames; r=mixedpuppy
MozReview-Commit-ID: 4Tfneh5s1Q8
***
Fixes for try run failures

MozReview-Commit-ID: 2BAT1GUcvH3

--HG--
extra : rebase_source : a9e3777e3967ee4e95bb27bd575020ed16a559e9
2017-06-30 09:11:18 -04:00
Fischer.json 3c65b9c7b2 Bug 1376558 - Should not migrate session for Firefox auto-refresh, r=MattN
This patch introduces an new environment variable called MOZ_RESET_PROFILE_MIGRATE_SESSION. Only when MOZ_RESET_PROFILE_MIGRATE_SESSION is set then Firefox profile migrator would migrate the old profile session data.

MozReview-Commit-ID: 5XNBSPzx9AR

--HG--
extra : rebase_source : 5ce482c2038192a43f5e7b3201dadc439d9f8273
2017-06-27 11:27:15 -07:00
Kris Maglione 6e35d2d69f Bug 1357486: Follow-up: Fix error on shutdown after incomplete startup.
MozReview-Commit-ID: Fgs3fWc2ylF
2017-07-09 15:32:18 -07:00
Kris Maglione 1318beec90 Bug 1357486: Follow-up: Don't propagate rejections to AsyncShutdown.
MozReview-Commit-ID: GyKXCBa890N
2017-07-09 14:19:24 -07:00
Kris Maglione 735764bc26 Bug 1357486: Follow-up: Wait for extension shutdown before starting storage shutdown. r=rhelmer
MozReview-Commit-ID: BvQkbsScA3N
2017-07-09 13:39:38 -07:00
Sebastian Hengst 01cb5fe71d Backed out changeset 7cb5f70b086d (bug 1377543) for breaking Android multi-locale builds. r=backout a=backout 2017-07-09 17:50:20 +02:00
Sebastian Hengst 6408570fd1 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-07-09 11:21:38 +02:00
Sebastian Hengst d00887532b merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: IZdWUL0ee1b
2017-07-09 11:19:35 +02:00
Kris Maglione 43af865b11 Bug 1357486: Follow-up - Run flaky update tests in in-process mode on win32 debug.
MozReview-Commit-ID: 2nebOWqSao8
2017-07-08 23:41:25 -07:00
Sebastian Hengst 7076377b5e Backed out changeset 4ea831e6e7d1 (bug 1357490) for frequently failing toolkit/components/extensions/test/xpcshell/test_ext_privacy_update.js on Linux x64 asan. r=backout 2017-07-08 11:31:57 +02:00
Sebastian Hengst 9f5d4e2cf0 Backed out changeset 4e252b1de0d0 (bug 1357486) 2017-07-08 11:23:44 +02:00
Sebastian Hengst bfb49e4366 Backed out changeset c72d36a91e44 (bug 1357486) 2017-07-08 11:23:40 +02:00
Sebastian Hengst 7cc4391f90 Backed out changeset 0159b012fa2d (bug 1357486) 2017-07-08 11:23:36 +02:00
Sebastian Hengst 8b0a1ec03d Backed out changeset 44ab0cca4956 (bug 1357486) 2017-07-08 11:23:32 +02:00
Sebastian Hengst a9d690dc5b Backed out changeset 5fba1531fbaf (bug 1357486) 2017-07-08 11:23:28 +02:00
Sebastian Hengst 15b1ddec90 Backed out changeset 7124641a168f (bug 1357486) 2017-07-08 11:23:24 +02:00
Kris Maglione c57409fca6 Bug 1357486: Enable OOP extensions by default on Windows. r=aswan
MozReview-Commit-ID: 3Tet7tNtmGx

--HG--
extra : source : 7124641a168ffaa20461764f2f554992dfd856e6
extra : absorb_source : a8b47dcf788b841a832ea5a8669f8940b2412f6d
extra : histedit_source : dd3cab4db72f4d24b3103834a644173632064d25
2017-07-06 21:13:40 -07:00
Kris Maglione 330469aeb9 Bug 1357486: Part 0g - Run remote debugger host browser in same TabGroup as extension pages. r=me
MozReview-Commit-ID: BPqf0X1hwV6

--HG--
extra : rebase_source : 82b80bbb47533d1bc4ad0ec1e3767b3858d0e946
extra : absorb_source : 9ee1c9f7e5a42743d2ea9e49eae2f509d85ada21
extra : histedit_source : cf82313b4725f01ecd6c6a41b519e41a2d107e09
2017-07-08 15:56:10 -07:00
Kris Maglione 1bba0c8335 Bug 1357486: Part 0f - Run some chrome tests in in-process mode. r=aswan
MozReview-Commit-ID: 1T0tEpwTU3c

--HG--
extra : source : 5fba1531fbaf630674b295684a25164b64aa8fe5
extra : histedit_source : 940c612caeb4d9d7990725450a45f4c1ff74852e
2017-07-07 15:16:17 -07:00
Kris Maglione fb67e5efbe Bug 1357486: Part 0e - Support legacy extensions in OOP mode. r=aswan
MozReview-Commit-ID: 4JHxX78HNRV

--HG--
extra : source : 44ab0cca4956dec0ea97cfce9d1503f43d3b9916
extra : histedit_source : 94580204d10df178f64651be791f562f044ca80b
2017-07-07 15:12:45 -07:00
Kris Maglione 8b191a28e1 Bug 1357486: Part 0d - Propagate clonable console message args to the parent process. r=aswan
MozReview-Commit-ID: Bkecqr7hRvx

--HG--
extra : source : 0159b012fa2d1135647f31689824ca6e31497a7d
extra : histedit_source : 9aa1c517ddc2735e8f9641c956826a1824166f2e
2017-07-07 14:34:37 -07:00
Kris Maglione cd6ceeee81 Bug 1357486: Part 0c - Propagate addonId to parent process with console messages. r=aswan
MozReview-Commit-ID: I1LzpMcfgEh

--HG--
extra : source : c72d36a91e448d73a48c7f0e37175537530089b8
extra : histedit_source : 360dd27184803f22ac24b2672f8aa3773a52962c
2017-07-07 14:34:02 -07:00
Kris Maglione 3d61a040f2 Bug 1357486: Part 0b - Fix inline options browser tests with OOP extensions. r=aswan
MozReview-Commit-ID: Bc4hNFmVOlw

--HG--
extra : source : 4e252b1de0d02d24067ac817d4d4de6351e4e039
extra : histedit_source : 8b0c6e50e4b63ef75cd9817c84683e41e925e42a
2017-07-07 18:19:33 -07:00
Kris Maglione 0105bb25ec Bug 1357490: Follow-up - Wait for previous shutdown to complete before beginning startup. r=me
MozReview-Commit-ID: JOYwlFT0CIA

--HG--
extra : amend_source : fe8d9d5084cee3d14211998cfc10e5f64f157cd3
extra : absorb_source : e6f5d58083be14eb62a3601396009d8f1bfd7f64
extra : histedit_source : 04054cfcefa334b864e511c80861e6d0e41c4e1f
2017-07-08 16:26:28 -07:00
Kris Maglione b2069a4a9b Bug 1357486: Enable OOP extensions by default on Windows. r=aswan
MozReview-Commit-ID: 3Tet7tNtmGx

--HG--
extra : rebase_source : 5589394a4f7e738374b59e468ca58714d9ba3ab2
extra : histedit_source : 1d84968039fc33231000dade71d1efdfc35f4165
2017-07-06 21:13:40 -07:00
Kris Maglione a337baaff2 Bug 1357486: Part 0f - Run some chrome tests in in-process mode. r=aswan
MozReview-Commit-ID: 1T0tEpwTU3c

--HG--
extra : rebase_source : f49082b932105695dd496e53e7bad52fb807e42b
extra : absorb_source : 7b06902d6d952c355cc27744789f43f34ef27980
extra : histedit_source : dfc9abfb4a8a66f5789f7773e649ffbd973b0465
2017-07-07 15:16:17 -07:00
Kris Maglione 7405866794 Bug 1357486: Part 0e - Support legacy extensions in OOP mode. r=aswan
MozReview-Commit-ID: 4JHxX78HNRV

--HG--
extra : rebase_source : a9cc5633536e159aa178ac8105a72cb97bbe58b7
extra : absorb_source : 68e13bd05f49581f437852dbe2d3509fc469a436
extra : histedit_source : 6c62cc352df9cfdff0b23d2392f4bcc25c5764b5
2017-07-07 15:12:45 -07:00
Kris Maglione 28759b4b6d Bug 1357486: Part 0d - Propagate clonable console message args to the parent process. r=aswan
MozReview-Commit-ID: Bkecqr7hRvx

--HG--
extra : rebase_source : 00dc5151a4b0f8dc6015cdb5cd392e2b968f7cf4
extra : absorb_source : 6f4b52a86c1d3dfb7d4821caebc15c4be34932ba
extra : histedit_source : 8299f402f489ca9765874a85fb92e868c36adad0
2017-07-07 14:34:37 -07:00
Kris Maglione 7b766c977b Bug 1357486: Part 0c - Propagate addonId to parent process with console messages. r=aswan
MozReview-Commit-ID: I1LzpMcfgEh

--HG--
extra : rebase_source : 7431a0ecced243a96ffb4cf1cc04adf6fbc17a4e
extra : histedit_source : 8f9eb8408f130b0472f3cb25039d99edd896313c
2017-07-07 14:34:02 -07:00
Kris Maglione c90a9f3d92 Bug 1357486: Part 0b - Fix inline options browser tests with OOP extensions. r=aswan
MozReview-Commit-ID: Bc4hNFmVOlw

--HG--
extra : rebase_source : 56bafa6b37a298e8b548d1ae74bb74177bae6db4
extra : histedit_source : 65c640145f459c70f002992c6f77595fb6982406
2017-07-07 18:19:33 -07:00
J. Ryan Stinnett 8989507710 Bug 1373881 - Call default panic hook after crashreporter. r=rillian
Crash reporter installs a special Rust panic hook to grab the panic reason.
However, we still want to call the default hook as well, so that we still print
the reason and backtrace to the console.

MozReview-Commit-ID: JlCamBPb51X

--HG--
extra : rebase_source : c973cd782ae1e9c93d207de9174cc6871d3e301c
2017-07-07 19:19:07 -05:00
Ralph Giles 7c724f8669 Bug 1379341 - Prefer llvm-config from homebrew to mozbuild. r=gps
We've had trouble with crashes and hangs on macOS with
libclang builds from tooltool, so for local developer
builds we prefer the homebrew or macports packages
installed by `mach bootstrap`.

However, we were searching ~/.mozbuild before the homebrew
directory, resulting using the wrong libclang when developers
had run `mach bootstrap` before the switch, or anyone who
had used `mach artifact toolchain` on macOS.

MozReview-Commit-ID: JpLBDNthG6e

--HG--
extra : rebase_source : cca6f2772fd16425bd9b75cdfb4c7b60e4da577f
2017-07-07 19:20:34 -07:00
Matthew Wein d67b56da85 Bug 1302504 - use mozbrowser to add support for options_ui on Android r=mixedpuppy
MozReview-Commit-ID: IsTOC3pNxJP

--HG--
extra : rebase_source : 662ed1c317e8c480133de40c292622afb9984816
2017-07-07 15:03:33 -04:00