Commit Graph

20903 Commits

Author SHA1 Message Date
Mark Banner
3619944268 Bug 1371293 - Fix remaining instances of no-multi-spaces after upgrading to ESLint 4. r=mossop
MozReview-Commit-ID: EL6qI2VDyT1

--HG--
extra : rebase_source : df939b81e6f879bfe97ae70f4596d60682d6beb6
2017-11-06 13:40:13 +00:00
Mark Banner
c62d0c64f8 Bug 1371293 - Upgrade ESLint to version 4.8.0, configuration changes. r=mossop
MozReview-Commit-ID: 2YHYOLTtqxu

--HG--
extra : rebase_source : 7bbc673bb72d546e1fca63227d54b6607a4ab33e
2017-10-09 10:54:16 +01:00
Mantaroh Yoshinaga
b3c698d413 Bug 1409972 - Part 6. Remove printingui implementation of each platform. r=mconley
MozReview-Commit-ID: BXocuT9zV0E

--HG--
extra : rebase_source : afddd5fbd476fc94ffa64fb64dd4c3fb2f8aba87
2017-11-10 11:07:34 +09:00
Mantaroh Yoshinaga
aafb74d47b Bug 1409972 - Part 5. Use the common printingui implementation. r=mshal
This patch will change moz.build of printingui and xre to use common printingui
implementation.

Memo of merging printingui:
 * The nsProgress / nsProgressParam is used by Windows and GTK, macOS doesn't
   have this implementation.
 * The merged implementation located toolkit/components/printingui/ directory.

MozReview-Commit-ID: 3Z5MAzGVo1b

--HG--
extra : rebase_source : f07ddb9fc0ebc181fd6e1b63a3d6762235629378
2017-11-10 11:03:43 +09:00
Mantaroh Yoshinaga
56bf0ef470 Bug 1409972 - Part 4. Merge mac printingui. r=mconley
This patch will merge mac printingui implementation to common code.
Primary differences are:
 * Remove progress implementation if build target is macOS.

MozReview-Commit-ID: 8qoxgmzhqnM

--HG--
extra : rebase_source : 4c0aa4a718105a579b0d3f7fbfe9c1e53afce0df
2017-11-10 11:00:54 +09:00
Mantaroh Yoshinaga
a2b2c050ea Bug 1409972 - Part 3. Merge windows printingui. r=mconley
This patch will merge windows printingui implementation to common code.
Primary differences are:
 * Use nsCOMPtr on nsPIDOMWindowOuter.
 * Return NS_ERROR_FAILURE if nsPrintingPromptService doesn't have the
   nsPrintProgress member when calling ShowProgress().
   This is the unexpected case.

Original windows implementation has following difference, but this patch will
not copy it:
 * Windows has own NS_IMPL_ADDREF / NS_IMPL_RELEASE implementation, however this
   implementation isn't different from XPCOM implementation. Bug 156318
   doesn't show this reason.
 * Windows implementation lacks some function parameter checks.
   But unixshared code covers these checks.
 * Windows implementation doesn't have the nsIPrintSettings member into
   nsPrintProgress, but this is necessary in order to make printing cancelable.

MozReview-Commit-ID: 8ja40rAaXBo

--HG--
extra : rebase_source : 01902bc3fc162a3b57f4243749e24ef581fba68a
2017-11-10 10:58:10 +09:00
Mantaroh Yoshinaga
b98eca0186 Bug 1409972 - Part 2. Copy printingui implementation from unixshared. r=mconley
This patch will copy printingui implementation from unixshared in order to merge
other platform implementation.
This unixshared implementation has much common code hence using unixshared code
is reasonable for merging.

MozReview-Commit-ID: 4VManmNcbdc

--HG--
rename : toolkit/components/printingui/unixshared/nsPrintProgress.cpp => toolkit/components/printingui/nsPrintProgress.cpp
rename : toolkit/components/printingui/unixshared/nsPrintProgress.h => toolkit/components/printingui/nsPrintProgress.h
rename : toolkit/components/printingui/unixshared/nsPrintProgressParams.cpp => toolkit/components/printingui/nsPrintProgressParams.cpp
rename : toolkit/components/printingui/unixshared/nsPrintProgressParams.h => toolkit/components/printingui/nsPrintProgressParams.h
rename : toolkit/components/printingui/unixshared/nsPrintingPromptService.cpp => toolkit/components/printingui/nsPrintingPromptService.cpp
rename : toolkit/components/printingui/unixshared/nsPrintingPromptService.h => toolkit/components/printingui/nsPrintingPromptService.h
extra : rebase_source : 09666ec789773b5fe074f9c170591f6d79dc184a
2017-11-10 10:55:48 +09:00
Mantaroh Yoshinaga
281a05cc74 Bug 1409972 - Part 1. Apply clang-format to nsPrintingPromptService. r=mconley
Apply following the clang-format:
./mach clang-format --path toolkit/components/printingui/mac/nsPrintingPromptService.*
./mach clang-format --path toolkit/components/printingui/unixshared/nsPrintingPromptService.*
./mach clang-format --path toolkit/components/printingui/win/nsPrintingPromptService.*

MozReview-Commit-ID: 8JGuyqiuKNX

--HG--
extra : rebase_source : e1ab7db8a6ba5b63d326f4164fec176b2c2a1152
2017-11-10 10:53:08 +09:00
Edouard Oger
39088f038f Bug 1404427 - Sync multiple form history deletions. r=kitcambridge
MozReview-Commit-ID: H7AmIBtFUOr

--HG--
extra : rebase_source : 5a33c4da86051bf3dfec56d878330a8d68b70870
2017-11-06 15:50:28 -05:00
Csoregi Natalia
e520b4f458 Merge mozilla-central to mozilla-autoland. r=merge a=merge CLOSED TREE 2017-11-14 00:59:27 +02:00
Csoregi Natalia
8f1a81caad Merge inbound to mozilla-central r=merge a=merge 2017-11-14 00:57:47 +02:00
Matheus Longaray
36fecc2a3b Bug 1404176 - Remove aborted print preview browser before bailing out. r=mconley
This patch clears out set of print preview browsers before bailing out when
there is an error while putting the document into print preview mode.

MozReview-Commit-ID: 20cm4DCktQk

--HG--
extra : rebase_source : 9881245cc09ef50cadd1139b6a9c1b32e7847612
2017-11-13 17:17:57 +01:00
Chris H-C
72f43e9d58 bug 1406394 - Update Telemetry docs for preference changes r=Dexter
MozReview-Commit-ID: D5Qw2Reuc5o

--HG--
extra : rebase_source : 033645f510232530afb3a9059c521bbf97a36388
2017-11-09 09:38:24 -05:00
Chris H-C
6f215145c2 bug 1406394 - Small correctness/readability fixes in Telemetry docs r=Dexter
MozReview-Commit-ID: BXu9oXqVgKQ

--HG--
extra : rebase_source : 9007dcfb8c8570330d4e824db1ead0735933427f
2017-11-09 09:37:54 -05:00
Joel Maher
1b04b190fc Bug 1398120 - Disable toolkit/components/extensions/test/mochitest/test-oop-extensions/test_ext_webrequest_responseBody.html on linux for frequent failures. r=me, a=testonly 2017-11-13 12:20:02 -05:00
Kris Maglione
bbf1f3240d Bug 1416074: Follow-up: Removed unused service getter. r=trivial
MozReview-Commit-ID: CtUId9K5KPM
2017-11-12 16:39:09 -08:00
Gijs Kruitbosch
ec42d7e872 Bug 1416561 - update readability from git ( c3ff1a2d2c94c1db257b2c9aa88a4b8fbeb221c5 ), r=already-reviewed
MozReview-Commit-ID: 3WX99CsZ4z5

--HG--
extra : rebase_source : 9b87a522b8ecf039a15b2da58af329f8b0eba923
2017-11-12 12:47:32 +00:00
Andreea Pavel
7fb4cc447c Merge inbound to mozilla-central r=merge a=merge 2017-11-11 11:59:20 +02:00
Narcis Beleuzu
f7f473b678 Backed out 1 changesets (bug 1404427) for browser failures in browser_sanitize-timespans.js at some times of the day. r=backout a=backout on a CLOSED TREE
Backed out changeset e02d99be7eb0 (bug 1404427)
2017-11-11 05:48:15 +02:00
Kris Maglione
397b8bb7f0 Bug 1416074: Remove obsolete extensionNameFromURI helper. r=mixedpuppy
MozReview-Commit-ID: IzaqUZV03rG

--HG--
extra : rebase_source : 84ee23c5bfeeb738f9ab04f697274b5993017a0c
2017-11-09 17:18:59 -08:00
Kris Maglione
541e9a6989 Remove unused imports. r=trivial (no bug)
MozReview-Commit-ID: EEVSPkAgORY

--HG--
extra : rebase_source : 8a3da61bdf0f65c518e6cea3c6f5cacf42c6d24d
2017-11-09 16:39:57 -08:00
Shane Caraveo
4e6c5b003f Bug 1411646 prevent oauth redirect requests from happening, r=rpl
MozReview-Commit-ID: L8ekyXDeCbp

--HG--
extra : rebase_source : 47b0e4a16c18cdc125d0af5d4749285f58f517e0
2017-11-09 15:11:13 -08:00
Drew Willcoxon
46c5139ac2 Bug 1413574 - Hide disabled page actions and offer a "Manage Extension" command for actions in extensions. r=Gijs
MozReview-Commit-ID: HJpu9Jfi2bB

--HG--
extra : rebase_source : ee219138b8df1744c223d81281d9525c3d7b7227
2017-11-10 11:06:02 -05:00
Edouard Oger
4f9b7d04fa Bug 1404427 - Sync multiple form history deletions. r=kitcambridge
MozReview-Commit-ID: H7AmIBtFUOr

--HG--
extra : rebase_source : 596e4470b64e9406432c4d54f7ef90138a032e62
2017-11-06 15:50:28 -05:00
Andrew Swan
c0580db8aa Bug 1405491 Switch WebExtensions StartupCache to DeferredTask r=kmag
MozReview-Commit-ID: GfdM0hkAHqP

--HG--
extra : rebase_source : 6e3638436056041790d7e6ad99e0b99cfda6a8d7
2017-10-16 21:01:43 -07:00
Ethan Glasser-Camp
d6e50cf832 Bug 1416077 - Disable retries on storage.sync requests r=markh
--HG--
extra : rebase_source : 0c5c70626d8450dcb818ab964bdd28121d1abe18
2017-11-10 13:06:10 -05:00
Chris H-C
d4cdcd894a bug 1412312 - Document mozconfig defines in in-tree docs r=Dexter
Put them in internals/Preferences since it is definitely an internal, and they
have complex interactions with preferences.

Not seen here: updates to Preferences for the recent changes. That's covered in
bug 1406394

MozReview-Commit-ID: 7X0d4ZmHbLw

--HG--
extra : rebase_source : b7b22212e50ee5ead0c53325c380e2568c4dfb9d
2017-11-09 17:36:59 -05:00
Sebastian Hengst
57fa5371a1 merge mozilla-central to autoland. r=merge a=merge on a CLOSED TREE
--HG--
extra : amend_source : 065b2d76aa2a60be4d0409c3c0aec76d90ab26c2
2017-11-10 15:30:07 +02:00
Sebastian Hengst
e26417e1b1 Backed out changeset d9a7e2fba868 (bug 1404427) on suspicion of causing failures in browser_sanitize-timespans.js at some times of the day. r=backout a=backout on a CLOSED TREE 2017-11-10 15:28:16 +02:00
Margareta Eliza Balazs
7e070192d7 Merge inbound to mozilla-central r=merge a=merge 2017-11-10 11:55:43 +02:00
Andrea Marchesini
207b8d909e Bug 1347515 - Get rid of nsIJSON.decodeFromStream, r=qdot 2017-11-10 00:27:22 +01:00
Andreea Pavel
e1c8aba28f Merge mozilla-central to mozilla-inbound r=merge a=merge on a CLOSED TREE 2017-11-09 22:17:00 +02:00
dluca
3f1926865e Backed out 1 changesets (bug 1413522) for failing a11y on OS X accessible/tests/mochitest/relations/test_ui_modalprompt.html r=backout on a CLOSED TREE.
Backed out changeset a74c645411e7 (bug 1413522)
2017-11-09 19:02:26 +02:00
Jared Wein
09cd077245 Bug 1413522 - Use HiDPI icons on Windows for the toolkit warning and question icons, and lower the size of the icons on OSX so the HiDPI versions are not shown blurry. r=nhnt11
MozReview-Commit-ID: 8u3zxE9HiSx

--HG--
extra : rebase_source : 1ec2263fc97831e2d314ed7b6ab98ecfe8ebcb9a
2017-11-02 12:11:42 -04:00
Edouard Oger
8ca003f520 Bug 1404427 - Sync multiple form history deletions. r=kitcambridge
MozReview-Commit-ID: H7AmIBtFUOr

--HG--
extra : rebase_source : 9d85cc401123eb915f640586e722c8275753066e
2017-11-06 15:50:28 -05:00
Andreea Pavel
1f2b7dccb6 Backed out changeset 6aa22b862a45 (bug 1404427) for failing browser-chrome browser/components/search/test/browser_426329.js r=backout on a CLOSED TREE 2017-11-09 21:26:40 +02:00
Ray Lin
005f47f893 Bug 1410821 - Call startSearch again when the new search string could not hit the cached result. r=mak
MozReview-Commit-ID: 1AJutt4IA0E

--HG--
extra : rebase_source : c168d684c5de603217b33d7685f7101da1a36604
2017-11-03 15:22:45 +08:00
Edouard Oger
6af91eacb2 Bug 1404427 - Sync multiple form history deletions. r=kitcambridge
MozReview-Commit-ID: H7AmIBtFUOr

--HG--
extra : rebase_source : 8c232e95bb5849a60002f4572c113d814da4a193
2017-11-06 15:50:28 -05:00
James Cheng
91159e3d56 Bug 1416141 - Remove Telemetry VIDEO_EME_PLAY_SUCCESS. r=kikuo
MozReview-Commit-ID: BtiD2tUmbE9

--HG--
extra : rebase_source : 56b23930ea492c67f8c5fbc2a56d77dc7b4cf4af
2017-11-10 14:49:37 +08:00
Noemi Erli
8d8df3ddfe Merge mozilla-central to mozilla-autoland. r=merge a=merge CLOSED TREE 2017-11-10 12:43:53 +02:00
James Cheng
cdeb44cbd6 Bug 1416089 - Remove MEDIA_DECODING_PROCESS_CRASH telemetry. r=jolin
MozReview-Commit-ID: Dqqmk6yUXPo

--HG--
extra : rebase_source : 2c06d5600318ea6f77a0ee43462197109a532354
2017-11-10 14:01:56 +08:00
Mark Banner
f3a681cde3 Bug 1415835 - Convert xpcshell-tests in toolkit/components/places/tests/bookmarks to Bookmarks.jsm API. r=mak
MozReview-Commit-ID: 3HB47rMkpuy

--HG--
extra : rebase_source : 1792b112e47bc1ce50d2fe4c40c84de482cb8f0f
2017-11-06 18:34:13 +00:00
Marco Bonardo
223e6dec30 Bug 1402286 - chunk notifyResults calls so that we don't run all the autocomplete js for each match. r=adw
MozReview-Commit-ID: GuYew5B30WQ

--HG--
extra : rebase_source : 236f6fe83728ddbb9d73c4f7606aca2187e267b5
2017-10-31 11:13:47 +01:00
Paul Bignier
ba9bf05ed5 Bug 1413621 - Telemetry: replace NS_WARN_IF with MOZ_ASSERT. r=mystor 2017-11-09 00:33:00 -05:00
Nika Layzell
3409141758 Bug 1414974 - Part 2: Switch many consumers to nsGlobalWindow{Inner,Outer}, r=smaug
This is a large patch which tries to switch many of the external consumers of
nsGlobalWindow to instead use the new Inner or Outer variants.

MozReview-Commit-ID: 99648Lm46T5
2017-11-09 10:44:47 -05:00
Kris Maglione
e32e9e2376 Bug 1414549: Correctly handle GetDeliveryTarget failure. r=mixedpuppy
getter_AddRefs nulls its parameter before passing it to the getter function,
which means that on failure, we wind up with a null IO thread, rather than its
original main thread value.

MozReview-Commit-ID: 1SSIeNtiBq9

--HG--
extra : rebase_source : 05e4437e86ab4036e93e2577f46ff0cfd0a3d329
2017-11-05 19:22:38 -08:00
Sebastian Hengst
a353221537 merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-11-09 00:00:16 +02:00
Georg Fritzsche
149a133ee9 Bug 1414638 - Remove expiry_date property for Telemetry events. r=dexter 2017-11-08 12:36:33 +01:00
Georg Fritzsche
d2aa57e1f4 Bug 1408975 - Allow to register new addon events for an existing category. r=dexter 2017-11-08 12:36:33 +01:00
Ursula Sarracini
b4927e95b5 Bug 1413650 - Capture loaded page instead of relying on background screenshot r=Mardak
MozReview-Commit-ID: FWToOSH8uL8

--HG--
extra : rebase_source : d0b84e1cb108234710d1e04b2df57a891c512897
2017-11-07 17:33:44 -05:00