Commit Graph

38057 Commits

Author SHA1 Message Date
Gijs Kruitbosch
42e1871519 Bug 1329220 - fix print preview source browser confusion, r=mconley
Restore overwriting of this._sourceBrowser as it was before bug 1308621
to ensure we continue to use the same DOM to do print previewing (and
eventually printing).

Bug 1308621 already changed the enterPrintPreview code to rely on the
member _sourceBrowser variable, which will be updated to point to the
print preview browser if/when print preview is being reinitialized for
the same page (because one of the print settings changes). We need to
do this to avoid re-initializing off the original browser, which may
now have navigated or be displaying something else entirely.

This also updates the 'simplified' mode code to rely on the extant
_originalURL member to avoid displaying the page URL as about:blank
after a settings change.

MozReview-Commit-ID: DZ1kT7Mb0mS

--HG--
extra : rebase_source : cb79c835d6f8bcd67a7118de3a19b1cab85b6593
2017-01-09 22:04:05 +00:00
Andrew Swan
2e63037fde Bug 1317363 Implement the new sideloading flow r=florian,rhelmer
MozReview-Commit-ID: JgloWKYAhlK

--HG--
extra : rebase_source : 732c178b13c231b36dea0c8c9f0871c7486e18c3
2017-01-18 18:16:19 -08:00
Benjamin Smedberg
c7352a6657 Bug 1306329 - Stop exporting XPCOM and XUL symbols. r=glandium
--HG--
extra : rebase_source : 482177f9c1026e527cff9f23b36a5076fa6d07a5
2016-12-02 12:55:34 -05:00
Blake Kaplan
cfbf6868be Bug 1330822 - Remove CPOWs from browser_context_menu_iframe.js. r=Gijs
This was tricky because synthesizeMouse would compute the incorrect
coordinates if the requested event target was in a sub-frame. With this patch,
we deal correctly with sub-frames.

MozReview-Commit-ID: KpUKxFXKMrl

--HG--
extra : rebase_source : 08dbbd1abe04886ac4fe14fad11312ba0f63873b
2016-11-11 15:07:18 -08:00
Wes Kocher
656a71a520 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 2KR6yXYC2xj
2017-01-18 15:39:12 -08:00
Wes Kocher
54c460dbd6 Merge inbound to m-c a=merge
MozReview-Commit-ID: 3cGydlfeaPN
2017-01-18 14:17:10 -08:00
Gijs Kruitbosch
4b62af8a94 Bug 1285176 - fix intermittent test_mousecapture.xhtml by removing a check whose success we can't guarantee, r=kats
MozReview-Commit-ID: KzuOs4e9mCe

--HG--
extra : rebase_source : 2b19ff9a9a3b9bc60c5df87068c06526584b3bfc
2017-01-18 16:10:49 +00:00
Alessio Placitelli
dfe6e0b632 Bug 1330247 - Add ParamTraits<nsAutoString> template specialization in IPCMessageUtils.h. r=froydnj, r=chutten
--HG--
extra : rebase_source : 85777fe2ae7c4eee24fd5e8647d2ae85ebb49932
2017-01-17 07:06:00 -05:00
Ryan VanderMeulen
3aad788019 Merge m-c to inbound. a=merge 2017-01-18 09:54:06 -05:00
Ryan VanderMeulen
4eacb032f5 Merge autoland to m-c. a=merge 2017-01-18 09:24:55 -05:00
Gijs Kruitbosch
226f908bd8 Bug 1322327 et al., update readability from github, rs=me
MozReview-Commit-ID: Gg9o2gE6T3t
2017-01-18 14:21:10 +00:00
Sebastian Hengst
0269ef6d15 Backed out changeset 0b09769075af (bug 1275746) 2017-01-18 14:55:47 +01:00
Sebastian Hengst
e846962cd7 Backed out changeset ccf75f2fa112 (bug 1275746) 2017-01-18 14:55:43 +01:00
Christoph Kerschbaumer
be82c7af85 Bug 1329032 - Extend loadURIWithOptions by a triggeringPrincipal. r=bz,gijs 2017-01-18 08:24:55 +01:00
Wes Kocher
602c930ba0 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 10MpA6zwIWr
2017-01-17 17:59:26 -08:00
Aaron Klotz
002dea23d1 Bug 1331738: Include mozilla-config.h in xulrunner.rc; r=tbsaunde
MozReview-Commit-ID: 2YSVJGmZnU0

--HG--
extra : rebase_source : 6234c27b017b6b60124c782f5f87962d2e5a9aa4
2017-01-17 14:12:17 -07:00
Wes Kocher
cb7e0bda60 Backed out 2 changesets (bug 1329032) for failures a=backout
Backed out changeset 16c4f0df527d (bug 1329032)
Backed out changeset 54f7bfe3ca11 (bug 1329032)

MozReview-Commit-ID: ChGyTdJvT8N
2017-01-17 14:08:10 -08:00
Christoph Kerschbaumer
05287d4fa8 Bug 1329032 - Extend loadURIWithOptions by a triggeringPrincipal. r=bz,gijs 2017-01-17 21:52:01 +01: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
Ray Lin
ac3eecd4ed Bug 1325591 - Hide overlay and clickToPlay of video in Windows high contrast theme. r=mikedeboer
MozReview-Commit-ID: ARxnSMQ32el

--HG--
extra : rebase_source : b9b65bd2b44776e08a6db7280a5fe6ee813780a0
2017-01-16 12:06:07 +08:00
Ryan VanderMeulen
187beffa39 Merge m-c to autoland. a=merge
--HG--
extra : rebase_source : 0de29cc9f544d8882d3e8c13572d3c4b98ba3c26
2017-01-18 09:59:53 -05:00
Dão Gottwald
47edd023db Bug 1331873 - Null-check tab in TelemetryReportingPolicyImpl._openFirstRunPage's progress listener since it can be called synchronously before we have a reference to the tab. r=Gijs
MozReview-Commit-ID: Gcktb3x7o4W

--HG--
extra : rebase_source : 9d50565400586e4a7a97e73da9148ed891af1fb9
2017-01-18 11:11:05 +01: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