Chia-hung Tai
7556e76ede
Bug 788441: Add alphanumeric parsing. r=vyang
2012-11-13 11:57:25 +08:00
Ryan VanderMeulen
6dd149a122
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
a575c96c5e
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
7627d68c2a
Bug 800915 - Add infrastructure to flag security wrappers as unsafe to unwrap. r=mrbkap
2012-11-12 17:35:32 -08:00
Andrew McCreight
30c7820d71
Bug 792090 - Ignore unused result in CGProxy...PresenceChecker. r=bz
2012-11-12 14:21:46 -08:00
Ryan VanderMeulen
4cbb544d8c
Merge m-c to inbound.
2012-11-12 19:46:27 -05:00
Ms2ger
df39365066
Bug 811068 - Copy ^headers^ file in importTestsuite.py; r=jhammel (DONTBUILD)
2012-11-12 23:20:19 +01:00
Ms2ger
487715ed83
No bug - Add a step I forgot to dom/imptests/README. DONTBUILD
2012-11-12 21:39:10 +01:00
John Schoenick
0641341406
Bug 766886 - Cleanup plugin streams earlier to avoid shutdown leak. r=bsmedberg
2012-11-12 14:11:40 -08:00
Gregor Wagner
b18ac8a615
Bug 811090 - Wrong scope for NSGetFactory. r=khuey
2012-11-12 13:59:30 -08:00
Georg Fritzsche
e2d5724aef
Bug 805330 - Cleanup and attempt to avoid intermittent orange from bug 751809. r=josh
2012-10-29 18:27:32 +01:00
Chuck Lee
0dacd4319c
Bug 736104 - Expose capabilities to DOM. r=mrbkap
2012-11-08 15:32:16 +08:00
Chuck Lee
05127d575c
Bug 736104 - Provide network connection status. r=mrbkap
2012-11-12 10:34:49 +08:00
Chuck Lee
f417bf2f59
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
cf328df38c
Merge m-c to inbound.
2012-11-12 16:49:01 -05:00
Rob Wood
3b0775c9f2
Bug 808783 - Disable crashing telephony test, r=ahal, DONTBUILD a=NPOTB
2012-11-12 08:14:00 -08:00
Ed Morley
8dd1218e6d
Backout 4fce20d0189f (bug 783913) since the later tests still failed
2012-11-12 13:47:33 +00:00
Doug Turner
fe35a75723
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
47fe4611b0
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
c1da212b69
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
451ff8f738
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
bad9a3a462
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
caca0b9c6a
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
d978dad159
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
d89df5af01
Bug 802366 - Epilogue: Remove workaround for bug 802366 in Webapps.jsm. r=sicking
2012-11-10 10:32:37 -08:00
Justin Lebar
68ad9209a9
Bug 802366 - Use TabContext to make IDB handling more correct in TabParent. r=bent
2012-11-10 10:32:37 -08:00
Justin Lebar
e80ccc6058
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
0634f40089
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
f489977ddc
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
1501d1c8ce
Backed out changeset 5054c2552a30 (bug 798033) for b2g bustage.
2012-11-10 11:52:15 -05:00
Matt Joras
cca020df08
Bug 798033 - Removes 'using namespace' from dom headers - r=khuey
2012-11-10 10:45:52 -05:00
Anant Narayanan
280a2ff89b
Bug 810164: Disable bfcache for pages with active PeerConnections; r=smaug,jesup
2012-11-09 21:04:27 -08:00
Ben Turner
3b47df6d3a
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
5df1575537
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
e1bfa6aa62
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
a9dc8e795f
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
260e7b9596
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
e535aa800f
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
c1ee2040f2
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
1199affc60
Bug 802366 - Epilogue: Remove workaround for bug 802366 in Webapps.jsm. r=sicking
2012-11-09 16:37:40 -08:00
Justin Lebar
2b67870785
Bug 802366 - Use TabContext to make IDB handling more correct in TabParent. r=bent
2012-11-09 16:37:40 -08:00
Justin Lebar
37f4a955e5
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
48e9d3ece0
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
868320aa0f
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
6fd1da936b
Backout Bug 810164 due to bustage. r=bustage
2012-11-09 18:04:23 -06:00
Anant Narayanan
3dced6f61a
Bug 810164: Disable bfcache for pages with active PeerConnections; r=smaug,jesup
2012-11-09 15:27:38 -08:00
Kan-Ru Chen (陳侃如)
cbb215838f
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
703e1d9f77
Bug 801402 - Reintroduce x-windows-949 hack. r=hsivonen
2012-11-09 16:00:26 -05:00
Masatoshi Kimura
f43b1eff22
Bug 801402 - Use FindEncodingForLabel from FileReaderSync. r=khuey, r=hsivonen
2012-11-09 16:00:25 -05:00
Peter Van der Beken
1e5f78238f
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
eba8ad5dde
Bug 783630 - Fix bustage on inbound.
2012-11-09 10:23:18 -08:00
Dave Hylands
4dc2dc2e6c
Bug 783630 - Make OOP console logs only show up once in logcat. r=bzbarsky
2012-11-09 09:52:09 -08:00
Boris Zbarsky
722d581206
Bug 809260. Example codegen should include ErrorResult.h in the header. r=mccr8
2012-11-09 08:24:32 -08:00
Boris Zbarsky
03231584a7
Bug 808698. Set up example codegen for proxy bindings to work correctly. r=jst
2012-11-09 08:24:32 -08:00
Boris Zbarsky
3f363542b4
Bug 796983 followup to address peterv's comments. r=presumably-peterv
2012-11-09 08:24:32 -08:00
Boris Zbarsky
cdb20c6607
Bug 805310. Add some documentation for our object-wrapping helpers. r=peterv
2012-11-09 08:24:32 -08:00
Boris Zbarsky
5621c744b0
Bug 807224 followup to address review comments. r=presumably-peterv
2012-11-09 08:24:31 -08:00
Boris Zbarsky
76d46dee13
Bug 807226 part 8. Remove the exceptions for EventHandler in WebIDL codegen. r=smaug
2012-11-09 08:00:25 -08:00
Boris Zbarsky
8ed18e571c
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
17eaeeba36
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
12621beaa4
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
abbd551bfe
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
a047fe98ed
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
6ac6b2b6fd
Bug 807226 part 2. Change event handlers to store WebIDL callback functions. r=smaug
2012-11-09 08:00:25 -08:00
Boris Zbarsky
80ce9e7dce
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
1dfb1af14b
Bug 807224. Implement native-to-JS conversion for WebIDL unions. r=peterv
2012-11-09 07:59:33 -08:00
Boris Zbarsky
f01c979296
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
6d7bbe9aed
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
abdb1e731e
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
d745a9276e
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
dcaa56d321
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
7e2dca188e
Bug 779048 part 6. Handling of return values for callbacks. r=peterv
2012-11-09 07:43:58 -08:00
Boris Zbarsky
f7b9a5bdea
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
01c98be853
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
cba09556db
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
7bd6f6912f
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
b01e12f509
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
ffdef1ff6b
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
602f1aa144
Bug 809882 - Disallow non-positive arguments to AudioContext.createDelay; r=bzbarsky
2012-11-08 13:17:22 -05:00
Marco Bonardo
dd1dc9fc79
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
bd227d01e5
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
75b79a780d
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
1f30634052
Bug 809288 - nsGeolocationService GetInstance / GetGeolocationService inconsistencies. r=mrbkap a=blocking-basecamp
2012-11-08 15:36:50 -08:00
Doug Turner
43cf6ca441
Bug 805965 - Geolocation fix jerks around. r=jdm/bz. a=blocking-basecamp
2012-11-06 12:34:03 -08:00
Blake Kaplan
b8fa44f95c
Bug 806965 - Initialize new child processes with the current offline state. r=jlebar
2012-11-08 13:09:39 -08:00
Jed Parsons
8a1dc751ec
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é
59fd73fd50
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
37f4140067
Bug 809213 - Move PhoneNumber.js from Gaia to Gecko. r=gal
2012-11-08 14:53:44 -08:00
Jan Varga
437ca2a337
Bug 809973 - Disable FileHandle in child processes. r=bent
2012-11-08 13:41:23 -08:00
Ehsan Akhgari
d7ef991dc2
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
80b4b199e5
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
bea65ae7da
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
062c862d47
Bug 808734 - Fix permissions expansion and add unit test. r=ddahl, r=gwagner
2012-11-06 15:52:13 -08:00
Steven Lee
b0aa31a99b
Bug 805478 - NetdClient and VolumeManager inherit MessageLoopForIO::LineWatcher. r=dhylands
2012-11-08 14:35:02 -05:00
Benjamin Chen
7fbd972549
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
d2e9fb6a55
Bug 796275 - Context menu fires on wrong target out of process. r=cjones
2012-11-08 14:35:02 -05:00
Bobby Holley
2b8c345ee2
Bug 809290 - Tests. r=bz
2012-11-08 08:26:50 -08:00
Bobby Holley
2c0fa15194
Bug 809290 - Fix nsLocation::CheckURL. r=bz
2012-11-08 08:26:49 -08:00
Nathan Froyd
b242110f28
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
dd23c0243a
Bug 803665 - convert nsGlobalWindow's timeout list to use mozilla::LinkedList; r=bz
2012-11-01 10:06:22 -04:00