Andrew McCreight
8c7f8d54c8
Bug 814738 - Modernize Traverse for nsTObserverArray. r=smaug
2012-11-23 11:13:39 -08:00
Tim Taubert
c11afbf4ac
Bug 813277 - Unable to long-tap hold on the home-screen to invoke the wallpaper menu r=smaug
2012-11-26 19:13:53 +01:00
Benoit Jacob
97c1c2f31c
Bug 814444 - Remove now-useless TRAVERSE_NATIVE_BEGIN and UNLINK_BEGIN_NATIVE macros - r=mccr8
2012-11-22 12:15:38 -05:00
Boris Zbarsky
cb47226364
Bug 812744 part 2. Use the document scope object, not the script global, to find the JSObject to use as a scope when creating event handlers. r=smaug
...
Anoother option would be to just explicitly wrap the node and use that, for what it's worth. That wouldn't give us an nsIScriptContext, though.
2012-11-21 11:19:03 -05:00
Ryan VanderMeulen
4b287535f2
Backed out changesets 1a8b11ae0f4b, e02a02fd1208 (bug 776443), 86a3edf2960d (bug 812392), 26c59f23fd8f, and 288c74d7f87d (bug 812744) for mochitest orange.
...
CLOSED TREE
2012-11-21 12:47:40 -05:00
Boris Zbarsky
a083c10a47
Bug 812744 part 2. Use the document scope object, not the script global, to find the JSObject to use as a scope when creating event handlers. r=smaug
...
Anoother option would be to just explicitly wrap the node and use that, for what it's worth. That wouldn't give us an nsIScriptContext, though.
2012-11-21 11:19:03 -05:00
Alexander Surkov
45a8eba52d
Bug 813008 - get rid nsEventStateManager::IsHandlingUserInputExternal, r=tbsaunde, smaug
2012-11-21 14:25:20 +09:00
Masayuki Nakano
61c782cf5e
Bug 812427 part.3 Remove NS_POPUP_EVENT r=roc+smaug
2012-11-20 15:05:56 +09:00
Masayuki Nakano
bc39d12867
Bug 812427 part.2 Make event struct type named enumeration r=roc+smaug
2012-11-20 15:05:56 +09:00
Zack Weinberg
c38d90c9e6
Bug 663291: Improve the SpecialPowers and SimpleTest APIs to make it easier to write mochitests that look at error console output. Update all tests that were using ad-hoc console inspection or the old SimpleTest console handler API. r=ted
2012-11-16 21:53:32 -05:00
Ryan VanderMeulen
2621afbb4e
Backed out changesets b242651c3c1b (bug 229827), b36eaac9ecf8, and 40f38a8aa660 (bug 663291) for mochitest-3/4 failures.
...
CLOSED TREE
2012-11-16 16:59:38 -05:00
Zack Weinberg
8d246d6c65
Bug 663291: Improve the SpecialPowers and SimpleTest APIs to make it easier to write mochitests that look at error console output. Update all tests that were using ad-hoc console inspection or the old SimpleTest console handler API. r=ted
...
--HG--
extra : rebase_source : 013c6031577f88a764fecee9750ee890b45d1181
2012-11-16 15:29:21 -05:00
Jim Chen
dcfc90091c
Bug 808287 - Make sure focus and blur IME notifications always match; r=masayuki
2012-11-16 11:43:04 -05:00
Ed Morley
28ef3f27d7
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-11-15 16:17:36 +00:00
Olli Pettay
bd393f0158
Bug 656311 - Remove XML Events, r=bz
2012-11-15 14:29:58 +02:00
Ryan VanderMeulen
1efc9eec06
Merge the last PGO-green inbound changeset to m-c.
2012-11-14 21:43:07 -05:00
Olli Pettay
c0bc70ee84
Bug 800947, check the existence of widget only when the event is actually nsGUIEvent, r=bz
2012-11-14 19:45:04 +02:00
Boris Zbarsky
b8c79fd938
Bug 809765. Match the HTML spec in terms of which event handler attributes are compiled on which elements. r=smaug
2012-11-14 10:05:41 -08:00
Bobby Holley
a75f5ca4d9
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-14 09:56:26 -08:00
Benoit Jacob
5a8b82a1cb
Bug 807437 - Eliminate redundant Traverse/Unlink CC macros - part 1: automatic changes - r=mccr8
2012-11-15 02:32:40 -05:00
Benoit Jacob
f4c1a03e74
Bug 806279 - CC macros refactoring: part 3: fold the TRAVERSE_NATIVE and AMBIGUOUS cases - r=mccr8,smaug
2012-11-15 02:32:39 -05:00
Masayuki Nakano
0204baf1a2
Bug 808287 nsTextStateManager shouldn't notify widget of selection changes and text changes after IME loses focus r=smaug
2012-11-13 10:20:40 +09:00
Ehsan Akhgari
22b28dbc2f
Merge mozilla-central into mozilla-inbound
2012-11-14 17:51:31 -08:00
Masayuki Nakano
c2ec08b400
Bug 805767 part.1 nsTextStateManager should use nsIWidget::GetIMEUpdatePreference() instead of the result of nsIWidget::OnIMEFocusChange() r=smaug
2012-11-13 22:04:44 +09: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
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
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
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
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
919e69b93a
Bug 807226 part 1. Make it easier to do special things with beforeunload and error events as needed. r=smaug
2012-11-09 08:00:24 -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
Mounir Lamouri
e021a7f583
Bug 737786 - 2/5 - Use a pseudo-element instead of a pseudo-class for placeholder styling. r=bz
2012-11-09 10:24:23 +00:00
Masayuki Nakano
a33c1f5ebe
Bug 806996 part.6 Test if nsIWidget::OnIMEFocusChange() is called by nsTextStateManager properly r=smaug
2012-11-09 17:40:40 +09:00
Masayuki Nakano
a05c554ff9
Bug 806996 part.4 Make sure to recreate nsTextStateManager instance in OnFocusInEditor() and UpdateIMEState() if the focused editor isn't being managed r=smaug
2012-11-09 17:40:39 +09:00
Masayuki Nakano
a14ce85e28
Bug 806996 part.3 Make sure to call nsIWidget::OnIMEFocusChange(false) at destroying nsTextStateManager instance only once per calling nsIWidget::OnIMEFocusChange(true) r=smaug
2012-11-09 17:40:39 +09:00
Masayuki Nakano
9691011b6a
Bug 806996 part.2 nsTextStateManager::IsManaging() should check if mRootContent is still in the mEditableNode r=smaug
2012-11-09 17:40:39 +09:00
Masayuki Nakano
6f952a8e02
Bug 806996 part.1 Remove nsTextStateManager::mDestroying r=smaug
2012-11-09 17:40:39 +09:00
Ehsan Akhgari
070bacd10a
Bug 579517 follow-up: Remove NSPR types that crept in
2012-11-07 20:34:50 -05:00
Mounir Lamouri
ee75905110
Bug 795715 - Remove B2G-specific stuff from nsIDOMWindow. r=khuey,fabrice sr=smaug
2012-11-07 18:10:40 +00:00
Olli Pettay
a201d0a2c6
Bug 805749, validate the view parameter of initUIEvent, r=jst
2012-11-05 10:59:12 +02:00
Olli Pettay
d0a8a75542
Bug 779306 - Wildcard for 'all events', nsIEventListenerService.addListenerForAllEvents(target, listener), r=jst
2012-11-01 13:42:29 +01:00
Justin Lebar
c001680f59
Backed out changeset a6a847452dbf (bug 802366)
2012-10-30 21:36:29 -04:00
Masayuki Nakano
4b818b7598
Bug 801101 Allow to scoll over one page scroll with mouse wheel if delta mulitipliers are large enough r=smaug
2012-10-31 08:22:23 +09:00
Masayuki Nakano
e33e735f92
Bug 805357 part.2 Get rid of NS_SUCCESS_IME_NO_UPDATES since OnIMEFocusChange(false) is always called r=roc
2012-10-31 08:22:23 +09:00
Masayuki Nakano
683e1373fd
Bug 805357 part.1 nsIMEStateManager should always call nsIWidget::OnIMEFocusChange(false) when our editor loses focus r=smaug
2012-10-31 08:22:22 +09:00
Justin Lebar
df1f088009
Bug 802366 - The main event: Let a browser process inherit its app's id. r=bz,cjones DONTBUILD
...
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.
(Re-landing changeset a6a847452dbf, backed out in 5091aa6083c4, because it was originally landed with the incorrect bug number.)
2012-10-30 16:13:21 -04:00