Commit Graph

1158 Commits

Author SHA1 Message Date
Michael Layzell
6620072ae3 Bug 1337056 - Part 12: Send down permissions when calling createAboutBlankContentViewer, r=baku
MozReview-Commit-ID: LigZnHM34CC
2017-03-21 11:08:03 -04:00
Sebastian Hengst
b2480cf424 Backed out changeset fecc6abcf708 (bug 1316683) for bustage at docshell/base/SerializedLoadContext.cpp:65:61. r=backout on a CLOSED TREE 2017-03-21 15:47:15 +01:00
Ehsan Akhgari
041744109d Bug 1316683 - Avoid going into SpiderMonkey for retrieving origin attributes; r=baku
Our caller is C++ code, and the implementations are all also written in C++,
so there is no reason to go through SpiderMonkey here.  This patch also makes
nsILoadContext builtinclass to ensure that the implementation is always native.
2017-03-21 10:05:00 -04:00
Jessica Jong
a1299fabfa Bug 1344642 - Part 1: Cleanup dom.forms.datepicker related code. r=smaug
This patch basically reverts Bug 825294.
2017-03-17 11:01:57 +08:00
Kartikaya Gupta
8da3e31410 Bug 1345657. r=dvander
MozReview-Commit-ID: LRCtitKvGbJ
2017-03-15 15:30:10 -04:00
Evelyn Hung
6f0f50c455 Bug 1347117 - Add Activate/Deactivate/ParentActivated to PContentBridge; r=billm
In a nested content process setup, FocusManager needs to activate focus
to a remote frame through ContentBridgeParent, not ContentParent.
2017-03-15 02:00:00 +01:00
Stone Shih
2b86511344 Bug 606885 - Fire drag events with keyboard modifiers. r=enn 2017-02-17 11:29:42 +08:00
Mike Conley
7a3099cacf Bug 1342464 - Collect Telemetry on when a tab switch spinner is shown. r=billm,liuche, data-review=liuche
MozReview-Commit-ID: 1Ss2f9A2JtK
2017-03-04 14:19:22 -05:00
Mike Conley
beaef2a518 Bug 1342927 - Don't fire MozTabChildNotReady if DocShell has become inactive or frameloader owner has dropped us. r=billm
MozReview-Commit-ID: 4lU5iFFv13V
2017-03-05 13:25:42 -05:00
Mike Conley
cd6c3fd44f Bug 1342927 - Don't fire MozTabChildNotReady from TabParent if we've already presented. r=billm
The MozTabChildNotReady event is queued from the ProcessHangMonitor thread, and
that event might try to fire _after_ the main thread has received notification
that a layer tree was made ready. If that occurs, firing the MozTabChildNotReady
event makes no sense, as clearly the TabChild _became_ ready by the time the
event was about to be dispatched.

MozReview-Commit-ID: Iigtc0SqzeU
2017-03-04 14:12:38 -05:00
Mike Conley
e239f98f6d Bug 1342927 - Fire a MozTabChildNotReady event on a frameloader if force-painting a tab without a TabChild. r=billm
MozReview-Commit-ID: D8vgvQ3MLJN
2017-02-28 17:22:02 -05:00
Sebastian Hengst
59f1050934 Backed out changeset 2f9561ccd777 (bug 1342927) for asserting at chrome://browser/content/tabbrowser.xml:3995:25 e.g. in browser/browser_menu_item_01.js. r=backout 2017-03-04 11:50:53 +01:00
Mike Conley
695bd3a1ad Bug 1342927 - Fire a MozTabChildNotReady event on a frameloader if force-painting a tab without a TabChild. r=billm
MozReview-Commit-ID: D8vgvQ3MLJN
2017-02-28 17:22:02 -05:00
Sebastian Hengst
9cf76fe47e Backed out changeset 7b38f4123214 (bug 1342927) for asserting @chrome://browser/content/tabbrowser.xml:3995:25. r=backout 2017-03-04 00:21:38 +01:00
Mike Conley
862c0473cb Bug 1342927 - Fire a MozTabChildNotReady event on a frameloader if force-painting a tab without a TabChild. r=billm
MozReview-Commit-ID: D8vgvQ3MLJN
2017-02-28 17:22:02 -05:00
Trevor Saunders
4557e5270c bug 1340579 - look up this DocAccessibleParent in live docs instead of using this in DocAccessibleParent::Destroy() r=davidb 2017-03-01 17:23:48 -05:00
Benjamin Smedberg
6313586298 Bug 1338172 part E - make all the PPluginWidget stuff Windows-only. Rip out the GTK-specific native widget support from widget/gtk/nsWindow and elsewhere, r=jimm
MozReview-Commit-ID: J6E8sYcyX4U
2017-02-09 11:53:50 -05:00
Trevor Saunders
fc47277b0f bug 1341731 - propagate failures before working around them r=yzen 2017-02-24 10:26:27 -05:00
Eugen Sawin
69b544a3ba Bug 1322576 - [1.2] Add tracking protection attribute to nsILoadContext to allow for overriding of the global preference setting for individual DocShells. r=smaug 2017-02-22 14:57:37 +01:00
Trevor Saunders
37e380e277 bug 1338755 - split up SetCOMProxy() r=yzen 2017-02-17 09:06:26 -05:00
Trevor Saunders
b9b733d734 bug 1339472 - keep a map from DocAccessibleParents to the actors themselves r=yzen 2017-02-14 18:10:03 -05:00
Wes Kocher
48fcd00012 Backed out 5 changesets (bug 1338172) for linux crashtest failures a=backout
Backed out changeset 9ee6c6f4e59c (bug 1338172)
Backed out changeset 1c92fbfca20a (bug 1338172)
Backed out changeset 907d9c3d1043 (bug 1338172)
Backed out changeset e4994ab9d628 (bug 1338172)
Backed out changeset 6209f07e1f26 (bug 1338172)

MozReview-Commit-ID: 3f4xBRcGPqM
2017-02-14 14:31:54 -08:00
Benjamin Smedberg
a46c9d69c4 Bug 1338172 part E - make all the PPluginWidget stuff Windows-only. Rip out the GTK-specific native widget support from widget/gtk/nsWindow and elsewhere, r=jimm
MozReview-Commit-ID: J6E8sYcyX4U
2017-02-09 11:53:50 -05:00
Bill McCloskey
67a1f54982 Bug 1334572 - Move Activate/Deactivate messages from PBrowser to PContent (r=smaug)
MozReview-Commit-ID: IMSK1sjeAJb
2017-02-13 17:02:39 -08:00
Kartikaya Gupta
ebf1ce5c2b Bug 1328066 - Don't broadcast the live-resize events to all browser windows unnecessarily. r=mstange
The machinery for suppressing the displayport during live resizes
was using the Observer service. However, in the case of multiple
browser windows, this meant that all the open browser windows would
have their displayport suppressed if *any* of the browser windows
was being resized. This was mostly ok, as the displayport suppression
would be turned off once the resize ended. However, the code to
kick off a repaint with the unsuppressed displayport would only get
triggered on one of the windows (whichever happened to process the
unsuppress message last).

This patch stops using the Observer service for the implementation
machinery, and instead locates the active TabParent of the relevant
nsWindow, and invokes the displayport suppression directly on that.
This fixes the repainting bug and also avoids unnecessarily
broadcasting the suppression/unsuppression notification to windows
that don't neccessarily need it.

MozReview-Commit-ID: LBHOgOW9KUp
2017-02-01 10:38:16 -05:00
Trevor Saunders
695422b96e bug 1334966 - make TabParent::GetTopLevelDocAccessible() only return documents that are top level r=eeejay
There can be cases where a non top level document currently has no parent
 document, for example when a child doc has been unbound from its parent but
 not yet reattached to a new outer doc.
2017-01-31 09:43:03 -05:00
Trevor Saunders
4dd4808d61 bug 1333514 - fix race between PDocAccessibleConstructor messages and PBrowser::Destroy messages r=billm 2017-01-26 10:01:43 -05:00
Yura Zenevich
a3f8fdd277 Bug 1206711 - add support for HWND emulation for content top level docs on Windows. r=tbsaunde
MozReview-Commit-ID: GQ1LxCwtv3j
2017-01-24 09:45:25 -05:00
Masayuki Nakano
9f497a91cb Bug 1332195 part.2 Fix some nits of event handlers in TabChild, TabParent and PuppetWidget r=smaug
This patch fixes:

* some long lines
* some odd indent
* wrapping one line blocks with {}
* removing B2G specific block

in event handlers in TabChild, TabParent and PuppetWidget.

MozReview-Commit-ID: 6xMsNEDA5nv
2017-01-19 17:57:20 +09:00
Masayuki Nakano
409a8ad618 Bug 1332195 part.1 Event handlers in TabChild, TabParent and PuppetWidget should use "a" prefix for their arguments r=smaug
MozReview-Commit-ID: 2c7cbOigwfU
2017-01-19 17:27:15 +09:00
Trevor Saunders
3fac36566f bug 1331255 - annotate some IPC failure conditions r=eeejay 2017-01-18 16:09:45 -05:00
Kartikaya Gupta
7d46059207 Bug 1331509 - Extract the InitRenderingState function in TabChild and invoke it earlier from TabParent. r=dvander
MozReview-Commit-ID: 5nwvKLRYpx7
2017-01-17 15:52:45 -05:00
Kartikaya Gupta
3ae04de9c4 Bug 1331509 - Move InitRenderFrame call to TabParent construction. r=dvander
MozReview-Commit-ID: Cg0EDJ3uSmz
2017-01-17 15:52:45 -05:00
Kartikaya Gupta
af8c661611 Bug 1331509 - Extract a helper function to initialize the RenderFrameParent from TabParent. r=dvander
MozReview-Commit-ID: KMcpSQUax6z
2017-01-17 15:52:45 -05:00
Ryan VanderMeulen
67aca3545a Bug 1330966 - Add an ACCESSIBILITY guard around DocAccessibleParent usage in TabParent.cpp to fix --disable-accessibility bustage. r=dbolter 2017-01-13 11:45:07 -05:00
Trevor Saunders
b1b552ba81 bug 1329814 - fix race condition when shutting down a tab r=smaug
When TabChild recieves the Destroy message from its parent the doc accessibles
for that tab are shut down.  However if the Shutdown message sent by
DocAccessible::Shutdown() isn't recieved before the child process handles the
runnable that sends __delete__ to the tab parent actor the parent can send a
message to the already shut down doc accessible child actor.
2017-01-12 05:19:36 -05:00
Sebastian Hengst
c2e9f5ec78 Backed out changeset c6c6a1ba1218 (bug 1329814) for bustage due to undeclared variables. r=backout 2017-01-10 17:59:22 +01:00
Trevor Saunders
e99ec55850 bug 1329814 - fix race condition when shutting down a tab r=smaug
When TabChild recieves the Destroy message from its parent the doc accessibles
for that tab are shut down.  However if the Shutdown message sent by
DocAccessible::Shutdown() isn't recieved before the child process handles the
runnable that sends __delete__ to the tab parent actor the parent can send a
message to the already shut down doc accessible child actor.
2017-01-10 11:59:03 -05:00
Mike Conley
3ab112d02c Bug 1323319 - Make sure we can force paint remote tabs even during the first activation. r=billm
MozReview-Commit-ID: EV9u7M2i2sL
2016-12-21 16:09:09 -05:00
Carsten "Tomcat" Book
ef798f401e Merge mozilla-central to mozilla-inbound 2016-12-22 16:25:35 +01:00
Samael Wang
53bcab1c16 Bug 1323651 - Rename Partial/GroupedSessionHistory to Partial/GroupedSHistory. r=ehsan
MozReview-Commit-ID: G2GW4ZPIfH3
2016-12-22 16:06:50 +08:00
Xidorn Quan
47d4437e1c Bug 1323983 part 2 - Avoid sending response for native synthesis if there is no observer. r=smaug
MozReview-Commit-ID: 4skR41IaOs7
2016-12-19 17:29:48 +11:00
Wes Kocher
e5826ac971 Merge inbound to central, a=merge
MozReview-Commit-ID: Cr9L1dhIzP2
2016-12-20 11:41:57 -08:00
Masayuki Nakano
1f94e2fe88 Bug 1322736 part.2 Remove "after keydown" and "after keyup" events r=smaug
MozReview-Commit-ID: ICFPyDhgfh7
2016-12-16 16:01:51 +09:00
Iris Hsiao
79976bf7d4 Backed out changeset f3290b0f20cc (bug 1323983) 2016-12-20 15:30:38 +08:00
Nicholas Nethercote
09f07e09c7 Bug 1299335 (part 5) - Streamline nsIWidget::StartPluginIME. r=mstange.
This patch changes it from |NS_IMETHOD| to |virtual MOZ_MUST_USE nsresult|.
2016-12-16 10:55:18 +11:00
Xidorn Quan
c333af710c Bug 1323983 part 2 - Avoid sending response for native synthesis if there is no observer. r=smaug
MozReview-Commit-ID: 4skR41IaOs7
2016-12-19 17:29:48 +11:00
Aaron Klotz
d95a08fb8f Bug 1314707: Replace PDocAccessible::SendCOMProxy with new parameter to PDocAccessibleConstructor and async RecvParentCOMProxy call in child. Sending of a11y events from child to parent is now deferred until DocAccessibleChild::RecvParentCOMProxy is called; r=tbsaunde
MozReview-Commit-ID: DjxSfLJQtTu
2016-12-01 16:28:54 -07:00
Michael Layzell
cb22153308 Bug 1320391 - Part 1: Clean up PartialSHistories which are keeping old SHEntries alive, r=ehsan
MozReview-Commit-ID: FY36NdOUM66
2016-12-15 13:28:40 +08:00
Andrea Marchesini
37766315d4 Bug 1321261 - create dom/file for File APIs, r=qdot 2016-12-01 15:12:42 +01:00