Commit Graph

34178 Commits

Author SHA1 Message Date
Will Wang
cef62818eb Bug 1118177 - Release file resources if users unexpectedly remove SD card. r=btian 2015-02-13 02:59:00 -05:00
Carsten "Tomcat" Book
a713737d2c Merge mozilla-central to b2g-inbound 2015-02-25 12:33:48 +01:00
Carsten "Tomcat" Book
476e8299a2 merge mozilla-inbound to mozilla-central a=merge 2015-02-25 12:05:55 +01:00
Jocelyn Liu
84f14f7306 Bug 1127670 - Replace device property of BluetoothPairingEvent with device name. r=btian, r=bz
--HG--
extra : rebase_source : 26f252f46b1d738b1f89ddab54354479b9c36508
2015-02-24 22:33:00 +01:00
Jeff Gilbert
75d555e953 Bug 1130616 - Support EXT_color_buffer_half_float on ANGLE. - r=jrmuizel,khuey 2015-02-24 14:09:09 -08:00
Boris Zbarsky
05d3e6df24 Bug 1135803. Take out the bits that try to handle interface types mapping to JSObject* in worker descriptors, since we never do that anymore. r=smaug 2015-02-24 16:04:22 -05:00
Boris Zbarsky
0417f5bf22 Bug 1135792. Stop assuming that every binding for a global with a non-worker descriptor is a binding for Window. r=smaug 2015-02-24 16:04:22 -05:00
Blake Kaplan
6c17217f08 Bug 1087646 - Add a test. r=smaug 2015-02-24 12:54:40 -08:00
Ryan VanderMeulen
b8ac223995 Backed out changeset cd6461410a7a (bug 1130439) for frequent SM test timeouts/failures.
CLOSED TREE
2015-02-24 15:11:08 -05:00
Ryan VanderMeulen
ec8d7510c3 Backed out 7 changesets (bug 1075670) for e10s browser_586068-browser_state_interrupted.js crashes.
Backed out changeset 4ca74b217fe8 (bug 1075670)
Backed out changeset 83199cfc333f (bug 1075670)
Backed out changeset 065b859e6525 (bug 1075670)
Backed out changeset a3e8329610d9 (bug 1075670)
Backed out changeset ced9055e0bcc (bug 1075670)
Backed out changeset e6d6f0c11133 (bug 1075670)
Backed out changeset b823c6c95030 (bug 1075670)

CLOSED TREE
2015-02-24 11:53:34 -05:00
Jonathan Watt
893a1342e6 Bug 1073379, part 5 - Add assert_between_exclusive and assert_between_inclusive methods to impltests testharness.js. r=Ms2ger 2015-02-16 21:48:29 +00:00
Jonathan Watt
602ecbe7be Bug 1073379, part 3 - Make AnimationPlayer::SetStartTime() notify its animation manager (via its player collection) of changes so that computed style is updated correctly. r=dholbert 2015-02-12 17:56:57 +00:00
John Dai
a5a4709149 Bug 1120805 - Remove deprecated xpcshell test functions used in RIL test code. r=echen 2015-02-12 19:18:00 +08:00
Jonathan Watt
44832e736c Bug 1073379, part 2 - Implement web-animations proceedure to 'update the player start time' and make AnimationPlayer.startTime writeable. r=birtles, r=smaug 2015-02-09 10:26:27 +00:00
Jonathan Watt
69ac7e7f6d Bug 1073379, part 1 - Add an AnimationUtils::DoubleToTimeDuration helper. r=birtles 2015-02-09 10:25:51 +00:00
David Parks
2aebe17f86 Bug 1075670 - Use previous function for calculating process offset. r=smaug
On B2G, the primary frame for tab content was not giving the correct process offset so we revert back to the mechanism we used to have in nsSubdocumentFrame.
2015-02-23 13:23:27 -08:00
David Parks
0028da34fb Bug 1075670 - Fix PuppetWidget calculations wrt client offset. r=smaug
Change the PuppetWidget from defining screen coordinates from tab-content-relative to being based on actual screen geometry. PuppetWidgets can have position. In the parent process, the widget has a position and a separate client position (that includes OS window chrome... on Linux and Windows as others have no chrome). In the child process, the widget (non-origin) position, whose calculation compensates for the OS window decoration.
2015-02-04 04:00:28 -08:00
David Parks
72b5e35b57 Bug 1075670 - Cleanup content process widget-chrome behavior. r=smaug
Math for window chrome calculation was off on Linux. Removed redundant, and incorrect, math in favor of other better functions.
2015-01-30 15:55:27 -08:00
David Parks
5bb003d264 Bug 1075670 - Use MozUpdateWindowPos event to notify content process of window move. r=smaug
TabParents now register for the MozUpdateWindowPos event on the chrome TopWindowRoot. When the window is moved, the OS widget calls WindowMoved on its listener (the nsWebShellWindow), which sends a MozUpdateWindowPos event.
2015-01-26 11:45:54 -08:00
David Parks
0bb693520e Bug 1075670 - Make PuppetWidget::WidgetToScreenOffset use proper screen position. r=josh
PuppetWidget::WidgetToScreenOffset now reports proper widget screen location. Previously, in the content process, all widgets were defined to be located at the screen origin. This also repairs mac e10s OOP plugin coordinate calculations that would be broken by this change.
2015-02-04 04:17:15 -08:00
Andrea Marchesini
cd5d40d2c1 Bug 1135682 - Do not update the all MediaStreamGraph if it's not dirty, r=padenot 2015-02-24 09:59:29 -05:00
Olli Pettay
556df42aa4 Bug 1037687, load iframes in shadow DOM, r=wchen
--HG--
extra : rebase_source : 4db8f02b4e35c36100ee96b251ac6b405a70ba7d
2015-02-24 16:41:43 +02:00
Nikhil Marathe
21320ed8f5 Bug 1085283 - Patch 1 Implement FormData manipulation methods. r=baku
--HG--
extra : transplant_source : %60FDw%85%90%8Ee%AF%FEN5%B4%839%06%87%A3%D5%DE
extra : histedit_source : 7eac70682c37a31de12f1d062de080d38ad797ff
2015-01-28 17:04:28 -08:00
Carsten "Tomcat" Book
c161ee575d Merge mozilla-central to mozilla-inbound 2015-02-24 13:25:15 +01:00
Carsten "Tomcat" Book
e745f195e9 merge fx-team to mozilla-central a=merge 2015-02-24 13:15:43 +01:00
Carsten "Tomcat" Book
6eece0b459 merge mozilla-inbound to mozilla-central a=merge 2015-02-24 12:54:34 +01:00
Jean-Yves Avenard
20b088062d Bug 1096089: Part3. Add trimming support from beginning of source buffer. r=cajbir 2015-02-24 16:38:42 +11:00
Jean-Yves Avenard
ca40a6027a Bug 1134064: Part5. Evict from TrackBuffer's current decoder. r=cajbir
Also evicts all data from inactive decoders once there's nothing left to play
in them.
2015-02-24 16:38:41 +11:00
Jean-Yves Avenard
02099874d8 Bug 1134064: Part4. Fix racing condition should data get evicted. r=mattwoodrow
Should required data get evicted between the time we checked for availability
and the time we started seeking, it would have caused the seek to fail. Instead
cancel current seek and go back waiting for more data.
2015-02-24 16:38:41 +11:00
Jean-Yves Avenard
2627d1fd86 Bug 1134064: Part2. Drop current reader when seeking outside range. r=mattwoodrow 2015-02-24 16:38:41 +11:00
Jean-Yves Avenard
bea17edada Bug 1134064: Part1. Don't hold on reader when we stop needing it. r=mattwoodrow 2015-02-24 16:38:41 +11:00
Jean-Yves Avenard
259aca3f47 Bug 1132342: Handle race should operation be aborted while reading metadata. r=karlt 2015-02-24 16:38:41 +11:00
Wes Kocher
2c06de98be Merge m-c to b2ginbound a=merge 2015-02-23 17:02:28 -08:00
aus@mozilla.com
f917f305c5 bug 1126065 - Make JS callers of ios.newChannel call ios.newChannel2 in dom/browser-element. r=sicking 2015-02-23 14:11:23 -08:00
Wes Kocher
a72a85f6e2 Merge m-c to fx-team a=merge 2015-02-23 17:03:56 -08:00
Ehsan Akhgari
c666513656 Bug 1123111 - Fix a typo 2015-02-23 13:13:29 -05:00
Aaron Klotz
47d9c9ef45 Bug 1127888: Fix bustage; r=bustage 2015-02-22 00:15:50 -07:00
Mike Conley
448f596abf Bug 1077168 - Cancel in-flight Webapp install jobs from windows that change location. r=myk.
Installing a Webapp is an asynchronous job, and there is a pocket of time
between when web content requests to install an app and before the browser
displays an installation prompt that the outer window of the content can
browse away. This pocket of time is typically used by XHR to request the
web app resources and verify their contents.

This pocket of time is, essentially, bug 771294, and is a bit of a security
problem.

This problem was originally patched over on Desktop by checking in the parent
process that the outer window was still at the same URI as it had been when it
made the request. I'm not entirely sure if Android / B2G made similar checks.

With separated content processes, however, the browser front-end can no longer
performantly check to ensure that the outer window is at the same URI.

We solve this problem by sending up a message in the content process when
the location of an outer window making use of navigator.mozApps changes.
We hold a Map of "actions" mapping to in-flight installs mapped by the
outer window ID of the requesting content. When we notice a location
change, we mark those actions as cancelled. When the XHR returns, we have
it check the state of its actions, and if they're cancelled, it aborts
further action.

Normally, this wouldn't be necessary, since any XHR initiated by the
content window would be cancelled once the location changed, but in
this case, the XHR is occurring in Webapps.jsm, and is not influenced
by the outer window of the content.

--HG--
extra : rebase_source : 5f95002a21c96c5cbf3dca8ca265400448251b43
2015-02-10 13:18:47 -05:00
Ted Mielczarek
c08cd3fbff bug 1121845 - Don't include generated IPDL header from nsPluginHost.h. r=bsmedberg
--HG--
extra : rebase_source : 7f0961a8fefe21372647eae9739b5da7475c5974
2015-02-05 07:56:19 -05:00
Boris Zbarsky
de2aa3786f Bug 1135151. Add a WrapNativeParent specialization for the nsIGlobalObject case, and make Event return nsIGlobalObject as its parent object. r=smaug 2015-02-23 10:03:40 -05:00
Boris Zbarsky
8c1e8cb9b3 Bug 1135427. Add missing early return, because throwing an exception without returning is weird. r=khuey 2015-02-23 10:03:27 -05:00
Gabor Krizsanits
827f87aa22 Bug 1109007 - Adding htmlimports.enabled pref flag. r=wchen 2015-02-23 13:06:28 +01:00
Jon Coppeard
d6e694292c Bug 1130439 - Trigger compacting GCs after the user becomes inactive r=smaug r=terrence 2015-02-24 09:40:02 +00:00
Mike Conley
a80a4c4077 Bug 1077168 - Have Webapps.js pass up the outerWindowID of the top window with each message. r=felipe.
--HG--
extra : rebase_source : 814d149f2c8e59c00d6f623895fabbc2430a6954
2015-02-11 12:03:12 -05:00
Aaron Klotz
9ff9f9c026 Bug 1115437: Part 1 - Update plugin tests to be compatible with asynchronous plugin initialization; r=gfritzsche
--HG--
extra : rebase_source : 7a1000a50aab5f2aa98d2b1a4e89aa7cc9eaac12
2015-02-05 15:00:44 -07:00
Aaron Klotz
b0db5872ec Bug 1127888: Fix causes of async plugin init hangs; r=jimm
--HG--
extra : rebase_source : 985242b352dd3b579279c09fa2c91ba9d538946a
2015-02-21 23:07:24 -07:00
Martin Thomson
328712fa16 Bug 975144 - Disabling b2g tests due to bug 1135339, r=jib 2015-02-22 10:57:21 +13:00
Martin Thomson
f2ac9cf5f5 Bug 975144 - Updating identity tests to use promises, r=jib 2015-02-22 10:57:21 +13:00
Martin Thomson
e397039c75 Bug 975144 - Moving to fold identity errors into the promises we return, r=jib 2015-02-22 10:57:21 +13:00
Martin Thomson
e92b44db98 Bug 975144 - WebIDL changes for identity error handling refactor, r=jib,bz 2015-02-22 10:57:21 +13:00