Justin Lebar
d91b7132e1
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
d593f7da26
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
30d168a3da
Backed out changeset 5054c2552a30 (bug 798033) for b2g bustage.
2012-11-10 11:52:15 -05:00
Matt Joras
80ff2e8190
Bug 798033 - Removes 'using namespace' from dom headers - r=khuey
2012-11-10 10:45:52 -05:00
Anant Narayanan
d2c4f66e1e
Bug 810164: Disable bfcache for pages with active PeerConnections; r=smaug,jesup
2012-11-09 21:04:27 -08:00
Ben Turner
27072c3f92
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
266e0bab6c
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
8e0cd86d07
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
3eff16d324
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
76ee0cbc36
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
dd5651dec8
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
a6df4bf0b0
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
b4107d842d
Bug 802366 - Epilogue: Remove workaround for bug 802366 in Webapps.jsm. r=sicking
2012-11-09 16:37:40 -08:00
Justin Lebar
3b888eceb7
Bug 802366 - Use TabContext to make IDB handling more correct in TabParent. r=bent
2012-11-09 16:37:40 -08:00
Justin Lebar
785d3c9b2f
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
46ec89c38b
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
a24ca4c15b
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
10f2624748
Backout Bug 810164 due to bustage. r=bustage
2012-11-09 18:04:23 -06:00
Anant Narayanan
6517e45991
Bug 810164: Disable bfcache for pages with active PeerConnections; r=smaug,jesup
2012-11-09 15:27:38 -08:00
Kan-Ru Chen (陳侃如)
992f15a60c
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
202ef70d50
Bug 801402 - Reintroduce x-windows-949 hack. r=hsivonen
2012-11-09 16:00:26 -05:00
Masatoshi Kimura
d8a5ab8510
Bug 801402 - Use FindEncodingForLabel from FileReaderSync. r=khuey, r=hsivonen
2012-11-09 16:00:25 -05:00
Peter Van der Beken
4b67a43418
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
9692ffc9b8
Bug 783630 - Fix bustage on inbound.
2012-11-09 10:23:18 -08:00
Dave Hylands
517cf42c43
Bug 783630 - Make OOP console logs only show up once in logcat. r=bzbarsky
2012-11-09 09:52:09 -08:00
Boris Zbarsky
dd34c2210e
Bug 809260. Example codegen should include ErrorResult.h in the header. r=mccr8
2012-11-09 08:24:32 -08:00
Boris Zbarsky
b1b218160a
Bug 808698. Set up example codegen for proxy bindings to work correctly. r=jst
2012-11-09 08:24:32 -08:00
Boris Zbarsky
8d6ac8d253
Bug 796983 followup to address peterv's comments. r=presumably-peterv
2012-11-09 08:24:32 -08:00
Boris Zbarsky
c366dccf9b
Bug 805310. Add some documentation for our object-wrapping helpers. r=peterv
2012-11-09 08:24:32 -08:00
Boris Zbarsky
7ef67e09cd
Bug 807224 followup to address review comments. r=presumably-peterv
2012-11-09 08:24:31 -08:00
Boris Zbarsky
a6d1aea15e
Bug 807226 part 8. Remove the exceptions for EventHandler in WebIDL codegen. r=smaug
2012-11-09 08:00:25 -08:00
Boris Zbarsky
4e328798b1
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
3e87d4c861
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
700dc9227b
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
9cd29d2f98
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
6d79ee82a3
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
beb6a36d0f
Bug 807226 part 2. Change event handlers to store WebIDL callback functions. r=smaug
2012-11-09 08:00:25 -08:00
Boris Zbarsky
30a5c69587
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
529460c9c6
Bug 807224. Implement native-to-JS conversion for WebIDL unions. r=peterv
2012-11-09 07:59:33 -08:00
Boris Zbarsky
969b8c6b33
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
d8fee95886
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
c2e7420950
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
272331140d
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
a4a4a10299
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
1649f6c386
Bug 779048 part 6. Handling of return values for callbacks. r=peterv
2012-11-09 07:43:58 -08:00
Boris Zbarsky
4779ff59ef
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
7752f218bb
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
a04350646a
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
c238a8e902
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
05e4e3b75a
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