Commit Graph

10274 Commits

Author SHA1 Message Date
Ed Morley
8717b81ed7 Backout 55a71c654aac (bug 798848) since wrong platform 2012-11-13 10:51:17 +00:00
Ed Morley
ec0b74e760 Bug 798848 - Disable test_MozEnteredDomFullscreen_event.xul on Linux for intermittent failures 2012-11-13 10:48:02 +00:00
Boris Zbarsky
2562abec42 Bug 810618. Make sure we don't allow layout statics to go away while we're still trying to use them. r=khuey 2012-11-13 00:26:55 -08:00
Boris Zbarsky
2bb6e39346 Bug 810520. Correctly handle static methods and attributes in the NativeProperties structs that Xrays use. r=peterv
Note that at this point we actaully do Xrays for all of our various
property types, except in worker code.  The real substantive change
here is the change to what usedForXrays returns.  The rest is minor
cleanup.
2012-11-13 00:26:55 -08:00
Chia-hung Tai
6ca8e84bd6 Bug 788441: Add alphanumeric parsing. r=vyang 2012-11-13 11:57:25 +08:00
Ryan VanderMeulen
2c380fb37b Backed out de9fff3a523, c567df2244f5, 8e3d976d5dc5, and c7499faaec23 (bug 800915) for bustage.
--HG--
extra : rebase_source : c823063bfa31d59d32b3402bd4b458b84b703cd5
2012-11-12 21:43:39 -05:00
Bobby Holley
24950d41c9 Bug 800915 - Remove the cx parameter and simplify various APIs. r=sfink,bz
If callers want to throw, it's now their responsibility.
2012-11-12 17:35:32 -08:00
Bobby Holley
6935651371 Bug 800915 - Add infrastructure to flag security wrappers as unsafe to unwrap. r=mrbkap 2012-11-12 17:35:32 -08:00
Andrew McCreight
526256fc6b Bug 792090 - Ignore unused result in CGProxy...PresenceChecker. r=bz 2012-11-12 14:21:46 -08:00
Ryan VanderMeulen
61dafd4098 Merge m-c to inbound. 2012-11-12 19:46:27 -05:00
Ms2ger
388b38de0f Bug 811068 - Copy ^headers^ file in importTestsuite.py; r=jhammel (DONTBUILD) 2012-11-12 23:20:19 +01:00
Ms2ger
c98cf5e62c No bug - Add a step I forgot to dom/imptests/README. DONTBUILD 2012-11-12 21:39:10 +01:00
John Schoenick
82eeb5fb8a Bug 766886 - Cleanup plugin streams earlier to avoid shutdown leak. r=bsmedberg 2012-11-12 14:11:40 -08:00
Gregor Wagner
09843f2885 Bug 811090 - Wrong scope for NSGetFactory. r=khuey 2012-11-12 13:59:30 -08:00
Georg Fritzsche
07fa2efaf4 Bug 805330 - Cleanup and attempt to avoid intermittent orange from bug 751809. r=josh 2012-10-29 18:27:32 +01:00
Chuck Lee
1697ffebae Bug 736104 - Expose capabilities to DOM. r=mrbkap 2012-11-08 15:32:16 +08:00
Chuck Lee
ddbe32cb52 Bug 736104 - Provide network connection status. r=mrbkap 2012-11-12 10:34:49 +08:00
Chuck Lee
95d38be41b Bug 736104 - Change object key of configure network, and return array to gaia instead of object. r=mrbkap 2012-11-08 13:34:12 +08:00
Ryan VanderMeulen
9b8701f2d0 Merge m-c to inbound. 2012-11-12 16:49:01 -05:00
Rob Wood
c42f6d9d27 Bug 808783 - Disable crashing telephony test, r=ahal, DONTBUILD a=NPOTB 2012-11-12 08:14:00 -08:00
Ed Morley
6ae14209c1 Backout 4fce20d0189f (bug 783913) since the later tests still failed 2012-11-12 13:47:33 +00:00
Doug Turner
4ed38d640f Bug 810137 - Device Storage filter out video formats that we do not support. r=padenot 2012-11-11 22:46:32 -08:00
Karl Tomlinson
263fdf0bc6 b=810426 Flush() old surfaces before the plugin may redraw r=roc
--HG--
extra : transplant_source : n%F7%0D%20J%D9%DF%CBY%60J0%09%F2%02h2%DC%C6%E7
2012-11-11 21:10:32 -08:00
Karl Tomlinson
a1550b51cb b=807728 use mozPaintCount instead of getPaintCount to keep track of when the browser gets updates rather than when the plugin provides them
--HG--
extra : transplant_source : Rc%0D2%F2%BF%B6%B0%B5%FB%3Cx%EC.%9EC%28%D5%2Cf
2012-11-11 21:06:08 -08:00
Peter Van der Beken
508194a997 Fix for bug 804950 (New DOM binding APIs for Element). r=bz.
--HG--
extra : rebase_source : a8691ead07dfa8ecca812396047627dc15474d83
2012-10-16 13:51:00 +02:00
Justin Lebar
637c4e809a Bug 806168 - Remove extra indentation in webapp_clearBrowserData.js. r=bent
The extra indentaiton was necessary because we wanted hg/git to notice that webapp_clearBrowserData.js was actually a rename of test_webapp_clearBrowserData.html.
2012-11-10 10:32:38 -08:00
Justin Lebar
114ec5cd8d Bug 806168 - Test for bugs 802366 and 806127. r=bent
These new tests are disabled on Android because the test they're replacing, test_webapp_clearBrowserData.html, was also disabled on Android, and the new tests fail in the same way as the original test.

--HG--
rename : dom/indexedDB/test/test_webapp_clearBrowserData.html => dom/indexedDB/test/webapp_clearBrowserData.js
2012-11-10 10:32:38 -08:00
Justin Lebar
a3d840eb68 Bug 806127 - Test that cookies from pages inside <iframe mozbrowser> are not considered third-party. r=bz
The test for the other change in bug 806127 (which affects IndexedDB) is in bug 806168.
2012-11-10 10:32:37 -08:00
Justin Lebar
34eebf687d Bug 802366 - Epilogue: Remove workaround for bug 802366 in Webapps.jsm. r=sicking 2012-11-10 10:32:37 -08:00
Justin Lebar
f105087e13 Bug 802366 - Use TabContext to make IDB handling more correct in TabParent. r=bent 2012-11-10 10:32:37 -08:00
Justin Lebar
8c64b0474c Bug 802366 - The main event: Let a browser process inherit its app's id. r=bz,cjones
The main bug fixed here is that in half of our interfaces, we use "is browser frame/element" to mean "browser or app", and in the other half, we use it to mean "is browser not app".

There's a related, functional bug also fixed here, which is that a browser process doesn't inherit its parent's app-id.  This causes problems e.g. for IndexedDB: If a browser inside an app uses IndexedDB, the DB should have the app's app-id.

I also modified Tab{Parent,Child} and nsFrameLoader to call "app" "ownOrContainingApp", to emphasize that we might have inherited the app from a parent process.  I left nsIDocShell::appId alone, because changing that would have necessitated changing nsILoadGroup and therefore a /lot/ of users in Necko; it's also not clear it would have clarified anything in those cases.
2012-11-10 10:32:37 -08:00
Justin Lebar
02eb65f7a4 Bug 802366 - Prelude, part 2: Rename GetParentIgnoreBrowserFrame to GetSameTypeParentIgnoreBrowserAndAppBoundaries. r=bz
It's a long name, but at least it's clear.
2012-11-10 10:32:35 -08:00
Justin Lebar
5fc1f70e94 Bug 802366 - Prelude, part 1: Rename in-process-browser-frame-shown to in-process-browser-or-app-frame-shown. r=bz 2012-11-10 10:32:35 -08:00
Ryan VanderMeulen
a17df69b99 Backed out changeset 5054c2552a30 (bug 798033) for b2g bustage. 2012-11-10 11:52:15 -05:00
Matt Joras
ed596163dd Bug 798033 - Removes 'using namespace' from dom headers - r=khuey 2012-11-10 10:45:52 -05:00
Anant Narayanan
b541c1dade Bug 810164: Disable bfcache for pages with active PeerConnections; r=smaug,jesup 2012-11-09 21:04:27 -08:00
Ben Turner
9572705866 Bug 808743 - ' Better protection for PBrowser shutdown and database invalidation in multiprocess scenarios'. r=khuey+cjones.
--HG--
extra : transplant_source : %BD%E4%ADA%09%CE%D9%BE%1C%7C%7B%1A%FC%86%5C%13%24%29%B4%16
2012-11-09 19:29:07 -08:00
Mike Habicher
abaad879d5 Bug 810440 - Add missing rotation parameter to SetupRecording function call, drop default parameter values. r=daleharvey 2012-11-09 20:32:10 -05:00
Philipp von Weitershausen
c7830976fa Bug 809727 - Wait for the write transaction to finish so that the blobs are expired. r=janv 2012-11-09 20:32:10 -05:00
Ryan VanderMeulen
f774dcd8ba Backed out 12 changesets (bug 806127, bug 802366, bug 806168) for Windows build bustage.
--HG--
rename : dom/indexedDB/test/webapp_clearBrowserData.js => dom/indexedDB/test/test_webapp_clearBrowserData.html
2012-11-09 20:14:40 -05:00
Justin Lebar
9a60759573 Bug 806168 - Remove extra indentation in webapp_clearBrowserData.js. r=bent
The extra indentaiton was necessary because we wanted hg/git to notice that webapp_clearBrowserData.js was actually a rename of test_webapp_clearBrowserData.html.
2012-11-09 16:37:41 -08:00
Justin Lebar
8c926613e7 Bug 806168 - Test for bugs 802366 and 806127. r=bent
These new tests are disabled on Android because the test they're replacing, test_webapp_clearBrowserData.html, was also disabled on Android, and the new tests fail in the same way as the original test.

--HG--
rename : dom/indexedDB/test/test_webapp_clearBrowserData.html => dom/indexedDB/test/webapp_clearBrowserData.js
2012-11-09 16:37:41 -08:00
Justin Lebar
f2125bbc72 Bug 806127 - Test that cookies from pages inside <iframe mozbrowser> are not considered third-party. r=bz
The test for the other change in bug 806127 (which affects IndexedDB) is in bug 806168.
2012-11-09 16:37:40 -08:00
Justin Lebar
de0e89fed5 Bug 802366 - Epilogue: Remove workaround for bug 802366 in Webapps.jsm. r=sicking 2012-11-09 16:37:40 -08:00
Justin Lebar
f72344a7a4 Bug 802366 - Use TabContext to make IDB handling more correct in TabParent. r=bent 2012-11-09 16:37:40 -08:00
Justin Lebar
19b287d268 Bug 802366 - The main event: Let a browser process inherit its app's id. r=bz,cjones
The main bug fixed here is that in half of our interfaces, we use "is browser frame/element" to mean "browser or app", and in the other half, we use it to mean "is browser not app".

There's a related, functional bug also fixed here, which is that a browser process doesn't inherit its parent's app-id.  This causes problems e.g. for IndexedDB: If a browser inside an app uses IndexedDB, the DB should have the app's app-id.

I also modified Tab{Parent,Child} and nsFrameLoader to call "app" "ownOrContainingApp", to emphasize that we might have inherited the app from a parent process.  I left nsIDocShell::appId alone, because changing that would have necessitated changing nsILoadGroup and therefore a /lot/ of users in Necko; it's also not clear it would have clarified anything in those cases.
2012-11-09 16:37:39 -08:00
Justin Lebar
12e843ccbd Bug 802366 - Prelude, part 2: Rename GetParentIgnoreBrowserFrame to GetSameTypeParentIgnoreBrowserAndAppBoundaries. r=bz
It's a long name, but at least it's clear.
2012-11-09 16:37:38 -08:00
Justin Lebar
6a364c5f37 Bug 802366 - Prelude, part 1: Rename in-process-browser-frame-shown to in-process-browser-or-app-frame-shown. r=bz 2012-11-09 16:37:38 -08:00
Jim Mathies
264552a173 Backout Bug 810164 due to bustage. r=bustage 2012-11-09 18:04:23 -06:00
Anant Narayanan
515fe04fc1 Bug 810164: Disable bfcache for pages with active PeerConnections; r=smaug,jesup 2012-11-09 15:27:38 -08:00
Kan-Ru Chen (陳侃如)
d41c9d3e2d Bug 809671 - Don't change wake lock state if visibility doesn't change. r=jlebar 2012-11-09 16:00:26 -05:00
Masatoshi Kimura
17a2c3bf30 Bug 801402 - Reintroduce x-windows-949 hack. r=hsivonen 2012-11-09 16:00:26 -05:00
Masatoshi Kimura
dd3d556427 Bug 801402 - Use FindEncodingForLabel from FileReaderSync. r=khuey, r=hsivonen 2012-11-09 16:00:25 -05:00
Peter Van der Beken
340572b953 Fix for bug 807330 (Make xpc_qsUnwrapThis/xpc_qsUnwrapArg deal with new DOM bindings). r=jst.
--HG--
extra : rebase_source : 3553f82516bfaa0764185f94e2eef616d9cd696d
2012-09-26 16:17:46 +02:00
Dave Hylands
a15b2468df Bug 783630 - Fix bustage on inbound. 2012-11-09 10:23:18 -08:00
Dave Hylands
5cf12d4e3a Bug 783630 - Make OOP console logs only show up once in logcat. r=bzbarsky 2012-11-09 09:52:09 -08:00
Boris Zbarsky
c8deffa677 Bug 809260. Example codegen should include ErrorResult.h in the header. r=mccr8 2012-11-09 08:24:32 -08:00
Boris Zbarsky
d5b4efd9db Bug 808698. Set up example codegen for proxy bindings to work correctly. r=jst 2012-11-09 08:24:32 -08:00
Boris Zbarsky
3f0cab408f Bug 796983 followup to address peterv's comments. r=presumably-peterv 2012-11-09 08:24:32 -08:00
Boris Zbarsky
efa02843d9 Bug 805310. Add some documentation for our object-wrapping helpers. r=peterv 2012-11-09 08:24:32 -08:00
Boris Zbarsky
2789f45d35 Bug 807224 followup to address review comments. r=presumably-peterv 2012-11-09 08:24:31 -08:00
Boris Zbarsky
e1ded25637 Bug 807226 part 8. Remove the exceptions for EventHandler in WebIDL codegen. r=smaug 2012-11-09 08:00:25 -08:00
Boris Zbarsky
8e705c1123 Bug 807226 part 7. Move creation of our event handlers out to the relevant API methods. r=smaug
Note that once we switch all these guys to WebIDL bindings they'll
automatically get the callback objects passed in from binding code.
2012-11-09 08:00:25 -08:00
Boris Zbarsky
ec6ddc39d0 Bug 807226 part 6. Centralize our IMPL_EVENT_HANDLER macro definitions in nsDOMEventTargetHelper. r=smaug 2012-11-09 08:00:25 -08:00
Boris Zbarsky
6bb2c5dffa Bug 807226 part 5. Allow event handlers to have a null scope object if they don't have to compile from a string. r=smaug 2012-11-09 08:00:25 -08:00
Boris Zbarsky
2daa94afcd Bug 807226 part 4. Allow event handlers to have a null nsIScriptContext if they won't have to compile from a string. r=smaug 2012-11-09 08:00:25 -08:00
Boris Zbarsky
d15bb45f3e Bug 807226 part 3. Change event handlers to call their WebIDL callbacks directly. r=smaug 2012-11-09 08:00:25 -08:00
Boris Zbarsky
bf51164dc8 Bug 807226 part 2. Change event handlers to store WebIDL callback functions. r=smaug 2012-11-09 08:00:25 -08:00
Boris Zbarsky
081200f74b Bug 807226 part 0.5. More undefs to stop Windows headers from messing with our GetClassName. r=peterv 2012-11-09 07:59:41 -08:00
Boris Zbarsky
721e804d9a Bug 807224. Implement native-to-JS conversion for WebIDL unions. r=peterv 2012-11-09 07:59:33 -08:00
Boris Zbarsky
b7d72d9da1 Bug 779048 followup. Add a comment that explains why the assert about exceptionCode being default when invalidEnumValueFatal is false is an ok thing to assert. r=peterv, DONTBUILD 2012-11-09 07:58:33 -08:00
Boris Zbarsky
b44862af8b Bug 779048 part 10. Start using the new callback codegen in argument and return value conversion. r=peterv,smaug 2012-11-09 07:43:58 -08:00
Boris Zbarsky
2cca8f2c52 Bug 779048 part 9. Give JS-to-native conversion an object pointer to work with so it can convert callback objects. r=peterv 2012-11-09 07:43:58 -08:00
Boris Zbarsky
499ff69d95 Bug 779048 part 8. Handling of arguments for callbacks. r=peterv
Note that we're now using the array object as the "obj" when wrapping
sequence members, because we don't have an 'obj' around in our
code... and every single existing sequence-of-interfaces consumer
relied on there being an 'obj' floating about.

Also note that I needed to rearrange the various wrapping helpers so
that we can wrap things that are hanging out in const smartpointers or
in const OwningNonNull or in plain object references.
2012-11-09 07:43:58 -08:00
Boris Zbarsky
a087a0f7d6 Bug 779048 part 7. Make native-to-JS conversion support doing something other than "return false" on JS exceptions. r=peterv 2012-11-09 07:43:58 -08:00
Boris Zbarsky
5d6259af0a Bug 779048 part 6. Handling of return values for callbacks. r=peterv 2012-11-09 07:43:58 -08:00
Boris Zbarsky
06263c8888 Bug 779048 part 5. Make js-to-native conversion support doing something other than "return false" on JS exceptions. r=peterv 2012-11-09 07:43:58 -08:00
Boris Zbarsky
1020c25604 Bug 779048 part 4. Implement basic codegen for callbacks, without handling of arguments or return values yet. r=peterv 2012-11-09 07:43:57 -08:00
Boris Zbarsky
c7949cb5a7 Bug 779048 part 3. Refactor the code we use for generating example declarations a bit so we can reuse it for callbacks. r=peterv 2012-11-09 07:43:57 -08:00
Boris Zbarsky
01d54b91df Bug 779048 part 2. Rearrange how we do our includes and forward-declares to actually work with callbacks and dictionaries sanely. r=peterv 2012-11-09 07:43:57 -08:00
Boris Zbarsky
7399600c6f Bug 779048 part 1. Implement a parent class for C++ reflections of callback functions in WebIDL. r=bholley,smaug 2012-11-09 07:43:57 -08:00
Boris Zbarsky
f05491aec8 Bug 779048 part 0.5. Don't require a JSContext argument for nsJSUtils::GetStaticScriptGlobal. r=bholley 2012-11-09 07:43:57 -08:00
Ehsan Akhgari
5c3198f30a Bug 809882 - Disallow non-positive arguments to AudioContext.createDelay; r=bzbarsky 2012-11-08 13:17:22 -05:00
Marco Bonardo
552921d7dc Bug 799609 - Disable Places in B2G - Part 2 - Allow docshell and content to build without Places
Expose NotifyVisited API and fix code so it can be built with alternative history implementations.
r=jlebar
2012-11-09 10:55:54 +01:00
Boris Zbarsky
70d8b5a29b Bug 805988. Add some asserts that new-binding objects are nsISupports if they claim to be or or can be safely reinterpret_cast to nsWrapperCache, if they have an nsWrapperCache at all, if they don't claim to be nsISupports. r=peterv
Note that everything except the new asserts just got moved with no changes.
2012-11-08 23:48:42 -08:00
Boris Zbarsky
938e5422f5 Bug 808991. Named getters should get called for indexed properties on objects that don't support indexed properties. r=peterv 2012-11-08 23:48:42 -08:00
Doug Turner
b5ecdd6933 Bug 809288 - nsGeolocationService GetInstance / GetGeolocationService inconsistencies. r=mrbkap a=blocking-basecamp 2012-11-08 15:36:50 -08:00
Doug Turner
d9fabab20c Bug 805965 - Geolocation fix jerks around. r=jdm/bz. a=blocking-basecamp 2012-11-06 12:34:03 -08:00
Blake Kaplan
66163dbe64 Bug 806965 - Initialize new child processes with the current offline state. r=jlebar 2012-11-08 13:09:39 -08:00
Jed Parsons
4db96ce158 Bug 809265 - Update Identity js and jsm modules to use new global object. r=benadida
--HG--
extra : rebase_source : e28a25b4a6556157532bcd082878ae36f6741607
2012-11-08 20:54:13 -05:00
Fabrice Desré
dec47314c2 Bug 804469 - [Marketplace] Installed app can't be removed immediately if it has been executed (need reboot) [r=vingtetun] 2012-11-08 16:53:31 -08:00
Gregor Wagner
d6dabdb958 Bug 809213 - Move PhoneNumber.js from Gaia to Gecko. r=gal 2012-11-08 14:53:44 -08:00
Jan Varga
96013e1347 Bug 809973 - Disable FileHandle in child processes. r=bent 2012-11-08 13:41:23 -08:00
Ehsan Akhgari
1c2b6fe0b3 Bug 806722 - Port indexedDB browser_privateBrowsing.js to the new per-tab PB APIs; r=jdm
--HG--
rename : dom/indexedDB/test/browser_privateBrowsing.js => dom/indexedDB/test/browser_perwindow_privateBrowsing.js
2012-11-08 15:30:48 -05:00
Gabriele Svelto
91897bc0f6 Bug 808756 - Adjust all memory-pressure observers to cope with the new low-memory-no-forward events. r=jlebar 2012-11-08 20:15:23 +01:00
Gabriele Svelto
8a94a72032 Bug 808756 - Introduce a memory-pressure event that is not forwarded by the main process to its children. r=jlebar 2012-11-08 02:07:57 +01:00
David Chan
8edcfe987a Bug 808734 - Fix permissions expansion and add unit test. r=ddahl, r=gwagner 2012-11-06 15:52:13 -08:00
Steven Lee
a84ba6a251 Bug 805478 - NetdClient and VolumeManager inherit MessageLoopForIO::LineWatcher. r=dhylands 2012-11-08 14:35:02 -05:00
Benjamin Chen
c334e43e26 Bug 802564 - Can't set window.location in inline disposition web activity when its App frame is opened. r=fabrice
1. SystemMessageInternal: Handle the "_listeners" correctly by using "manifest" and "winID"
2. SystemMessageManager: Remove cpmm message listerners when receiving "inner-window-destroyed"; Add winID for the reg/unreg message.
3. DOMRequestIpcHelper: Check aTopic in observe method
2012-11-07 10:32:09 +08:00
Andrea Marchesini
848b592697 Bug 796275 - Context menu fires on wrong target out of process. r=cjones 2012-11-08 14:35:02 -05:00
Bobby Holley
c49525b191 Bug 809290 - Tests. r=bz 2012-11-08 08:26:50 -08:00
Bobby Holley
195bcc0e9f Bug 809290 - Fix nsLocation::CheckURL. r=bz 2012-11-08 08:26:49 -08:00
Nathan Froyd
63943e9c43 Bug 803665 - followup - dispense with nsGlobalWindow::{First,Last}Timeout and nsTimeout::{Next,Previous}; r=bz 2012-11-01 10:07:22 -04:00
Nathan Froyd
e9be51deb8 Bug 803665 - convert nsGlobalWindow's timeout list to use mozilla::LinkedList; r=bz 2012-11-01 10:06:22 -04:00
Nathan Froyd
f84b7b466f Bug 803665 - part 0 - make nsTimeout properly initialize its fields; r=bz 2012-11-01 12:27:37 -04:00
Andrea Marchesini
10c8366adf Bug 795930 - Hide ArchiveReader feature behind a pref (disabled by default), r=mounir
--HG--
extra : rebase_source : fc267035c0eb85bb08b9da91bf79ecbb816da1b3
2012-11-08 15:57:17 +00:00
Mounir Lamouri
2c4f8c0fac Backed out changeset 3566ba4296f7 because of wrong bug number.
--HG--
extra : rebase_source : c5d189308a555c7235d6cd405aa44d36c9b7db9a
2012-11-08 15:56:48 +00:00
Andrea Marchesini
2751e6fb32 Bug 809567 - Hide ArchiveReader feature behind a pref (disabled by default), r=mounir 2012-11-08 15:54:26 +00:00
Ehsan Akhgari
19a5f2cb0b Bug 809654 - Implement BiquadFilterNode; r=bzbarsky 2012-11-07 20:59:14 -05:00
Robert O'Callahan
8e76b2dcac Bug 792675. Part 6: Extend createObjectURL to support MediaStreams. r=sicking
--HG--
extra : rebase_source : ffec7b146552362b576e88c6dea24d612a5860b9
2012-09-25 15:24:45 +12:00
Robert O'Callahan
d723594f8f Bug 792675. Part 4: Refactor nsBlobURI/nsBlobProtocolHandler to nsHostObjectURI/nsHostObjectProtocolHandler. r=sicking
The code to handle MediaStream URIs is almost the same as for Blobs, so share it.
nsHostObjectProtocolHandler is modified a bit to simplify method names. Also
we make nsHostObjectProtocolHandler::AddDataEntry take responsibility for
generating the URI to avoid duplicating that code later.
We need separate subclasses for each kind of host object protocol handler,
but we don't need separate subclasses for each kind of host object URI.

--HG--
rename : content/base/public/nsBlobProtocolHandler.h => content/base/public/nsHostObjectProtocolHandler.h
rename : content/base/src/nsBlobProtocolHandler.cpp => content/base/src/nsHostObjectProtocolHandler.cpp
rename : content/base/src/nsBlobURI.cpp => content/base/src/nsHostObjectURI.cpp
rename : content/base/src/nsBlobURI.h => content/base/src/nsHostObjectURI.h
extra : rebase_source : bfb1d7ea2813100a35f9a2054a67584e38f5f330
2012-09-25 15:24:44 +12:00
Robert O'Callahan
cd4b7e8862 Bug 792675. Part 1: Make the URL interface use WebIDL. r=bz
--HG--
extra : rebase_source : dbb7a3158b71446930400ad523a2896b6306de40
2012-09-25 15:24:43 +12:00
Robert O'Callahan
db88f5c454 Bug 792675. Part 0.6: Handle empty dictionary types in WebIDL bindings. r=bz
--HG--
extra : rebase_source : a38a2405d32b76bdef9095398c759346cfc28282
2012-11-07 17:56:55 -05:00
Robert O'Callahan
d4da4172b2 Bug 792765. Part 0.5: Fix WebIDL codegen to avoid emitting QueryInterface when there is no interface prototype object. r=bz
--HG--
extra : rebase_source : 7e1df198548d8a4f1b2f2a045f637412a5fe8450
2012-09-25 15:24:43 +12:00
Ms2ger
1458c5086e Merge backout on a CLOSED TREE. 2012-11-08 09:20:52 +01:00
Ms2ger
e7adc51bbe Bug 809756 - Backout bug 803665, bug 803668, bug 803666 and bug 803669 on a CLOSED TREE. 2012-11-08 09:20:25 +01:00
Edwin Flores
b85a411d66 Bug 798448 - Stop GonkNativeWindow::perform returning an error when the transform is set r=kanru 2012-11-08 17:24:02 +13:00
Chris Jones
8a2473fc33 Bug 806029: Have remote content drop their buffers when they're hidden. r=mattwoodrow sr=roc 2012-11-07 19:51:55 -08:00
Fernando Jiménez
46b2cf4f52 Bug 793192 - MMI Codes: support call forwarding. Part 3 - Tests; r=marshall_law 2012-11-07 14:13:53 -08:00
Fernando Jiménez
cccf6255e0 Bug 793192 - MMI Codes: support call forwarding. Part 2 - RIL. Query CF; r=marshall_law 2012-11-07 14:13:48 -08:00
Fernando Jiménez
c3eae14aa5 Bug 793192 - MMI Codes: support call forwarding. Part 1 - RIL; r=marshall_law sr=sicking 2012-11-07 14:13:43 -08:00
Vincent Chang
614b99c11a Bug 807242 - [Wifi]: onconnected() function is not called when receiving CTRL-EVENT-CONNECTED event. r=mrbkap 2012-11-01 17:07:25 +08:00
Alexandre Poirot
7b545fb55e Bug 796045 - Prepopulate apps cache for specific mozbrowser frames. r=fabrice 2012-11-07 20:48:56 -05:00
Eric Chou
82ffc1cb30 Bug 809538 - refactory and handle no sdcard situation, r=qdot 2012-11-07 17:46:31 -08:00
Ehsan Akhgari
ac35497057 Bug 579517 follow-up: Remove NSPR types that crept in 2012-11-07 20:34:50 -05:00
Gregor Wagner
6e5bca2352 Bug 808327 - [settings] Re-enable security checks for settings. r=bent 2012-11-07 16:54:03 -08:00
Karl Tomlinson
ae9dab3775 disable test for bug 807728 due to win debug failure
--HG--
extra : rebase_source : c72b0814e628a811dfcc48513ab4078123ac279e
2012-11-08 13:12:29 +13:00
Fernando Jiménez
641bdda038 Bug 800511 - Remove redundant validation from navigator.mozPay(); r=fabrice 2012-11-07 16:02:10 -08:00
Gina Yeh
9c284b5416 Bug 809515 - Patch 1: No response when failed to connect to a headset, r=qdot 2012-11-07 15:48:39 -08:00
Blake Kaplan
6cd1a84aa1 Bug 807148 - Rejigger the way that we turn on background scanning. a=gal/vchang 2012-11-05 14:29:07 -08:00
Masatoshi Kimura
97d73c1c4e Bug 801402 - Use FindEncodingForLabel from HTML parser. r=hsivonen 2012-11-07 18:04:22 -05:00
Masatoshi Kimura
7ef7c7a41b Bug 801402 - Make EncodingUtil methods case sensitive. r=hsivonen 2012-11-07 18:04:22 -05:00
Masatoshi Kimura
2d3be47cd4 Bug 801402 - Use FindEncodingForLabel from OS.File. r=sicking 2012-11-07 18:04:21 -05:00
Chuck Lee
cf38dbf413 Bug 786438 - Handle WEP authentication fail. r=mrbkap 2012-11-06 14:08:46 +08:00
Karl Tomlinson
e3c0664238 test for bug 807728
--HG--
extra : transplant_source : Y%9F%88%0CW%10Ko3r%1Ej%C2%D3%237%E5%BFu%B1
2012-11-08 10:15:42 +13:00
Nathan Froyd
3fe7c0dc6e Bug 803665 - followup - dispense with nsGlobalWindow::{First,Last}Timeout and nsTimeout::{Next,Previous}; r=bz 2012-11-01 10:07:22 -04:00
Nathan Froyd
fdfe7bdd60 Bug 803665 - convert nsGlobalWindow's timeout list to use mozilla::LinkedList; r=bz 2012-11-01 10:06:22 -04:00
Nathan Froyd
4f53eee1c0 Bug 803665 - part 0 - make nsTimeout properly initialize its fields; r=bz 2012-11-01 12:27:37 -04:00
Bobby Holley
0d4bc850b4 Bug 808611 - Move valueOf to nsIDOMLocation. r=mrbkap 2012-11-07 08:27:23 -08:00
Anant Narayanan
e207f505f8 Bug 803782: Reset found flag while enumerating audio devices; r=jesup 2012-11-07 08:12:14 -08:00
Anant Narayanan
6d4035604b Revert d2f77172baf2 due to incorrect crashtest 2012-11-07 08:10:36 -08:00
Anant Narayanan
cd9ac34e6f Bug 803782: Reset found flag before enumerating audio devices; r=jesup 2012-11-07 06:51:38 -08:00
Ehsan Akhgari
8426704b9f Bug 809271 - Implement DynamicsCompressorNode; r=bzbarsky 2012-11-06 20:01:11 -05:00
Randell Jesup
1854649bc3 Bug 808002: add missing consts lost in main landing for unreliable data channels r=anant 2012-11-07 14:07:22 -05:00
Yoshi Huang
63cf054108 Bug 807265 - B2G STK: implement RIL_REQUEST_REPORT_STK_SERVICE_IS_RUNNING. r=vicamo 2012-11-05 10:25:54 -08:00
Gina Yeh
a2d719de86 Bug 808879 - Patch 1: Expose connection status for system app, r=qdot, sr=mrbkap 2012-11-07 10:12:41 -08:00
Mounir Lamouri
7805230a8b Bug 795715 - Remove B2G-specific stuff from nsIDOMWindow. r=khuey,fabrice sr=smaug 2012-11-07 18:10:40 +00:00
Shian-Yow Wu
f8b7383acb Bug 809006 - B2G Network Manager: Unable to set default route and DNS when required system properties not available. r=vicamo 2012-11-07 15:12:52 +08:00
Martijn Wargers
c4c48e577b Bug 802312 - test_power_basics.html is failing on b2g mochitest, r=kchen 2012-10-21 05:19:00 -07:00
Mike Habicher
62b39a43c1 Bug 808099 - Write the correct rotational meta-data to the video stream. r=cjones 2012-11-06 22:32:01 -05:00
Ehsan Akhgari
4fcd226fb1 Backed out changeset 5042f0a60460 (bug 805766) on the suspicion of causing bug 808287 2012-11-06 19:54:43 -05:00
Tobias Schneider
d0adae1591 Bug 803124 - Implement mozIsPointInStroke. r=jmuizelaar 2012-10-29 16:54:53 +01:00
Masatoshi Kimura
26caef13f4 Bug 801487 - Fixup imported tests. r=sicking 2012-11-06 18:23:15 -05:00
Masatoshi Kimura
8bc99f9846 Bug 801487 - Import the latest tests from https://code.google.com/p/stringencoding/, part 2. r=sicking 2012-11-06 18:23:14 -05:00
Masatoshi Kimura
611814810f Bug 801487 - Import the latest tests from https://code.google.com/p/stringencoding/. r=sicking 2012-11-06 18:23:14 -05:00
Masatoshi Kimura
84ffa7eecf Bug 801487 - Remove encoding detection using BOM. r=sicking 2012-11-06 18:23:14 -05:00
Masatoshi Kimura
c95b61723c Bug 801487 - Change some exceptions from EncodingError to TypeError. r=sicking 2012-11-06 18:23:14 -05:00
Masatoshi Kimura
32a0cfd0f7 Bug 801487 - Implement ErrorResult::ThrowTypeError. r=bz 2012-11-06 18:23:14 -05:00
Marco Chen
b8d56a5ab9 Bug 791642 - nsIAudioManager: support voice volume. r=philikon
1. Provide api for adjusting volume based on each stream.
  2. Modify settings.js for listening the changing for stream volume.
2012-11-02 17:36:46 +08:00
Andrea Marchesini
427b72affd Bug 781425 - Part 2: getFiles(). r=khuey, r=mounir 2012-11-06 18:23:13 -05:00
Andrea Marchesini
6a0fe78592 Bug 781425 - Part 1: Enconding and dictionary. r=mounir, sr=sicking 2012-11-06 18:23:13 -05:00
Ryan VanderMeulen
23e4ee0b90 Merge m-c to inbound. 2012-11-06 17:32:31 -05:00
Doug Turner
f697ed8276 Backed out changeset 30b340a71112. r=me 2012-11-06 14:31:04 -08:00
Bobby Holley
ce74d3f31d Bug 808612 - Wrapper cache and cycle collect nsLocation. r=smaug 2012-11-06 14:29:09 -08:00
Ed Morley
5aa9b89a9a Bug 696306 - Disable whatwg/test_bug500328.html for too many intermittent failures 2012-11-06 22:26:23 +00:00
Ed Morley
d7a0fc5759 Bug 783913 - Disable test_add_put.html for too many intermittent timeouts 2012-11-06 22:26:02 +00:00
Ed Morley
facd25389a Bug 788164 - Disable test_pointerlock-api.html on Linux for too many intermittent failures 2012-11-06 22:26:02 +00:00
Doug Turner
40c06ebd3f Bug 805965 - Geolocation fix jerks around. r=jdm/bz. a=blocking-basecamp 2012-11-06 12:34:03 -08:00
Doug Turner
1ebe44d099 Backed out changeset 9035907b68ec 2012-11-06 12:45:25 -08:00
Doug Turner
4141c57f56 Bug 805965 - Geolocation fix jerks around. r=jdm/bz. a=blocking-basecamp 2012-11-06 12:34:03 -08:00
Doug Turner
91d22f1a0b Bug 808866 - do not create location providers in child process. r=jdm/amarchesini a=blocking-basecamp 2012-11-06 10:42:27 -08:00
Boris Zbarsky
2e34a9a752 Bug 807222 part 6. Fix getOwnPropertyNames to work correctly on Window. r=jst
One note: it might be better to change the signature of Enumerate() to
indicate whether we're enumerating just the enumerable properties or
all of them, so we can skip doing this when someone does for...in on
the window.
2012-11-01 13:51:57 -04:00
Ehsan Akhgari
3bcb2b8761 Backed out changeset ecf0c2a7cb9f (bug 808876) for build bustage 2012-11-05 22:30:08 -05:00
Ehsan Akhgari
ad84bd3d7f Bug 808876 - Implement PannerNode; r=bzbarsky 2012-11-05 21:14:13 -05:00
Ehsan Akhgari
f824c5dc5e Merge mozilla-central into mozilla-inbound 2012-11-05 21:50:43 -05:00
Ehsan Akhgari
448c1c4497 Bug 808841 - Implement AudioContext.listener; r=bzbarsky 2012-11-05 19:26:03 -05:00
Eric Chou
57002946d6 Bug 808193 - return 'boolean' if PROP_DEVICE_CONNECTED_TYPE is not found, r=qdot 2012-11-05 15:48:34 -08:00
Brad Lassey
180cc08e90 bug 805017 - Disable screen timeout when DOMFullscreen is enabled r=jst 2012-11-01 08:40:11 -04:00
Gregor Wagner
9e00a6fc99 Bug 775997 - Message app crashes when run OOP. Part 1/2. r=bent 2012-11-06 13:29:30 -08:00
David Rajchenbach-Teller
c5b0e90466 Bug 808428 - RuntimeService now calls nsLayoutStatics::AddRef/Release. r=khuey
--HG--
extra : rebase_source : 7bd5b6c7c9ddcb2cb5ec619c18fa1f75c4fb1f15
2012-11-04 23:30:00 -08:00
Andrea Marchesini
af43474fab Bug 793460 - Implement File.lastModifiedDate. r=khuey
--HG--
extra : rebase_source : 6ca1c139896f47de428a430e731d39125a0f0435
2012-11-04 07:19:00 -08:00
Andrew Halberstadt
79979d8ec6 Bug 808783 - Disable failing Mn tests, r=jgriffin 2012-11-06 09:17:39 -08:00
Ehsan Akhgari
5a4f074522 Bug 808876 - Part 1: Implement PannerNode; r=bzbarsky
--HG--
extra : rebase_source : a7b901dcc7758ff9c7a8917a956d0541187fea07
2012-11-05 21:14:13 -05:00
Boris Zbarsky
09c482c38b Bug 804738 part 2. Fix codegen for indexed operations to be consistent about the naming of the index argument. r=peterv 2012-11-06 08:01:49 -08:00
Boris Zbarsky
3ca527fe47 Bug 804738 part 1. Fix codegen for named operations to be consistent about the naming of the string argument. r=peterv 2012-11-06 08:00:57 -08:00
Vladan Djeric
f3f30fb87c Bug 808268 - Report % of dirty keys in a scope during a flush. r=taras 2012-11-05 15:49:38 -05:00
Boris Zbarsky
0483bf931f Bug 806033. Finish getting rid of stray [Infallible] annotation bits. r=khuey 2012-11-05 14:40:33 -05:00
Boris Zbarsky
c9690aeabf Bug 804632. Allow certain reserved words as argument names in WebIDL. r=khuey 2012-11-05 14:40:32 -05:00
Boris Zbarsky
888a7ed3bc Bug 804319. Implement parsing of the "stringifier;" shorthand. r=khuey 2012-11-05 14:40:32 -05:00
Blake Kaplan
3819ba0fef Bug 806611 - Make wpa_supplicant noisy when debug is enabled for wifi. r=vchang
--HG--
extra : rebase_source : 4b6065dbf20d1399474e92a8807f85b0c35fdecf
2012-10-30 17:35:34 -07:00
Blake Kaplan
6d86fa7384 Bug 806611 - Control wifi debug output based on a setting. r=vchang
--HG--
extra : rebase_source : 972a0956b02c7e6312ba0325d8fde1a4ee9a971d
2012-10-29 12:26:55 -07:00
Boris Zbarsky
f8df52c6b0 Bug 804635. Make codegen deal with Document not being an external interface but not available in workers even though XMLHttpRequest (which can return or accept Document) is available there. r=peterv 2012-11-05 11:58:04 -05:00
Boris Zbarsky
bad3a03ce9 Bug 803129. Convert DOMStringMap to WebIDL. r=peterv 2012-11-05 11:58:03 -05:00
Boris Zbarsky
f054cbef56 Bug 803519. Require indexed/named getters if we have creators/deleters/setters. r=peterv 2012-11-05 11:58:03 -05:00
Boris Zbarsky
da22cd5b71 Bug 772869. Make getOwnPropertyNames work correctly for WebIDL proxy bindings. r=peterv,ms2ger 2012-11-05 11:58:03 -05:00
Boris Zbarsky
e0cb69bbd9 Bug 807548. Enumerating an Xray should not see the 'constructor' property on DOM prototypes unless we're told to include non-enumerable properties. r=peterv 2012-11-05 11:58:03 -05:00
Boris Zbarsky
aaed3ec0e2 Bug 803306. Calling a named creator should not define an expando. r=peterv 2012-11-05 11:58:03 -05:00
Boris Zbarsky
42cdade779 Bug 788225. Implement WebIDL deleters. r=peterv 2012-11-05 11:58:02 -05:00
Boris Zbarsky
b953ad4cdd Bug 749866 part 4. Generate slightly better code when we know we're null or undefined. r=khuey 2012-11-05 11:58:02 -05:00
Boris Zbarsky
ddd24cd75e Bug 749866 part 3. Rejigger overload resolution a bit more so we can tell argument conversion that we know the argument is null or undefined. r=khuey 2012-11-05 11:58:02 -05:00