Tooru Fujisawa
e933275fe8
Bug 92737 - Part 3: Open multiple tabs when multiple items are dropped on remote content area. r=enndeakin
2015-11-11 07:35:12 +09:00
Boris Zbarsky
2095bc6fba
Bug 1301138. Set the one allowed sandbox navigator even when popups are allowed to escape the sandbox, so the new popup can be navigated by the sandboxed document. r=smaug
...
--HG--
rename : testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping.html => testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping-1.html
rename : testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping.html => testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping-2.html
rename : testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping.html => testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping-3.html
rename : testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_helper.html => testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_helper-1.html
rename : testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_helper.html => testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_helper-2.html
rename : testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_helper.html => testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_helper-3.html
rename : testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping.html => testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-1.html
rename : testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping.html => testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-2.html
rename : testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping.html => testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-3.html
2016-09-08 00:17:11 -04:00
Nicholas Nethercote
d7c5cd2ed2
Bug 1297300 - Add missing checks to GetSpec() calls in embedding/. r=bz.
...
--HG--
extra : rebase_source : f66dc6db22ebe16d2c1817f33a895c16efe23f7c
2016-08-31 09:08:52 +10:00
Wes Kocher
de685d8edd
Backed out changeset f847d402cd2a (bug 1301138) for wpt failures in iframe_sandbox_popups_nonescaping-2.html a=backout CLOSED TREE
...
--HG--
rename : testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping-2.html => testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping.html
rename : testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_helper-2.html => testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_helper.html
rename : testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-2.html => testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping.html
2016-09-08 13:22:48 -07:00
Stephen A Pohl
c8f4c17fd0
Bug 1260850: Ensure that FilePicker (and other native app modal dialogs) on OSX remains responsive when a window modal dialog opens in the background. r=mstange
2016-09-08 15:41:55 -04:00
Ehsan Akhgari
c6518de511
Bug 1301201 - Avoid inheriting the origin attributes of the subject principal if it's system; r=bzbarsky
2016-09-08 14:37:53 -04:00
Boris Zbarsky
dcf5efca4c
Bug 1301138. Set the one allowed sandbox navigator even when popups are allowed to escape the sandbox, so the new popup can be navigated by the sandboxed document. r=smaug
...
--HG--
rename : testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping.html => testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping-1.html
rename : testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping.html => testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping-2.html
rename : testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_helper.html => testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_helper-1.html
rename : testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_helper.html => testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_helper-2.html
rename : testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping.html => testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-1.html
rename : testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping.html => testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-2.html
2016-09-08 00:17:11 -04:00
Carsten "Tomcat" Book
8fca739250
Backed out changeset df7cb65bee39 (bug 1301138) for wpt test failures
...
--HG--
rename : testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping-2.html => testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping.html
rename : testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_helper-2.html => testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_helper.html
rename : testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-2.html => testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping.html
2016-09-08 08:33:13 +02:00
Boris Zbarsky
128ebcc3ff
Bug 1301138. Set the one allowed sandbox navigator even when popups are allowed to escape the sandbox, so the new popup can be navigated by the sandboxed document. r=smaug
...
--HG--
rename : testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping.html => testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping-1.html
rename : testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping.html => testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping-2.html
rename : testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_helper.html => testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_helper-1.html
rename : testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_helper.html => testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_helper-2.html
rename : testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping.html => testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-1.html
rename : testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping.html => testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-2.html
2016-09-08 00:17:11 -04:00
Ehsan Akhgari
9484e843a3
Bug 1300817
- Avoid inheriting the origin attributes of the subject principal if it's expanded; r=bzbarsky
2016-09-07 18:27:49 -04:00
Michael Layzell
36e08437d0
Bug 1018486 - Part 8: Various other changes, r=smaug
...
MozReview-Commit-ID: B0dsomkWgEk
2016-09-07 10:50:45 -04:00
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