Commit Graph

12406 Commits

Author SHA1 Message Date
L. David Baron
3c1156d59c Bug 404077: Adjust annotations of expected assertions. 2013-02-28 17:59:07 -08:00
Ryan VanderMeulen
2f8259daf4 Backed out 4 changesets (bug 722299) for B2G mochitest failures on a CLOSED TREE. 2013-02-28 20:44:53 -05:00
Mounir Lamouri
f7d21913df Bug 375008 - Clicking a disabled element should not cause a focus change. r=Enn 2013-03-01 00:15:59 +00:00
Blake Kaplan
43ae09558d Bug 846067 - Add a missing interface to the QI impl. r=jlebar
--HG--
extra : rebase_source : 3f2d51ba19092cb85a1f481bdfe75a8a5d2dbd9e
2013-02-28 14:36:55 -08:00
Simon Montagu
86d405f644 Changes to existing tests caused by bug 722299, r=honza.b 2013-02-28 14:04:48 -08:00
Wes Johnston
e4f1e26aef Bug 768035 - Allow overriding user agent based on window. r=bz 2013-02-28 14:02:19 -08:00
Fabrice Desré
1934177bf8 Bug 842725 - install to device via b2gremote throws "appInfo is null" r=ferjm 2013-02-28 11:22:31 -08:00
Fabrice Desré
0f8ce2f9fc Bug 842698 - Properly register activities when installing and updating packaged apps r=ferjm 2013-02-28 11:22:31 -08:00
Ms2ger
7d2111bcef Bug 842495 - Cleanup contentDocument/contentWindow getters; r=mounir 2013-02-28 21:28:32 +01:00
Boris Zbarsky
615c1738c3 Bug 776536 part 4. Turn on WebIDL bindings for NodeIterator and TreeWalker. r=peterv
The behavior here is a bit weird because Document is still not a
WebIDL object, so calling createNodeIterator or createTreeWalker via
an Xray will call the XPCOM versions of those methods.  That means
that I can't just disable XPCOM-based wrapping for TreeWalker and
NodeIterator altogether, unfortunately, which means a web page could
try stashing a TreeWalker in something like userdata and then getting
it back and end up wrapping it as an XPCOM object the second time.

I could "fix" that by adding a wrapper cache and whatnot, I guess, if
desired...  But the problem will go away once we convert Document in
any case.
2013-02-28 12:56:42 -05:00
Boris Zbarsky
0827c7c174 Bug 776536 part 3. Add a WebIDL API to NodeIterator and TreeWalker. r=peterv 2013-02-28 12:56:42 -05:00
Boris Zbarsky
3875ee73e3 Bug 843261. Add support for sequence<DOMString> arguments in WebIDL callbacks. r=peterv
This does allow people to accidentally hit the slower path through use
of non-const strings, but I think that's OK now that we're mostly
autogenerating this stuff
2013-02-28 12:56:41 -05:00
Ryan VanderMeulen
238b010bd5 Backed out 7 changesets (bug 832920, bug 776536, bug 843261) for mochitest-a11y assertions on a CLOSED TREE.
--HG--
rename : content/base/src/NodeIterator.cpp => content/base/src/nsNodeIterator.cpp
rename : content/base/src/NodeIterator.h => content/base/src/nsNodeIterator.h
rename : content/base/src/TreeWalker.cpp => content/base/src/nsTreeWalker.cpp
rename : content/base/src/TreeWalker.h => content/base/src/nsTreeWalker.h
2013-02-28 14:41:30 -05:00
Andrea Marchesini
5885f81184 Bug 845871 - Strong ASSERT for removing elements in AudioChannelService. a=jlebar 2013-02-28 14:22:59 -05:00
David Flanagan
f4e2463228 Bug 845539 - Don't reject phone numbers like *2 and *8. r=vicamo 2013-02-27 23:45:26 -08:00
Anthony Jones
f6a5378ad5 Bug 833795 - Pass screen relative co-ordinates to APZC. r=cjones 2013-02-28 14:22:59 -05:00
Olli Pettay
510b79b08c Bug 845631 - Remove nsXMLHttpProgressEvent, r=sicking
--HG--
extra : rebase_source : e5c6e80fbb656782bfe0f530c778cda9d9f97f0f
2013-02-28 20:53:04 +02:00
Boris Zbarsky
24d39ed923 Bug 776536 part 4. Turn on WebIDL bindings for NodeIterator and TreeWalker. r=peterv
The behavior here is a bit weird because Document is still not a
WebIDL object, so calling createNodeIterator or createTreeWalker via
an Xray will call the XPCOM versions of those methods.  That means
that I can't just disable XPCOM-based wrapping for TreeWalker and
NodeIterator altogether, unfortunately, which means a web page could
try stashing a TreeWalker in something like userdata and then getting
it back and end up wrapping it as an XPCOM object the second time.

I could "fix" that by adding a wrapper cache and whatnot, I guess, if
desired...  But the problem will go away once we convert Document in
any case.
2013-02-28 12:56:42 -05:00
Boris Zbarsky
36e1af6705 Bug 776536 part 3. Add a WebIDL API to NodeIterator and TreeWalker. r=peterv 2013-02-28 12:56:42 -05:00
Boris Zbarsky
0c8bec67f1 Bug 843261. Add support for sequence<DOMString> arguments in WebIDL callbacks. r=peterv
This does allow people to accidentally hit the slower path through use
of non-const strings, but I think that's OK now that we're mostly
autogenerating this stuff
2013-02-28 12:56:41 -05:00
L. David Baron
5af7387a3d Bug 846099: Avoid (GC-timing-sensitive) nsTraceRefcnt assertions from duplicate class names. r=mounir 2013-02-28 09:52:15 -08:00
Ms2ger
c6832bb745 Merge m-i to b-s. 2013-02-28 14:46:10 +01:00
Ed Morley
1b556e75bc Bug 404077 - Adjust annotations of expected assertions; r=me on a CLOSED TREE 2013-02-28 13:24:36 +00:00
L. David Baron
5fbc66f981 Bug 404077: Adjust annotations of expected assertions. CLOSED TREE 2013-02-27 21:44:26 -08:00
Gregory Szorc
27c42e83c6 Merge mozilla-central into build-system
The 3 merged files had no conflicts and were manually verified to ensure
no incompatible changes crept in.
2013-02-27 21:02:02 -08:00
Gregory Szorc
803629b9c6 Merge mozilla-central into build-system
There were merges in configure.in and some Makefile.in. None had any
conflicts. I spot verified the Makefile.in changes and confirmed that
the changes did not touch any DIRS* variables.
2013-02-27 10:03:52 -08:00
Ed Morley
5eb9daf922 Backed out changeset f73b7b8d1a2d (bug 829557) for failing to compile on Windows on a CLOSED TREE 2013-02-27 12:50:30 +00:00
Ed Morley
2a52d29880 Backed out changeset 622b744e5df9 (bug 829557) 2013-02-27 12:49:32 +00:00
Ms2ger
2801c25ab8 Merge m-c to b-s. 2013-02-26 19:09:25 +01:00
Gina Yeh
d86c245b78 Bug 844705 - Should send socket data in main thread, r=echou 2013-02-26 18:53:44 +08:00
Gregory Szorc
16f0413b0c Merge mozilla-central into build-system
Only conflict was configure.in amd was due to context, not
changed lines themselves.
2013-02-25 22:09:18 -08:00
Gregory Szorc
b59324c676 Bug 784841 - Part 18π: Convert /dom/payment; r=me 2013-02-25 14:01:39 -08:00
Gregory Szorc
3fd0b2c59d Bug 784841 - Part 18k: Convert /dom; f=Ms2ger rs=khuey 2013-02-25 12:47:20 -08:00
Ms2ger
27b1511473 Bug 784841 - Part 18j: Convert dom/imptests with parseFailures.py output; rs=gps 2013-02-25 12:47:19 -08:00
Ms2ger
9d41654174 Bug 784841 - Part 18i: Convert dom/imptests with importTestsuite.py output; rs=gps 2013-02-25 12:47:19 -08:00
Gregory Szorc
c0f7a6b9ad Bug 784841 - Part 15: Produce moz.build files for dom imported tests; r=Ms2ger
--HG--
rename : dom/imptests/writeMakefile.py => dom/imptests/writeBuildFiles.py
2013-02-25 12:46:50 -08:00
Robert O'Callahan
21bba7fe47 Bug 829557. Part 2: Allow plugin code to reenter Gecko safely while while the plugin is processing an input event. r=bsmedberg
When nsPluginInstanceOwner passes input events to the plugin instance,
it's safe to reenter Gecko from plugin code and do anything, even
arbitrary script execution.

--HG--
extra : rebase_source : 815683c3027b906c4744495e8e1cfdb261e0c557
2013-02-28 00:50:28 +13:00
Robert O'Callahan
1b97fac2e6 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
78d199cf94 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
6e6164088a Merge mozilla-central to mozilla-inbound 2013-02-27 11:07:25 +00:00
Phil Ringnalda
daff3c84fb Merge m-c to fx-team 2013-02-26 14:32:37 -08:00
Ehsan Akhgari
621cb2d14d 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
bd8a4c71df 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
a1238254e9 Bug 809219 - [WebPayment] mozPay unit tests; r=fabrice 2013-02-25 13:12:44 +01:00
Gina Yeh
cbe23cf219 Bug 844705 - Should send socket data in main thread, r=echou 2013-02-25 18:49:18 +08:00
Vicamo Yang
fe6bdafa91 Bug 840780 (follow-up): fix nits. r=me 2013-02-25 17:36:05 +08:00
Siddartha Pothapragada
03435d4cba 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
dd802a3765 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
cacece1189 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
9ab7dce58d 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
d327d0163b Bug 844707 - Fix warnings in debug build, r=echou 2013-02-25 15:04:38 +08:00
Chia-hung Tai
64ff7fffe1 Bug 810067 - Support automatic/manual/never retrieval modes. r=vyang 2013-02-25 14:08:23 +08:00
Tim Taubert
302623f465 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
73b038ddfa 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
15275da19c Bug 844274 - Move contacts API getAll cache to child process. r=sicking 2013-02-24 19:53:55 -08:00
Boris Zbarsky
8362da6fe1 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
83ca08fb0b Backed out changeset b7473553fea1 (bug 844530) for B2G test bustage on a CLOSED TREE. 2013-02-27 15:40:15 -05:00
Randell Jesup
1987838f73 Bug 843971: Add MediaManager function to report what a window is capturing r=smaug 2013-02-27 15:36:06 -05:00
David Dahl
95660a9d32 Bug 673432 - Implement window.crypto.getRandomValues for FirefoxOS r=khuey 2013-02-27 14:31:19 -06:00
Justin Lebar
1cf7242b64 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
5c74ff0fab Bug 844970 - Use a grace period for all process priority downgrades. r=cjones 2013-02-27 14:28:57 -05:00
L. David Baron
ff34707a75 Bug 404077: Adjust annotations of expected assertions. 2013-02-27 10:37:19 -08:00
Chuck Lee
68d6ca4168 Bug 830264 - 0006. Send CDMA SMS. r=vicamo 2013-02-22 18:01:28 +08:00
Chuck Lee
29a445be0e Bug 830264 - 0005. Receive CDMA SMS. r=vicamo 2013-02-25 18:43:42 +08:00
Chuck Lee
be05cc4183 Bug 830264 - 0004. Refactory GSM SMS flow. r=vicamo 2013-02-25 18:43:41 +08:00
Chuck Lee
a59e6f7377 Bug 830264 - 0003. Add CDMA PDU helper. r=vicamo 2013-02-25 18:43:39 +08:00
Chuck Lee
7c39507168 Bug 830264 - 0002. Add buffer with bitwise read/write capability. r=vicamo 2013-02-25 18:43:37 +08:00
Chuck Lee
898f8c153d Bug 830264 - 0001. Add constants for CDMA SMS. r=vicamo 2013-02-25 18:43:36 +08:00
Jose Antonio Olivera Ortega
5de3cc4b50 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
ba864d4737 No Bug - Backout bug 375008 (6c59b73c8c4b) and re-enable test_focus.xul. r=distress 2013-02-27 15:53:41 +00:00
Mounir Lamouri
b00bf5543d No bug - Disable test_focus.xul to fix broken test. r=me 2013-02-27 15:46:39 +00:00
Ehsan Akhgari
c3a8b72e50 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
f1fd6d4154 Bug 845743 - Support Big5-HKSCS as a separate encoding again. r=smontagu 2013-02-28 00:28:54 +09:00
Pranav Ravichandran
64aac3b1ef Bug 836816 - WebIDL parser should enforce spec restrictions on dictionary member types. r=bzbarsky 2013-02-27 09:55:56 -05:00
Markus Stange
9ffe946a97 Bug 845595 - Make nsIDOMWindowUtils::selectAtPoint coordinates relative to the DWU's document. r=jimm 2013-02-27 15:12:39 +01:00
Phil Ringnalda
d00099ff16 Back out cd8481cc4a32 (bug 784812) for make check failures 2013-02-24 14:10:48 -08:00
Kyle Huey
a622234df9 Bug 784812: Implement real dependencies for WebIDL bindings. r=bz,ted CLOSED TREE 2013-02-24 12:36:44 -08:00
Kyle Huey
a96c166f9a Backed out changeset a71766c2c85d 2013-02-24 12:33:36 -08:00
Kyle Huey
535d766239 Bug 784812: Implement real dependencies for WebIDL bindings. r=bz,ted 2013-02-24 12:03:03 -08:00
Mike de Boer
17e3da3fa6 Bug 845022 - Remove outdated links from about:plugins. r=dolske
DONTBUILD
2013-02-26 16:54:54 +01:00
L. David Baron
2c80911fe7 Bug 404077: Adjust annotations of expected assertions. CLOSED TREE 2013-02-27 18:46:42 -08:00
L. David Baron
9fd9672955 Bug 404077: Adjust annotations of expected assertions. CLOSED TREE 2013-02-27 18:12:17 -08:00
Brian Smith
dd3a554e2c 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
2f79253c99 Bug 843849 - Adjust expected assertion counts for fullscreen assertions. r=dbaron 2013-02-28 13:54:14 +13:00
L. David Baron
b9ebac2acd Bug 404077: Adjust annotations of expected assertions. 2013-02-27 15:36:14 -08:00
Chris Pearce
2a8daae8a9 Bug 843849 - Make DOM/HTML fullscreen API work in Metrofox. r=bz,jimm 2013-02-28 12:28:27 +13:00
Jonathan Griffin
d5e9be97ab Bug 831367 - Simplify SpecialPowersAPI.bindDOMWindowUtils(), r=ted 2013-02-22 14:18:38 -08:00
William Chen
f452feed2b 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
076b7bfcfa Bug 843711 - Fix up new |Components| culprits in test suite. r=mccr8 2013-02-25 10:43:03 -08:00
Kyle Huey
ae04d7b90d Bug 784812: Implement real dependencies for WebIDL bindings. r=bz,ted 2013-02-24 12:36:44 -08:00
Marco Chen
08ef823f28 Bug 836655 - Modify unit test for adapting change in this bug. r=baku 2013-02-25 16:55:24 +08:00
Marco Chen
9763f96e0e 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
0b10e7dbee Bug 844792 - Warn about the upcoming removal of multipart support in XHR. r=smaug. 2013-02-25 17:12:13 +02:00
Justin Lebar
ca956bb118 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
94a859f84d Bug 841477 - Enable FAIL_ON_WARNINGS on MSVC in dom/plugins. r=benjamin 2013-02-28 07:44:52 +09:00
Ryan VanderMeulen
0f69c82137 Backed out changeset c6c6535fb6c2 (bug 844530) for Marionette failures on a CLOSED TREE. 2013-02-27 17:32:56 -05:00
Gene Lian
05f776ead6 Bug 839436 - B2G MMS: make DB be able to save MMS messages. r=vicamo 2013-02-08 18:45:04 +08:00
Alex Xu
288aa01b0f Bug 840834 - Fix compiler warning. r=jesup 2013-02-25 09:07:16 -05:00
Mohit Gahlot
ead362c499 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
60efffbed9 Fix for bug 844225 (Remove some DOMCI and quickstubs). r=bz. 2013-01-10 10:54:46 +01:00