Граф коммитов

34399 Коммитов

Автор SHA1 Сообщение Дата
sarvjeet f8ac4ebec4 Bug 995394: Removed parts of BrowserElementPanning.js that are only used when APZ is disabled and added that to a separte file BrowserElementPanningAPZDisabled.js r=botond 2015-02-25 13:33:21 -05:00
Boris Zbarsky 04443966d0 Bug 1137334. Remove nsIDOMWindowUtils.getParent. r=bholley 2015-02-26 15:58:59 -05:00
Boris Zbarsky 8552abcc45 Bug 1136925 part 3. Stop passing parents to js::NewProxyObject. r=waldo 2015-02-26 15:58:59 -05:00
Boris Zbarsky 14d7853fb4 Bug 1136925 part 2. Stop passing a parent to Wrapper::New. r=waldo,bholley 2015-02-26 15:58:59 -05:00
Boris Zbarsky 78b6722596 Bug 1136925 part 1. Stop passing a parent to JS_CloneObject. r=waldo 2015-02-26 15:58:59 -05: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
Patrick McManus a6c55eb584 bug 967792 - make localhost resolve offline r=dragana
--HG--
extra : rebase_source : b6080cdfc58a5c488b8dbe50741b44556e8f1c63
2015-02-15 13:50:48 -05:00
Patrick McManus 618c917976 bug 1127429 - XHR can set BYPASS_LOCAL_CACHE_IF_BUSY all the time r=bz 2015-01-29 12:45:33 -05:00
Paul Adenot 052a2913a9 Bug 1118622 - Apply the gain to AnalyserNode data prior to sending on the main thread. r=ehsan 2015-01-29 18:05:23 +01:00
Olli Pettay bec20b1fe6 Bug 1136382 - Mark TabChild's message manager for CC, r=mccr8
--HG--
extra : rebase_source : 78acdc5e8a525360b952916f7025aa74b26780a4
2015-02-25 00:25:34 +02:00
Olli Pettay ed036ca142 Bug 1136357 - Make Promise skippable, r=mccr8
--HG--
extra : rebase_source : e9679e163117aeabb69e3d919a1eaaba5b02b28c
2015-02-25 00:24:45 +02:00
Olli Pettay b894344adc Bug 1136322 - Optimize anon scopes from CC graph, r=mccr8
--HG--
extra : rebase_source : 00388706e9db93fd9995b848ad50a4231e978f88
2015-02-25 00:23:53 +02:00
Carsten "Tomcat" Book aa4293282a Merge mozilla-central to mozilla-inbound
--HG--
extra : rebase_source : 113d8ba0ffd34716ddb08a607f07fb0131a5ec01
2015-02-25 12:09:30 +01:00
Jonathan Watt 983df62b3a Bug 1073379, part 6b - Re-enable the player.playState check in checkStateAtActiveIntervalEndTime, but disable the first checkStateAtActiveIntervalEndTime call in the 'Skipping backwards through animation' tests. r=orange 2015-02-25 11:08:52 +00:00
Fernando Jimenez 343748a2bf Bug 1129650 - Touching navigator.mozId causes an error NS_ERROR_FACTORY_NOT_REGISTERED. r=baku 2015-02-25 11:48:50 +01:00
Jonathan Watt 07954fa4d6 Bug 1073379, part 6 - Tests for the effect of setting CSS animation's AnimationPlayer.startTime. r=dholbert 2015-02-20 15:14:11 +00:00
Jean-Yves Avenard 991b019ff2 Bug 1136576: Properly align source buffer starts with current decoder. r=cajbir 2015-02-25 20:55:14 +11:00
Jean-Yves Avenard a133c91e95 Bug 1135532: Allow partial truncation from ResourceQueue. r=cajbir 2015-02-25 20:35:21 +11:00
Andreas Pehrson 0c4f4a6d1d Bug 931903 - Add mochitest for forwarding a stream from one PC to another. r=jesup,drno 2015-02-22 22:45:00 +01:00
Dirkjan Ochtman 44c3ce11ad Bug 853162 - Remove XMLHttpRequest.sendAsBinary() interface. r=smaug
Should use send(Blob) instead. Thanks to Ms2ger for help fixing test failures.
2015-02-08 17:01:44 +01: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
Martin Thomson 6146b91446 Bug 975144 - Enabling tests on e10s, r=jib 2015-02-22 10:57:21 +13:00
Martin Thomson 49b3699492 Bug 975144 - Adding IdP loading tests, r=jib 2015-02-22 10:57:20 +13:00
Martin Thomson 6bbea481b8 Bug 975144 - Updating RTC identity tests, r=jib 2015-02-22 10:57:20 +13:00
Martin Thomson bca489e4fb Bug 975144 - Updating test IdP for new API, r=jib 2015-02-22 10:57:20 +13:00
Martin Thomson e9a8238316 Bug 975144 - Rework RTC identity to use JS sandbox, r=jib 2015-02-22 10:57:20 +13:00
Martin Thomson d168b26bed Bug 975144 - Implementation of RTC identity DOM component, r=jib 2015-02-22 10:57:20 +13:00
Martin Thomson 5c203cf01d Bug 975144 - WebIDL changes for RTC identity sandbox, r=jib,bz 2015-02-22 10:57:20 +13:00
Ryan VanderMeulen ec1e3cb1c9 Backed out 2 changesets (bug 1127150, bug 1085283) for w-p-t failures.
Backed out changeset cc77a5165615 (bug 1127150)
Backed out changeset ef51eb31fa09 (bug 1085283)
2015-02-21 15:47:04 -05:00
Nikhil Marathe 3f2d124490 Bug 1127150 - Fix FormData File filename. r=baku
--HG--
extra : amend_source : 14536665b8b324224005d10b00814bfaefac039c
extra : transplant_source : %3C%F5%C7%A6%18%DE%A4%B4%5E%8E%FB%D7%96%BC/%CA%BD%85%E7u
2015-02-21 11:54:44 -08:00
Nikhil Marathe dc95b34087 Bug 1085283 - Patch 1 Implement FormData manipulation methods. r=baku
--HG--
extra : rebase_source : 203ff081d07fc8e25b2d49d0923799aca0c53ab4
2015-01-28 17:04:28 -08:00
Benjamin Smedberg 0510928e0d Bug 1133003 part A - send a global observer notification when Flash hangs, r=aklotz
--HG--
extra : rebase_source : 74be4ef59f2e179304668ac3b2d8cdff2ffb9fdc
extra : histedit_source : adedbe0f9b251f35d501d82a08d5f6fe2b5fd5d7
2015-02-19 14:52:04 -05:00
André Reinald 70a296a23b Bug 1083344 - Tighten rules for Mac OS content process sandbox - "core part". r=smichaud
--HG--
extra : histedit_source : 3c904474c57dbf086365cc6b26a55c34b2b449ae
2015-02-18 14:10:27 +01:00
Ben Kelly 4d074ba44d Bug 1118845 P2 Make SharedWorker override parent LoadGroup with custom proxy callbacks. r=khuey 2015-02-21 10:09:17 -05:00
Masatoshi Kimura 26fbed8fca Bug 1127339 - Assign a dedicated error code for SSLv3 in docshell. r=bz 2015-02-21 17:20:22 +09:00
James Willcox ef1854ac4e Bug 1090300 - Repopulate input buffers when necessary in Android media decoder r=gcp 2015-02-20 23:03:40 -06:00
Boris Zbarsky 0ef6163776 Bug 742194 part 2. Use the new uncatchable exception machinery in worker XHR code. r=khuey 2015-02-20 23:58:40 -05:00
Boris Zbarsky 9e8395b4c9 Bug 742194 part 1. Add support for throwing uncatchable exceptions to Web IDL bindings. People keep asking for this. r=khuey 2015-02-20 23:58:36 -05:00
Mats Palmgren bd4f1d7ffe Bug 1129078 - part 3, Add a mIsGenerated bit to ranges that ExcludeNonSelectableNodes created due to user-select:none. Also, return the index to the range we want to be the new mAnchorFocusRange, based on the Selection direction. r=smaug 2015-02-21 04:27:59 +00:00
Wes Kocher 013dcede4f Merge b2g-inbound to m-c a=merge CLOSED TREE 2015-02-20 18:17:56 -08:00
Kannan Vijayan f8c06902f7 Bug 1119335 - Fix static analysis test failure on CLOSED TREE. r=treeherder-red 2015-02-20 19:02:03 -05:00
Kannan Vijayan 5fb547f7c2 Bug 1119335 - Fix static analysis test failure on CLOSED TREE. r=treeherder-red 2015-02-20 18:54:04 -05:00
Jan-Ivar Bruaroey 8c1b9f1777 Bug 1119335 - support ideal/exact constraint syntax. r=mrbkap, r=mt 2015-02-20 17:06:26 -05:00
Ryan VanderMeulen 8f08b96f87 Backed out changeset 096a27bb1f8e (bug 1126065) for mochitest failures. 2015-02-20 16:39:33 -05:00
aus@mozilla.com 3577b51e71 bug 1126065 - Update newChannelFromURI JavaScript callers. r=sicking 2015-02-20 11:56:09 -08:00
Alexandre Lissy d5f7076117 Bug 1133741 - Add camera focus hardware button. r=masayuki 2015-02-20 00:06:00 -05:00
Ben Kelly 4fa2ac100d Bug 1073231 Follow-up to fix bad rebase in rev 39c5fd86a4a0. r=me 2015-02-19 20:39:27 -05:00
Chris Pearce 2880c3a9b1 Bug 1124031 part 4 - Enforce min CDM version from keySystem string. r=bz 2015-02-20 14:38:08 +13:00
Chris Pearce 2d975b23e2 Bug 1124031 part 3 - Parse min CDM version from EME keySystem string. r=bz 2015-02-20 14:38:01 +13:00
Chris Pearce f09d7b2a50 Bug 1124031 part 2 - Rename EMELog.h to EMEUtils.h. r=bz
--HG--
rename : dom/media/eme/EMELog.cpp => dom/media/eme/EMEUtils.cpp
rename : dom/media/eme/EMELog.h => dom/media/eme/EMEUtils.h
2015-02-20 14:37:55 +13:00
Chris Pearce feeeb99a0a Bug 1124031 part 1 - Expose GMP version on GMPParent. r=jesup 2015-02-20 14:37:49 +13:00
Ben Kelly e3f6f3f034 Bug 1073231 Implement Request and Response Clone() methods. r=nsm r=baku 2015-02-19 20:24:24 -05:00
Jean-Yves Avenard bd730cc79a Bug 1133625: Part2. Don't accept buffer exceeding our threshold. r=cajbir
YouTube attempts to load data in excess of 8MB when close to the end of the
video, and never attempts to re-append should it error. As such,
the sourcebuffer threshold can't be set to lower than 8MB with this change.
2015-02-20 14:19:14 +13:00
Jean-Yves Avenard 5d262eea0b Bug 1133625: Fix mochitest so it doesn't append data forever. r=cajbir 2015-02-20 14:19:14 +13:00
Jean-Yves Avenard 7d46083b98 Bug 1133625: Return an error when attempting to append too much data. r=cajbir
Implement part 6 of Prepare Append Algorithm:
http://w3c.github.io/media-source/#sourcebuffer-prepare-append
"If the buffer full flag equals true, then throw a QuotaExceededError exception and abort these step."
2015-02-20 14:19:13 +13:00
Bill McCloskey fe62abac97 Bug 1133594 - Fix comment DONTBUILD 2015-02-19 17:14:33 -08:00
Bill McCloskey 989fdd3474 Bug 1133594 - Add support for message manager process scripts (r=smaug) 2015-02-19 17:13:02 -08:00
Bill McCloskey e310fd9b2a Bug 1133594 - Hide nsFrameMessageManager::sChildProcessManager (r=smaug) 2015-02-19 17:12:38 -08:00
Bill McCloskey 3315a6def5 Bug 1133594 - Make a common base class for message manager script globals (r=smaug) 2015-02-19 17:12:11 -08:00
Bill McCloskey 6b791594f3 Bug 1133594 - Rename LoadFrameScript to LoadMessageManagerScript (r=smaug) 2015-02-19 17:11:32 -08:00
Bill McCloskey ceab1ef58e Bug 1133594 - Rename nsFrameScriptExecutor to nsMessageManagerScriptExecutor (r=smaug) 2015-02-19 17:10:44 -08:00
Tanvi Vyas 8761a49c15 Bug 1084504 - fix Mixed Content Blocking for redirects in e10s. r=mrbkap 2015-02-19 17:01:04 -08:00
Christoph Kerschbaumer f3e352240e Bug 1119005 - No need to branch on NewChannelinternal callsites anymore - callsite updated (r=sicking) 2015-02-19 11:47:59 -08:00
Andrea Marchesini 005b0ace7d Bug 1134600 - worker.terminate() should close any BroadcastChannel object in workers. r=smaug 2015-02-19 22:21:18 +01:00
Wes Kocher 88f34ca973 Backed out 8 changesets (bug 1129078, bug 1128722) for mochitest-5 failures
Backed out changeset f7eff607655a (bug 1128722)
Backed out changeset 801b3abc0de8 (bug 1128722)
Backed out changeset 275d27c2dba0 (bug 1129078)
Backed out changeset 9830ab1a2028 (bug 1129078)
Backed out changeset ce5cb876af9a (bug 1129078)
Backed out changeset c199ff86c77f (bug 1129078)
Backed out changeset 38b1b039f14d (bug 1129078)
Backed out changeset c8a99ee97313 (bug 1129078)
2015-02-20 12:24:25 -08:00
Staś Małolepszy 8d44eacbd6 Bug 1133725 - Rename Langpack's version property to revision. r=fabrice, r=sicking 2015-02-18 10:39:20 +01:00
Dave Huseby 668fe30a84 Bug 1115375 - [JSAPI] Add nsAutoJSString::Init that doesn't require a JSContext. r=bholley 2015-02-19 14:16:00 -05:00
Boris Zbarsky 5c011f5e57 Bug 1134955. Be more careful with how we stringify property ids for error message reporting. r=jorendorff 2015-02-20 14:16:26 -05:00
Dhi Aurrahman 3d354b6e25 Bug 835800 - Convert more DOM attribute reflectors to DOMString. r=bzbarsky 2015-02-13 08:27:39 +07:00
Chris Double 3fc47297c7 Bug 1119947 - Add telemetry for MSE video playback - r=cpearce,bsmedberg
This adds telemetry to record the state of the video playback
when the user exits. We are interested in knowing if the video
was buffering, paused, seeking, ended or other.

More telemetry will be added in bug 1127646.
2015-02-20 13:46:56 +13:00
Ryan VanderMeulen 960d863c87 Merge inbound to m-c. a=merge
CLOSED TREE
2015-02-19 18:52:02 -05:00
Boris Zbarsky b864faa155 Bug 1134112 part 2. When doing dictionary init, if we have a non-optional union member just go ahead and uninit it before we try initing it. That way even if it's already been initialized (e.g. because we default-initialized at some point) things will still work correctly. r=peterv 2015-02-19 14:36:35 -05:00
Boris Zbarsky fc8317f7a4 Bug 1134112 part 1. When doing fast-init of a Web IDL dictionary, do fast-init of its dictionary members and its ancestors too. r=peterv 2015-02-19 14:36:26 -05:00
Boris Zbarsky 4418bf72d3 Bug 1134559. DOMContentLoaded should not be cancelable. r=ms2ger 2015-02-19 14:36:02 -05:00
Kilik Kuo cbe28e8d8f Bug 1112438 - Make newCurrentFrameTime more accurate while seeking by checking audio & video timestamp boundary in addition. r=cpearce 2015-02-17 11:21:40 +08:00
Ben Hsu 6e9087fc50 Bug 1067629 - Part 5: Deprecate GECKO_RADIOSTATE_ENABLING and GECKO_RADIOSTATE_DISABLING (ril_consts.js). r=aknow 2015-02-16 21:43:00 -05:00
Andrea Marchesini 1db2f31a2f Bug 1125940 - File should not unlink FileImpl, r=khuey 2015-02-19 18:31:32 +01:00
Randell Jesup b155c873e1 Bug 1116925: queue track adds for getUserMedia and cleanup r=roc 2015-02-19 12:04:26 -05:00
Anish 45de248a8b Bug 1056851 - Change existing callers of SpecialPowers.setBoolPref/setIntPref/setCharPref to SpecialPowers.pushPrefEnv. r=jmaher,mwargers 2015-02-19 11:53:01 -05:00
Olli Pettay 28ffbe8fb9 Bug 1117977, make script load handling during shutdown safer, r=mccr8
--HG--
extra : rebase_source : fba82b840d622eed610c90ed9a56a5f0c7d1156f
2015-02-19 15:52:01 +02:00
Carsten "Tomcat" Book c0d53e2918 Backed out changeset 6885e993936a (bug 1056851) for crashtest failures 2015-02-19 15:02:05 +01:00
Jim Mathies 57bcfa87be Bug 1132874 - Improve PPluginWidget shutdown logic. r=aklotz 2015-02-19 07:05:12 -06:00
Anish e7006d8a59 Bug 1056851 - Change existing callers of SpecialPowers.setBoolPref/setIntPref/setCharPref to SpecialPowers.pushPrefEnv. r=jmaher 2015-02-19 07:26:41 -05:00
Robert Longson d3bccc4332 Bug 1134131 r=jst 2015-02-19 11:43:42 +00:00
Carsten "Tomcat" Book e56838e981 Backed out changeset 4b194434cfee (bug 1089798) for breaking nexus builds
--HG--
extra : rebase_source : 2392cb7988579b71b55c4c4886170d5a2134db91
2015-02-19 10:32:09 +01:00
Carsten "Tomcat" Book dc0853c72b Backed out changeset abf7a473323c (bug 1089798)
--HG--
extra : rebase_source : c1248ca0d1b5f136c935a606f2968cc16aed2b7d
2015-02-19 10:31:42 +01:00
Carsten "Tomcat" Book 51d447f32c Backed out changeset a6ccfddbdac0 (bug 1089798)
--HG--
extra : rebase_source : bec618ddce6083d609ae1432b2b7c7366634a508
2015-02-19 10:31:37 +01:00
L. David Baron 3f721f200d Bug 1133439 patch 1 - Split eRestyle_StyleAttribute into eRestyle_StyleAttribute and eRestyle_StyleAttributeAnimations. r=birtles 2015-02-19 21:22:05 +13:00
Masayuki Nakano ca9bed9a3f Bug 1119609 part.18 Add nsITextInputProcessor.commitCompositionWith() and drop aCommitString from nsITextInputProcessor.commitComposition() r=smaug, sr=smaug 2015-02-19 15:50:21 +09:00
Masayuki Nakano c66d4bddc5 Bug 1119609 part.17 TextInputProcessor shouldn't allow to begin input transaction with different TextEventDispatcher during dispatching an event r=smaug 2015-02-19 15:50:21 +09:00
Masayuki Nakano 019965a1f6 Bug 1119609 part.14 Reimplement/redesign EventUtils.synthesizeKey() with nsITextInputProcessor r=smaug 2015-02-19 15:50:20 +09:00
Masayuki Nakano e0f19b8f22 Bug 1119609 part.12 nsITextInputProcessor should take KeyboardEvent as an argument of composition releated methods for dispatching key events around composition events r=smaug, sr=smaug 2015-02-19 15:50:20 +09:00
Masayuki Nakano f706eb2f63 Bug 1119609 part.11 TextEventDispatcher shouldn't allow to begin input transaction during dispatching a event r=smaug 2015-02-19 15:50:20 +09:00
Masayuki Nakano d57715ef5b Bug 1119609 part.10 Support all key and code values which are enough stable in DOM Level 3 KeyboardEvent key/code Values rs=smaug 2015-02-19 15:50:20 +09:00
Masayuki Nakano 669121952d Bug 1119609 part.9 Make a check in runUnloadTests2() of window_nsITextInputProcessor disabled due to unknown random failure r=smaug 2015-02-19 15:50:20 +09:00
Masayuki Nakano 992c26882e Bug 1119609 part.8 nsITextInputProcessor.keydown() and nsITextInputProcessor.keyup() should be able to only modify its modifier state without dispatching key events r=smaug, sr=smaug 2015-02-19 15:50:19 +09:00
Masayuki Nakano d8566e1894 Bug 1119609 part.7 Make TextInputProcerros possible to share modifier state r=smaug, sr=smaug 2015-02-19 15:50:19 +09:00
Masayuki Nakano 6de68f8acc Bug 1119609 part.6 TextInputProcessor should manage modifier key state and set it to dispatching key events automatically r=smaug, sr=smaug 2015-02-19 15:50:19 +09:00
Masayuki Nakano bf466fe03e Bug 1119609 part.5 Compute KeyboardEvent.location and .keyCode if they are 0 r=smaug, sr=smaug 2015-02-19 15:50:19 +09:00
Masayuki Nakano 5ef7ce5e6c Bug 1119609 part.4 Add keydown() and keyup() to nsITextInputProcessor r=smaug, sr=smaug 2015-02-19 15:50:19 +09:00
Masayuki Nakano 27d34fdbd2 Bug 1119609 part.3 Implement converting methods from key/code value to key/code name index r=smaug 2015-02-19 15:50:19 +09:00
Ben Hsu 402e1db327 Bug 1067629 - Part 4: Update the related testcase. r=aknow 2015-02-13 00:23:00 -05:00
Ben Hsu 420ac40a31 Bug 1067629 - Part 3: Some minor modifications(ril_worker.js). r=aknow 2015-02-13 00:17:00 -05:00
Ben Hsu 57be47e7e4 Bug 1067629 - Part 2: Remove some radio state checks(RadioInterfaceLayer.js). r=aknow 2015-02-06 03:08:00 -05:00
Ben Hsu c8fc386c7f Bug 1067629 - Part 1: Construct a radio state FSM(mobileConnectionService.js). r=aknow 2015-02-16 21:42:00 -05:00
Jean-Yves Avenard 767afcf910 Bug 1133633: Part1. Add logging reporting if we are using HW accelerated decode. r=rillian 2015-02-19 15:37:08 +13:00
Boris Zbarsky 836f1589ec Bug 1134149. Throw the exception the spec calls for when withCredentials is set on a sent XMLHttpRequest object. r=ms2ger 2015-02-18 20:56:21 -05:00
Josh Matthews 86618832b4 Bug 1065216 - Dispatch a fetch event to workers when controlled pages initiate a network load. r=baku,mayhemer,smaug 2015-02-18 20:34:29 -05:00
Ryan VanderMeulen b868fcb29a Backed out changeset d77323edbdec (bug 1117977) for Nexus 5-L bustage. 2015-02-18 20:33:02 -05:00
Jeff Gilbert e9a175ca67 Bug 1094457 - Implement ReadBuffer and RenderbufferStorageMultisample. - r=kamidphish 2015-02-18 16:57:05 -08:00
Mats Palmgren a895b6ecaf Bug 1129078 - part 3, Add a mIsGenerated bit to ranges that ExcludeNonSelectableNodes created due to user-select:none. Also, return the index to the range we want to be the new mAnchorFocusRange, based on the Selection direction. r=smaug 2015-02-20 17:34:21 +00:00
Daniel Holbert e6a8734aa7 Bug 1134931: Add some missing MOZ_OVERRIDE annotations in ServiceWorkerManager.cpp, nsFrameMessageManager.cpp, and 2D.h. r=ehsan 2015-02-20 09:25:07 -08:00
Nathan Froyd 461d0d9d2b Bug 1134633 - convert makefile rules with props2arrays.py to use moz.build GENERATED_FILES; r=mshal
Now that GENERATED_FILES can generate makefile rules for generating
files, we can start moving rules from Makefile.in's into moz.build.
2015-02-19 10:35:08 -05:00
Bill McCloskey a1a8fae426 Bug 1128798 - [e10s] Make a version of nsIContentPolicy that doesn't pass the node as a parameter (r=mrbkap,tanvi,ckerschb)
--HG--
rename : dom/base/nsIContentPolicy.idl => dom/base/nsIContentPolicyBase.idl
2015-02-20 08:54:12 -08:00
Steven Michaud 68e8327d5b Bug 1110888 - Always do plugin IME in main process, even with e10s. r=masayuki,smaug 2015-02-20 10:37:02 -06:00
Catalin Badea 9804afb257 Bug 1058311 - Remove prefix for SWClients. Rename getServiced to matchAll. Add stub query options for matchAll r=baku
--HG--
rename : dom/webidl/ServiceWorkerClient.webidl => dom/webidl/Client.webidl
rename : dom/webidl/ServiceWorkerClients.webidl => dom/webidl/Clients.webidl
rename : dom/workers/test/serviceworkers/test_get_serviced.html => dom/workers/test/serviceworkers/test_match_all.html
2015-02-20 17:16:17 +02:00
Dave Huseby 35c7e76d09 Bug 1116189 - Fix up the dom uses of nsAutoJSString::Init to use the cx-less interface where it makes sense. r=bholley
--HG--
extra : histedit_source : cb74f224b42e1049e76bce542ab7ce1249e60445
2015-02-13 16:53:00 -05:00
Jan-Ivar Bruaroey e232893cc3 Bug 1119335 - Streamline camera capabilities (remove alternate algorithm for OSX/B2G). r=jesup, r=ayang 2015-02-18 13:06:01 -05:00
Fernando Rodriguez Sela 012071b939 Bug 1100863 - SimplePush: Adaptive ping doesn't work when it converge. f=jorgep, r=nsm 2015-02-16 01:00:00 -05:00
Nils Ohlmeier [:drno] b25a2bb677 Bug 1089798 - MediaStream ID tests. r=bwc 2015-02-17 22:54:00 -05:00
Nils Ohlmeier [:drno] 629772a073 Bug 1089798 - Implemenation of MediaStream IDs. r=bwc 2015-02-19 12:59:00 -05:00
Nils Ohlmeier [:drno] c4ce9d4203 Bug 1089798 - Add id to MediaStream. r=bwc, r=smaug 2015-02-05 11:03:00 -05:00
Stephen Pohl 98e9e66c09 Bug 1134831: Add the ability to localize license info for GMPs in addons manager. r=gfritzsche 2015-02-20 08:26:29 -05:00
Nils Ohlmeier [:drno] daec70e513 Bug 1089798 - MediaStream ID tests. r=bwc 2015-02-17 22:54:00 -05:00
Nils Ohlmeier [:drno] 0084d83191 Bug 1089798 - Implemenation of MediaStream IDs. r=bwc 2015-02-17 22:52:00 -05:00
Nils Ohlmeier [:drno] 421d85b859 Bug 1089798 - Add id to MediaStream. r=bwc, r=smaug 2015-02-05 11:03:00 -05:00
Daniel Holbert 59b8a89b30 Bug 1135825: Add missing MOZ_OVERRIDE annotation in RTCIdentityProviderRegistrar.h. r=ehsan 2015-02-23 13:24:20 -08:00
Andrew McCreight 72065b93ca Bug 1127827, part 3 - Weak map get should always return undefined on failure to find the key. r=Waldo,jgraham 2015-02-18 15:40:52 -08:00
Olli Pettay ec9d11a8d2 Bug 1117977, make script load handling during shutdown safer, r=mccr8
--HG--
extra : rebase_source : d3f3b6961c97ae1a9b67e7b00f41247c1d67eea7
2015-02-19 01:18:27 +02:00
Botond Ballo 847508c681 Bug 1132153 - Replace 'using namespace base' with specific using-declarations. r=dholbert 2015-02-11 15:01:26 -05:00
Nikhil Marathe 302ff75d63 Bug 1126815 - Implement Response.finalURL. r=bkelly,baku
--HG--
extra : rebase_source : 5180d5657c60c7aec33e9f750d24cbee9a2890e2
2015-02-17 10:23:34 -08:00
Ryan VanderMeulen 5abea51e9a Backed out changeset 25f90464e93b (bug 1065216) for Android mochitest failures. 2015-02-18 16:00:33 -05:00
Ryan VanderMeulen 31b517eaf7 Backed out changesets b7d9158b53e7 and 820a0cabcb92 (bug 1131375) for Windows bustage.
CLOSED TREE

--HG--
extra : rebase_source : be0f4ecf8aa06e10e503dbff675feeddd8442bf9
2015-02-18 14:47:27 -05:00
Josh Matthews cb61a019fc Bug 1065216 - Dispatch a fetch event to workers when controlled pages initiate a network load. r=baku,mayhemer,smaug 2015-02-18 14:10:52 -05:00
Bill McCloskey c2f40fe8a3 Bug 1131317 - Always unwrap objects before wrapping them in XPCWrappedJS (r=mrbkap) 2015-02-18 10:42:28 -08:00
Bill McCloskey c5fed0b790 Bug 1131375 - Test for message ordering (r=Mossop) 2015-02-18 10:38:41 -08:00
Bill McCloskey d505bcdca8 Bug 1131375 - Message manager messages should arrive in order in non-e10s (r=smaug) 2015-02-18 10:38:27 -08:00
Marco Zehe 1374c72716 Bug 1121518 - ARIA 1.1: Add support for role 'searchbox', r=surkov 2015-02-27 15:41:57 +01:00
Tooru Fujisawa 7056893560 Bug 1137897 - Do not throw exception from nsPluginTag::GetMimeTypes if a plug-in has no MIME-Types. r=bz 2015-02-28 13:32:27 +09:00
Chris Pearce 42473ae7f6 Bug 1137957 - Fix non-unified build failure in GMPVideoDecoder. r=kinetik 2015-02-28 16:15:29 +13:00
Nathan Froyd 336e531fc3 Bug 1137175 - tighten up public interface of MiscContainer; r=khuey
MiscContainer declares that it HasDangerousPublicDestructor.  This
declaration is accurate, but unnecessary, as MiscContainer doesn't use
any of the nsISupports machinery that checks
HasDangerousPublicDestructor.  So HasDangerousPublicDestructor is a nice
bit of documentation, but completely unused; let's remove it.

MiscContainer having a public destructor is a bit of a footgun, though.
Let's protect MiscContainer's destructor and make nsAttrValue a friend
class, since nsAttrValue is what controls the lifetime of MiscContainer
objects.
2015-02-26 08:21:58 -05:00
Garvan Keeley 8f8b1e0ac7 Bug 1134019 - Extract MLS fallback to its own class for reuse - r=jdm 2015-02-27 19:15:32 -05:00
Mike Conley 66da6c097f Bug 1066812 - Set AbortOnError in the ContentProcess on initialization. r=billm.
This will cause the content process to take itself down in the event that it
loses communication with the parent process. This case is particularly
important for the case where the parent process crashes while the content
process is blocked or busy on the main thread, as the content process will
no longer continue to exist as a zombie process, but will shut down after
a short delay.

--HG--
extra : rebase_source : 52799d2cacdc72ca0c36200320b249961a3b638d
2015-02-13 14:10:56 -05:00
Bobby Holley 3c7f735460 Bug 1137511 - Account for audio frames already pushed to audio hardware but not yet played when computing OutOfDecodedAudio. r=kinetik 2015-02-27 16:07:44 -08:00
Ryan VanderMeulen 2c0b5514a5 Bug 1131433 - Re-add accidentally-removed GetMediaSourceLog() declarations.
CLOSED TREE

--HG--
extra : amend_source : da9073a4948e74c64bb581735af60953664afa8b
2015-02-27 17:37:52 -05:00
Chris Pearce e4ef49ff55 Bug 1136986 - Fix unthreadsafe uses of GMPVideoHost in gmp-clearkey. r=edwin 2015-02-28 10:23:33 +13:00
Chris Pearce 9c393b31d4 Bug 1136986 - Disable SharedDecoderManager for EME video. r=kentuckyfriedtakahe 2015-02-28 10:23:29 +13:00
Josh Matthews 65badaa73f Bug 1137250 - Fix incorrect initialization of Request object. r=bz 2015-02-26 15:40:00 -05:00
Geoff Brown 0d418e622c Bug 1134271 - Skip conformance/canvas/buffer-offscreen-test.html on Android; r=jgilbert 2015-02-27 13:15:02 -07:00
Geoff Brown 71057b65a9 Bug 1099175 - Skip conformance/textures/texture-npot.html on android; r=jgilbert 2015-02-27 13:15:01 -07:00
David Parks 8e3fdd1eb4 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-24 11:06:57 -08:00
David Parks 00002f7d3f 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 31f835e4bf 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 218f2707a8 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 8bb33e6cbc 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
Blake Kaplan e2af5cf422 Bug 1137025 - Add a telemetry probe to see how often Window.showModalDialog is used. r=jst, a=me 2015-02-25 17:41:00 -05:00
Maksim Lebedev 4a533d3199 Bug 1133492 - Extract some of nsPresShell into a separate TouchManager class. r=smaug 2015-02-24 22:20:00 -05:00
Gabriele Svelto 1f8afa872a Bug 1119277 - Remove the process CPU priority parameter and simplify all the associated code. r=khuey, r=dhylands 2015-02-26 12:43:22 +01:00
sarvjeet 07d8696b14 Bug 995394: Removed parts of BrowserElementPanning.js that are only used when APZ is disabled and added that to a separte file BrowserElementPanningAPZDisabled.js r=botond, a=RyanVM
--HG--
extra : amend_source : 5806ad240ace17ce35008e307f89b825ed31d711
2015-02-25 13:33:21 -05:00
Kartikaya Gupta dd2611b368 Bug 1137952 - Call mozRequestAnimationFrame on the right window. r=mstange 2015-03-02 17:37:33 -05:00
Alex Verstak 2d3d368350 Bug 1091883 - Added test, this is fixed by a fix to bug 1113438. r=sstamm CLOSED TREE
--HG--
extra : amend_source : 6b33b51d7e8f800e1453e72bd66b53f1ebbd232c
2015-01-05 09:09:51 -08:00
Daosheng Mu 73f4a67965 Bug 1133391 - Remove unused variables in TabParent::RecvDispatchAfterKeyboardEvent. r=smaug. 2015-03-02 14:31:40 -08:00
Wes Kocher 6a34cef6e3 Bug 1131433 - Further fixes to SourceBufferDecoder.cpp. DONTBUILD CLOSED TREE
--HG--
extra : amend_source : 0799633171fbbdf88dede997194a7c4ddccc2574
2015-02-27 15:35:23 -08:00
Botond Ballo 749210580d Bug 943537 - Fix bustage introduced by incorrect rebase across bug 1133492, to reopen a CLOSED TREE. r=bustage
--HG--
extra : rebase_source : 2cb963d066d439a39a4eb4c403452f18eaabdf3b
2015-03-02 17:03:07 -05:00
Botond Ballo 23539dce4e Bug 943537 - Handle modifiers on tap events in RemoteContentController and ChromeProcessController. r=kats,mbrubeck
--HG--
extra : rebase_source : 8fc78cab591b0da3622b57d9d351775fca529f6e
2015-03-02 16:41:02 -05:00
Botond Ballo 6f8bf1747c Bug 943537 - In the GeckoContentController interface, take the modifiers for tap events in 'widget modifier' format rather than 'DOM modifier' format. r=kats,mbrubeck
--HG--
extra : rebase_source : f931503087e1a13725c9a3a398d49111e060e76e
2015-03-02 16:38:07 -05:00
Steven Michaud 37a4046738 Bug 1130435 - Mouse cursor doesn't disappear over Flash object when it should. Works in non-e10s. r=josh 2015-03-02 15:36:29 -06:00
Olli Pettay 6d7a26cb38 Bug 1138395 - Optimize nsDocument::mExpandoAndGeneration.expando out from the cc graphs when possible, r=mccr8
--HG--
extra : rebase_source : 1cc9d51c6fcf4e8a32a0552e6ef903cf57f54ab5
2015-03-02 17:56:36 +02:00
Ehsan Akhgari 5b8b6d67b9 Bug 1125956 - Hack around the broken assumptions of Thunderbird about the HTML copy encoder by disabling the plaintext encoding detection logic; r=roc 2015-03-02 16:06:09 -05:00