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
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
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
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
3fff1fa34b
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
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
Mounir Lamouri
58aa0a96d8
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
85e4e24816
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
7ae8174ff1
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
20ea1ebbf7
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
2a122ad59f
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
305c137140
Bug 806996 part.1 Remove nsTextStateManager::mDestroying r=smaug
2012-11-09 17:40:39 +09:00
Ehsan Akhgari
ac35497057
Bug 579517 follow-up: Remove NSPR types that crept in
2012-11-07 20:34:50 -05: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
Olli Pettay
fde2f7a7f4
Bug 805749, validate the view parameter of initUIEvent, r=jst
2012-11-05 10:59:12 +02:00
Olli Pettay
05782f593d
Bug 779306 - Wildcard for 'all events', nsIEventListenerService.addListenerForAllEvents(target, listener), r=jst
2012-11-01 13:42:29 +01:00
Justin Lebar
d75eb03310
Backed out changeset a6a847452dbf (bug 802366)
2012-10-30 21:36:29 -04:00
Masayuki Nakano
8c03368fdb
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
8ecdaabd92
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
36985553ef
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
7e748f5b3a
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
Justin Lebar
6bd563b2ee
Backed out changeset a6a847452dbf due to incorrect bug number (should be bug 802366, but was bug 802367). DONTBUILD
2012-10-30 16:13:20 -04:00
Justin Lebar
c936f604ec
Bug 802367 - 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.
--HG--
extra : rebase_source : f3ef9475e21204da10bf39c6cca506bc08096949
2012-10-30 15:55:05 -04:00
Jacek Szpot
0b35b0e3d8
Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan
2012-10-26 15:32:10 +02:00
Mats Palmgren
ab048c47bd
Bug 804486 - Tweak a few scrolling tests that makes the assumption that a horizontal "line" scroll scrolls the same amount of pixels as a vertical line scroll. r=roc
2012-10-29 06:44:31 +01:00
Mats Palmgren
cbfa147ac8
Bug 804486 - Add toolkit.scrollbox.horizontalScrollDistance pref, default 5. Change horizontal scroll increment from 10px to horizontalScrollDistance * GetLineScrollAmount().width(). Make GetLineScrollAmount() use the font's AveCharWidth() for the horizontal amount rather than MaxHeight(). r=roc
2012-10-29 06:44:31 +01:00
Robert O'Callahan
443a476988
Bug 805730. Convert HasListenerFor(nsAString) callers to HasListenerFor(nsIAtom*), which is more efficient. r=smaug
...
--HG--
extra : rebase_source : fb0e607b8a1edcbced75b96e0aefcc626a4f436b
2012-10-29 17:33:51 +13:00
Masayuki Nakano
d76bb01beb
Bug 801989 part.1 Add mNativeIMEContext to InputContext and TextComposition should use it instead of nsIWidget r=smaug, sr=roc
2012-10-27 08:35:20 +09:00
Masayuki Nakano
072949e794
Bug 805306 Get rid of nsIMEStateManager::OnTextStateBlur() and nsIMEStateManager::OnTextStateFocus() r=smaug
2012-10-26 09:49:13 +09:00
Nikhil Marathe
36f99c3113
Bug 804174 - Inline IsCallerTrustedForWrite with IsCallerChrome. r=mccr8
2012-10-25 16:10:54 -07:00
Nikhil Marathe
17ccba841b
Bug 804174 - Inline IsCallerTrustedForRead with IsCallerChrome. r=mccr8
2012-10-25 16:10:53 -07:00
Nikhil Marathe
453b3dce5f
Bug 804174 - Inline CallerHasUniversalXPConnect with IsCallerChrome. r=mccr8
2012-10-25 16:10:53 -07:00
Jim Mathies
ae9b1663ef
Bug 798821 - On Windows, restrict enabling of W3C touch interfaces to devices that support touch input. Also convert touch pref to 3-state value. r=bsmedberg
2012-10-25 09:57:51 -05:00
Mook
265cffd198
bug 782549 - check if the window has device sensor listeners, instead of global listener count (r=dougt)
2012-10-20 21:40:56 -07:00
Chuck Lee
ddac623d6a
Bug 780142 - Rewrite MozWifiConnectionInfoEvent. r=smaug
2012-10-22 18:18:26 +08:00
Chuck Lee
a7168749c9
Bug 780142 - Rewrite WifiStatusChangeEvent. r=smaug
2012-10-22 17:17:18 +08:00
Robert O'Callahan
4fa3b26bd8
Bug 800859. Part 3: Dispatch MozAfterPaint after we've done the COMPOSITE step for the invalidations recorded in the event. r=mattwoodrow
...
--HG--
extra : rebase_source : 7a204c0930e7a2a35ad99af79d28ebba56f034fe
2012-10-19 17:50:34 +13:00
Bobby Holley
cbd9a55d15
Bug 789224 - Remove miscellaneous UniversalXPConnect checks sprinkled throughout gecko. r=mrbkap
2012-10-22 08:29:55 +02:00
Peter Van der Beken
0fca6b2112
Fix for bug 801083 (Remove old proxy-based list bindings). r=bz.
2012-10-13 14:50:24 +02:00
Masayuki Nakano
68b60c3277
Bug 802896 nsIMEStateManager should use nsPresContext::GetNearestWidget() instead of its GetWidget() r=smaug
2012-10-17 16:50:24 +09:00
Jim Chen
b86ebcb4f0
Bug 792928 - Don't select entire text when event offsets are out of bounds; r=masayuki
2012-10-19 14:45:54 -04:00
Peter Van der Beken
57adeb4354
Fix for bug 773780 (Add API for new DOM bindings for Node). r=bz.
...
--HG--
extra : rebase_source : 5dd51c4ad5274da9235c8c341b0531f234e95a91
2012-10-09 14:31:24 +02:00
Masayuki Nakano
0cfc89daef
Bug 705057 part.4 Emulate the behavior of nsIWidget::ResetInputState() and nsIWidget::CancelIMEComposition() if the composition is synthesized r=smaug+roc, sr=roc
2012-09-26 14:47:51 +09:00
Masayuki Nakano
d03c724521
Bug 705057 part.3 XP level code shouldn't call nsIWidget::ResetInputState() and nsIWidget::CancelIMEComposition() directly r=smaug+ehsan
2012-09-26 14:47:51 +09:00
Masayuki Nakano
680159333c
Bug 705057 part.2 Dispatch composition events on removed content for canceling the composition if widget's IME APIs don't work r=smaug
2012-09-26 14:47:51 +09:00
Masayuki Nakano
8217ef94b6
Bug 705057 part.1 Ensure a set of composition events is fired on same content r=smaug
2012-09-26 14:47:45 +09:00