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

15296 Коммитов

Автор SHA1 Сообщение Дата
Gregor Wagner 61884a045e Bug 841041 - Fix memory broadcast bug for workers. r=bent. 2013-02-15 14:12:19 -08:00
Ben Turner 8ffa404c0f Bug 841608 - 'Assertion: Uh, inner window set as event target! with FireMozTimeChangeEvent'. r=smaug. 2013-02-15 14:03:18 -08:00
Ben Turner b5ec11eb58 Bug 841612 - 'TimeChangeObserver::FireMozTimeChangeEvent bails out if *any* weak windows have gone away'. r=jlebar. 2013-02-15 13:57:18 -08:00
Ben Turner 773e831485 Bug 839261 - 'Assertion failure: false (Remote blob didn
't return a remote stream)'. r=sicking.
2013-02-15 13:39:43 -08:00
David Keeler 2f76f350cd bug 838290 - make nsIPluginHost.getPermissionStringForType more robust r=bsmedberg 2013-02-13 10:15:40 -08:00
Scott Johnson f04d0705c3 Bug 840341: Rev the IID of nsICameraCapabilities. [r=bsmedberg]
--HG--
extra : rebase_source : d5d2ada4afb1733e7b92c8329e86c109488af911
2013-02-14 16:26:28 -06:00
Chris Jones e9b7cbb6d9 Bug 841830: Allow scrolling while tap/pan gesture is still ambiguous, for perceived responsiveness. r=vingtetun
--HG--
extra : rebase_source : efb68d082921d1a41120c5b447b72637ea72ab73
2013-02-15 11:41:23 -08:00
Fabrice Desré 62cf0afe0b Bug 838308 - mozKeyboard should require a permission to use r=vingtetun a=tef+ 2013-02-15 12:35:18 -08:00
Fernando Jiménez 1b638204b8 Bug 839435 - [Packaged apps] Only allow numbers in the 'size' manifest field; r=fabrice 2013-02-15 19:13:02 +01:00
Andrea Marchesini ef8b674cc0 Bug 838532 - Convert HTMLLegendElement to WebIDL. r=Ms2ger 2013-02-15 11:55:53 -05:00
Andrea Marchesini bb88c5ee0d Bug 838532 - Rename nsHTMLLegendElement to HTMLLegendElement. r=Ms2ger
--HG--
rename : content/html/content/src/nsHTMLLegendElement.cpp => content/html/content/src/HTMLLegendElement.cpp
rename : content/html/content/src/nsHTMLLegendElement.h => content/html/content/src/HTMLLegendElement.h
2013-02-15 11:55:53 -05:00
Ryan VanderMeulen 85a38e3da8 Merge m-c to inbound. 2013-02-15 11:55:36 -05:00
Ryan VanderMeulen 5e6c0a2a2f Merge inbound to m-c. 2013-02-15 09:39:34 -05:00
Tim Taubert c9028eaa2e merge m-c to fx-team 2013-02-15 10:40:59 +01:00
Ryan VanderMeulen f0a8ded71f Merge the last PGO-green inbound changeset to m-c. 2013-02-14 17:16:49 -05:00
Randell Jesup 4c966d0634 Bug 829907: release video capture device on MainThread (mac only) r=bsmedberg 2013-02-14 14:59:27 -05:00
Alexandre Poirot 038b1a029b Bug 834515 - Updating to a packaged app with a new name via introducing a locale override allows changing the app name r=fabrice 2013-02-14 09:23:58 -08:00
Ryan VanderMeulen 0f9300ca00 Backed out changeset 38c7d7a7f586 (bug 716859) for B2G reftest failures on a CLOSED TREE. 2013-02-13 21:39:07 -05:00
Trevor Saunders fda9efaa98 bug 841430 - nuke nsIEditorDocShell r=bz 2013-02-13 17:39:30 -05:00
Tim Taubert 67433fbff1 Bug 672474 - add nsIDOMWindowUtils.getScrollbarWidth(aFlushLayout); r=roc 2013-02-13 21:32:35 +01:00
Adam Roach [:abr] 13614479ee Bug 840344: Prevent multiple creations of local SDP r=ekr,jsmith 2013-02-14 10:04:09 -06:00
Andrea Marchesini 6755c6fcbc Bug 840559 - Convert MediaError to WebIDL. r=smaug 2013-02-14 10:59:21 -05:00
Eric Chou cae4593265 Bug 834816 - Disconnect all acl connections before disabling Bluetooth, r=qdot 2013-02-14 23:16:37 +08:00
Justin Lebar 0f92a37666 Bug 841634 - Assign ContentParent::mChildID to a unique value in the constructor, instead of in RecvGetProcessAttributes. r=cjones 2013-02-15 08:40:35 -05:00
Justin Lebar d4e696a9c0 Bug 841563 - Actually set PROCESS_PRIORITY_FOREGROUND_HIGH when we want to. r=cjones 2013-02-15 08:40:01 -05:00
Marco Castelluccio 2df4fee39a Bug 836016 - Cannot reinstall an app after uninstalling it. r=fabrice 2013-02-15 08:39:31 -05:00
Trevor Saunders c4d231052a bug 841436 - remove nolonger needed qi from nsIDocShell to nsIDocShellTreeItem r=bz 2013-02-12 17:02:51 -05:00
Masayuki Nakano 1f26e938b4 Bug 833719 part.1 Register some DOM keyCode values for Windows giving virtual keycode names and all OEM speicific virtual keyCode of Windows except we already used values r+sr=smaug 2013-02-13 14:47:19 +09:00
Jason Smith c630f7f7c2 Bug 837324 - Crashtest for WebRTC crash [@fsmdef_ev_addcandidate]. r=jesup 2013-02-05 00:35:21 -08:00
Ryan VanderMeulen efe118462b Merge m-c to inbound. 2013-02-12 21:26:49 -05:00
Ryan VanderMeulen 362433c441 Merge m-c to inbound. 2013-02-12 21:25:43 -05:00
Ryan VanderMeulen 141f9389ce Backed out 12 changesets (bug 834732) for b2g bustage and OSX mochitest-1 crashes on a CLOSED TREE. 2013-02-12 20:54:48 -05:00
Doug Turner 6a822d0762 Bug 840626 - Ensure that the FileUpdateDispatcher is initalized. r=bz
--HG--
extra : rebase_source : 4479c3e9a4719bf552018338a4a0eca11368cdff
2013-02-12 13:16:58 -08:00
Aaron Klotz 163938d566 Bug 833560 - Part 2: Add timings to Plugin Hang UI telemetry. r=vdjeric 2013-02-12 15:05:39 -05:00
Ed Morley 6838b640f5 Merge latest green inbound changeset to mozilla-central 2013-02-12 14:43:06 +00:00
Ms2ger 6ae4d92261 Bug 838178 - Remove dom/bindings/stubgenerator; r=ehsan 2013-02-12 11:14:01 +01:00
Ms2ger 485fd1b337 Bug 838160 - Part b: Move HTMLOutputElement to Paris bindings; r=bz 2013-02-12 11:11:01 +01:00
Ms2ger 427d293751 Bug 839179 - Part d: Make sure the button element bindings throw exceptions where necessary; r=bz 2013-02-12 11:10:32 +01:00
Ms2ger b3fccc7040 Bug 835065 - Part c: Move SVGComponentTransferFunctionElement and subclasses to Paris bindings; r=bz 2013-02-12 11:10:24 +01:00
Ms2ger d291f8365c Bug 838088 - Update html tests; rs=mounir
--HG--
rename : dom/imptests/failures/html/tests/submission/Opera/microdata/Makefile.in => dom/imptests/failures/html/old-tests/submission/Opera/microdata/Makefile.in
rename : dom/imptests/failures/html/tests/submission/Opera/microdata/test_001.html.json => dom/imptests/failures/html/old-tests/submission/Opera/microdata/test_001.html.json
rename : dom/imptests/html/tests/submission/Mozilla/test_pageload-image.html => dom/imptests/html/html/browsers/browsing-the-web/read-media/test_pageload-image.html
rename : dom/imptests/html/tests/submission/Mozilla/test_pageload-video.html => dom/imptests/html/html/browsers/browsing-the-web/read-media/test_pageload-video.html
rename : dom/imptests/html/tests/submission/Mozilla/test_script-for-onload.html => dom/imptests/html/html/semantics/scripting-1/the-script-element/test_script-for-onload.html
rename : dom/imptests/html/tests/submission/Mozilla/test_body-onload.html => dom/imptests/html/html/webappapis/scripting/events/test_body-onload.html
rename : dom/imptests/html/tests/submission/Mozilla/test_window-onerror-parse-error.html => dom/imptests/html/html/webappapis/scripting/processing-model-2/test_window-onerror-parse-error.html
rename : dom/imptests/html/tests/submission/Mozilla/test_window-onerror-runtime-error-throw.html => dom/imptests/html/html/webappapis/scripting/processing-model-2/test_window-onerror-runtime-error-throw.html
rename : dom/imptests/html/tests/submission/Mozilla/test_window-onerror-runtime-error.html => dom/imptests/html/html/webappapis/scripting/processing-model-2/test_window-onerror-runtime-error.html
rename : dom/imptests/html/tests/submission/Opera/microdata/Makefile.in => dom/imptests/html/old-tests/submission/Opera/microdata/Makefile.in
rename : dom/imptests/html/tests/submission/Opera/microdata/test_001.html => dom/imptests/html/old-tests/submission/Opera/microdata/test_001.html
2013-02-12 10:54:30 +01:00
Ms2ger 3d5702ea2e No bug - Remove windows line endings from Opera's microdata test in preparation for an update. 2013-02-12 10:53:21 +01:00
Bobby Holley fd44dad2a6 Bug 834732 - Improve pushing in nsJSEnvironment. r=mrbkap 2013-02-13 00:22:27 +01:00
Bobby Holley c503246203 Bug 834732 - Push a cx in nsWindowSH::NewResolve. r=mrbkap 2013-02-13 00:22:27 +01:00
Bobby Holley 00465dba63 Bug 834732 - Make nsCxPusher.Push(JSContext*) infallible. r=mrbkap
We leave the nsIDOMEventTarget* versions fallible for now, but this makes the
common case a lot simpler. Note that this means that pushing a null JSContext,
a bug, is no longer handled at runtime. But I think we should just assert
against it, since there are already callers that don't check the return value.
2013-02-13 00:22:26 +01:00
Bobby Holley 8a446dd113 Bug 834732 - Remove PushBehavior. r=mrbkap
Now that we only have ALWAYS_PUSH and ASSERT_SCRIPT_CONTEXT, we have uniform
release-mode behavior everywhere. Remove the crap.
2013-02-13 00:22:26 +01:00
Bobby Holley 383f32fa9f Bug 834732 - Move cx pushing into nsPluginProtoChainInstallRunner. r=mrbkap
This gets rid of the last use of REQUIRE_SCRIPT_CONTEXT. \o/
2013-02-13 00:22:26 +01:00
Bobby Holley 20b71396d7 Bug 834732 - Make nsDocShell::AddState push the JSContext if it grabs one, and remove push in nsStructuredCloneContainer. r=mrbkap
This gets rid of one of the last consumers of REQUIRE_SCRIPT_CONTEXT.
2013-02-13 00:22:26 +01:00
Bobby Holley fbadb5c010 Bug 834732 - Get rid of footgun bool param for nsCxPusher and use an explicit enum. r=mrbkap
The goal here is to get rid of this crap entirely, and make nsCxPusher always
push. But that's a scary change, so we do it in chunks. This patch, in particular,
should have zero behavioral change. This means preserving some very wrong behavior.
For instance, currently SafeAutoJSContext never pushes a damn thing, because the
safe JSContext doesn't have an associated nsIScriptContext. We preserve this
behavior, and in fact convert various similarly-buggy consumers to
SafeAutoJSContext, so that we can hoist the behavioral change into a subsequent
patch.
2013-02-13 00:22:26 +01:00
Fabrice Desré 6cecbe351b Bug 840698 - Activities are broken r=cjones 2013-02-12 15:19:50 -08:00
Olli Pettay b9080a0df7 Bug 839528 - Change the namespace of xpidl dictionary helpers, r=khuey 2013-02-11 21:37:50 +02:00
Olli Pettay cd8c72e7b9 Bug 839465 - Implement SmartCardEvent using event code generator, r=mounir 2013-02-11 21:37:20 +02:00
Ryan VanderMeulen e0034d1783 Merge m-c to inbound. 2013-02-11 13:51:32 -05:00
Daniel Holbert f35d5424c3 Bug 836455: Sanity-check the result of 'fread()' in nptest.cpp to fix opt build warning. r=bsmedberg 2013-02-11 10:16:51 -08:00
Josh Matthews a2efaede2d Bug 838541 - Only dispatch storage events to windows of the same privacy status. r=mayhemer 2013-02-12 14:24:23 -05:00
Georg Fritzsche 3067d7718e Bug 752422 - Add null-check for plugin tag. r=bsmedberg 2013-02-12 19:03:25 +01:00
Ben Turner ba03516e31 Bug 835698 - 'Pre-open() and send the fd for app process's application.zip'. r=jduell. 2013-02-09 17:59:47 +00:00
Ed Morley 55aeaf5840 Backout 1646e649878a (bug 835698) on suspicion of causing mochitest-1 shutdown hangs on Windows on a rather sad looking CLOSED TREE 2013-02-11 15:41:36 +00:00
Fabrice Desré 8467636a41 Bug 838102 - activities are saved in the manifest with a modified href after an update r=julienw 2013-02-10 10:54:13 -08:00
Ed Morley d561628a63 Merge mozilla-central to mozilla-inbound 2013-02-12 14:57:45 +00:00
Benoit Jacob 8ea4012b0c Bug 840260 - remove AudioChannelManager from classinfoclasses, fix B2G debug builds - no review, build fix 2013-02-11 18:15:54 -05:00
L. David Baron a6ce971075 Bug 765599: Make CSS insertRule methods throw SYNTAX_ERR when given an empty rule or more than one rule. r=bzbarsky
This implements the proposed spec clarification in
http://lists.w3.org/Archives/Public/www-style/2013Feb/0229.html which
makes us compatible with WebKit on the insertRule tests in this patch.

I confirmed that the test reports 7 failures without the patch, but
passes with the patch.  (I'm a little disturbed by the way our
testharness.js integration elides runs of successive passes.)
2013-02-09 22:56:49 -08:00
Gabriele Svelto cdb3f81e9b Bug 820438 - Immediately apply changes in maximum script runtime to make them visible in content processes. r=jst 2013-01-31 18:23:50 +01:00
Aaron Klotz 916a0b5d85 Bug 839236 - Add nsRefPtr to a nsPluginHost::GetInst call. r=bsmedberg 2013-02-11 20:49:33 -05:00
Ryan VanderMeulen 786e2cf549 Merge m-c to inbound. 2013-02-11 20:49:31 -05:00
Jeff Walden 6400117085 Bug 826009 - Move locale callback info, default locale, etc. data and APIs to be JSRuntime-centered. f=bholley, r=jorendorff
--HG--
extra : rebase_source : 35317f4c29e9dd70e7d4fd1292027cfd51ce2675
2013-02-07 18:04:11 -08:00
Ryan VanderMeulen 46e64bb8b4 Backed out changeset 1646e649878a (bug 835698) for causing bug 839256. 2013-02-11 17:38:41 -05:00
Masatoshi Kimura 7c107a02d6 Bug 839731 - Kill try-safe stuff. r=benjamin 2013-02-12 01:28:08 +09:00
Jason Smith 45a3f704f7 Bug 822109 - Add a bunch of basic functional tests for getUserMedia and enable a per config setting for those tests for fake vs. non-fake. r=jesup 2013-02-07 17:35:17 -08:00
Andrea Marchesini 0076e89542 Bug 839033 - Convert HTMLProgressElement to WebIDL. r=Ms2ger 2013-02-11 13:56:31 -05:00
Julien Wajsberg 9bb15c53f1 Bug 830463 - Download/update notification is showing up late on a weak connection in some cases. r=fabrice 2013-02-11 09:38:51 +01:00
Trevor Saunders 36d9c28b18 bug 819027 - remove unneeded performance nsISupports inheritance r=bz, mccr8 2012-12-06 16:01:59 -05:00
Robert O'Callahan 2c25988734 Bug 837034. Part 2: Convert DOMMediaStream to use WebIDL. r=peterv,jesup
--HG--
rename : content/media/nsDOMMediaStream.cpp => content/media/DOMMediaStream.cpp
rename : content/media/nsDOMMediaStream.h => content/media/DOMMediaStream.h
extra : rebase_source : 483fca748444db20ed0d35cb586485f277e1808c
2013-02-15 21:04:11 +13:00
Robert O'Callahan a019386f6d Bug 837034. Part 1: Rename nsDOM(Local)MediaStream to DOM(Local)MediaStream and put them in the mozilla namespace. r=jesup
--HG--
rename : content/media/nsDOMMediaStream.cpp => content/media/DOMMediaStream.cpp
rename : content/media/nsDOMMediaStream.h => content/media/DOMMediaStream.h
extra : rebase_source : 6fd3f71779b4ecb9d3b053b6cd844c2ff0c25f80
2013-02-15 21:01:58 +13:00
Reuben Morais e1c1f6ec07 Bug 837917 - Implement DOMCursor and DOMRequestService::fireDone(). r=sicking 2013-02-08 12:25:37 -08:00
Phil Ringnalda bd5839db74 Back out 8db40a38aeb1 (bug 837917) for test_interfaces.html failures
CLOSED TREE
2013-02-14 21:37:37 -08:00
Reuben Morais e5e32cdece Bug 837917 - Implement DOMCursor and DOMRequestService::fireDone(). r=sicking
--HG--
extra : rebase_source : 8ccb520402c53950d1c0149a0f5a3188fe838667
2013-02-08 12:25:37 -08:00
Myk Melez 579db91b34 bug 841265 - stop trying to confirm installs that don't prompt in apps tests; r=fabrice 2013-02-14 17:00:29 -08:00
Gregor Wagner 0c8c8dd424 Bug 841590 - Bluetooth: Fix hashtable remove. r=bent 2013-02-14 16:45:13 -08:00
Drew Willcoxon 8715a08802 Bug 648675 - Allow comments and URL opt-in in content/plugin crash UI. r=dolske,ted 2013-02-14 15:57:50 -08:00
Gregor Wagner ca93709473 Bug 841234 - PhoneNumberJS: fix typo with lastKnownMcc. r=mrbkap 2013-02-13 17:07:28 -08:00
Bobby Holley 424b997531 Bug 819158 - Introduce stopAtOuter for UnwrapObjectChecked. r=mrbkap
We need to simultaneously stop marking outers as unsafe to unwrap, otherwise
we'll end up with paradoxical behavior whereby stopAtOuter=true returns null
but stopAtOuter=false returns an object. This is fine, because we're now
handling outer explicitly.
2013-02-14 01:11:32 +01:00
Jeff Gilbert c0a7597ab0 Bug 716859 - Streaming GLContext buffers (doublebuffering, etc) - r=bjacob,jrmuizel,vlad 2013-02-13 15:26:24 -08:00
Fernando Jiménez f6b9c493cf Bug 840078 - onerror callback is never triggered over the DOMRequest returned by mozIDOMApplication.launch; r=fabrice 2013-02-14 11:56:30 +01:00
Bobby Holley 5e7c3d4724 Bug 841067 - Fix sandbox xhr tests. r=bz 2013-02-14 10:40:15 +01:00
Ed Morley 5cf4ceb154 Backed out changeset 1651dcb62397 (bug 835563) on a CLOSED TREE 2013-02-14 10:03:30 +00:00
Ed Morley 420e203950 Backed out changeset 1cb87cc6b6a8 (bug 840277) 2013-02-14 10:02:54 +00:00
Ed Morley 720b351f27 Backed out changeset fc2132ad05a1 (bug 836654) 2013-02-14 10:02:52 +00:00
Ed Morley 8138f0f629 Backed out changeset 1862aa4b43ce (bug 836654) 2013-02-14 10:02:41 +00:00
Ed Morley 2441635be1 Backed out changeset 17f9660c7a7b (bug 836654) 2013-02-14 10:02:38 +00:00
Ed Morley 96f0163d6e Backed out changeset 693868d079cd (bug 836654) 2013-02-14 10:02:35 +00:00
Ed Morley 8d3e1b8cde Backed out changeset ef4884e40bb4 (bug 836654) 2013-02-14 10:02:32 +00:00
Ed Morley 1a2d6fa58d Backed out changeset 55f1f62f7477 (bug 836654) 2013-02-14 10:02:27 +00:00
Ed Morley 972e02bf0a Backed out changeset 8cf341d4ccbd (bug 836654) 2013-02-14 10:02:24 +00:00
Ed Morley 790a34b2d5 Backed out changeset a74f08ec0e46 (bug 836654) 2013-02-14 10:02:18 +00:00
Justin Lebar 0b288fce56 Bug 836654 - Fix -werror silliness. r=me 2013-02-14 03:01:06 -05:00
Justin Lebar 2568de40e6 Bug 836654 - Part 10: Don't acquire the CPU wake lock in the alarm service any longer. r=cjones
We've removed the event that the AlarmService was listening to in order
to find out when we could drop the lock!
2013-02-14 02:26:44 -05:00
Justin Lebar 451c447788 Bug 836654 - Part 9: During app-frame creation, take the CPU wake lock only after sending down the mozapptype. r=cjones
This prevents the child process from downgrading its CPU priority when
it notices that it has the CPU wake lock but no "critical" frames.

In this patch we also reduce the scope of a race condition which occurs
when we don't launch a new process for an app.  In this case, we still
need to set the child process's priority and then check that the process
is still alive.

Because this isn't a brand-new process, it's possible that the process
will downgrade its priority (e.g. due to a timer) after we check that
it's still alive and before it notices that we've acquired the CPU wake
lock on its behalf.  This patch does not resolve that race.
2013-02-14 02:26:44 -05:00
Justin Lebar 8cf00da75f Bug 836654 - Part 7: Hold a CPU wake lock while a "critical" process that's expecting a system message loads. r=cjones,fabrice 2013-02-14 02:26:44 -05:00
Justin Lebar 7581548ce1 Bug 836654 - Part 6: If a process is "critical" and holds the "cpu" or "high-priority" wake lock, give it priority FOREGROUND_HIGH. r=cjones 2013-02-14 02:26:44 -05:00
Justin Lebar e24833e1b4 Bug 836654 - Part 5: Add nsIMozBrowserFrame::isExpectingSystemMessage. r=bz 2013-02-14 02:26:43 -05:00
Justin Lebar ca51cd7e87 Bug 836654 - Part 4: Add PowerManagerService::NewWakeLockOnBehalfOfProcess. r=cjones 2013-02-14 02:26:43 -05:00
Justin Lebar 239e3f51fc Bug 836654 - Part 0: Add constants CONTENT_PROCESS_{UNKNOWN_ID,MAIN_ID} to HalTypes.h and remove the equivalent constants from ContentParent.h. r=cjones 2013-02-14 02:26:43 -05:00
Justin Lebar 9f4d1cf12d Bug 840277 - Explicitly check that the preallocated process hasn't been killed before we use it. r=cjones
We have to do this check /after/ we set the process's priority, since
before then, it has BACKGROUND priority and is a candidate for killing.
2013-02-14 02:26:43 -05:00
Justin Lebar 3161a04a33 Bug 835563 - When an iframe mozbrowser's embedder calls setVisible(false), immediately send the relevant process into the background (if none of its other frames are in the foreground). r=cjones 2013-02-14 02:26:43 -05:00
Fabrice Desré cf5abb85cf Bug 839810 - Race condition installing apps on linux r=ferjm 2013-02-13 11:55:45 -08:00
Georg Fritzsche 9df75fd7f7 Bug 813906 - Mochitest for unified base URI usage. r=bsmedberg 2012-11-23 20:35:49 +01:00
Boris Zbarsky ed986a4140 Bug 840614. Fix the browserelement auth tests to not throw exceptions and actually test what they mean to test. r=jdm 2013-02-13 10:11:53 -05:00
Ed Morley fad95d0ac0 Backed out changeset fba52fc5161a (bug 813906) 2013-02-13 12:05:39 +00:00
Ed Morley 6c297f1ea1 Backed out changeset 230f42e5e26d (bug 813906) 2013-02-13 12:05:36 +00:00
Georg Fritzsche 1fa6d400c9 Fix fba52fc5161a, bug 813906, test bustage. 2013-02-13 12:34:22 +01:00
Georg Fritzsche 0c07b574dc Bug 813906 - Mochitest for unified base URI usage. r=bsmedberg 2012-11-23 20:35:49 +01:00
Yury Delendik 69a7ff37d4 Bug 839714 - Extend PlayPreview API. r=jschoenick, r=jwein 2013-02-14 15:38:41 -06:00
Aaron Klotz 8e3ac4090b Bug 834127 - Make Plugin Hang UI dialog unowned. r=bsmedberg 2013-02-14 18:03:05 -05:00
Ryan VanderMeulen 0cd3da99d9 Merge m-c to inbound. 2013-02-14 18:03:02 -05:00
Ryan VanderMeulen 25195103db Backed out changesets 45f20f94da76 and 47c4a7768ed9 (bug 841436) for Windows bustage on a CLOSED TREE. 2013-02-14 16:52:54 -05:00
Justin Lebar 86563bb561 Bug 836654 - Part 10: Don't acquire the CPU wake lock in the alarm service any longer. r=cjones
We've removed the event that the AlarmService was listening to in order
to find out when we could drop the lock!
2013-02-14 15:41:30 -05:00
Justin Lebar a2a06aa787 Bug 836654 - Part 9: During app-frame creation, take the CPU wake lock only after sending down the mozapptype. r=cjones
This prevents the child process from downgrading its CPU priority when
it notices that it has the CPU wake lock but no "critical" frames.

In this patch we also reduce the scope of a race condition which occurs
when we don't launch a new process for an app.  In this case, we still
need to set the child process's priority and then check that the process
is still alive.

Because this isn't a brand-new process, it's possible that the process
will downgrade its priority (e.g. due to a timer) after we check that
it's still alive and before it notices that we've acquired the CPU wake
lock on its behalf.  This patch does not resolve that race.
2013-02-14 15:41:30 -05:00
Justin Lebar 1ed9b7bade Bug 836654 - Part 7: Hold a CPU wake lock while a "critical" process that's expecting a system message loads. r=cjones,fabrice 2013-02-14 15:41:30 -05:00
Justin Lebar 4f1627e9e7 Bug 836654 - Part 6: If a process is "critical" and holds the "cpu" or "high-priority" wake lock, give it priority FOREGROUND_HIGH. r=cjones 2013-02-14 15:41:30 -05:00
Justin Lebar 4ad2742309 Bug 836654 - Part 5: Add nsIMozBrowserFrame::isExpectingSystemMessage. r=bz 2013-02-14 15:41:30 -05:00
Justin Lebar e8a7bef2e4 Bug 836654 - Part 4: Add PowerManagerService::NewWakeLockOnBehalfOfProcess. r=cjones 2013-02-14 15:41:30 -05:00
Justin Lebar e714d6c4cf Bug 836654 - Part 0: Add constants CONTENT_PROCESS_{UNKNOWN_ID,MAIN_ID} to HalTypes.h and remove the equivalent constants from ContentParent.h. r=cjones 2013-02-14 15:41:29 -05:00
Justin Lebar da6965599b Bug 840277 - Explicitly check that the preallocated process hasn't been killed before we use it. r=cjones
We have to do this check /after/ we set the process's priority, since
before then, it has BACKGROUND priority and is a candidate for killing.
2013-02-14 15:41:29 -05:00
Justin Lebar b264db7208 Bug 835563 - When an iframe mozbrowser's embedder calls setVisible(false), immediately send the relevant process into the background (if none of its other frames are in the foreground). r=cjones 2013-02-14 15:41:29 -05:00
Masatoshi Kimura e5f58138b5 Bug 841479 - Remove nsISupports inheritance from TextDecoder and TextEncoder. r=bz 2013-02-15 05:36:50 +09:00
Dave Hylands 052f926324 Bug 839422 - Don't enable adb when toggling USB Tethering. r=qdot 2013-02-14 12:21:08 -08:00
Trevor Saunders a02716ba7a bug 841436 - remove nolonger needed qi from nsIDocShell to nsIDocShellTreeItem r=bz 2013-02-12 17:02:51 -05:00
Trevor Saunders 3e028f8788 bug 840906 - densISupportsify nsDOMRGBCSSColor r=mccr8 2013-02-13 16:39:23 -05:00
Randell Jesup 338e5db435 Bug 830247: rollup of changes to media/webrtc/trunk, and backouts of some temp patches r=ted,derf
--HG--
rename : media/webrtc/trunk/webrtc/modules/video_capture/main/source/Windows/BaseFilter.cpp => media/webrtc/trunk/webrtc/modules/video_capture/windows/BaseFilter.cpp
rename : media/webrtc/trunk/webrtc/modules/video_capture/main/source/Windows/BaseFilter.h => media/webrtc/trunk/webrtc/modules/video_capture/windows/BaseFilter.h
rename : media/webrtc/trunk/webrtc/modules/video_capture/main/source/Windows/BaseInputPin.cpp => media/webrtc/trunk/webrtc/modules/video_capture/windows/BaseInputPin.cpp
rename : media/webrtc/trunk/webrtc/modules/video_capture/main/source/Windows/BaseInputPin.h => media/webrtc/trunk/webrtc/modules/video_capture/windows/BaseInputPin.h
rename : media/webrtc/trunk/webrtc/modules/video_capture/main/source/Windows/BasePin.cpp => media/webrtc/trunk/webrtc/modules/video_capture/windows/BasePin.cpp
rename : media/webrtc/trunk/webrtc/modules/video_capture/main/source/Windows/BasePin.h => media/webrtc/trunk/webrtc/modules/video_capture/windows/BasePin.h
rename : media/webrtc/trunk/webrtc/modules/video_capture/main/source/Windows/DShowTools.h => media/webrtc/trunk/webrtc/modules/video_capture/windows/DShowTools.h
rename : media/webrtc/trunk/webrtc/modules/video_capture/main/source/Windows/MediaType.cpp => media/webrtc/trunk/webrtc/modules/video_capture/windows/MediaType.cpp
rename : media/webrtc/trunk/webrtc/modules/video_capture/main/source/Windows/MediaType.h => media/webrtc/trunk/webrtc/modules/video_capture/windows/MediaType.h
2013-02-09 23:16:10 -05:00
Ryan VanderMeulen c4c4dbc220 Backed out changesets, cf285bf3c6fc, e8b847157094, and dd86a8178cec (bug 839033) for bustage.
--HG--
rename : content/html/content/src/HTMLProgressElement.h => content/html/content/src/nsHTMLProgressElement.cpp
2013-02-09 17:51:10 -05:00
Andrea Marchesini 71bb4d183e Bug 839033 - Convert HTMLProgressElement to WebIDL. r=Ms2ger 2013-02-09 17:21:15 -05:00
Ben Turner 0a6bcfccca Bug 835698 - 'Pre-open() and send the fd for app process's application.zip'. r=jduell. 2013-02-09 17:59:47 +00:00
Ryan VanderMeulen 51d19f594e Merge the last PGO-green inbound changeset to m-c. 2013-02-09 10:43:45 -05:00
Jason Duell 310b9a58b0 Backed out changeset 1a2e34c9ebc7 (bug 835698) a=bustage_from_bug_839688 2013-02-08 17:18:28 -08:00
Andrea Marchesini 6f13ba1e38 Bug 839487 - HTMLAreaElement::SetHref can throw. r=bz 2013-02-08 12:56:59 -05:00
Gregor Wagner 235eab1dc1 Bug 839094 - Followup: minor test change. r=me 2013-02-08 09:46:22 -08:00
David Keeler 334c2170bb bug 839193 - don't exit early in AsyncUsageRunnable::RunInternal r=khuey 2013-02-07 11:54:58 -08:00
David Keeler f7fcb8e61d bug 839193 - test for corresponding bug r=bent 2013-02-07 17:11:46 -08:00
Ryan VanderMeulen d93b5e831a Merge m-c to inbound. 2013-02-08 12:17:19 -05:00
Ed Morley 9ffbf31a12 Bug 834716 - Fix bustage; r=me 2013-02-08 17:06:08 +00:00
Joel Maher 6ecf6b192a Bug 834716 - test_resize_move_windows.xul fails on an ubuntu 12.04 VM, causes 45 other failures. r=mounir 2013-02-08 10:54:33 -05:00
Andrea Marchesini a6a030c8fa Bug 839439 - Convert HTMLAreaElement to WebIDL. r=Ms2ger 2013-02-08 11:34:48 -05:00
Andrea Marchesini a07f5d54df Bug 839056 - Convert HTMLOptGroupElement to WebIDL. r=Ms2ger 2013-02-08 11:34:48 -05:00
Andrea Marchesini 1318eacaec Bug 839056 - Rename nsHTMLOptGroupElement to HTMLOptGroupElement. r=Ms2ger
--HG--
rename : content/html/content/src/nsHTMLOptGroupElement.cpp => content/html/content/src/HTMLOptGroupElement.cpp
rename : content/html/content/src/nsHTMLOptGroupElement.h => content/html/content/src/HTMLOptGroupElement.h
2013-02-08 11:34:48 -05:00
Andrea Marchesini 2961b400e1 Bug 839105 - Convert HTMLFieldSetElement to WebIDL. r=Ms2ger 2013-02-08 11:34:48 -05:00
Andrea Marchesini 3bfe2368d9 Bug 838172 - Convert AudioChannelManager to WebIDL. r=peterv 2013-02-08 11:34:47 -05:00
Julien Wajsberg ab8a1cd284 Bug 838561 - If we try to start a download or check for updates but we are already downloading, ignore the call. r=fabrice 2013-02-08 10:40:52 +01:00
Julien Wajsberg 7f0772a5a6 Bug 838337 - Set downloading to true when we get an appcache progress event. r=fabrice 2013-02-07 20:36:14 +01:00
Ryan VanderMeulen 047623b60e Merge m-c to inbound. 2013-02-08 11:34:44 -05:00
Justin Lebar a103c2522a Bug 838616 - Eliminate a process-priority race condition around preallocated process creation. r=cjones
Previously, it was possible to return a dead preallocated process.  This
patch eliminates or at least significantly reduces the likelihood of
this race.

--HG--
extra : rebase_source : f51022581edbdee8b72a8a56e296b6706bf1d165
2013-02-08 14:32:23 +00:00