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

5530 Коммитов

Автор SHA1 Сообщение Дата
Mike Conley af2ef48511 Bug 1276738 - Test _blank name usage in new windows. r=Gijs
MozReview-Commit-ID: Gqh04VTzOuC

--HG--
extra : rebase_source : 25ecfd5915b05f6e64c585777eb5fba5deda8057
extra : source : 73f7e5190b38c89efc0e8c68c84770097e9f95e4
2016-04-29 17:39:18 -04:00
Mike Conley 9e12f6169b Bug 1276738 - Test that named windows work properly. r=gabor
MozReview-Commit-ID: 80uzqBvPmOA

--HG--
extra : rebase_source : 286018fc6a4fec6ec390cac9192ed9b530a3dcc3
extra : source : 9d23fffa886b0b78a2d6f9584f05e4af9a019c63
2016-05-30 17:26:52 -04:00
Mike Conley 109908d1dc Bug 1276738 - Test that new windows opened from remote content get the right flags. r=gabor
MozReview-Commit-ID: 3zgJrU0LeUV

--HG--
extra : rebase_source : 5e982d88753dfda9f43aac1840195758016c80ff
extra : source : 88f049f304465bb2aaee131d775d6ea95bfa7502
2016-04-29 15:28:29 -04:00
Carsten "Tomcat" Book 9b6473376f Backed out changeset 88f049f30446 (bug 1276738)
--HG--
extra : rebase_source : 5875301c70f795db3d0b3b7659163c86a0822f3c
2016-06-02 08:12:39 +02:00
Carsten "Tomcat" Book 63f5d81b54 Backed out changeset 9d23fffa886b (bug 1276738)
--HG--
extra : rebase_source : 55a696b9b4c00807362e064c6d26829912541d7f
2016-06-02 08:12:38 +02:00
Carsten "Tomcat" Book e2460bb825 Backed out changeset 73f7e5190b38 (bug 1276738)
--HG--
extra : rebase_source : b6574931f58cc4cb7b3fb5dc8eba2b27896c5591
2016-06-02 08:12:37 +02:00
Carsten "Tomcat" Book 843b0170b4 Backed out changeset 1a7d17e9e15d (bug 1276738)
--HG--
extra : rebase_source : 83f65314933d86ff54c0cad8a7480a5cb3ab08cc
2016-06-02 08:12:35 +02:00
Carsten "Tomcat" Book d8b4ef6666 Backed out changeset ea2da46bde0a (bug 1276738)
--HG--
extra : rebase_source : 70d3c54736de976bacd7a87f22544f85afb41a42
2016-06-02 08:12:34 +02:00
Carsten "Tomcat" Book c9f7f417f6 Backed out changeset 0ac161595496 (bug 1276738)
--HG--
extra : rebase_source : d08ff4ed252c847b83ecba484a235cb2504fe9db
2016-06-02 08:12:32 +02:00
Carsten "Tomcat" Book 1273c5e897 Backed out changeset c60082ec436a (bug 1276738)
--HG--
extra : rebase_source : 6b3b8faf3573a45235a1793c0f76877c986d6fd9
2016-06-02 08:12:31 +02:00
Carsten "Tomcat" Book 89a0a376e3 Backed out changeset 14e071360b24 (bug 1276738)
--HG--
extra : rebase_source : 131a077096427b580c8c1f8f6e5609d12f385b93
2016-06-02 08:12:29 +02:00
Mike Conley 517fc049cf Bug 1276738 - Test that newly opened dialogs can receive arguments. r=Gijs
MozReview-Commit-ID: jF3Port57I

--HG--
extra : rebase_source : 896d0eddbb10ae8f501e5ac83a9335b800047f42
extra : histedit_source : 53940c3dfcba85e9431a4eb2dfbf379ab3e136a4
2016-05-03 14:14:09 -04:00
Mike Conley d478afc2c8 Bug 1276738 - Test that modal windows can be opened from the parent process. r=Gijs
MozReview-Commit-ID: 8PWxf9E6ZMv

--HG--
extra : rebase_source : 67ef95bf26ab2b905bd38c002d10c73bdd04b23f
extra : histedit_source : 2c9a51d9016514cd883584565960c49fca67dbdd
2016-05-03 11:42:34 -04:00
Mike Conley 19cfe905f4 Bug 1276738 - Add a test to ensure that we clone sessionStorage when opening new windows. r=gabor
MozReview-Commit-ID: B2rLxdpWKOu

--HG--
extra : rebase_source : 55f1778a74b1fe37f1932e3f8168abde203d907c
extra : histedit_source : c7c862fcbecefd8cab37c9c891415a99209ab177
2016-05-02 17:36:41 -04:00
Mike Conley 19f105324d Bug 1276738 - Ensure that .open() on web content called with chrome privileges results in a new window with the appropriate principal. r=Gijs
MozReview-Commit-ID: IG9ioQLTI78

--HG--
extra : rebase_source : 908314589379b93b91b2d2a93a25b33f2e6ddb03
extra : histedit_source : 0af5d232e5dea98218ab838641e8d8a2acbd3c8e
2016-05-02 17:36:12 -04:00
Mike Conley 0f6888ce40 Bug 1276738 - Add a test for the size of newly opened window from content. r=gabor
This notably fails for me on Windows, for which I've filed bug 1276802. Until that's
figured out, this test is disabled on Windows.

MozReview-Commit-ID: Hx24driJ80w

--HG--
extra : rebase_source : 509454294eb3bc4babeba4dc7992b13dd7f175d5
extra : histedit_source : 405bf4126a767c3718e1511392edfb45bfee7433
2016-05-30 15:23:01 -04:00
Mike Conley 2cad77e79a Bug 1276738 - Test _blank name usage in new windows. r=Gijs
MozReview-Commit-ID: Gqh04VTzOuC

--HG--
extra : rebase_source : 011e95ed22e3a3609293fef07d6626858f88622e
extra : histedit_source : beee65370d7c2db9323ddfe8dbab35858e4f8999
2016-04-29 17:39:18 -04:00
Mike Conley 89bbf2fce9 Bug 1276738 - Test that named windows work properly. r=gabor
MozReview-Commit-ID: 80uzqBvPmOA

--HG--
extra : rebase_source : 974580cae940818b2e89db66dc0d5e44687bd01a
extra : histedit_source : 2fcf014e0b8076b0cd54980526cb8faad27ae830
2016-05-30 17:26:52 -04:00
Mike Conley ec3ba9084a Bug 1276738 - Test that new windows opened from remote content get the right flags. r=gabor
MozReview-Commit-ID: 3zgJrU0LeUV

--HG--
extra : rebase_source : 5faeae85dcfd38426112baac0cc0374fcff84a33
extra : histedit_source : 3bbfbe167f9402fe9f8c84afe64adf9aa75875ee
2016-04-29 15:28:29 -04:00
Bob Owen 300192dd6b Bug 1276518: Make PRemotePrintJob argument for ShowProgress nullable. r=jimm
MozReview-Commit-ID: 7eDZi8suxMK

--HG--
extra : rebase_source : 86dabd67a3c79516d3c4c5c93c7ee1d183b2f61e
2016-05-29 20:03:08 +01:00
Bob Owen a66b7bea7f Bug 1270447 Part 3: Authorize silent printing via the parent. r=jimm
MozReview-Commit-ID: IefWVtWwaXc

--HG--
extra : rebase_source : eb62e33244fbe98a07344f7c5e370edb48ce15b5
2016-05-29 19:53:32 +01:00
Bob Owen e69f5d650c Bug 1270447 Part 2: Fix to use the correct print settings in PrintingParent::SerializeAndEnsureRemotePrintJob. r=jimm
MozReview-Commit-ID: 3xzoiYV153L

--HG--
extra : rebase_source : 8b3025d9f56265a275de244d2bf163e8fe504125
2016-05-29 19:53:28 +01:00
Bob Owen 9cf07da276 Bug 1270447 Part 1: Use the RemotePrintJob's print settings in the parent when available. r=jimm
MozReview-Commit-ID: 4PnVf4pzHWr

--HG--
extra : rebase_source : 44f19893b27a2f2987cbd7f38d454f5d31aba5c3
2016-05-29 19:53:24 +01:00
Mats Palmgren 4e63c1e0cf Bug 881832 - Make inner document reflow asynchronous. r=tnikkel 2016-05-12 12:07:45 +12:00
Julian Seward 4466444e54 Bug 1275184 - Uninitialised value use in nsDocShellTreeOwner. r=smaug. 2016-05-26 14:15:50 +02:00
Steve Melia b0ba073c2d Bug 998773 - When searching in document, curly quotes and straight quotes unequal when "match case" selected. r=mbrubeck 2016-05-12 21:46:09 +01:00
Jonathan Watt de83a13903 Bug 1275266 - Rename imgLoader::Singleton and imgLoader::PBSingleton to something less misleading, and document them. r=tnikkel 2016-05-19 13:31:15 +01:00
Ben Tian 7b7d04ca34 Bug 1257887 - Make windows opened through window.open() be scrollable by default. r=smaug 2016-05-17 11:25:47 +08:00
Jonathan Watt e1ac9527d2 Bug 1274881 - Get rid of imgLoader::GetInstance. r=tnikkel 2016-05-18 10:19:19 +01:00
Phil Ringnalda 6bb0bc4494 Back out 6 changesets (bug 881832) for failures in test_Debugger.Source.prototype.element.html
CLOSED TREE

Backed out changeset fac50ce10b07 (bug 881832)
Backed out changeset 32e01c144cd4 (bug 881832)
Backed out changeset 779f5336b81e (bug 881832)
Backed out changeset 95efd250e29f (bug 881832)
Backed out changeset 7fe79f07189f (bug 881832)
Backed out changeset 8ee1824f2a57 (bug 881832)
2016-05-23 18:34:49 -07:00
Mats Palmgren fdb3066641 Bug 881832 - Make inner document reflow asynchronous. r=tnikkel 2016-05-12 12:07:45 +12:00
Bob Owen 2d161a3465 Bug 1189846 Part 9: Add ability to print from the parent process with settings and progress listener. r=jimm, r=smaug
MozReview-Commit-ID: 7IEMByPmC0n
2016-05-16 10:40:54 +01:00
Bob Owen 80ef8208d0 Bug 1189846 Part 8: Make RemotePrintJob a print progress listener forwarder. r=jimm
MozReview-Commit-ID: 4ADQ6Hx46fZ
2016-05-16 10:40:54 +01:00
Bob Owen 3a3dd7efbb Bug 1189846 Part 7: Create nsPrintingProxy and PrintingParent during process initialization. r=jimm
MozReview-Commit-ID: 98g7eZUJ6bY
2016-05-16 10:40:54 +01:00
Bob Owen 30982832c5 Bug 1189846 Part 1: Move PrintSettings serialization into nsIPrintSettingsService. r=jimm
MozReview-Commit-ID: 1sI6VXUHETZ
2016-05-16 10:40:53 +01:00
Chris Peterson 8a9e2d2bd4 Bug 1272513 - Part 2: Remove redundant -Wshadow CXXFLAGS from moz.build files. r=glandium 2016-05-14 00:54:55 -07:00
Chris Peterson 353ee65255 Bug 1272513 - Part 1: Suppress -Wshadow warnings-as-errors in some directories. r=glandium 2016-05-11 00:00:01 -07:00
Andrea Marchesini 6f820b5dd7 Bug 1272298 - nsFormSubmission should support "\0" input string, r=smaug 2016-05-13 22:48:03 +02:00
Chris Manchester 6cb2abce23 Bug 1257326 - Move MOZ_SERVICES_SYNC to Python configure. r=glandium
MozReview-Commit-ID: DCDoSgHfwVY
2016-05-12 11:55:59 -07:00
Chris Manchester 037e519e68 Bug 1257326 - Move MOZ_SERVICES_HEALTHREPORT to Python configure. r=glandium
MozReview-Commit-ID: Ku585Pydqxb
2016-05-12 11:55:59 -07:00
Chris Manchester f312def06d Bug 1257326 - Remove MOZ_SERVICES_CRYPTO. It is usually set, but never checked. r=glandium
MozReview-Commit-ID: 1T182VH9sRd
2016-05-12 11:55:59 -07:00
Chris Manchester 0ff187a73d Bug 1257326 - Remove MOZ_SERVICES_COMMON. It is usually set, but never checked. r=glandium
MozReview-Commit-ID: Km8hEYki2Rv
2016-05-12 11:55:59 -07:00
Chris Manchester 14c7425e07 Bug 1257326 - Move MOZ_PLACES to Python configure. r=glandium
MozReview-Commit-ID: 9bs9waY0XVP
2016-05-12 11:55:58 -07:00
Phil Ringnalda c6417cc01e Back out 5 changesets (bug 881832) for failures in browser_html_tooltip-02.js
Backed out changeset 117e8e24d714 (bug 881832)
Backed out changeset 8a0d5df41cfb (bug 881832)
Backed out changeset 6b3c5e185b04 (bug 881832)
Backed out changeset 11106afdcbe7 (bug 881832)
Backed out changeset d711b7c19a43 (bug 881832)
2016-05-11 21:08:08 -07:00
Mats Palmgren e04a74ec14 Bug 881832 - Make inner document reflow asynchronous. r=tnikkel
--HG--
extra : rebase_source : 9987e19e3318d5bc58ac8214496893041bc1775c
2016-05-12 12:07:45 +12:00
Gabor Krizsanits 2585c3f697 Bug 1255138 - Window resize support from JS for e10s. r=mconley 2016-05-11 11:44:57 +02:00
Boris Zbarsky 5ac1b1f8f2 Bug 1190641 part 3. Add the sandbox propagates to auxiliary browsing contexts flag to iframe sandboxing. r=ckerschb 2016-05-06 13:56:36 -04:00
Philip Chee bbb194061e Bug 1269412 - In nsWebBrowserPersist::EndDownload set mCompleted = true before issuing the state stop notification r=jld
--HG--
extra : rebase_source : dd0d916e2d605f26ace0e7b84022497fd5dfa8ed
2016-05-06 03:54:11 +08:00
Kyle Huey 941ab1f522 Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj 2016-05-05 01:45:00 -07:00
Catalin Badea 9ba6ac46d2 Bug 1218080 - Don't send the url to the parent process when opening new windows, because it is not actually used. r=smaug 2016-05-03 18:15:07 +03:00
Nicholas Nethercote 2ae68d12e9 Bug 1268772 (part 4) - Use MOZ_MUST_USE with NS_NewISupportsArray(). r=erahm.
A few callers of NS_NewISupportsArray() didn't use the return value to detect
failure, but instead checked if the |array| argument was null after the call.
This is inconsistent with the majority of the calls to NS_NewISupportsArray().
This patch changes them to be checked in the normal way.

--HG--
extra : rebase_source : bf91836d7c3b159833c303a3716f4d9366f8b76a
2016-05-02 09:06:47 +10:00
Carsten "Tomcat" Book ba3fe0975c Backed out changeset 85ce8cb0639a (bug 1268313)
--HG--
extra : rebase_source : 56d1cf41a2dc4959b67f834e07192a5c772176a8
2016-04-29 14:21:16 +02:00
Kyle Huey 48a594a09e Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj 2016-04-28 14:08:25 -07:00
Ngoc Thi Huynh bb8780b89d Bug 1242456 - Create RAIIs to manage HGLOBAL and printer HANDLE in ShowNativePrintDialog and CreateGlobalDevModeAndInit. r=jimm, r=bobowen 2016-04-05 13:24:28 +07:00
Gijs Kruitbosch 0385e66575 Bug 1236991 - part 1: allow forwarding label direction through nsITooltipTextProvider, r=enndeakin
MozReview-Commit-ID: 68LvgKvVXmX

--HG--
extra : rebase_source : 17a188bf47efc3ca78ae6440ab84e6c6e4c06964
extra : histedit_source : 9c545f513a3b6e61d0bdb8d4f5fb3dbad9b2bbaf
2016-04-12 21:47:25 +01:00
Chris Manchester 6a21a3345a Bug 1256979 - Move MOZ_CHROME_FILE_FORMAT to Python configure. r=glandium
The config variable is re-named to avoid confusion, because it is not set by
--enable-chrome-format.

MozReview-Commit-ID: 37gvjGGSkRc
2016-04-14 12:26:38 -07:00
Andrea Marchesini ed43c1f6e4 Bug 1258482 - FileList should contain only Files, not Directories, r=smaug 2016-04-12 08:51:52 -04:00
Sebastian Hengst 08c222b359 Backed out changeset 166555b48e77 (bug 1258482) 2016-04-12 17:56:00 +02:00
Andrea Marchesini dfd731fd16 Bug 1258482 - FileList should contain only Files, not Directories, r=smaug 2016-04-12 08:51:52 -04:00
Christoph Kerschbaumer 52a7f283b3 Bug 1256999 - Pass the right context to new channels for image loads. r=bz r=seth 2016-04-11 10:58:03 +02:00
Bob Owen 0fddf43d89 Backed out changeset e91dafc1450e (bug 1242456) due to incorrect HGLOBAL handling. 2016-04-08 16:37:04 +01:00
Ngoc Thi Huynh 0789257518 Bug 1242456 - Create RAII helpers to manage HGLOBAL and HPRINTER in ShowNativePrintDialog and CreateGlobalDevModeAndInit. r=jimm
MozReview-Commit-ID: 4IrEEgJMtKZ
2016-04-05 13:24:28 +07:00
Tobias Schneider 7fa6b225c8 Bug 1260480 - Remove mozNoMarginBoxes. r=dbaron 2016-04-06 09:53:00 +02:00
Kyle Huey b98d3ef86c Bug 1259581: Remove MOZ_MEDIA_NAVIGATOR. r=jesup 2016-04-05 20:12:03 -07:00
Nicholas Nethercote d376f9f82e Bug 1260871 - Remove do_GetAtom() and rename NS_NewAtom() as NS_Atomize(). r=erahm.
do_GetAtom() is currently just a synonym for NS_NewAtom().

--HG--
extra : rebase_source : f4409784f931616cbc300591e6b843d30805c273
2016-03-29 10:09:43 +11:00
Jonathan Kew 885e886b1e Bug 1259707 - Fix confusion between desktop and CSS pixels when session-restore is constraining window to the available screen space. r=emk 2016-03-26 13:12:47 +00:00
Ehsan Akhgari 100dda0d7d Bug 1258056 - Propagate the window opener full page zoom across the IPC layer; r=smaug 2016-03-22 17:49:09 -04:00
Andrea Marchesini 548dc7f03a Bug 1173320 - patch 4/8 - Directory in FileList, r=smaug 2016-03-20 11:56:10 +01:00
Phil Ringnalda b47ec4d2bd Backed out 8 changesets (bug 1173320) for adding dom/filesystem/tests/test_basic.html without making it work on Android
Backed out changeset 7e3a105b9160 (bug 1173320)
Backed out changeset 094819fbb07f (bug 1173320)
Backed out changeset 23b0e55ff1db (bug 1173320)
Backed out changeset 8bf8e2fcedad (bug 1173320)
Backed out changeset 3de390c6f47f (bug 1173320)
Backed out changeset fb298010e12e (bug 1173320)
Backed out changeset f1a965c2f796 (bug 1173320)
Backed out changeset 176128ba757f (bug 1173320)
2016-03-19 19:44:22 -07:00
Andrea Marchesini 2fdbbe6373 Bug 1173320 - patch 4/8 - Directory in FileList, r=smaug 2016-03-19 22:29:46 +01:00
Trevor Saunders a6f221b6a2 bug 1257287 - add nsIDocShell.tabChild r=smaug 2016-03-18 15:54:12 -04:00
Kyle Huey cd9bdd29d1 Bug 1257444: Actually return the desired selection. r=mrbkap 2016-03-17 17:27:33 -07:00
Wes Kocher ba63672fae Merge m-c to fx-team, a=merge
MozReview-Commit-ID: 9mRXopJLh1e
2016-03-16 16:52:30 -07:00
Jared Wein 9b52f45b30 Bug 1251809 - Add input[type=file] tooltip support for e10s. r=ehsan
MozReview-Commit-ID: FpwKGrFQNrK
2016-03-16 19:07:51 -04:00
Nicholas Nethercote a2f068b2ad Bug 1253085 - Remove the |PLDHashTable*| argument from PLDHash{HashKey,MatchEntry}. r=froydnj.
This is easy because it's never needed.

--HG--
extra : rebase_source : 78830dab41c40a1544fa55fc69ca9c1c6709d767
2016-03-16 15:33:44 +11:00
Boris Zbarsky f8c6c153ad Bug 1255849. Add some documentation for AutoJSAPI instances that seem to be used just for cxpushing. r=bholley 2016-03-14 20:47:13 -04:00
Mike Hommey aa23cc29a6 Bug 1254906 - Move --disable-shared-js and --disable-export-js to moz.configure. r=chmanchester 2016-03-11 09:38:28 +09:00
Mike Hommey 564de8ea0e Bug 1254410 - Include app-specific configure files according to --enable-application/--enable-project. r=chmanchester
Because --enable-application is the current way to do things, transpose
it to configure.py, but since --enable-application=js doesn't make
sense, make it an alias of a new --enable-project option.

This only partially moves --enable-application out of old-configure.in
because there are a lot of other things intertwined with it.
2016-03-09 09:23:27 +09:00
Andrea Marchesini fc95fc353b Bug 1249224 - window.open() should open a new window in the same container, r=bz 2016-03-07 17:09:52 +01:00
Sebastian Hengst 6f9fa4450a Backed out changeset 05cef11d91be (bug 1249224) for bustage. r=backout on a CLOSED TREE 2016-03-07 16:35:14 +01:00
Andrea Marchesini 2cbe0e2b70 Bug 1249224 - window.open() should open a new window in the same container, r=bz 2016-03-07 16:22:12 +01:00
Jonathan Kew 8101739122 Bug 1252974 - Convert screen's available dimensions to CSS-pixel units in nsWindowWatcher. r=emk 2016-03-06 13:37:27 +00:00
J. Ryan Stinnett 777c113bb3 Bug 1238160 - Set docshell isolation mode. r=smaug
Renames nsDocShell isBrowser* attributes to add a "Moz" prefix for clarity.

Adds nsDocShell::GetIsIsolatedMozBrowserElement, which parallels
GetIsInIsolatedMozBrowserElement, but only checks the immediate docshell.

Adds nsDocShell::SetIsInIsolatedMozBrowserElement for the frame loader and tab
child to set the isolation state.

nsDocShell methods related to mozbrowser elements (and their callers) are
updated to use GetIs(In)?IsolatedMozBrowserElement when checking isolation /
origins and GetIsMozBrowserElement when checking frame types.

MozReview-Commit-ID: 6pGD5fF47ZN
2016-03-02 10:35:56 -06:00
Jonathan Kew e47c42c4d1 Bug 1252347 - Provide missing implementations of nsIBaseWindow::SetPositionDesktopPix. r=emk 2016-03-02 12:15:19 +00:00
Ryan VanderMeulen 23a793a623 Bug 1252223 - Skip test_bug293834.html on OSX e10s. 2016-02-29 15:32:45 -05:00
Jonathan Kew cb99502b79 Bug 1247335 - patch 1 - Provide a desktop-pixel variant of SetPosition on nsIBaseWindow and its implementations. r=emk 2016-02-18 10:46:16 +00:00
Aidin Gharibnavaz 6863090c8a Bug 1235830 - Renaming GetInternalNSEvent to WidgetEvent, in nsIDOMEvent r=smaug
MozReview-Commit-ID: Hm8Owq17KXn

--HG--
extra : transplant_source : 2%82%D5%89%19%94%7C%E7%CA1%99%B5%24%1F5%E1%C0%1F%DE%07
2016-02-12 19:10:07 +03:30
Daniel Holbert f06f469d80 Bug 1247866: Avoid modifying hashtable during iteration, when iterating over redirects for saved files, to avoid tripping fatal assertion. r=njn
Modifying a structure while iterating over it is generally dangerous (so we have assertions to catch it), though in this case it was probably fine, because we stopped iterating as soon as we made the modification.
2016-02-12 16:19:53 -08:00
Bogdan Postelnicu 40f6361ecd Bug 1246100 - pass aData by reference instead of value in MockWebBrowserPrint::MockWebBrowserPrint. r=bsmedberg 2016-02-05 10:58:28 +02:00
Bogdan Postelnicu ee3d37892b Bug 1245451 - add default nullptr value to mChrome. r=bsmedberg 2016-02-03 12:38:15 +02:00
Birunthan Mohanathas d7371d07d0 Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-02-02 17:36:30 +02:00
Phil Ringnalda d381b4bca6 Back out 7 changesets (bug 1235261) for cpptest failures in TestTArray
CLOSED TREE

Backed out changeset d66c3f19a210 (bug 1235261)
Backed out changeset 467d945426bb (bug 1235261)
Backed out changeset 32b61df13142 (bug 1235261)
Backed out changeset c50bb8ed4196 (bug 1235261)
Backed out changeset 0ff0fa6fe81f (bug 1235261)
Backed out changeset df70e89669da (bug 1235261)
Backed out changeset 064969357fc9 (bug 1235261)
2016-01-31 10:10:57 -08:00
Birunthan Mohanathas 373593275e Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-01-31 17:12:12 +02:00
Kyle Huey 91efc5a86c Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
Bill McCloskey c663839ade Bug 1240871 - Don't allow implicit "async" in IPDL (r=mccr8,billm) 2016-01-28 20:56:37 -08:00
Sylvestre Ledru ab4e3a0d42 Bug 1218816 - Remove useless semicolons. Found by coccinelle. r=Ehsan
--HG--
extra : rebase_source : 7d2cc56b6553cd7a8d848d3c660f30735bd82eec
2016-01-22 16:58:49 +01:00
Bob Owen 393a50d4dc Bug 1238964 Part 2: Move separate DEVMODE to nsIPrintSettings copying into nsPrintSettingsWin. r=jimm
This also corrects what I think are long standing issues with the mapping to and
from print settings on Windows.
Firstly it only uses the DEVMODE flags to decide what should get stored, in the
old code if paper size was not set, it would then use that possibly invalid
paper size to map to length and width. Paper setting prefs are mapped back if
they were stored or if they have been manually set to something sane.
Secondly it corrects the calculation that was used to convert from millimeters
to tenths of millimeters.
It also gets rid of the paperSizeType field, which was only used on Windows and
doesn't actually make sense according to the DEVMODE documentation as the
dmPaperLength and dmPaperWidth fields override the dmPaperSize, but can in
theory be specified at the same time.
2016-01-12 17:40:07 +00:00
Bob Owen eb34bd15b9 Bug 1238964 Part 1: Hold new printable page sizes in print nsIPrintSettingsWin. r=jimm
This also holds the resolution in the print settings, so that we can start to
remove the access to the native Windows print devices in the child process.
2016-01-22 16:05:19 +00:00
Jim Chen 1fbdd6e6fc Bug 1223209 - Remove geckoview_example; r=nalexander r=mfinkle
geckoview_example is broken and obsolete, and we haven't maintained it
for a long time. We should remove it from the tree, allow GeckoView AARs
to build, and rely on other example GeckoView projects that live on
GitHub.
2016-01-14 18:20:02 -05:00
Jonathan Kew 45d2ab27ce Bug 890156 - patch 2 - Expose DevicePixelsPerDesktopPixel through nsIBaseWindow and its implementations. r=emk 2015-11-25 19:12:07 +00:00
Alessio Placitelli f41d7616d2 Bug 1235345 - Remove services/metrics. r=gfritzsche 2016-01-07 04:23:00 +01:00
Robert Longson 495196598b Bug 1230267 - Inconsistent display of SVG title as tooltip when multi-process is enabled. r=jst 2016-01-09 11:12:58 +00:00
Andrew McCreight 5b8cac2504 Bug 1238080 - Remove trailing whitespace from nsIWebBrowserChrome.idl and test_window_bar.html. r=baku
IGNORE IDL because this is only whitespace changes.
2016-01-08 12:40:25 -08:00
Nicholas Nethercote ec89bbf7f2 Bug 1237151 (part 3) - Remove ignored qualifiers in all remaining code. r=froydnj. 2016-01-05 17:08:45 -08:00
Bob Owen f35de7e1be Bug 1156742 Part 7: Refactor nsDeviceContext.cpp to use printing surface for size and nsIDeviceContextSpec for DPI and scale. r=roc
These changes are to make using an off screen surface behind our DrawTarget in the child easier.
It still creates the real printing surface for some of the calculations,
removing this will be required for future tightening of the sandbox.
2016-01-05 10:08:57 +00:00
Bob Owen c38abff973 Bug 1156742 Part 6: Add RemotePrintJob to PrintSession and PrintData. r=roc, r=mconley
Someone knew that nsIPrintSession would come in handy one day.
2016-01-05 10:08:57 +00:00
Bob Owen 5f9cb1f258 Bug 1156742 Part 5: Add a skeleton RemotePrintJob. r=mconley
The methods will get filled out by later patches, this sets up the IPDL and lifetime management.
2016-01-05 10:08:57 +00:00
Robert Longson 923addc829 Bug 1235066 - SVG elements should not display title attributes as tooltips. r=enndeakin 2016-01-04 22:16:23 +00:00
Bill McCloskey ecabf2935c Bug 1224105 - Allow windowless chrome docshells containing content docshells (r=smaug) 2015-12-23 12:29:39 -08:00
Wes Kocher a5249b6201 Backed out 25 changesets (bug 1156742) for build bustage in SkOSLibrary_win.cpp CLOSED TREE
Backed out changeset 31c0aadae8e7 (bug 1156742)
Backed out changeset f08df57ff700 (bug 1156742)
Backed out changeset 90c026d5dcb1 (bug 1156742)
Backed out changeset 8c6d14d80238 (bug 1156742)
Backed out changeset 72d86b0471c9 (bug 1156742)
Backed out changeset 363829accc09 (bug 1156742)
Backed out changeset 16360fe94d54 (bug 1156742)
Backed out changeset 5355c636a81a (bug 1156742)
Backed out changeset 18844d26b873 (bug 1156742)
Backed out changeset 99df86591613 (bug 1156742)
Backed out changeset 7ac1c7e15a11 (bug 1156742)
Backed out changeset de352000aae1 (bug 1156742)
Backed out changeset 4dd34ea230c6 (bug 1156742)
Backed out changeset 48c6ce65a5c2 (bug 1156742)
Backed out changeset dd52947f73c6 (bug 1156742)
Backed out changeset 5fe429ee880c (bug 1156742)
Backed out changeset dedca8fb19b0 (bug 1156742)
Backed out changeset d748b1354f92 (bug 1156742)
Backed out changeset 7f8e59588518 (bug 1156742)
Backed out changeset b90d302c57f6 (bug 1156742)
Backed out changeset 7a4da453572c (bug 1156742)
Backed out changeset a40eea914519 (bug 1156742)
Backed out changeset 99a8859afcdb (bug 1156742)
Backed out changeset 4934e88b2d7a (bug 1156742)
Backed out changeset 79733166f05e (bug 1156742) for build bustage in SkOSLibrary_win.cpp CLOSED TREE

--HG--
extra : amend_source : beeb6abbcc724b79ac166e828efa78dc4c5301da
2015-12-21 13:47:33 -08:00
Bob Owen 8e74e544d2 Bug 1156742 Part 7: Refactor nsDeviceContext.cpp to use printing surface for size and nsIDeviceContextSpec for DPI and scale. r=roc
These changes are to make using an off screen surface behind our DrawTarget in the child easier.
It still creates the real printing surface for some of the calculations,
removing this will be required for future tightening of the sandbox.
2015-12-21 20:33:13 +00:00
Bob Owen a3c64d5bb8 Bug 1156742 Part 6: Add RemotePrintJob to PrintSession and PrintData. r=roc, r=mconley
Someone knew that nsIPrintSession would come in handy one day.
2015-12-21 20:33:13 +00:00
Bob Owen 4797734560 Bug 1156742 Part 5: Add a skeleton RemotePrintJob. r=mconley
The methods will get filled out by later patches, this sets up the IPDL and lifetime management.
2015-12-21 20:33:13 +00:00
Nicholas Nethercote 82700fe5f9 Bug 1230047 (part 2) - Make several PaintWindow() functions use LayoutDevice coordinates. r=kats.
Specifically, the PaintWindow() functions in the following classes:
- nsIWidgetListener, and its subclasses nsView and nsWebBrowser;
- nsChildView;
- nsWindow (the one in widget/uikit/);
- nsViewManager.

--HG--
extra : rebase_source : e5e0af18c57f1c44995832b403edc7eee939dc31
2015-12-02 21:45:41 -08:00
Nicholas Nethercote 1fb25d8609 Bug 1229237 (part 1) - Make nsIWidget::{Create,CreateChildren}() take a LayoutDeviceIntRect. r=botond.
--HG--
extra : rebase_source : 08407e76083534ad39dd34d2535ec09c95e506db
2015-11-16 00:35:18 -08:00
Sunny Sidhu cfa8942015 Bug 1220873 - Make Layer::mVisibleRegion a LayerIntRegion. r=botond
--HG--
extra : source : dc46048f7a9e9cc008c97e2d9e0a100944743055
extra : amend_source : 63783bc076e5969ebacdc8c74f9b5194a1891d9e
2015-11-29 02:07:55 -05:00
Tooru Fujisawa 6350ec15bd Bug 1224790 - Use SetFakeModal instead of SetModal for non-modal window opened by modal window. r=smaug, mstange
--HG--
extra : rebase_source : e7f6009ecadf0347f916b95c51e7223855cc6294
2015-11-18 20:12:26 +09:00
Cameron McCormack fd2fba0c73 Bug 990250 - Fold nsIStyleSheet into CSSStyleSheet. r=dbaron 2015-11-17 17:04:09 +11:00
Kyle Huey bdbb2ec50a Bug 1224061: Make Event::InitEvent infallible. r=smaug 2015-11-13 08:09:42 +08:00
Nicholas Nethercote ad0dd8414a Bug 1223310 (part 2) - Use LayoutDeviceIntRect for bounds-related functions in nsIWidget. r=kats.
The patch renames the existing functions (GetBounds(), GetClientBounds(), etc)
by adding an |Untyped| suffix. It then adds typed equivalents, and uses those
typed equivalents in all the call sites where it's easy to do so. The trickier
remaining call sites are converted to use the Untyped-suffix version.

--HG--
extra : rebase_source : 6bfb15bfc4698e2eba7d4db55497299d3dffcd51
2015-11-09 21:37:32 -08:00
Nicholas Nethercote e30a48ab83 Bug 1186794 (part 6) - Replace nsBaseHashtable::EnumerateRead() calls in embedding/ with iterators. r=bz.
--HG--
extra : rebase_source : e83b173903e4f7fbf3680d84e957dcc69c50bd06
2015-11-01 18:42:54 -08:00
Nicholas Nethercote 7823098274 Bug 1186794 (part 5) - Replace nsBaseHashtable::EnumerateRead() calls in embedding/ with iterators. r=bz.
--HG--
extra : rebase_source : 42a816294ecb1f94bbb6d077c3d69fbab0700610
2015-11-01 18:42:41 -08:00
Nicholas Nethercote 8977a4ab4d Bug 1186794 (part 4) - Replace nsBaseHashtable::EnumerateRead() calls in embedding/ with iterators. r=bz.
--HG--
extra : rebase_source : 673814624ed8523ef2e33d9d3eab8dc935638666
2015-11-01 18:42:28 -08:00
Nicholas Nethercote cee3459f00 Bug 1186794 (part 3) - Replace nsBaseHashtable::EnumerateRead() calls in embedding/ with iterators. r=bz.
--HG--
extra : rebase_source : 0a7f9b99376c0ab6c89c0ffb4dc69f9c9c5c7f6c
2015-11-01 18:42:08 -08:00
Nicholas Nethercote 3fe818ed43 Bug 1186794 (part 2) - Replace nsBaseHashtable::EnumerateRead() calls in embedding/ with iterators. r=bz.
--HG--
extra : rebase_source : a8a42a93324936c089ce9b1e9167dcef6fe14b2c
2015-11-01 18:41:57 -08:00
Nicholas Nethercote 20693def2e Bug 1186794 (part 1) - Replace nsBaseHashtable::EnumerateRead() calls in embedding/ with iterators. r=bz.
Also make mGroupNames const to avoid a cast.

--HG--
extra : rebase_source : 09b2341b3a18265cfb8fddd70b008a8daa5dc272
2015-11-01 18:41:40 -08:00
Birunthan Mohanathas 9985829ecc Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj 2015-11-02 07:53:26 +02:00
Andrew McCreight 5981b92f78 Bug 1219842 - Enable a bunch of mochitest-plain tests under e10s. r=mrbkap 2015-10-31 06:26:44 -07:00
Mike Conley 579e388d6e Bug 1218594 - r=smaug
--HG--
extra : commitid : 4eqpv5kRmP1
extra : rebase_source : b24ee1c13b9de8f37d3467686c653c6ed3e929c2
2015-10-30 14:54:52 -04:00
Mike Conley 74bce35677 Bug 1217190 - Make sure to initialize outparam in PrintingParent::RecvShowProgress. r=bobowen
--HG--
extra : commitid : EGXL51V8QI
extra : rebase_source : e2fe518f0d46741176e2179ca81df2b55e788922
extra : histedit_source : 58976c539a6eade5331f47be9900d338356a5ee4
2015-10-27 14:37:34 -04:00
Mike Conley 11408875de Bug 1217190 - Make PrintingParent return an nsresult when attempting to show print progress. r=bobowen
--HG--
extra : commitid : LH8E3YSVlSd
extra : rebase_source : a48a93195c576648f4a46c9eb60756186684e0eb
extra : histedit_source : f582237e3e58d92a1ec38a4b2a82d77bae620d48
2015-10-26 16:47:48 -04:00
Catalin Badea 8255b13467 Bug 1172870 - Part 2 - Enable ServiceWorkerClients::OpenWindow on e10s desktop. r=smaug 2015-10-30 01:30:57 +02:00
Birunthan Mohanathas 44936aabb2 Bug 1217320 - Remove more XPIDL signature comments in .cpp files. r=froydnj
Comment-only, DONTBUILD.
2015-10-27 06:54:25 +02:00
Kyle Huey c7d3c4e21a Bug 1216401: Eviscerate nsIDOMWindow, move still needed methods to nsPIDOMWindow. r=bz 2015-10-26 14:37:32 -07:00
J. Ryan Stinnett 64bf2d6b32 Bug 1217687 - Revert back to including /devtools via toolkit. r=glandium 2015-10-23 06:04:45 -05:00
J. Ryan Stinnett 978cb5107a Bug 1203159 - Update each product's DevTools inclusion. r=glandium
A new configure option --with-devtools (which sets MOZ_DEVTOOLS) is added to
control whether all DevTools, just the server, or no DevTools are included.
This defaults to just the server.

Applications should also include /devtools within their moz.build tree, so that
DIST_SUBDIR is in effect for all DevTools files if it is used by the app.
2015-10-21 12:22:59 -05:00
Nathan Froyd 01583602a9 Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

CLOSED TREE makes big refactorings like this a piece of cake.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi

--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Mike Conley 30c59e510c Bug 1095236 - Disable dialog=1 support for windows opened from content. r=mrbkap
--HG--
extra : source : 856b7b90184f29a64093970e540193731b963f61
2015-10-02 19:00:54 -04:00
Wes Kocher 73e113381f Backed out 3 changesets (bug 1095236) for possibly spiking the frequency of VP(b-m) failures CLOSED TREE
Backed out changeset 11cb6379251a (bug 1095236)
Backed out changeset 856b7b90184f (bug 1095236)
Backed out changeset a179310161fb (bug 1095236)
2015-10-13 10:08:11 -07:00
Mike Conley 722366ddf3 Bug 1095236 - Disable dialog=1 support for windows opened from content. r=mrbkap
--HG--
extra : commitid : 4m7AvvB7uNQ
extra : rebase_source : 071e0e0aad76a7f08899591cb2efcc04bd5f2223
extra : histedit_source : d4db8a83cd507d05be0c166542fbdeca0212c76d
2015-10-02 19:00:54 -04:00
Jed Davis 7938778ece Bug 1207864 - Fix nsWebBrowserPersist's onStateChange callback in error cases. r=billm 2015-10-07 12:49:53 -07:00
Carsten "Tomcat" Book 08997000eb Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
Backed out changeset 647025383676 (bug 1202902)
Backed out changeset d70c7fe532c6 (bug 1202902)
2015-10-07 14:03:21 +02:00
Carsten "Tomcat" Book e7ef778c9d Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)

--HG--
extra : rebase_source : 5d3db72337754bc7ab0ed0c30b2896100411ff92
2015-10-07 12:13:45 +02:00
Shu-yu Guo d06b6030f6 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07:00
Olli Pettay 73e3069a93 Bug 1209621 - Add a way to get the TabParent for the content-primary tab, r=mconley
--HG--
extra : rebase_source : 2755b86bf3b247cbb2931eda3cc9433d2878125e
2015-10-01 20:06:51 +03:00
Jed Davis 2045d9b9ef Bug 1204626 - Add a regression test. r=billm 2015-09-29 11:08:00 +02:00
Jed Davis f6824d8a0c Bug 1204626 - Reparent PWebBrowserPersistDocument to PContent. r=billm
A reference to a document (and the act of saving it) can outlive the
browser tab it was originally loaded in, and this needs to be reflected
in IPC in order to avoid MsgRouteError crashes; see bug for more info.

Note that we still need to pass the PBrowser when starting persistence,
because that's the only handle the parent has on the top-level document;
see comments in this patch for more info.

Also makes TabChildBase::GetDocument public, because it's just a wrapper
around WebNavigation() which is already public, to avoid code duplication.
2015-09-21 14:54:00 +02:00
Jed Davis 4c77f707f0 Bug 1204626 - Avoid error-case double-__delete__ crash in WebBrowserPersist. r=billm
The actor is refcounted, so this isn't a use-after-free, but it will
crash the content process.
2015-09-21 14:54:00 +02:00
Bobby Holley 110f12e7ca Bug 1072150 - Use the opt-out for various sloppy consumers. r=bz 2015-09-24 14:02:41 -07:00
Chris Peterson 71920a9550 Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium 2015-09-22 21:39:03 -07:00
Christoph Kerschbaumer 9f1e9e2eaa Bug 1048048 - add preload content policy types for images (r=seth)
--HG--
extra : source : 88c2333ff7455b6988eb8d6ccc5e92b414a7ccf8
2015-09-20 14:55:59 -07:00
Wes Kocher cd079d2bf9 Backed out 7 changesets (bug 1048048) for android crashes in various chunks CLOSED TREE
Backed out changeset b5abe23a4ea5 (bug 1048048)
Backed out changeset 4f91b10e8be0 (bug 1048048)
Backed out changeset 450d4a13c90e (bug 1048048)
Backed out changeset 6a727c40eb68 (bug 1048048)
Backed out changeset 88c2333ff745 (bug 1048048)
Backed out changeset 740ab1ecd079 (bug 1048048)
Backed out changeset 02c6d6aef163 (bug 1048048)
2015-09-21 09:08:34 -07:00
Christoph Kerschbaumer 19dc79ddbb Bug 1048048 - add preload content policy types for images (r=seth) 2015-09-20 14:55:59 -07:00
Christoph Kerschbaumer 6e08fa5c8c Bug 1206146 - Use channel->AsyncOpen2() in embedding/components/webbrowserpersist/nsWebBrowserPersist.cpp (r=sicking) 2015-09-19 20:24:39 -07:00
Mike Conley 4b7b981193 Bug 1189554 - Make Saved Passwords dialog resizable on Windows again. r=smaug
We were accidentally overwriting chromeFlags with CHROME_DEFAULT, which
we should only do if the caller has provided a features string when
opening a dialog.

--HG--
extra : amend_source : 70a82802aada30253e860c80b172f0a152ee4a00
2015-09-15 16:33:36 -04:00
Carsten "Tomcat" Book 0b2b43ce7c Backed out 1 changesets (bug 1189554) for suspicion of causing Linux Mn-e10s test failures on a CLOSED TREE
Backed out changeset 7f5c88364008 (bug 1189554)

--HG--
extra : rebase_source : 9e63d9b0219b1b59fc4a6f974231c6783c24dc41
2015-09-17 14:40:14 +02:00
Jamie Nicol a7a276263d Bug 1200729 - Recompute FrameLayerBuilder item visibility if dirty region changes. r=mwoodrow
Make the FrameLayerBuilder remember for what region it has calculated
display item visibility, then recompute the visibility whenever the
dirty region it is passed to DrawPaintedLayer changes.

This means that the caller does not have to know the entire dirty region
that will be drawn for the transaction, but we can still optimise cases
where it knows some of the dirty region in advance.

This fixes a regression where MultiTiledContentClient's low-res display
port would not be painted if a smaller region of its high-res buffer had
already been painted that transaction, since the FrameLayerBuilder
had decided that most of the larger low-res region was invisible.
2015-09-15 14:41:42 +01:00
Mike Conley b95e1faf4e Bug 1189554 - Make Saved Passwords dialog resizable on Windows again. r=smaug
We were accidentally overwriting chromeFlags with CHROME_DEFAULT, which
we should only do if the caller has provided a features string when
opening a dialog.

--HG--
extra : transplant_source : %A8Q%A4%2C%A8%04%03%A98%F1%93%7C%A9%D3%956%F8g%40w
2015-09-15 16:33:36 -04:00
Nicholas Nethercote 647b520991 Bug 1201135 - Rename pldhash.{h,cpp} to PLDHashTable.{h,cpp}. r=mccr8.
--HG--
rename : xpcom/glue/pldhash.cpp => xpcom/glue/PLDHashTable.cpp
rename : xpcom/glue/pldhash.h => xpcom/glue/PLDHashTable.h
extra : rebase_source : 06b9d30db96ed78500fd44d9c0b51609103508a3
2015-09-15 20:49:53 -07:00
Nicholas Nethercote 59683492e5 Bug 1121760 (part 3) - Remove PL_DHashTableRemove(). r=poiru.
--HG--
extra : rebase_source : c34d693de4aca45f2ea05c2767c8b1007c89df29
2015-09-14 14:23:24 -07:00
Nicholas Nethercote 479244f7c9 Bug 1121760 (part 2) - Remove PL_DHashTableAdd(). r=poiru.
--HG--
extra : rebase_source : 41eb939bfb5c925cba58b1af57abce9a4e5fdb30
2015-09-14 14:23:12 -07:00
Nicholas Nethercote fcfdd8f54b Bug 1121760 (part 1) - Remove PL_DHashTableSearch(). r=poiru.
--HG--
extra : rebase_source : 770e1f49a451ecbadd778e071b204611e27cf701
2015-05-21 00:34:25 -07:00
Jed Davis 6dc9eb915b Bug 1202887 - Delay WebBrowserPersist error callbacks caused by IPC ActorDestroy. r=billm
The way IPDL glue currently works, it's unsafe to do Send__delete__ on
another actor in that context, and these callbacks can indirectly cause
that; see bug for details.
2015-09-14 11:18:28 -07:00
john 6e2d8c8fe7 Bug 236989 - Ensure persisted subdocuments correctly fixup relative links. r=bzbarsky
The URI of the document being serialized must be taken into account within
GetLocalURI on URIData. This method previously returned its path relative to
the document in which it is first visited, resulting in a bug when subdocuments
stored in different locations also linked to it. By passing in mTargetBaseURI
GetLocalURI can ensure it is returning a path relative to the document
currently being serialized.

--HG--
extra : rebase_source : 124f6b065b5b4d5952678666b72a63937532ec12
2015-09-02 23:53:38 -07:00
Nicholas Nethercote f44287005f Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.

--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Mike Conley 77af80c31b Bug 1141337 - Update nsIWebBrowserPersistable to allow subframe targeting for Save Frame As. r=jld
This alters nsIWebBrowserPersistable so that startPersistence takes an
outerWindowID. This allows us to target a particular subframe from
beneath an nsFrameLoader, which is useful when attempting to Save
Frame As a remote browser.

--HG--
extra : commitid : KWck2rfRjXw
extra : rebase_source : d2390a8cf1b830e4e1c0fa52574455fbc0b05c14
2015-08-06 10:44:16 -04:00
Jed Davis 7753845aef Bug 1193903 - Fix nsWebBrowserPersist for documents with no page descriptor. r=mconley
This restores the behavior from before bug 1101100, when various
indirect properties of the document were obtained by JS that ignored
exceptions by using null instead.  This is currently breaking for the
documents created by Print Preview, because they have no page descriptor.
This patch also makes similar changes to the contentDescriptor getter.
2015-08-13 18:08:09 -07:00
Wes Kocher 6b7a0b75b5 Merge fx-team to m-c a=merge 2015-08-13 16:30:54 -07:00
Jed Davis 0e78372033 Bug 1192654 - Fix nsWebBrowserPersist handling of nonpersistable subdocuments. r=billm
The patch for bug 1101100, in converting this code to be asynchronous
and distributed, accidentally dropped the check for `data` being null;
this patch restores it, and adds a regression test.

--HG--
extra : histedit_source : 9eac378981bf4c21ae4c79d1a452c9098463cbf4
2015-08-13 08:38:19 -07:00
Mike Conley 7421d14843 Bug 1106321 - Serialize DEVMODE down to the content process when printing on Windows. r=jimm
--HG--
extra : commitid : IhjNJOOtmms
extra : rebase_source : 6b0ba29e866dcf63a3054eb955ece082cbbeda13
extra : amend_source : 70bcf59b1f4b1d7a3a8ec4183b3b9710eedfb5f9
2015-08-06 17:36:54 -04:00
Reuben Morais 26b85c489b Bug 1192102 - Remove unused file embedded/android/GeckoSmsManager.java. r=blassey
IGNORE IDL
2015-08-06 18:59:00 -04:00
Jed Davis f9cdea85fa Bug 1101100 - Multiprocess-enable nsWebBrowserPersist. r=billm
The high-level overview is that the parts of nsWebBrowserPersist which
access the DOM have been factored out (as WebBrowserPersistLocalDocument)
and abstracted (nsIWebBrowserPersistDocument) such that they can be
implemented in the cross-process case using IPC.
2015-08-05 14:25:39 -07:00
Birunthan Mohanathas 7315345693 Bug 1191100 - Remove XPIDL signature comments in .cpp files. r=ehsan
Comment-only so DONTBUILD.
2015-08-04 16:17:36 -07:00
Jamie Nicol 3e0de12cde Bug 1187619 - Only optmimize FrameLayerBuilder visibility calculations if correct. r=mattwoodrow
Bug 1176077 introduced the parameter aDirtyRegion to
DrawPaintedLayerCallback, which allows the callback to recompute the
visibility of all items to be painted in that transaction in a single
go. However, this parameter can not always be determined correctly
when using RotatedBuffer, and using an incorrect value was causing
graphical glitches.

Make the parameter optional, and on null values do not perform the
optimisation. Pass null from ClientPaintedLayer, which uses
RotatedBuffer and was causing problems, but continue to pass the
correct value from other Layer implementations. This optimisation was
most important for tiled layers using progressive paint, so this is
okay.
2015-08-03 04:07:00 -04:00
Makoto Kato ed0bf31fba Bug 830801 - Part 3. Remove NOMINMAX define from cpp source. r=mshal 2015-08-03 10:07:20 +09:00
Jamie Nicol 5044fbd3c9 Bug 1176077 - Only recompute PaintedLayer item visibility when display list has changed. r=mattwoodrow
FrameLayerManager::RecomputeItemsVisibility() was being called on every
call to FrameLayerBuilder::DrawPaintedLayer(), each time for the region
to be painted by that paint call. This is inefficient when progressive
paint is enabled. Change it so that we compute the visibility of all the
layer's items within the total region to be painted, but only on the
first paint after the display list has been modified.
2015-07-21 09:19:25 +01:00
Eric Rahm 2b7467a741 Bug 1179069 - Remove docshell warnings in embedding. r=bz 2015-07-20 20:16:27 -07:00
Mike Conley c86643f748 Bug 1114299 - Be more strict about which window chromeFlags we compute from content. r=smaug
We don't ever want to accept "private", "non-private", "remote" or "non-remote" from the
content process. We only let the parent decide when to open those types of windows.

--HG--
extra : commitid : 9MGeXNdb9US
extra : rebase_source : 41a4d9785bd667b84c255eda0ac7fedf44733736
extra : histedit_source : 698c707b68c60108e0631b775a98fb4e241c009b
2015-07-10 11:40:19 -04:00
Jed Davis feac503206 Bug 1179967 - Always rewrite links to absolute in nsWebBrowserPersist instead of side-effecting document. r=jst
--HG--
extra : commitid : JJTI70LvCnb
extra : rebase_source : 8a4b564e630a291e7866ba209a5f7dc4b1284a71
2015-07-15 12:15:48 -07:00
Birunthan Mohanathas a8939590de Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Neil Deakin eee10c99f2 Bug 1132518, make document navigation with F6/Shift+F6 work in e10s. This combines the document and tab navigation mechanisms together, r=smaug 2015-07-13 06:07:49 -04:00
Nihanth Subramanya 5e74ed3e43 Bug 1179058 - Implement shouldAddToSessionHistory in WebBrowserChrome JS object. r=adw
--HG--
extra : rebase_source : b21952075a68b39cbfbbb36cde0713096c700c46
2015-07-02 11:04:06 -07:00
Emanuel Hoogeveen 7d1e52f2ff Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell 2015-07-07 04:17:00 +02:00
Juan Gomez 258ad59e3f Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
Ted Mielczarek 767bd03bc6 bug 1172655 - make --enable-application=embedding/ios work (NPOTB)
--HG--
extra : commitid : 9iUt6xIyYWt
extra : rebase_source : 286b97d7bd9461c5fbf3c1740e86895b44d12850
2015-06-12 08:50:20 -04:00
Ted Mielczarek b8cb0f7543 bug 1172655 - Add GeckoEmbed XCode project (NPOTB)
--HG--
extra : commitid : 61dAWudgCfV
extra : rebase_source : 001849d99264012b6e6965c43af3e2e3ff791f93
2015-06-15 07:46:08 -04:00
Nihanth Subramanya fb7c08fefa Bug 1118285 - The browser.newtab.url preference is abused and should be removed. 2015-05-27 17:35:03 -07:00
Mike Hommey d4a77c946b Bug 1173681 - Remove winEmbed. r=bsmedberg 2015-06-23 08:54:04 -07:00
Karl Tomlinson 603b1ace02 bug 147419 remove ununsed plexName colorspace resolutionName and downloadFonts r=roc
This was only used to write to and read from otherwise unused preferences.

--HG--
extra : rebase_source : a538569807b8340dae3fe9f0cbfc68334e20ccc9
2015-06-11 09:34:27 +12:00
Karl Tomlinson a19a1f0d0c bug 147419 remove ununsed nsIPrintSettings::printCommand and print_command prefs r=roc
These was used only to write to and read from each other.

--HG--
extra : rebase_source : ef49678652f829fe23611fb2294a22c3ffd91cf1
2015-06-10 18:10:28 +12:00
Ehsan Akhgari 72aef1875b Bug 1175122 - Add more assertions to the in-tree content policy implementations to ensure that they receive external content policy types; r=baku 2015-06-16 11:38:53 -04:00
Jed Davis 5813d28889 Bug 1170334 - Re-escape entities in nsWebBrowserPersist XML stylesheet handling. r=hsivonen
--HG--
extra : rebase_source : c895f6b5c0cee1f2a35207f25ed8b653ac1cb591
2015-06-10 18:33:00 +02:00
Shelly Lin f669d48f4d Bug 1138287 - Part 3: Add an option to set screen ID in windowWatcher.openWindow. r=roc
--HG--
extra : histedit_source : 15a046ca47c18feb379cbd51d32c41ec2ef0e1f2
2015-06-05 11:31:55 +08:00
Nicholas Nethercote e849e6588b Bug 1170416 (part 3) - Remove the PLDHashTable2 typedef. r=froydnj.
--HG--
extra : rebase_source : 9510ea47204fffa163cac43aeaaac6ae1ad80419
2015-05-19 16:46:17 -07:00
Mike Conley a1d6a9cf9c Bug 1091112 - Proxy opening the print dialog on OS X to the parent. r=mstange
--HG--
extra : commitid : JRKXD6lod1d
extra : rebase_source : b2bfa7c4f750852c0654367708cc4f0a6c607a24
extra : histedit_source : f0da46869101dc23b8d6b654416298951b078ccb
2015-05-06 14:10:21 -04:00
Mike Conley 1a81ee8239 Bug 1091112 - Add OS X-specific members to PrintData IPDL struct. r=jimm
--HG--
extra : commitid : Dr2MlrmVcdg
extra : rebase_source : 886e4fcae950fd46b51aad1b8f5e5fa47bdbeaa6
2015-05-06 14:09:08 -04:00
Mike Conley 1a3aaea52d Bug 1091112 - Serialize nsIPrintSettings options bitfield. r=jimm
--HG--
extra : commitid : Dms9DmIQc6x
extra : rebase_source : 28597e8eb3c7c9e11bf26f611dae21ff96fad968
2015-05-06 15:35:35 -04:00
Nicholas Nethercote bf1839cd7a Bug 1166598 (part 3) - Use PLDHashTable2 in nsCommandParams. r=froydnj.
--HG--
extra : rebase_source : 8e7e616c93cae653440a6ea2e11cd1c6da2e8821
2015-05-05 18:23:39 -07:00
Gijs Kruitbosch ca40918bd8 Bug 1166066 - Fix opening new windows from a private window. r=jdm
--HG--
extra : rebase_source : 9a71b987e0cd23145e77f9cb28aa40e14b8e0a52
2015-05-19 16:27:04 +01:00
Andrew McCreight 2512f8de5d Bug 1164049 - Fix some mode lines in embedding/. r=smaug
embedding/browser, embedding/components/commandhandler/, embedding/components/find/, embedding/components/windowwatcher/
2015-05-12 08:30:00 +02:00