Commit Graph

15488 Commits

Author SHA1 Message Date
Robert O'Callahan
5d1fd00ffe Bug 829557. Part 1: When calling into plugin code, identify situations where it is safe (or unsafe) to reenter Gecko from plugin code. r=bsmedberg
When Gecko is reentered from unsafe call sites, we allow the reentry, but we
suppress execution of the refresh driver to minimize the danger.
In this patch, we treat all sites as unsafe.

--HG--
extra : rebase_source : 0730f41c9158c868ed4ffcba74ff77abbfebc2cd
2013-02-28 00:50:27 +13:00
Fernando Jiménez
7c1d8c503a Bug 844243 - Installing a packaged app in which the mini-manifest app name is different than the webapp manifest app name is allowed, but should not be; r=fabrice 2013-02-27 12:39:15 +01:00
Ed Morley
e7a9a5a6da Merge mozilla-central to mozilla-inbound 2013-02-27 11:07:25 +00:00
Phil Ringnalda
a4168e26ab Merge m-c to fx-team 2013-02-26 14:32:37 -08:00
Ehsan Akhgari
e844e1acf3 Bug 844169 - Part 1: Rename nsHTMLIFrameElement to mozilla::dom::HTMLIFrameElement; r=bzbarsky
--HG--
rename : content/html/content/src/nsHTMLIFrameElement.cpp => content/html/content/src/HTMLIFrameElement.cpp
rename : content/html/content/src/nsHTMLIFrameElement.h => content/html/content/src/HTMLIFrameElement.h
extra : rebase_source : 67c393954a0c46f80b8729277504e9ced5c64d33
2013-02-22 19:59:26 -05:00
Peter Van der Beken
07afde82fb Fix for bug 844559 (Crash [@ mozilla::dom::XrayResolveNativeProperty]). r=bz.
--HG--
extra : rebase_source : 85b3d0ee270f24847b9425cda9f8b56a494f2546
2013-02-25 20:39:15 +01:00
Fernando Jiménez
f97846302c Bug 809219 - [WebPayment] mozPay unit tests; r=fabrice 2013-02-25 13:12:44 +01:00
Gina Yeh
b8ae65cf9e Bug 844705 - Should send socket data in main thread, r=echou 2013-02-25 18:49:18 +08:00
Vicamo Yang
752bad00e6 Bug 840780 (follow-up): fix nits. r=me 2013-02-25 17:36:05 +08:00
Siddartha Pothapragada
cbfe3f7459 Bug 840780 3/3 - B2G RIL: Add support to manage and access logical channels to UICC. r=vicamo 2013-02-25 17:27:26 +08:00
Siddartha Pothapragada
71525c8deb Bug 840780 2/3 - DOM changes to IccManager to support Secure Access to the UICC. r=vicamo 2013-02-25 17:27:23 +08:00
Siddartha Pothapragada
aaf8d1d374 Bug 840780 1/3 - New interfaces to access Secure element within UICC. r=mounir 2013-02-25 17:27:18 +08:00
L. David Baron
ca1bc93d5f Bug 842476: Work around leak resulting from exception that happens during unload by propagating only the prompts we expect and not the later ones. r=jlebar
Make this test less sensitive to the timing of its own unloading by
passing on only the expected messages and not any messages that occur
during unloading.  Such messages might cause exceptions (e.g.,
"'TypeError: can't access dead object' when calling method:
[nsIPrompt::alert]"), and those exceptions might in turn trigger leaks
in nsXPConnect that last until shutdown because we store the most recent
exception from a call to an XPCWrappedJS on the XPCJSRuntime through
shutdown (rather than reporting it, as we probably should, and then
freeing it), leaking the window.
2013-02-24 23:42:38 -08:00
Gina Yeh
ebe9a6d53b Bug 844707 - Fix warnings in debug build, r=echou 2013-02-25 15:04:38 +08:00
Chia-hung Tai
e07370ca5d Bug 810067 - Support automatic/manual/never retrieval modes. r=vyang 2013-02-25 14:08:23 +08:00
Tim Taubert
69f42d1be4 Bug 845010 - turn nsIDOMWindowUtils.getScrollbarWidth() into .getScrollbarSize(); r=roc
--HG--
rename : dom/tests/mochitest/general/file_domWindowUtils_scrollbarWidth.html => dom/tests/mochitest/general/file_domWindowUtils_scrollbarSize.html
rename : dom/tests/mochitest/general/test_domWindowUtils_scrollbarWidth.html => dom/tests/mochitest/general/test_domWindowUtils_scrollbarSize.html
2013-02-25 23:13:36 +01:00
Gina Yeh
ee53812c34 Bug 830551 - Send file-transfer-complete message after receiving unexpected response code from remote, r=echou 2013-02-25 12:40:31 +08:00
Reuben Morais
012b7c3066 Bug 844274 - Move contacts API getAll cache to child process. r=sicking 2013-02-24 19:53:55 -08:00
Boris Zbarsky
1f78cb5845 Bug 844322. Make plug-in getters and setters JSPROP_SHARED so they don't get shadowed by expandos on the DOM nodes. r=jst 2013-02-24 22:40:42 -05:00
Ryan VanderMeulen
644deb6ac0 Backed out changeset b7473553fea1 (bug 844530) for B2G test bustage on a CLOSED TREE. 2013-02-27 15:40:15 -05:00
Randell Jesup
d18bc2cc14 Bug 843971: Add MediaManager function to report what a window is capturing r=smaug 2013-02-27 15:36:06 -05:00
David Dahl
bf359eeabb Bug 673432 - Implement window.crypto.getRandomValues for FirefoxOS r=khuey 2013-02-27 14:31:19 -06:00
Justin Lebar
426bd4f169 Bug 844530 - Paper over error in BrowserElementPromptService.jsm on B2G. r=khuey
The error we're fixing is

  E/GeckoConsole(  397): [JavaScript Error: "NS_ERROR_FACTORY_NOT_REGISTERED: Component returned failure code: 0x80040154 (NS_ERROR_FACTORY_NOT_REGISTERED)
  [nsIComponentManager.getClassObject]" {file: "resource://gre/modules/BrowserElementPromptService.jsm" line: 572}]

For some reason, we're running code before the vanilla prompt service is
instantiated.  We don't know why this is happening, but this patch works
around the problem on B2G, which is the only place where we ship this
code.
2013-02-27 14:39:57 -05:00
Justin Lebar
5386132d2f Bug 844970 - Use a grace period for all process priority downgrades. r=cjones 2013-02-27 14:28:57 -05:00
L. David Baron
d062798712 Bug 404077: Adjust annotations of expected assertions. 2013-02-27 10:37:19 -08:00
Chuck Lee
8aaf150bb4 Bug 830264 - 0006. Send CDMA SMS. r=vicamo 2013-02-22 18:01:28 +08:00
Chuck Lee
0621c0a1be Bug 830264 - 0005. Receive CDMA SMS. r=vicamo 2013-02-25 18:43:42 +08:00
Chuck Lee
ab8226bf63 Bug 830264 - 0004. Refactory GSM SMS flow. r=vicamo 2013-02-25 18:43:41 +08:00
Chuck Lee
07fe4a4fd8 Bug 830264 - 0003. Add CDMA PDU helper. r=vicamo 2013-02-25 18:43:39 +08:00
Chuck Lee
145a1e4cef Bug 830264 - 0002. Add buffer with bitwise read/write capability. r=vicamo 2013-02-25 18:43:37 +08:00
Chuck Lee
eca49807dd Bug 830264 - 0001. Add constants for CDMA SMS. r=vicamo 2013-02-25 18:43:36 +08:00
Jose Antonio Olivera Ortega
f7f5283134 Bug 837755 - [b2g-ril] SIM is being reported as 'absent' when airplane mode is on. r=qDot 2013-02-27 16:57:51 +01:00
Mounir Lamouri
3d31cd2ab1 No Bug - Backout bug 375008 (6c59b73c8c4b) and re-enable test_focus.xul. r=distress 2013-02-27 15:53:41 +00:00
Mounir Lamouri
fad95dafcd No bug - Disable test_focus.xul to fix broken test. r=me 2013-02-27 15:46:39 +00:00
Ehsan Akhgari
d54e129c53 Bug 844169 - Part 3: Make sure that all callers of HTMLIFrameElement.mozbrowser have chrome privileges; r=bzbarsky 2013-02-26 21:26:10 -05:00
Masatoshi Kimura
6224f2c3ba Bug 845743 - Support Big5-HKSCS as a separate encoding again. r=smontagu 2013-02-28 00:28:54 +09:00
Pranav Ravichandran
242d2bcf74 Bug 836816 - WebIDL parser should enforce spec restrictions on dictionary member types. r=bzbarsky 2013-02-27 09:55:56 -05:00
Markus Stange
a5307d1c97 Bug 845595 - Make nsIDOMWindowUtils::selectAtPoint coordinates relative to the DWU's document. r=jimm 2013-02-27 15:12:39 +01:00
Phil Ringnalda
cd3ba96b65 Back out cd8481cc4a32 (bug 784812) for make check failures 2013-02-24 14:10:48 -08:00
Kyle Huey
63884b088c Bug 784812: Implement real dependencies for WebIDL bindings. r=bz,ted CLOSED TREE 2013-02-24 12:36:44 -08:00
Kyle Huey
41104cbff1 Backed out changeset a71766c2c85d 2013-02-24 12:33:36 -08:00
Kyle Huey
75d88ff353 Bug 784812: Implement real dependencies for WebIDL bindings. r=bz,ted 2013-02-24 12:03:03 -08:00
Mike de Boer
83c0cc3803 Bug 845022 - Remove outdated links from about:plugins. r=dolske
DONTBUILD
2013-02-26 16:54:54 +01:00
L. David Baron
601c2f62da Bug 404077: Adjust annotations of expected assertions. CLOSED TREE 2013-02-27 18:46:42 -08:00
L. David Baron
31c36af539 Bug 404077: Adjust annotations of expected assertions. CLOSED TREE 2013-02-27 18:12:17 -08:00
Brian Smith
0dfe716a1d Bug 841477: Fix build bustage in the case MOZ_CRASHREPORTER_INJECTOR not being defined, rs=dholbert
--HG--
extra : rebase_source : bb2b4777d6b45bad6b856e23d21f71117e1b9381
2013-02-27 17:25:38 -08:00
Chris Pearce
688097f4ee Bug 843849 - Adjust expected assertion counts for fullscreen assertions. r=dbaron 2013-02-28 13:54:14 +13:00
L. David Baron
9c419647f8 Bug 404077: Adjust annotations of expected assertions. 2013-02-27 15:36:14 -08:00
Chris Pearce
dcf2d17b8e Bug 843849 - Make DOM/HTML fullscreen API work in Metrofox. r=bz,jimm 2013-02-28 12:28:27 +13:00
Jonathan Griffin
2f8917b76f Bug 831367 - Simplify SpecialPowersAPI.bindDOMWindowUtils(), r=ted 2013-02-22 14:18:38 -08:00
William Chen
481e5099f6 Bug 837352 - Don't generate dictionary code in WebIDL unless used in generated code. r=bz 2013-02-25 09:20:49 -08:00
Bobby Holley
07f2fa5d3f Bug 843711 - Fix up new |Components| culprits in test suite. r=mccr8 2013-02-25 10:43:03 -08:00
Kyle Huey
2c8d7046c5 Bug 784812: Implement real dependencies for WebIDL bindings. r=bz,ted 2013-02-24 12:36:44 -08:00
Marco Chen
9f4e046846 Bug 836655 - Modify unit test for adapting change in this bug. r=baku 2013-02-25 16:55:24 +08:00
Marco Chen
955b99f7b6 Bug 836655 - [Audio] To remove ChildID if there is no content channel playing in foreground. And only send audio-channel-changed with normal when ChildID in the background has content channel in playing state. r=baku 2013-02-25 16:54:07 +08:00
Henri Sivonen
5dabdddc3c Bug 844792 - Warn about the upcoming removal of multipart support in XHR. r=smaug. 2013-02-25 17:12:13 +02:00
Justin Lebar
be135da77c Bug 844530 - Paper over error in BrowserElementPromptService.jsm on B2G. r=khuey
The error we're fixing is

  E/GeckoConsole(  397): [JavaScript Error: "NS_ERROR_FACTORY_NOT_REGISTERED: Component returned failure code: 0x80040154 (NS_ERROR_FACTORY_NOT_REGISTERED)
  [nsIComponentManager.getClassObject]" {file: "resource://gre/modules/BrowserElementPromptService.jsm" line: 572}]

For some reason, we're running code before the vanilla prompt service is
instantiated.  We don't know why this is happening, but this patch works
around the problem on B2G, which is the only place where we ship this
code.
2013-02-27 16:13:42 -05:00
Masatoshi Kimura
644064b7fe Bug 841477 - Enable FAIL_ON_WARNINGS on MSVC in dom/plugins. r=benjamin 2013-02-28 07:44:52 +09:00
Ryan VanderMeulen
9f8f095966 Backed out changeset c6c6535fb6c2 (bug 844530) for Marionette failures on a CLOSED TREE. 2013-02-27 17:32:56 -05:00
Gene Lian
eb788b3c18 Bug 839436 - B2G MMS: make DB be able to save MMS messages. r=vicamo 2013-02-08 18:45:04 +08:00
Alex Xu
fdd45047a0 Bug 840834 - Fix compiler warning. r=jesup 2013-02-25 09:07:16 -05:00
Mohit Gahlot
8b93ca050f Bug 823939 - <mmultiscripts> now doesnt consider base followed by only <mprescripts> and no (presubscript presuperscript) pair as invalid-markup. r=fredw, r=Pike 2013-01-28 00:00:25 +05:30
Peter Van der Beken
3f112891fb Fix for bug 844225 (Remove some DOMCI and quickstubs). r=bz. 2013-01-10 10:54:46 +01:00
Patrick Wang
ebef468d36 Bug 833270 - Part 2 - Test case. r=allstars.chh 2013-02-24 13:22:51 +08:00
Patrick Wang
f818cae2e6 Bug 833270 - Part 1 - Adding RUIM support. r=allstars.chh 2013-02-24 13:22:24 +08:00
Chia-hung Tai
1499616f2a Bug 810097 (follow-up): remove dead code as well. r=vicamo 2013-02-27 14:41:52 +08:00
Boris Zbarsky
0bc630a626 Bug 838686 part 2. Use NodeFilterHolder in treewalker and nodeiterator and start using WebIDL codegen for NodeFilter. r=peterv 2013-02-26 15:10:15 -05:00
Boris Zbarsky
d531a9c246 Bug 838686 part 1. Add a helper class that can store a WebIDL callback or an XPCOM interface. r=peterv 2013-02-26 15:10:15 -05:00
L. David Baron
49b7670edf Bug 404077: Use navigator.platform.startsWith rather than navigator.platform.indexOf, at Jesse's suggestion. 2013-02-26 22:23:08 -08:00
L. David Baron
adb6395609 Bug 404077: Clean up erroneous expectAssertions calls from GC of objects created in a series of tests using showModalDialog.
This will require a little follow-up cleanup.
2013-02-26 22:23:08 -08:00
L. David Baron
d6fee2f3ee Bug 404077: Clean up erroneous expectAssertions calls from GC of objects created in test_bug291653.html. 2013-02-26 22:23:08 -08:00
L. David Baron
ba9cc96a51 Bug 404077: Do GC in a small number of tests to reduce the spread of GC-related assertions. r=Jesse 2013-02-26 22:23:08 -08:00
Chia-hung Tai
3a4659ca6b Bug 810097 - B2G MMS: Retry retrieval on error. r=vyang 2013-02-26 17:41:13 +08:00
Ryan VanderMeulen
2165eca1a3 Backed out changeset 00ed3d264438 (bug 590422) for OSX browser-chrome failures on a CLOSED TREE. 2013-02-26 22:05:51 -05:00
Ehsan Akhgari
0049d9d37f Bug 839912 - Implement the URLUtils interface; r=Ms2ger 2013-02-19 01:07:44 -05:00
Ryan VanderMeulen
70e8cc44a9 Bug 841505 et al - Disable test_xhr_timeout.html for frequent failures. r=khuey 2013-02-26 16:30:09 -05:00
Boris Zbarsky
cde62566cf Back out changeset a4763990a983 (bug 838686) because gcc doesn't like it and we get a CLOSED TREE. 2013-02-26 15:35:13 -05:00
Boris Zbarsky
da7352fc49 Back out changeset 1c851a5bbc9f (bug 838686) because it depends on a changeset gcc doesn't like 2013-02-26 15:34:25 -05:00
David Humphrey (:humph)
1029c5c255 Bug 839371 - Implement HTML5 <data> element. r=smaug 2013-02-26 15:19:05 -05:00
Boris Zbarsky
247b3cc18a Bug 838686 part 2. Use NodeFilterHolder in treewalker and nodeiterator and start using WebIDL codegen for NodeFilter. r=peterv 2013-02-26 15:10:15 -05:00
Boris Zbarsky
af3b8795b8 Bug 838686 part 1. Add a helper class that can store a WebIDL callback or an XPCOM interface. r=peterv 2013-02-26 15:10:15 -05:00
Avi Halachmi
c629a41d09 Bug 590422: Remove delay line filter from timer thread. r=bz 2013-02-20 20:21:09 +02:00
Bobby Holley
7b9176007d Bug 834732 - Audit callers of GetNativeContext and use AutoPushJSContext where appropriate. r=mrbkap 2013-02-26 11:04:13 -08:00
Bobby Holley
024cd3a8e5 Bug 834732 - Improve pushing in nsJSEnvironment. r=mrbkap 2013-02-26 11:04:12 -08:00
Bobby Holley
efd3dc24ae Bug 834732 - Push a cx in nsWindowSH::NewResolve. r=mrbkap 2013-02-26 11:04:11 -08:00
Bobby Holley
321002c62d Bug 834732 - Make nsCxPusher.Push(JSContext*) infallible. r=mrbkap
We leave the nsIDOMEventTarget* versions fallible for now, but this makes the
common case a lot simpler. Note that this means that pushing a null JSContext,
a bug, is no longer handled at runtime. But I think we should just assert
against it, since there are already callers that don't check the return value.
2013-02-26 11:04:11 -08:00
Bobby Holley
d2ef489c30 Bug 834732 - Remove PushBehavior. r=mrbkap
Now that we only have ALWAYS_PUSH and ASSERT_SCRIPT_CONTEXT, we have uniform
release-mode behavior everywhere. Remove the crap.
2013-02-26 11:04:11 -08:00
Bobby Holley
c53f414560 Bug 834732 - Move cx pushing into nsPluginProtoChainInstallRunner. r=mrbkap
This gets rid of the last use of REQUIRE_SCRIPT_CONTEXT. \o/
2013-02-26 11:04:10 -08:00
Bobby Holley
0619f84ac4 Bug 834732 - Make nsDocShell::AddState push the JSContext if it grabs one, and remove push in nsStructuredCloneContainer. r=mrbkap
This gets rid of one of the last consumers of REQUIRE_SCRIPT_CONTEXT.
2013-02-26 11:04:10 -08:00
Bobby Holley
03f7f4b219 Bug 834732 - Get rid of footgun bool param for nsCxPusher and use an explicit enum. r=mrbkap
The goal here is to get rid of this crap entirely, and make nsCxPusher always
push. But that's a scary change, so we do it in chunks. This patch, in particular,
should have zero behavioral change. This means preserving some very wrong behavior.
For instance, currently SafeAutoJSContext never pushes a damn thing, because the
safe JSContext doesn't have an associated nsIScriptContext. We preserve this
behavior, and in fact convert various similarly-buggy consumers to
SafeAutoJSContext, so that we can hoist the behavioral change into a subsequent
patch.
2013-02-26 11:04:09 -08:00
Glenna Buford
d903f769b2 Bug 835868 - Consolidate cross-process permission checks for TCPSocket. r=jdm 2013-02-26 13:57:39 -05:00
Josh Matthews
1c2ca70769 Bug 832411 - Build fix for a CLOSED TREE. 2013-02-26 13:05:05 -05:00
Josh Matthews
8b80e60c38 Bug 832411 - Track geolocation requests' use of high accuracy and ensure the providers are update when necessary. r=dougt 2013-02-26 12:27:31 -05:00
David Rajchenbach-Teller
da96f29640 Bug 840887 - New OS.Constants constants. r=khuey 2013-02-26 12:06:53 -05:00
Andrea Marchesini
83198ad3c6 Bug 843417 - LMK will never kill the Musicplayer app. r=mchen, f=jlebar 2013-02-26 12:02:32 -05:00
Andrea Marchesini
61365d669d Bug 842986 - Implement MozFrameLoaderOwner on HTMLFrameElement. r=bz 2013-02-26 12:02:32 -05:00
Bobby Holley
481e815158 Bug 812693 - Remove GetJSObjectOfWrapper. r=mrbkap 2013-02-26 08:15:44 -08:00
Ryan VanderMeulen
ca65c42827 Backed out changeset f8cccf3de0a3 (bug 842495) for crashtest failures on a CLOSED TREE. 2013-02-27 17:08:26 -05:00
Shih-Chiang Chien
07a1fafd59 Bug 844326 - Use addSystemEventListener to receive all mouse/touch events. r=vingtetun 2013-02-27 16:48:32 -05:00
Aaron Klotz
4a8bc89113 Bug 845491: Make Plugin Hang UI push buttons automatically resize to fit their text. r=jmathies 2013-02-27 16:23:09 -05:00