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

5537 Коммитов

Автор SHA1 Сообщение Дата
Yoshi Huang e9afc42d17 Bug 1260931 - Part 6: pass origin attributes to nsIWebBrowser. r=smaug 2016-09-06 10:26:13 +08:00
Sebastian Hengst bb5ced415d Backed out changeset 5f4f5b4e3d8a (bug 1260931) 2016-09-05 21:15:16 +02:00
Yoshi Huang 4851870977 Bug 1260931 - Part 6: pass origin attributes to nsIWebBrowser. r=smaug 2016-09-06 01:50:48 +08:00
Makoto Kato d1dd26f493 Bug 1265739 - DocumenetProperties should use LONG as return type. r=jimm
When investigating bug 1075194, I found that we don't check return value of DocumentPropertiesW.  So we sould use correct type and add log for this API.

MozReview-Commit-ID: Ck3VwMq9OpQ

--HG--
extra : amend_source : a0da15b578055b7612ce96b44cac2cd69607fa51
2016-08-22 14:45:49 +09:00
Nicholas Nethercote b71747b2ac Bug 1299727 - Rename NS_WARN_IF_FALSE as NS_WARNING_ASSERTION. r=erahm.
The new name makes the sense of the condition much clearer. E.g. compare:

  NS_WARN_IF_FALSE(!rv.Failed());

with:

  NS_WARNING_ASSERTION(!rv.Failed());

The new name also makes it clearer that it only has effect in debug builds,
because that's standard for assertions.

--HG--
extra : rebase_source : 886e57a9e433e0cb6ed635cc075b34b7ebf81853
2016-09-01 15:01:16 +10:00
Jinank Jain f2776091ea Bug 712936 - Convert users of PR_STATIC_ASSERT to C++11 static_assert(). r=Ms2ger
--HG--
extra : rebase_source : b3e4c3e7c81799f2b1f3ec62ba3ff3b5d3adba27
2016-08-23 11:24:54 -04:00
Kan-Ru Chen b6d880aca1 Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj
The patch is generated from following command:

  rgrep -l unused.h|xargs sed -i -e s,mozilla/unused.h,mozilla/Unused.h,

MozReview-Commit-ID: AtLcWApZfES


--HG--
rename : mfbt/unused.h => mfbt/Unused.h
2016-08-24 14:47:04 +08:00
Nicholas Nethercote cc993d1772 Bug 1293596 (part 4) - Tweak nsIWidget::Create. r=mstange.
They don't need to be NS_IMETHOD, but they should be MOZ_MUST_USE. Adding the
latter catches a few missing checks, which the patch adds.

The patch also gives PuppetWidget an InfallibleCreate() function, which makes
the infallibility of PuppetWidget creation clear.
2016-08-19 09:03:17 +10:00
Nicholas Nethercote 67af4817e9 Bug 1293596 (part 2) - Rework nsIWidget bounds getters. r=mstange.
This patch makes GetBounds(), GetScreenBounds() and GetClientBounds() more
obviously infallible, like existing functions such as GetNaturalBounds() and
GetClientSize(). This results in clearer behaviour in nsCocoaWindow.mm if
Objective C exceptions occur. Along the way, the patch removes some useless
failure checks for these functions.

The patch also removes the NS_IMETHOD from GetRestoredBounds and makes that
function MOZ_MUST_USE.
2016-08-19 09:03:04 +10:00
Nicholas Nethercote 09229956c9 Bug 1295053 (part 7) - Don't use NS_METHOD for embedding/ functions. r=froydnj.
These don't need __stdcall on Win32.

--HG--
extra : rebase_source : 64cea3a1da6bb03a5704262e581919f6bde5b00f
2016-08-16 12:12:30 +10:00
Nicholas Nethercote ca40b738e4 Bug 1294620 - Use infallible XPIDL attribute getters more. r=erahm.
This makes a lot of code more compact, and also avoids some redundant nsresult
checks.

The patch also removes a handful of redundant checks on infallible setters.

--HG--
extra : rebase_source : f82426e7584d0d5cddf7c2524356f0f318fbea7d
2016-08-12 15:19:29 +10:00
James Andreou 3585e16752 Bug 1283281 - Remove PB Flag from DOMStorage. r=jdm 2016-06-29 14:01:00 +02:00
Paul Bignier 0602ff52d5 Bug 1289757 - [Uninitialized scalar field] In constructor nsWebBrowserPersist(). r=mconley
* Only pushing this file because it's the only "Uninitialized scalar field" defect in the "embedding" module that is fixed that way.
2016-07-27 05:12:00 +02:00
Paul Bignier 611c182e45 Bug 1290015 - [Static Analysis][Uninitialized scalar field] In constructor SizeSpec(). r=jst
--HG--
extra : rebase_source : 1cdc3a7a442674ddb993f1c1d398d4f962dc386d
2016-07-28 01:25:00 +02:00
Christoph Kerschbaumer caedb13ef1 Bug 1286472: Replace owner with triggeringPrincipal within docshell. r=bz 2016-07-28 09:20:41 +02:00
Paul Bignier 11fb564a42 Bug 1289468 - [Static Analysis][Uninitialized scalar field] In constructor ChromeTooltipListener(nsWebBrowser* aInBrowser, nsIWebBrowserChrome* aInChrome). r=mconley
--HG--
extra : amend_source : 2061b4bab860391463768ea9401bf5ab90a255fd
2016-07-26 08:05:00 +02:00
Ting-Yu Chou 7e31c41fb5 Bug 1278505 - Remove unneeded NS_NOTREACHED from DeallocPPrintProgressDialogChild(). r=mconley
MozReview-Commit-ID: 7WvZM390h8W

--HG--
extra : rebase_source : 94131635467e64dab7f30148183454065cdd2712
2016-07-22 09:35:22 +08:00
Carsten "Tomcat" Book b9a6c687fa merge mozilla-inbound to mozilla-central a=merge 2016-07-25 15:50:41 +02:00
Andrea Marchesini 60ab8339e0 Bug 1288736 - Add some missing rv.SuppressException(), r=smaug 2016-07-22 16:50:10 +02:00
Mike Conley d4a246809b Bug 1261842 - Refactor nsWindowWatcher to not have so much duplication. r=smaug
MozReview-Commit-ID: 8ItRHmJxcLA

--HG--
extra : rebase_source : e8956d629e236741fca24667135775abae8a4456
extra : source : bb6c6889b802f469103df297e7c2fb417ec2961d
2016-07-15 11:20:53 -04:00
Mike Conley 8539e837d4 Bug 1261842 - Add a test for chromeflags for new windows from content. r=krizsa
MozReview-Commit-ID: Fdbhat4894A

--HG--
extra : rebase_source : 516880ddc89a9a6b9c00b87d1b29e790c7861ba5
extra : source : 8d708922e47ac2a5c56a8bceded6a84701536e17
2016-04-29 18:25:11 -04:00
Mike Conley 276c6f9b96 Bug 1261842 - Add methods to nsIDocShellTreeOwner for sizing the primary content. r=smaug
MozReview-Commit-ID: CqiRTVd444n

--HG--
extra : rebase_source : 629e52028e556298145597d6efff02b7973727c4
extra : source : 711951be3db684d594704ddf4df44fffcc514794
2016-07-14 16:31:41 -04:00
Mike Conley 688f1f9516 Bug 1261842 - Factor out logic for creating windows for content processes from nsWindowWatcher::OpenWindowInternal. r=smaug
MozReview-Commit-ID: 1dhGthT8bmu

--HG--
extra : rebase_source : 34d321ebd3c27f414c63c72908c72d23aabb5396
extra : source : 0f8b603781817f58c4664a33429325bc316598e9
2016-07-05 12:00:07 -04:00
Mike Conley febff2f77c Bug 1261842 - Use nsACString in more places instead of raw strings inside nsWindowWatcher. r=smaug
MozReview-Commit-ID: JhspUdabi0w

--HG--
extra : rebase_source : 28e3ca1bf4f877ed56b9a7d977e02bc3d92f804d
extra : source : cbdc0deb92bd5bcbae0be65c7bbd5ad020f7a153
2016-07-05 11:59:56 -04:00
Mike Conley ea4b26ca22 Bug 1278985 - Remove unused URL arg from CreateChromeWindow2. r=mrbkap
MozReview-Commit-ID: I1H2WZeoHTJ

--HG--
extra : rebase_source : 7418216f51c6bc223c08621853f19ac542b0b470
extra : source : 3b5b92f04ea56dcf8fb123585a6ea2eaba550614
2016-04-27 16:19:25 -04:00
Tom Tromey 5538d692d3 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx

--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Ting-Yu Lin d444310eb1 Bug 1277129 Part 1b - Rename nsHTMLReflowState.h/cpp to ReflowInput.h/cpp and fix #includes. r=dbaron
The #includes are fixed by the following script:

function rename() {
find .\
     -type f\
     ! -path "./obj*"\
     ! -path "./.git"\
     ! -path "./.hg"\
     \( -name "*.cpp" -or\
        -name "*.h" \)\
        -exec sed -i -e "s/$1/$2/g" "{}" \;
}

rename "nsHTMLReflowState\.h" "mozilla\/ReflowInput\.h"

MozReview-Commit-ID: FjwHA4YRHNv

--HG--
rename : layout/generic/nsHTMLReflowState.cpp => layout/generic/ReflowInput.cpp
rename : layout/generic/nsHTMLReflowState.h => layout/generic/ReflowInput.h
extra : rebase_source : e4215620717df436a51243cee689286cfabc7c71
2016-07-21 18:36:34 +08:00
Chris Peterson b175c9fdd5 Bug 1277106 - Part 2: Expand MOZ_UTF16() strings to u"" string literals. r=Waldo 2016-07-20 22:03:25 -07:00
Jonathan Kew f908bdf8b8 Bug 1287734 - Make nsWindowWatcher::SizeOpenedDocShellItem use global desktop coordinates to position the window, for reliable placement on mixed-resolution Mac systems. r=emk 2016-07-19 14:17:25 +01:00
Carsten "Tomcat" Book d8b9227dbe Backed out 25 changesets (bug 1261842, bug 1278985) breaking firefox-ui tests
Backed out changeset bb6c6889b802 (bug 1261842)
Backed out changeset c14ccfac7b4b (bug 1261842)
Backed out changeset d6ffc9db5346 (bug 1261842)
Backed out changeset 2a1acfd17baf (bug 1261842)
Backed out changeset 968e7b3b73fb (bug 1261842)
Backed out changeset 8d708922e47a (bug 1261842)
Backed out changeset 0a08398b5087 (bug 1261842)
Backed out changeset b2e910bb1d72 (bug 1261842)
Backed out changeset f6062f113911 (bug 1261842)
Backed out changeset 07b259eb7121 (bug 1261842)
Backed out changeset 970cbbb3a658 (bug 1261842)
Backed out changeset b6f7395d2bbf (bug 1261842)
Backed out changeset 20eb3987a721 (bug 1261842)
Backed out changeset 6eaa642a93e1 (bug 1261842)
Backed out changeset 855931929739 (bug 1261842)
Backed out changeset 1240345f5624 (bug 1261842)
Backed out changeset ce46ebf231c1 (bug 1261842)
Backed out changeset 8d34b61fbfb3 (bug 1261842)
Backed out changeset 9d8a382c5b1d (bug 1261842)
Backed out changeset e2472a4cc209 (bug 1261842)
Backed out changeset e91913cd64b8 (bug 1261842)
Backed out changeset 4cf843a05a68 (bug 1261842)
Backed out changeset cbdc0deb92bd (bug 1261842)
Backed out changeset a94e6a85c931 (bug 1261842)
Backed out changeset 3b5b92f04ea5 (bug 1278985)
2016-07-19 09:12:58 +02:00
Mike Conley 9c1f8e2f3b Bug 1261842 - Refactor nsWindowWatcher to not have so much duplication. r=smaug
MozReview-Commit-ID: 8ItRHmJxcLA

--HG--
extra : rebase_source : 2833a73cab6ba6c25d3cddbac94ed741ae8f709f
2016-07-15 11:20:53 -04:00
Mike Conley d7dd85603f Bug 1261842 - Add a test for chromeflags for new windows from content. r=gabor
MozReview-Commit-ID: Fdbhat4894A

--HG--
extra : rebase_source : a3fff7bd4c3925c86fe0392b6cb4cd676906169f
2016-04-29 18:25:11 -04:00
Mike Conley 92e4a54e9b Bug 1261842 - Add methods to nsIDocShellTreeOwner for sizing the primary content. r=smaug
MozReview-Commit-ID: CqiRTVd444n

--HG--
extra : rebase_source : 87322da2ea764cf06885f53a083dfb4f7bcb7c9a
extra : source : 711951be3db684d594704ddf4df44fffcc514794
2016-07-14 16:31:41 -04:00
Mike Conley 45326e6d87 Bug 1261842 - Factor out logic for creating windows for content processes from nsWindowWatcher::OpenWindowInternal. r=smaug
MozReview-Commit-ID: 1dhGthT8bmu

--HG--
extra : rebase_source : 9da164c9647d6e69894d8e8e49bdd400e786bb81
extra : source : 0f8b603781817f58c4664a33429325bc316598e9
2016-07-05 12:00:07 -04:00
Mike Conley 15dfc81a8f Bug 1261842 - Use nsACString in more places instead of raw strings inside nsWindowWatcher. r=smaug
MozReview-Commit-ID: JhspUdabi0w

--HG--
extra : rebase_source : 1d84d6bf1cd0b019bafb529967f7d65c8c33bb18
2016-07-05 11:59:56 -04:00
Mike Conley 5c3bb53e85 Bug 1278985 - Remove unused URL arg from CreateChromeWindow2. r=mrbkap
MozReview-Commit-ID: I1H2WZeoHTJ

--HG--
extra : rebase_source : 53762a1a806a5f99f0d465525b4908336a174496
2016-04-27 16:19:25 -04:00
Andrea Marchesini 5338858140 Bug 1285326 - Remove custom check in CheckUserContextCompatibility for UCI == 0 in nsWindowWatcher, r=smaug 2016-07-10 08:08:39 +02:00
Andrea Marchesini 4b4be5ed67 Bug 1279622 - DocShell child should inherit OriginAttributes from the parent DocShell, r=smaug 2016-07-07 20:54:30 +02:00
Jonathan Kew 8b89bcc511 Bug 1254026 - followup - Apply the same fix to the Print dialog. r=emk 2016-07-01 23:58:31 +01:00
Carsten "Tomcat" Book 5c90a99952 merge mozilla-inbound to mozilla-central a=merge 2016-06-29 16:13:05 +02:00
Mike de Boer fe68c53f4b Bug 269442 - whole word matching support for nsFind. r=ehsan,dao. ui-r=shorlander
MozReview-Commit-ID: KIDWHyjOSYL
2016-06-28 15:13:53 +02:00
Christoph Kerschbaumer 71fde070bb Bug 1282554 - Provide helper function to check if channel can be openen using open2() and asyncOpen2() r=bholly 2016-06-28 19:03:56 +02:00
Jonathan Hao a1a0a9bd7d Bug 1280006 - Backout "Bug 1270680 - Part 1: Double-key the image cache by origin attribute." r=tanvi
This reverts commit bb0482fe09fbfad9be89384ec5cb8b6518187379.
2016-06-14 12:43:21 +01:00
Jonathan Watt b15368cfcb Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
Sebastian Hengst 3d7a9cb848 Backed out changeset e8b366f388f6 (bug 1278985) for build bustage on a CLOSED TREE 2016-06-09 00:24:15 +02:00
Mike Conley bd7b1c0ad4 Bug 1278985 - Remove unused URL arg from CreateChromeWindow2. r=mrbkap
This isn't used at all internally, and was probably used by people
embedding Gecko back when Gecko was more embeddable.

For now, it's just noise - I figure we can remove it.

MozReview-Commit-ID: I1H2WZeoHTJ

--HG--
extra : rebase_source : bd9f12ca3d68e3f802e0270d9872143102db32e6
2016-04-27 16:19:25 -04:00
Andrea Marchesini dd6cbdac21 Bug 1271516 - Introducing nsIWebNavigation.setOriginAttributesBeforeLoading, r=smaug 2016-06-07 19:59:22 +02:00
Jonathan Hao b7c57a3da1 Bug 1270680 - Part 1: Double-key the image cache by origin attribute. r=jdm,seth 2016-06-01 23:07:00 +02:00
Phil Ringnalda 035f8773be Back out 32d16086e85e (bug 1271516) for frequent ChromeUtils::IsOriginAttributesEqual assertin failures
CLOSED TREE
2016-06-06 21:07:42 -07:00
Andrea Marchesini 943c6e667c Bug 1271516 - Introducing nsIWebNavigation.setOriginAttributesBeforeLoading, r=smaug 2016-06-07 00:47:13 +02:00
Mike Conley 153607520d Bug 1276738 - Follow-up. Adjust note in mochitest.ini regarding why tests are disabled for Android. r=test-only DONTBUILD
The tests are disabled because for Fennec, we don't support having web content
open new top-level windows, which these tests are exercising.

See bug 1277544 for further details.

MozReview-Commit-ID: EENiIryfdzz

--HG--
extra : amend_source : d06c5ef8b64c7ceab32eb2094f33a6e4e6f15680
2016-06-02 14:18:32 -04:00
Mike Conley e78e901153 Bug 1276738 - Disable windowwatcher mochitests for Android. r=test-only
I've opened Bug 1277544 to investigate whether or not we've got a real
Android bug here, or if these tests aren't expected to pass on Android.

MozReview-Commit-ID: FGfDAN2BL44

--HG--
extra : rebase_source : 21fc54e86dc1c98a696c316d2855e33b40583141
2016-06-02 11:03:22 -04:00
Mike Conley ca43bee0b6 Bug 1276738 - Test that newly opened dialogs can receive arguments. r=Gijs
MozReview-Commit-ID: jF3Port57I

--HG--
extra : rebase_source : 1da3171459317ac621c67050c16c0a52ec4565e0
extra : source : 14e071360b24812c8a9107ae7adbba47e75f28b4
2016-05-03 14:14:09 -04:00
Mike Conley ba52d5e13e Bug 1276738 - Test that modal windows can be opened from the parent process. r=Gijs
MozReview-Commit-ID: 8PWxf9E6ZMv

--HG--
extra : rebase_source : c301f210185340d6e056a0847c46be4e244e4023
extra : source : c60082ec436a31a40cc03cb99191e0f715592eef
2016-05-03 11:42:34 -04:00
Mike Conley a7dfd2a706 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 : 1e821ece75db06b21e381e3c8e805b5f085bdd6f
extra : source : 0ac161595496d7605cf4aae0282c1451484fea91
2016-05-02 17:36:41 -04:00
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