Commit Graph

38025 Commits

Author SHA1 Message Date
Tyler Maklebust
db2430b4b9 Bug 1309935 - Add ability to find within select dropdown when over 40 elements. r=jaws
Original patch by Tyler Maklebust <tmaklebust@gmail.com> and Jared Beach <beachjar@msu.edu>

MozReview-Commit-ID: 7FW6PHIrXF4

--HG--
extra : rebase_source : e8132fc8af91657ca80f18a841101bc1070c8b15
2017-01-17 15:40:15 -05:00
Mike Hommey
2330dcf840 Bug 1306327 - Move reading application.ini to XRE_main. r=bsmedberg
Reading application.ini involves using nsCOMPtr<nsIFile>, and that can
only happen through the XPCOM glue, which we eventually want to get rid
of.

So, while keeping the command line argument/environment variable
handling in nsBrowserApp, we move the actually parsing of the file to
XRE_main, where things can be handled without the XPCOM glue.

--HG--
extra : rebase_source : 487960a671476d4edae4f568c37efa6563ef4dff
2017-01-10 16:43:23 +09:00
Mike Hommey
5f3d2e8810 Bug 1306327 - Add a new XRE Bootstrap API that wraps all the XRE methods. r=bsmedberg
This is the first step towards changing how nsBrowserApp and other current
XPCOM glue users start up Gecko.

The goal here is to expose the same API via a single object with a
VTable instead of the current XPCOM glue machinery. Instead of creating
an entirely new API and changing everything to use it, we go forward
with smaller steps for a more comprehensible transition.

--HG--
extra : rebase_source : c2cf90ab3bb812b9ea75c70c9766f1a47ea50828
2016-12-15 16:46:18 +09:00
Mike Hommey
17436e8731 Bug 1306327 - Remove NS_XRE_DLL_BLOCKLIST_ENABLED. r=bsmedberg
Instead of having nsBrowserApp.cpp set a flag in XREAppData to indicate
whether the DLL blocklist properly initialized, just have XRE code ask
the blocklist itself.

--HG--
extra : rebase_source : e872853481acce68b325909e476d009aec878701
2017-01-10 09:10:36 +09:00
Mike Hommey
af19e1f051 Bug 1306327 - Remove the flags argument to XRE_main. r=bsmedberg
This hasn't been used since the removal of the Metro code in bug
1039866, close to two years ago.

--HG--
extra : rebase_source : 58ec1ce63e4231c8006cafd3424675f14ddbf9f1
2017-01-10 14:15:50 +09:00
Mike Hommey
35a7101bda Bug 1306327 - Use UniquePtr for CreateGMPLoader. r=cpearce
--HG--
extra : rebase_source : 9f363a194d63c531f37946d76103cb0ad830c1a3
2016-12-15 16:14:34 +09:00
Sebastian Hengst
ab069c7236 Backed out changeset 6d632eefccb4 (bug 1325591) for failing a11y/accessible/tests/mochitest/actions/test_media.html. r=backout on a CLOSED TREE 2017-01-17 19:06:14 +01:00
Jared Wein
5e37a69783 Bug 1331661 - Manually fix the remaining 'quotes' errors for eslint. r=Gijs
MozReview-Commit-ID: 7iXjQtp9ftV

--HG--
extra : rebase_source : 281bc81a05c3f7105918c1eac5141915851cfbe9
2017-01-17 10:38:58 -06:00
Jared Wein
43bac26d30 Bug 1331661 - Enable the 'quotes' rule for eslint and fix most of the errors with --fix. r=Gijs
MozReview-Commit-ID: 6tv0Z06CO4a

--HG--
extra : rebase_source : 014c0b04d8538dc5f15bc6dd4ed6bd220c55c5d4
2017-01-17 09:48:17 -06:00
Ray Lin
bdb11914be Bug 1325591 - Hide overlay and clickToPlay of video in Windows high contrast theme. r=mikedeboer
MozReview-Commit-ID: ARxnSMQ32el

--HG--
extra : rebase_source : 033d6381f4dff75c44a4bbf4923695cce3be140b
2017-01-16 12:06:07 +08:00
Ryan VanderMeulen
78cc07597f Merge m-c to autoland. a=merge 2017-01-17 11:32:39 -05:00
Ryan VanderMeulen
f48d45ad89 Backed out 3 changesets (bug 1331320) for frequent X_GetWindowAttributes crashes.
Backed out changeset fd57bcd5daf2 (bug 1331320)
Backed out changeset b272ced2faa9 (bug 1331320)
Backed out changeset cee10a2c348a (bug 1331320)
2017-01-17 11:31:43 -05:00
Florian Quèze
85611a7b6d Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws.
--HG--
extra : rebase_source : a22344ee1569f58f1f0a01017bfe0d46a6a14602
2017-01-17 11:50:25 +01:00
Phil Ringnalda
3acc966df2 Merge m-c to m-i 2017-01-16 21:45:14 -08:00
Phil Ringnalda
790b2cb423 Merge m-i to m-c, a=merge 2017-01-16 21:42:59 -08:00
Jessica Jong
1f0dcc2334 Bug 1320225 - [DateTimeInput] Integration of input type=date input box with picker (part 1). r=mconley,smaug 2017-01-17 13:09:03 +08:00
Phil Ringnalda
ef4d86ebaa Merge m-c to autoland 2017-01-16 14:49:16 -08:00
Carsten "Tomcat" Book
0c21611303 Merge mozilla-central to mozilla-inbound 2017-01-16 16:44:15 +01:00
Alessio Placitelli
002724792e Bug 1278556 - Update the documentation. r=gfritzsche 2017-01-13 01:47:00 +01:00
Mark Banner
34bd93ded7 Bug 527444 - use do_register_cleanup calls instead of tail_*.js files in xpcshell, in Core and Toolkit. r=Paolo.
Patch originally by Rahid Hasan. Updated by Akshendra Pratap Singh, jdm and Standard8.

MozReview-Commit-ID: F0edTCSsXzy

--HG--
extra : rebase_source : 7123a8162a4cdbcfb08f9a765d158e179c46b202
2017-01-12 16:09:58 +00:00
Luca Greco
c482638d73 Bug 1330076 - Rewrite test_chrome_ext_shutdown_cleanup.html into an xpcshell test r=aswan
MozReview-Commit-ID: 52AITgCDmJy

--HG--
rename : toolkit/components/extensions/test/mochitest/test_chrome_ext_shutdown_cleanup.html => toolkit/components/extensions/test/xpcshell/test_ext_shutdown_cleanup.js
extra : rebase_source : 9a391f665adc545046d3d4c6283397661c32ef88
2017-01-10 22:00:33 +01:00
Alessio Placitelli
fae153ec9d Bug 1278556 - Enable child processes scalars in about:telemetry. r=chutten
MozReview-Commit-ID: DWtro2brAw2
2017-01-10 09:06:00 +01:00
Alessio Placitelli
1161e36b35 Bug 1278556 - Add scalar data from child processes to the main ping. r=chutten
MozReview-Commit-ID: Ed4cV4XieRq
2017-01-16 06:10:00 +01:00
Alessio Placitelli
932126d970 Bug 1278556 - Enable child process scalar recording. r=chutten, f=gfritzsche,froydnj
MozReview-Commit-ID: IddrszBX0f5
2017-01-16 05:12:00 +01:00
Alessio Placitelli
23dbcfc1a4 Bug 1278556 - Move the IPC timer logic to TelemetryIPCAccumulator.cpp. r=chutten
MozReview-Commit-ID: DSyFUM967F0
2017-01-16 05:10:00 +01:00
Alessio Placitelli
399e2baf67 Bug 1278556 - Enable the support for "record_in_process" in Scalars.yaml. r=gfritzsche
MozReview-Commit-ID: BP2sADn0ELc
2017-01-10 08:22:00 +01:00
Tomislav Jovanovic
9723a29fc6 Bug 1330167 - CookieStore.tabIds should be an array of tab IDs r=aswan
MozReview-Commit-ID: 7KuVKEEOhlv

--HG--
extra : rebase_source : 5c9693ec8194da62805fc6b4fbc3ba2513e9f1c3
2017-01-13 11:58:32 +01:00
Makoto Kato
01fadc5113 Bug 1331236 - Make nsPrintingPromptServiceX.mm cpp file instead of Objective-C++. r=mstange
nsPrintingPromptServiceX doesn't use Objective-C, so we should change to C++ instead.

Also, nsPrintDialogServiceX::ShowPageSetup should have NS_OBJC_BEGIN_TRY_ABORT_BLOCK_NSRESULT.

MozReview-Commit-ID: 33LfNFmiUTQ

--HG--
rename : toolkit/components/printingui/mac/nsPrintingPromptServiceX.mm => toolkit/components/printingui/mac/nsPrintingPromptService.cpp
extra : rebase_source : 7ab7e3aeed81afc70d02bd262d87d6858380bb01
2017-01-15 16:47:36 +09:00
Thomas Nguyen
2e4a2a1c26 Bug 1311926 - Add telemetry to measure gethash error and gethash timeout rate for V2 and V4. r=francois
MozReview-Commit-ID: 5mfO5zJMFyW

--HG--
extra : rebase_source : 3d1b178d42e1e084b0fa522ed90a44affe70bb8d
2017-01-16 11:22:45 +08:00
Phil Ringnalda
082d6bd9df Merge m-i to m-c, a=merge
MozReview-Commit-ID: 1NtOkt6oQ7d
2017-01-14 09:38:58 -08:00
Wes Kocher
f8a62a9ce6 Merge m-c to inbound, a=merge
MozReview-Commit-ID: ASajzspkOe1
2017-01-13 15:48:34 -08:00
Wes Kocher
565fdbe5d8 Merge inbound to m-c a=merge
MozReview-Commit-ID: JcbGWqzzYJj
2017-01-13 15:43:52 -08:00
Mike de Boer
6e5d62a6f2 Bug 1316514 - if we attempt to make the 'Highlight All' toggle a global setting, then we need to set the pref when toggled. r=Gijs
What you see first is the removal of the line `this._highlightAll = aHighlight;`, which is repeated in the `_setHighlightAll` method.
This line was put here initially to make the test_findbar_events.xul test pass but in fact makes it so that the pref is never set in `_setHighlightAll`!
In other words, we never actually persisted the 'Highlight All' state properly.
Reading further: the `_dispatchFindEvent` attaches some findbar state flags to the event details, including the value of `_highlightAll`.
Even though none of our consumers use it currently (haven't checked if TB does, though), you can cancel further execution of highlighting all ranges.
Since the `_setHighlightAll` doesn't do that kind of processing, but merely makes sure the internal state is up to snuff, is persisted properly and the buttons are updated, I moved it up to be invoked before dispatching the event.

MozReview-Commit-ID: 4BBy4FR1r5c

--HG--
extra : rebase_source : 204e77aaef3cd55886daeb2e0fdef84da1159c68
2017-01-13 17:27:18 +01:00
David Parks
e214363851 Bug 1312788 - Log to browser console and telemetry if the parent content to a ServiceWorker is a file. r=bkelly
Info is useful to sandboxing. Logs when ServiceWorker is registered (i.e. each run), not just when it is installed.

--HG--
extra : rebase_source : e21a521a5015c722cfbf2f5a7a23d5cf39a88a18
2017-01-10 15:17:13 -08:00
Wes Kocher
40c52f8e26 Merge m-c to autoland, a=merge
MozReview-Commit-ID: H1KckU0xSu0
2017-01-13 15:48:58 -08:00
Vedant Sareen
a3b8ef75e2 Bug 1301311 - Cleanly reject pings that are submitted too late in shutdown. r=Dexter
Added |_shuttingDown| boolean flag, which is initialized to false and is set to true when Firefox shuts down.
This allows rejecting pings sent after shutdown by checking the value of this flag.
Also added a new test that shuts down Telemetry using |yield TelemetryController.testShutdown()| and then tries sending a ping to it.

--HG--
extra : rebase_source : 9cb901e9aa12560ab8bb1eadc86a45df47b75bca
2017-01-05 22:32:01 +05:30
Scott Wu
fef6d9cb6c Bug 1320225 - [DateTimeInput] Integration of input type=date picker with input box (part 2). r=mconley
MozReview-Commit-ID: DcwvCSa1ofR

--HG--
extra : rebase_source : e67b1b6feec4952859d635cbf468bd927db6c8bc
2016-12-21 14:51:53 +08:00
Jessica Jong
4d95d705cd Bug 1316330 - Cancel delayed keypress events if last keydown was canceled. r=smaug
--HG--
extra : rebase_source : 77456a1ef26a765d7710d51317e547495ac00993
2016-12-02 15:35:28 +08:00
Matthew Noorenberghe
5fee7ef72c Bug 1330844 - Add a pwmgr notPasswordSelector:#cardNumber recipe for buy.gogoinflight.com. r=johannh
MozReview-Commit-ID: GWG3XNmrU9c

--HG--
extra : rebase_source : 385a56126882c0f0d72817ee8c7941cab37f8033
2017-01-12 18:22:28 -08:00
Matthew Noorenberghe
d4abc9557d Bug 1330810 - Disable password manager on www.united.com/travel/checkin/changefqtv.aspx. r=johannh
MozReview-Commit-ID: FCRvgYjm8BI

--HG--
extra : rebase_source : 67d1407617c5d9256889fef8740c431b84413649
2017-01-12 17:37:46 -08:00
Matthew Noorenberghe
9511124e79 Bug 1330829 - Login Manager recipe support for ignoring specific password fields. r=johannh
MozReview-Commit-ID: 5Y2pTaPDGb5

--HG--
extra : rebase_source : 63289a9892c1e036c0a73e0b85ac77735ea4fd9e
2017-01-13 13:34:55 -08:00
Brian Grinstead
0dfcf308e1 Bug 1314091 - Expose 'compact' themes instead of the Dev Edition theme;r=Gijs
This commit does the following:
* Install two lightweight themes instead of one
* Introduce a build config to install the themes instead of relying on channel: INSTALL_COMPACT_THEMES
* Change browser-compacttheme to use the new themes instead of the old one
* Remove inferBrightness since the lwt colors are part of the compact theme definision, as opposed
  to the devedition theme which could be light or
* Update CSS to use :-moz-lwtheme-darktext and :-moz-lwtheme-brighttext instead of [devtoolstheme]

MozReview-Commit-ID: 4gKU68drlE2

--HG--
rename : browser/base/content/defaultthemes/devedition.header.png => browser/base/content/defaultthemes/compact.header.png
2017-01-13 11:53:58 -08:00
Florian Quèze
22d9b71466 Bug 1330464 - make the no-useless-parameters eslint rule detect misuses of the Services.prefs APIs, r=jaws. 2017-01-13 20:21:55 +01:00
Florian Quèze
1e42cad36c Bug 1330464 - script-generated removal of additional parameters that don't exist in the interface, r=jaws. 2017-01-13 20:21:53 +01:00
Carsten "Tomcat" Book
c9312842b5 Merge mozilla-central to mozilla-inbound 2017-01-13 10:22:50 +01:00
Carsten "Tomcat" Book
d69139ac79 merge mozilla-inbound to mozilla-central a=merge 2017-01-13 10:20:25 +01:00
Dimi Lee
2dae4fbcea Bug 1329593 - Compiling with mingw-w64 is broken with conflict-with-previous-declaration errors. r=gcp
--HG--
extra : rebase_source : 07e5b745c371aeca4de55abd2a99b61c915113f0
2017-01-12 23:00:22 +08:00
Myk Melez
c1307c4da8 Bug 1330058 - re-enable eslint for toolkit/components/windowcreator|windowwatcher, r=mossop 2017-01-12 16:41:01 -08:00
Myk Melez
03695f6984 Bug 1330818 - update base URLs in windowcreator test, r=mossop 2017-01-12 16:39:36 -08:00
Wes Kocher
fc600035ac Merge m-c to inbound, a=merge
MozReview-Commit-ID: CnzP0d2mrPx
2017-01-12 16:05:53 -08:00