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

5432 Коммитов

Автор SHA1 Сообщение Дата
Mike Conley cb9696f49a 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 : 0ba3de736ba4fd80a7444c9246a8c2bf77308570
extra : source : ea2da46bde0a4a3039d69e198ad40afefc92a5ec
2016-05-02 17:36:12 -04:00
Mike Conley c3144863d0 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 : 25d96ed6b056b780f70ed6d10445191daecabbab
extra : source : 1a7d17e9e15d84f22d56a056cb48c28b3ba23c7b
2016-05-30 15:23:01 -04:00
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