Commit Graph

2090 Commits

Author SHA1 Message Date
Christoph Kerschbaumer
1745603555 Bug 1048048 - add preload content policy types for images (r=seth) 2015-09-20 14:55:59 -07:00
Wes Kocher
9c40f87100 Backed out 7 changesets (bug 1048048) for android crashes in various chunks CLOSED TREE
Backed out changeset b5abe23a4ea5 (bug 1048048)
Backed out changeset 4f91b10e8be0 (bug 1048048)
Backed out changeset 450d4a13c90e (bug 1048048)
Backed out changeset 6a727c40eb68 (bug 1048048)
Backed out changeset 88c2333ff745 (bug 1048048)
Backed out changeset 740ab1ecd079 (bug 1048048)
Backed out changeset 02c6d6aef163 (bug 1048048)
2015-09-21 09:08:34 -07:00
Christoph Kerschbaumer
c533260e62 Bug 1048048 - add preload content policy types for images (r=seth) 2015-09-20 14:55:59 -07:00
Christoph Kerschbaumer
9a7eae6660 Bug 1206146 - Use channel->AsyncOpen2() in embedding/components/webbrowserpersist/nsWebBrowserPersist.cpp (r=sicking) 2015-09-19 20:24:39 -07:00
Mike Conley
f1175f4a64 Bug 1189554 - Make Saved Passwords dialog resizable on Windows again. r=smaug
We were accidentally overwriting chromeFlags with CHROME_DEFAULT, which
we should only do if the caller has provided a features string when
opening a dialog.
2015-09-15 16:33:36 -04:00
Carsten "Tomcat" Book
b8c6b732c8 Backed out 1 changesets (bug 1189554) for suspicion of causing Linux Mn-e10s test failures on a CLOSED TREE
Backed out changeset 7f5c88364008 (bug 1189554)
2015-09-17 14:40:14 +02:00
Jamie Nicol
709cbe92db Bug 1200729 - Recompute FrameLayerBuilder item visibility if dirty region changes. r=mwoodrow
Make the FrameLayerBuilder remember for what region it has calculated
display item visibility, then recompute the visibility whenever the
dirty region it is passed to DrawPaintedLayer changes.

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

This fixes a regression where MultiTiledContentClient's low-res display
port would not be painted if a smaller region of its high-res buffer had
already been painted that transaction, since the FrameLayerBuilder
had decided that most of the larger low-res region was invisible.
2015-09-15 14:41:42 +01:00
Mike Conley
7f131adf75 Bug 1189554 - Make Saved Passwords dialog resizable on Windows again. r=smaug
We were accidentally overwriting chromeFlags with CHROME_DEFAULT, which
we should only do if the caller has provided a features string when
opening a dialog.
2015-09-15 16:33:36 -04:00
Nicholas Nethercote
6855b78fbf Bug 1201135 - Rename pldhash.{h,cpp} to PLDHashTable.{h,cpp}. r=mccr8. 2015-09-15 20:49:53 -07:00
Nicholas Nethercote
5c91fcd1e6 Bug 1121760 (part 3) - Remove PL_DHashTableRemove(). r=poiru. 2015-09-14 14:23:24 -07:00
Nicholas Nethercote
538c6626e9 Bug 1121760 (part 2) - Remove PL_DHashTableAdd(). r=poiru. 2015-09-14 14:23:12 -07:00
Nicholas Nethercote
ba83ffc5ec Bug 1121760 (part 1) - Remove PL_DHashTableSearch(). r=poiru. 2015-05-21 00:34:25 -07:00
Jed Davis
1f213563eb Bug 1202887 - Delay WebBrowserPersist error callbacks caused by IPC ActorDestroy. r=billm
The way IPDL glue currently works, it's unsafe to do Send__delete__ on
another actor in that context, and these callbacks can indirectly cause
that; see bug for details.
2015-09-14 11:18:28 -07:00
john
649b7bcf50 Bug 236989 - Ensure persisted subdocuments correctly fixup relative links. r=bzbarsky
The URI of the document being serialized must be taken into account within
GetLocalURI on URIData. This method previously returned its path relative to
the document in which it is first visited, resulting in a bug when subdocuments
stored in different locations also linked to it. By passing in mTargetBaseURI
GetLocalURI can ensure it is returning a path relative to the document
currently being serialized.
2015-09-02 23:53:38 -07:00
Nicholas Nethercote
69d088e45f Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
2015-08-27 20:44:53 -07:00
Mike Conley
eaaef1fd8e Bug 1141337 - Update nsIWebBrowserPersistable to allow subframe targeting for Save Frame As. r=jld
This alters nsIWebBrowserPersistable so that startPersistence takes an
outerWindowID. This allows us to target a particular subframe from
beneath an nsFrameLoader, which is useful when attempting to Save
Frame As a remote browser.
2015-08-06 10:44:16 -04:00
Jed Davis
b87496e922 Bug 1193903 - Fix nsWebBrowserPersist for documents with no page descriptor. r=mconley
This restores the behavior from before bug 1101100, when various
indirect properties of the document were obtained by JS that ignored
exceptions by using null instead.  This is currently breaking for the
documents created by Print Preview, because they have no page descriptor.
This patch also makes similar changes to the contentDescriptor getter.
2015-08-13 18:08:09 -07:00
Wes Kocher
8e102541d3 Merge fx-team to m-c a=merge 2015-08-13 16:30:54 -07:00
Jed Davis
bded2bb5c6 Bug 1192654 - Fix nsWebBrowserPersist handling of nonpersistable subdocuments. r=billm
The patch for bug 1101100, in converting this code to be asynchronous
and distributed, accidentally dropped the check for `data` being null;
this patch restores it, and adds a regression test.
2015-08-13 08:38:19 -07:00
Mike Conley
df3780c4e6 Bug 1106321 - Serialize DEVMODE down to the content process when printing on Windows. r=jimm 2015-08-06 17:36:54 -04:00
Reuben Morais
62b7850ecc Bug 1192102 - Remove unused file embedded/android/GeckoSmsManager.java. r=blassey
IGNORE IDL
2015-08-06 18:59:00 -04:00
Jed Davis
45f3942d89 Bug 1101100 - Multiprocess-enable nsWebBrowserPersist. r=billm
The high-level overview is that the parts of nsWebBrowserPersist which
access the DOM have been factored out (as WebBrowserPersistLocalDocument)
and abstracted (nsIWebBrowserPersistDocument) such that they can be
implemented in the cross-process case using IPC.
2015-08-05 14:25:39 -07:00
Birunthan Mohanathas
e1f0334d06 Bug 1191100 - Remove XPIDL signature comments in .cpp files. r=ehsan
Comment-only so DONTBUILD.
2015-08-04 16:17:36 -07:00
Jamie Nicol
2ab13a5399 Bug 1187619 - Only optmimize FrameLayerBuilder visibility calculations if correct. r=mattwoodrow
Bug 1176077 introduced the parameter aDirtyRegion to
DrawPaintedLayerCallback, which allows the callback to recompute the
visibility of all items to be painted in that transaction in a single
go. However, this parameter can not always be determined correctly
when using RotatedBuffer, and using an incorrect value was causing
graphical glitches.

Make the parameter optional, and on null values do not perform the
optimisation. Pass null from ClientPaintedLayer, which uses
RotatedBuffer and was causing problems, but continue to pass the
correct value from other Layer implementations. This optimisation was
most important for tiled layers using progressive paint, so this is
okay.
2015-08-03 04:07:00 -04:00
Makoto Kato
0e383c7b86 Bug 830801 - Part 3. Remove NOMINMAX define from cpp source. r=mshal 2015-08-03 10:07:20 +09:00
Jamie Nicol
b2e2b6eebb Bug 1176077 - Only recompute PaintedLayer item visibility when display list has changed. r=mattwoodrow
FrameLayerManager::RecomputeItemsVisibility() was being called on every
call to FrameLayerBuilder::DrawPaintedLayer(), each time for the region
to be painted by that paint call. This is inefficient when progressive
paint is enabled. Change it so that we compute the visibility of all the
layer's items within the total region to be painted, but only on the
first paint after the display list has been modified.
2015-07-21 09:19:25 +01:00
Eric Rahm
761d145b03 Bug 1179069 - Remove docshell warnings in embedding. r=bz 2015-07-20 20:16:27 -07:00
Mike Conley
ca88e92da4 Bug 1114299 - Be more strict about which window chromeFlags we compute from content. r=smaug
We don't ever want to accept "private", "non-private", "remote" or "non-remote" from the
content process. We only let the parent decide when to open those types of windows.
2015-07-10 11:40:19 -04:00
Jed Davis
239e3f030a Bug 1179967 - Always rewrite links to absolute in nsWebBrowserPersist instead of side-effecting document. r=jst 2015-07-15 12:15:48 -07:00
Birunthan Mohanathas
47ed3a3675 Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Neil Deakin
fefbb077b8 Bug 1132518, make document navigation with F6/Shift+F6 work in e10s. This combines the document and tab navigation mechanisms together, r=smaug 2015-07-13 06:07:49 -04:00
Nihanth Subramanya
7f696d590e Bug 1179058 - Implement shouldAddToSessionHistory in WebBrowserChrome JS object. r=adw 2015-07-02 11:04:06 -07:00
Emanuel Hoogeveen
e1b03075a7 Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell 2015-07-07 04:17:00 +02:00
Juan Gomez
01df2f691b Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
Ted Mielczarek
4ecfeb7bb5 bug 1172655 - make --enable-application=embedding/ios work (NPOTB) 2015-06-12 08:50:20 -04:00
Ted Mielczarek
9ee8d30886 bug 1172655 - Add GeckoEmbed XCode project (NPOTB) 2015-06-15 07:46:08 -04:00
Nihanth Subramanya
f0487dbc5e Bug 1118285 - The browser.newtab.url preference is abused and should be removed. 2015-05-27 17:35:03 -07:00
Mike Hommey
5b5c486abd Bug 1173681 - Remove winEmbed. r=bsmedberg 2015-06-23 08:54:04 -07:00
Karl Tomlinson
cb35746ae4 bug 147419 remove ununsed plexName colorspace resolutionName and downloadFonts r=roc
This was only used to write to and read from otherwise unused preferences.
2015-06-11 09:34:27 +12:00
Karl Tomlinson
5666d871f9 bug 147419 remove ununsed nsIPrintSettings::printCommand and print_command prefs r=roc
These was used only to write to and read from each other.
2015-06-10 18:10:28 +12:00
Ehsan Akhgari
68df072ddc Bug 1175122 - Add more assertions to the in-tree content policy implementations to ensure that they receive external content policy types; r=baku 2015-06-16 11:38:53 -04:00
Jed Davis
3dc7579e8b Bug 1170334 - Re-escape entities in nsWebBrowserPersist XML stylesheet handling. r=hsivonen 2015-06-10 18:33:00 +02:00
Shelly Lin
6c64ae3400 Bug 1138287 - Part 3: Add an option to set screen ID in windowWatcher.openWindow. r=roc 2015-06-05 11:31:55 +08:00
Nicholas Nethercote
662f90fecb Bug 1170416 (part 3) - Remove the PLDHashTable2 typedef. r=froydnj. 2015-05-19 16:46:17 -07:00
Mike Conley
3e6536b62e Bug 1091112 - Proxy opening the print dialog on OS X to the parent. r=mstange 2015-05-06 14:10:21 -04:00
Mike Conley
595ae59517 Bug 1091112 - Add OS X-specific members to PrintData IPDL struct. r=jimm 2015-05-06 14:09:08 -04:00
Mike Conley
545612f8e1 Bug 1091112 - Serialize nsIPrintSettings options bitfield. r=jimm 2015-05-06 15:35:35 -04:00
Nicholas Nethercote
580e6bae9c Bug 1166598 (part 3) - Use PLDHashTable2 in nsCommandParams. r=froydnj. 2015-05-05 18:23:39 -07:00
Gijs Kruitbosch
6dca20d534 Bug 1166066 - Fix opening new windows from a private window. r=jdm 2015-05-19 16:27:04 +01:00
Andrew McCreight
db77db347f Bug 1164049 - Fix some mode lines in embedding/. r=smaug
embedding/browser, embedding/components/commandhandler/, embedding/components/find/, embedding/components/windowwatcher/
2015-05-12 08:30:00 +02:00