Andrew McCreight
ae4f1841e5
Bug 1316757, part 1 - Remove state machine user syntax from non-test IPDL files. r=billm
...
The state information in PWebBrowserPersistDocument.ipdl looks like
good documentation, so I only commented it out. The other one is
trivial so I deleted it.
MozReview-Commit-ID: C5SQAOPMnNB
--HG--
extra : rebase_source : 0ec19729458838b071156398bf3d1fb908cc6fe4
2016-11-23 09:15:47 -08:00
Haik Aftandilian
9caed1b4c8
Bug 1315121
- OS X Remote printing (print_via_parent) scaled prints don't fill page; r=mconley
...
Send the size from PMGetAdjustedPaperRect to the child to use as the page size.
Add an Mac implementation of GetEffectivePageSize that returns the adjusted dimensions.
Add an Mac implementation of SetPaperWidth and SetPaperHeight so that adjusted dimensions can be manually set for reftest-print.
MozReview-Commit-ID: GgTFgBzkxTy
--HG--
extra : rebase_source : 66d5b2f8216ebd28401aec9bbb78c5ad32dd666c
2016-11-17 15:29:08 -08:00
Sebastian Hengst
d35d1a1445
Backed out changeset 50f830bdb2c8 (bug 1315121
) for failing reftest-sanity/page-width-4.1in.html on OS X 10.10 debug. r=backout on a CLOSED TREE
2016-11-17 21:53:26 +01:00
Haik Aftandilian
b98f841402
Bug 1315121
- OS X Remote printing (print_via_parent) scaled prints don't fill page; r=mconley
...
Send the size from PMGetAdjustedPaperRect to the child to use as the page size.
Add an Mac implementation of GetEffectivePageSize that returns the adjusted dimensions.
MozReview-Commit-ID: GgTFgBzkxTy
--HG--
extra : rebase_source : 9b6e3200698a695d3ca03f3848060083b8fe4ae6
2016-11-11 16:18:15 -08:00
Ehsan Akhgari
eac76d9772
Bug 1310845 - Remove support for mozapp iframes; r=fabrice,jryans,baku,mcmanus
...
This patch removes support for mozapp iframes, leaving support for
mozbrowser iframes intact. Some of the code has been rewritten in order
to phrase things in terms of mozbrowser only, as opposed to mozbrowser
or app. In some places, code that was only useful with apps has been
completely removed, so that the APIs consumed can also be removed. In
some places where the notion of appId was bleeding out of this API, now
we use NO_APP_ID. Other notions of appId which were restricted to this
API have been removed.
2016-11-16 09:13:38 -05:00
Carsten "Tomcat" Book
e7ca75286b
Merge mozilla-central to inbound
2016-11-16 14:53:15 +01:00
Carsten "Tomcat" Book
3eacc680db
Backed out changeset 7d1f7dd996f7 (bug 1310845)
2016-11-16 14:50:44 +01:00
Kan-Ru Chen
f8100451db
Bug 1314254 - Add mozilla::ipc::IPCResult type and convert IPDL handlers to use new return type. r=billm
...
We will use the new type for the generated IPDL message handler
prototype to make sure correct error handling method is called.
MozReview-Commit-ID: AzVbApxFGZ0
2016-11-15 04:26:00 +01:00
Ehsan Akhgari
cb369370b3
Bug 1310845 - Remove support for mozapp iframes; r=fabrice,jryans,baku,mcmanus
...
This patch removes support for mozapp iframes, leaving support for
mozbrowser iframes intact. Some of the code has been rewritten in order
to phrase things in terms of mozbrowser only, as opposed to mozbrowser
or app. In some places, code that was only useful with apps has been
completely removed, so that the APIs consumed can also be removed. In
some places where the notion of appId was bleeding out of this API, now
we use NO_APP_ID. Other notions of appId which were restricted to this
API have been removed.
2016-11-15 18:31:46 -05:00
Boris Zbarsky
62e08b6904
Bug 1317367 part 4. Pass an explicit CallerType to HTMLInputElement::GetValueInternal. r=smaug
...
I'm not 100% sure that I'm being very consistent in my handling of
mFocusedValue, but since that's not used for file inputs, I don't think it
matters much...
A bigger problem is if people start using this caller type for things other than
file inputs.
2016-11-15 12:46:32 -05:00
Carsten "Tomcat" Book
cc5d30c616
Merge mozilla-central to mozilla-inbound
...
--HG--
extra : rebase_source : 658b3ffdfa71afff2d44129f50e50e2fbecbd06e
2016-11-11 16:43:07 +01:00
Haik Aftandilian
eec30b1b54
Bug 1303051 - Printing Issue: Page Setup not being respected since upgrade to 48.01 on Mac; r=mconley
...
Adds serialization of native print settings values so
that correct page size, scaling, orientation are sent
to the child after the print dialog is displayed.
Changes the Mac print dialog code to load native
print settings from the "print.macosx.pagesetup-2"
pref and ignore what is passed in.
Overwrites the scaling percentage specified in
the print dialog when "Ignore Scaling and Shrink to
Fit Page Width" is checked.
Scaling on Nightly (remote printing) needs more work
to be done in a follow up bug.
MozReview-Commit-ID: B12ZeHuiYFJ
--HG--
extra : rebase_source : baa2a5865b29db8914fca1242af59674f9630c8e
2016-11-09 17:37:40 -08:00
Gerald Squelart
0affeb4ab0
Bug 1316432 - Fix nsCOMPtr constructions&assignments from 0 - r=froydnj
...
Giving '0' (literal zero) to nsCOMPtr is now ambiguous, as both
nsCOMPtr(decltype(nullptr)) and nsCOMPtr(T*) could be used.
In any case, our coding standards mandate the use of 'nullptr' for pointers.
So I'm changing all zeroes into nullptr's where necessary.
MozReview-Commit-ID: LXiZTu87Ck6
--HG--
extra : rebase_source : f9dcc6b06e9ebf9c30a576f9319f76a51b6dc26f
2016-11-10 14:11:27 +11:00
Eric Rahm
5ae299f0d8
Bug 1315812 - Mark nsISupportsArray, nsICollection, nsIEnumerator as deprecated. r=froydnj
...
This marks the idl classes as deprecated, removes an unnecessary include that
was triggering deprecation warnings and wraps a necessary include in
XPCOMInit.cpp that is used for registering the component in deprecation
disabling pragmas.
MozReview-Commit-ID: BbNU5q8O4Q4
2016-11-10 13:15:33 -08:00
Jonathan Watt
07c5338755
Bug 1313525 - Remove the nsIPrintOptions interface. r=mstange
...
--HG--
rename : widget/nsIPrintOptions.idl => widget/nsIPrinterEnumerator.idl
2016-10-28 00:31:14 +01:00
Sebastian Hengst
58ff0c2ac6
Bug 1310297 - Remove test annotations using b2g, mulet or gonk: embedding. r=RyanVM
...
MozReview-Commit-ID: LRgIfhGQE2x
--HG--
extra : rebase_source : 167744833d7dadda934cedbbafb7251fd26e3d5e
2016-11-05 11:29:19 +01:00
Michael Layzell
209fba3a7f
Bug 1304140 - Part 1: Implement support for the Large-Allocation header behind the dom.largeAllocationHeader.enabled pref, r=smaug
...
MozReview-Commit-ID: 5KBIu6Fc3Ea
2016-10-31 16:38:54 -04:00
Michael Layzell
0ae1d338c3
Bug 1313739 - Move TabGroup into its own file, seperate from DocGroup, r=bkelly
...
MozReview-Commit-ID: AndPWOBpkox
2016-10-31 13:40:36 -04:00
Michael Layzell
c72ea0d3f1
Bug 1310778 - Move TabGroup and GetDocGroup accessors onto nsPIDOMWindow{Inner,Outer}, r=smaug
...
MozReview-Commit-ID: Hl0QVktr0Lw
2016-10-28 15:38:28 -04:00
Michael Layzell
76969f2737
Bug 1310345 - Change FindChildWithName and related methods to take nsAString& instead of char16_t*, r=bz
...
MozReview-Commit-ID: 4aQwYX9ObcN
2016-10-27 15:53:35 -04:00
Michael Layzell
de29c95ed2
Bug 1303196 - Part 7: Updates to apply correctly after noopener changes, r=smaug
...
MozReview-Commit-ID: 25Ew2PLpP5c
2016-10-27 15:53:35 -04:00
Michael Layzell
029a7def5d
Bug 1303196 - Part 3: Update the named window resolution logic to be scoped to TabGroup instead of being process-global, r=bz
...
MozReview-Commit-ID: FaGoj6wmEuG
2016-10-27 15:53:35 -04:00
Michael Layzell
f9eea2d135
Bug 1303196 - Part 2: Connect the DocGroup and TabGroup objects to nsGlobalWindow and nsDocument, ensuring that Opener is set early enough that it is correct, r=smaug
...
MozReview-Commit-ID: 3rZfLw3dXkF
2016-10-27 15:53:35 -04:00
Eric Rahm
e19d44592b
Bug 1312856 - Remove nsISupportsArray usage from WindowWatcher. r=smaug
...
WindowWatcher currently supports either an nsISupportsArray, an nsIArray, or a
raw nsISupports instance for its arguments param. nsSupportsArray, the concrete
class behind nsISupportsArray/nsICollection, now implements nsIArray so we can
remove the nsISupportsArray code path.
MozReview-Commit-ID: 1LWrSROASKe
2016-10-25 17:41:18 -07:00
Eric Rahm
a2f7bff287
Bug 1311759 - Remove unused references to nsISupportsArray. r=froydnj
...
This removes various references to nsISupportsArray throughtout the tree that
aren't used.
MozReview-Commit-ID: EtgD1DRwY8e
2016-10-21 16:34:42 -07:00
Boris Zbarsky
c2d8d70720
Bug 1222516 part 1. Add a window API for opening a window with navigation and a given docshell loadinfo to use for the navigation. r=mconley
...
This will be used to pass through information like the triggering principal and
whatnot, as well as the boolean for not sending a referrer, for rel=noreferrer
links.
2016-10-20 16:52:38 -04:00
Boris Zbarsky
39be7c954d
Bug 1267339
part 3. Add support for the noopener window feature in windowwatcher. r=mconley
2016-10-20 16:52:38 -04:00
Boris Zbarsky
9c68071fa2
Bug 1267339
part 2. Push maintenance of the popup spam count down into the window watcher. r=mconley
2016-10-20 16:52:38 -04:00
Boris Zbarsky
fe57b51a79
Bug 1267339
part 1. Remove the unused aOpenerFullZoom argument to nsPIWindowWatcher::OpenWindow2. r=mconley
2016-10-20 16:52:37 -04:00
Eric Rahm
1b5670be81
Bug 1311223 - Stop using nsISupportsArray for window args. r=froydnj
...
WindowWatcher allows for either nsIArray or nsISupports array to be passed in
for the arguments param. This converts all internal usage to nsIArray.
MozReview-Commit-ID: DQjtIkobik0
2016-10-19 16:23:57 -07:00
Makoto Kato
898204c674
Bug 1306229 - Remove unused nsIPrintingPrompt.idl. r=myk
...
MozReview-Commit-ID: E0W2wuvlt3
2016-10-13 13:58:49 +09:00
Myk Melez
3cf9ac7bcc
Bug 1304201, r=nfroyd
...
--HG--
extra : rebase_source : aea6780802b79bcbb45b2ad1bfd857d6c78395f1
2016-10-04 12:10:26 +02:00
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
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