Commit Graph

12456 Commits

Author SHA1 Message Date
L. David Baron
509b5b78a3 Bug 404077: Adjust annotations of expected assertions. 2013-02-28 17:59:07 -08:00
Ryan VanderMeulen
db70ed53c2 Backed out 4 changesets (bug 722299) for B2G mochitest failures on a CLOSED TREE. 2013-02-28 20:44:53 -05:00
Mounir Lamouri
2bea4e4640 Bug 375008 - Clicking a disabled element should not cause a focus change. r=Enn 2013-03-01 00:15:59 +00:00
Blake Kaplan
b867473bc1 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
3dc876275e Changes to existing tests caused by bug 722299, r=honza.b 2013-02-28 14:04:48 -08:00
Wes Johnston
5cc98b4e6f Bug 768035 - Allow overriding user agent based on window. r=bz 2013-02-28 14:02:19 -08:00
Fabrice Desré
0ef63ba781 Bug 842725 - install to device via b2gremote throws "appInfo is null" r=ferjm 2013-02-28 11:22:31 -08:00
Fabrice Desré
941057d6bf Bug 842698 - Properly register activities when installing and updating packaged apps r=ferjm 2013-02-28 11:22:31 -08:00
Ms2ger
7ce7a9d006 Bug 842495 - Cleanup contentDocument/contentWindow getters; r=mounir 2013-02-28 21:28:32 +01:00
Boris Zbarsky
4549dd5886 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
595459ff14 Bug 776536 part 3. Add a WebIDL API to NodeIterator and TreeWalker. r=peterv 2013-02-28 12:56:42 -05:00
Boris Zbarsky
09556095dd 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
ebcc7ae06a 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
dea097af0c Bug 845871 - Strong ASSERT for removing elements in AudioChannelService. a=jlebar 2013-02-28 14:22:59 -05:00
David Flanagan
89e016e9f9 Bug 845539 - Don't reject phone numbers like *2 and *8. r=vicamo 2013-02-27 23:45:26 -08:00
Anthony Jones
4fa4268293 Bug 833795 - Pass screen relative co-ordinates to APZC. r=cjones 2013-02-28 14:22:59 -05:00
Olli Pettay
fee019f92c Bug 845631 - Remove nsXMLHttpProgressEvent, r=sicking
--HG--
extra : rebase_source : e5c6e80fbb656782bfe0f530c778cda9d9f97f0f
2013-02-28 20:53:04 +02:00
Boris Zbarsky
30f64b6cf1 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
80ccb7b83a Bug 776536 part 3. Add a WebIDL API to NodeIterator and TreeWalker. r=peterv 2013-02-28 12:56:42 -05:00
Boris Zbarsky
7015a00262 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
5b1faeb154 Bug 846099: Avoid (GC-timing-sensitive) nsTraceRefcnt assertions from duplicate class names. r=mounir 2013-02-28 09:52:15 -08:00
Ms2ger
3813557cac Merge m-i to b-s. 2013-02-28 14:46:10 +01:00
Ed Morley
145ed7d7b2 Bug 404077 - Adjust annotations of expected assertions; r=me on a CLOSED TREE 2013-02-28 13:24:36 +00:00
L. David Baron
e4c9ceec00 Bug 404077: Adjust annotations of expected assertions. CLOSED TREE 2013-02-27 21:44:26 -08:00
Gregory Szorc
89d297a677 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
f0b7e3972c 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
10875eb001 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
6251eca1f9 Backed out changeset 622b744e5df9 (bug 829557) 2013-02-27 12:49:32 +00:00
Ms2ger
cd9c6150fe Merge m-c to b-s. 2013-02-26 19:09:25 +01:00
Gina Yeh
f94a074431 Bug 844705 - Should send socket data in main thread, r=echou 2013-02-26 18:53:44 +08:00
Gregory Szorc
faf262c4ee 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
0e26fe2640 Bug 784841 - Part 18π: Convert /dom/payment; r=me 2013-02-25 14:01:39 -08:00
Gregory Szorc
e2966f651c Bug 784841 - Part 18k: Convert /dom; f=Ms2ger rs=khuey 2013-02-25 12:47:20 -08:00
Ms2ger
1f61fe77a7 Bug 784841 - Part 18j: Convert dom/imptests with parseFailures.py output; rs=gps 2013-02-25 12:47:19 -08:00
Ms2ger
4b1966713f Bug 784841 - Part 18i: Convert dom/imptests with importTestsuite.py output; rs=gps 2013-02-25 12:47:19 -08:00
Gregory Szorc
540e3b0cd2 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
87373f01cb 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
fc050e2c41 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
7e87ab61d5 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
a25a4df5d7 Merge mozilla-central to mozilla-inbound 2013-02-27 11:07:25 +00:00
Phil Ringnalda
9ebbdf1241 Merge m-c to fx-team 2013-02-26 14:32:37 -08:00
Ehsan Akhgari
87b07b2898 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
48eb0c311a 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
c791d8a2cd Bug 809219 - [WebPayment] mozPay unit tests; r=fabrice 2013-02-25 13:12:44 +01:00
Gina Yeh
424faeea8d Bug 844705 - Should send socket data in main thread, r=echou 2013-02-25 18:49:18 +08:00
Vicamo Yang
74d145b6e5 Bug 840780 (follow-up): fix nits. r=me 2013-02-25 17:36:05 +08:00
Siddartha Pothapragada
9ef36c07dc 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
b14501f5e8 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
314b3bd24b 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
bd3e5c86b6 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
786670aa37 Bug 844707 - Fix warnings in debug build, r=echou 2013-02-25 15:04:38 +08:00
Chia-hung Tai
7c37d71c48 Bug 810067 - Support automatic/manual/never retrieval modes. r=vyang 2013-02-25 14:08:23 +08:00
Tim Taubert
bac3f8948d 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
76e46f4140 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
c4d09269f1 Bug 844274 - Move contacts API getAll cache to child process. r=sicking 2013-02-24 19:53:55 -08:00
Boris Zbarsky
4f80dbdbcf 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
edea8d77e7 Backed out changeset b7473553fea1 (bug 844530) for B2G test bustage on a CLOSED TREE. 2013-02-27 15:40:15 -05:00
Randell Jesup
092c0d6656 Bug 843971: Add MediaManager function to report what a window is capturing r=smaug 2013-02-27 15:36:06 -05:00
David Dahl
8f6bdde3f6 Bug 673432 - Implement window.crypto.getRandomValues for FirefoxOS r=khuey 2013-02-27 14:31:19 -06:00
Justin Lebar
642ac8b6e8 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
dfa32ae960 Bug 844970 - Use a grace period for all process priority downgrades. r=cjones 2013-02-27 14:28:57 -05:00
L. David Baron
239da2d4cf Bug 404077: Adjust annotations of expected assertions. 2013-02-27 10:37:19 -08:00
Chuck Lee
c0f7340248 Bug 830264 - 0006. Send CDMA SMS. r=vicamo 2013-02-22 18:01:28 +08:00
Chuck Lee
150e1406d1 Bug 830264 - 0005. Receive CDMA SMS. r=vicamo 2013-02-25 18:43:42 +08:00
Chuck Lee
2c91350949 Bug 830264 - 0004. Refactory GSM SMS flow. r=vicamo 2013-02-25 18:43:41 +08:00
Chuck Lee
fc0d348fb9 Bug 830264 - 0003. Add CDMA PDU helper. r=vicamo 2013-02-25 18:43:39 +08:00
Chuck Lee
f24808aa19 Bug 830264 - 0002. Add buffer with bitwise read/write capability. r=vicamo 2013-02-25 18:43:37 +08:00
Chuck Lee
59ffa210a3 Bug 830264 - 0001. Add constants for CDMA SMS. r=vicamo 2013-02-25 18:43:36 +08:00
Jose Antonio Olivera Ortega
640e5e032d 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
c0a032bb5b No Bug - Backout bug 375008 (6c59b73c8c4b) and re-enable test_focus.xul. r=distress 2013-02-27 15:53:41 +00:00
Mounir Lamouri
f0287b71e6 No bug - Disable test_focus.xul to fix broken test. r=me 2013-02-27 15:46:39 +00:00
Ehsan Akhgari
63a702bcac 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
bfaf2ce954 Bug 845743 - Support Big5-HKSCS as a separate encoding again. r=smontagu 2013-02-28 00:28:54 +09:00
Pranav Ravichandran
6219840c22 Bug 836816 - WebIDL parser should enforce spec restrictions on dictionary member types. r=bzbarsky 2013-02-27 09:55:56 -05:00
Markus Stange
fa5781a68a Bug 845595 - Make nsIDOMWindowUtils::selectAtPoint coordinates relative to the DWU's document. r=jimm 2013-02-27 15:12:39 +01:00
Phil Ringnalda
ba3b771a25 Back out cd8481cc4a32 (bug 784812) for make check failures 2013-02-24 14:10:48 -08:00
Kyle Huey
60fb1c5ce1 Bug 784812: Implement real dependencies for WebIDL bindings. r=bz,ted CLOSED TREE 2013-02-24 12:36:44 -08:00
Kyle Huey
6fcbeaafcc Backed out changeset a71766c2c85d 2013-02-24 12:33:36 -08:00
Kyle Huey
de0e5888ec Bug 784812: Implement real dependencies for WebIDL bindings. r=bz,ted 2013-02-24 12:03:03 -08:00
Mike de Boer
2ca852066d Bug 845022 - Remove outdated links from about:plugins. r=dolske
DONTBUILD
2013-02-26 16:54:54 +01:00
L. David Baron
80f85cd264 Bug 404077: Adjust annotations of expected assertions. CLOSED TREE 2013-02-27 18:46:42 -08:00
L. David Baron
b00a9d9c85 Bug 404077: Adjust annotations of expected assertions. CLOSED TREE 2013-02-27 18:12:17 -08:00
Brian Smith
f2b558322e 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
9ca2ac3304 Bug 843849 - Adjust expected assertion counts for fullscreen assertions. r=dbaron 2013-02-28 13:54:14 +13:00
L. David Baron
3ed29c12e0 Bug 404077: Adjust annotations of expected assertions. 2013-02-27 15:36:14 -08:00
Chris Pearce
6e3f4d2969 Bug 843849 - Make DOM/HTML fullscreen API work in Metrofox. r=bz,jimm 2013-02-28 12:28:27 +13:00
Jonathan Griffin
59f7607781 Bug 831367 - Simplify SpecialPowersAPI.bindDOMWindowUtils(), r=ted 2013-02-22 14:18:38 -08:00
William Chen
f4e6716330 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
440bea3fd7 Bug 843711 - Fix up new |Components| culprits in test suite. r=mccr8 2013-02-25 10:43:03 -08:00
Kyle Huey
36a231a8ac Bug 784812: Implement real dependencies for WebIDL bindings. r=bz,ted 2013-02-24 12:36:44 -08:00
Marco Chen
39952e6c0f Bug 836655 - Modify unit test for adapting change in this bug. r=baku 2013-02-25 16:55:24 +08:00
Marco Chen
5ee039184b 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
92eb08092d Bug 844792 - Warn about the upcoming removal of multipart support in XHR. r=smaug. 2013-02-25 17:12:13 +02:00
Justin Lebar
5e246f610c 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
62ce59892e Bug 841477 - Enable FAIL_ON_WARNINGS on MSVC in dom/plugins. r=benjamin 2013-02-28 07:44:52 +09:00
Ryan VanderMeulen
4907d39632 Backed out changeset c6c6535fb6c2 (bug 844530) for Marionette failures on a CLOSED TREE. 2013-02-27 17:32:56 -05:00
Gene Lian
fbdf0875d6 Bug 839436 - B2G MMS: make DB be able to save MMS messages. r=vicamo 2013-02-08 18:45:04 +08:00
Alex Xu
9705cc157e Bug 840834 - Fix compiler warning. r=jesup 2013-02-25 09:07:16 -05:00
Mohit Gahlot
ebfb1bde3d 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
410cee5e49 Fix for bug 844225 (Remove some DOMCI and quickstubs). r=bz. 2013-01-10 10:54:46 +01:00
Patrick Wang
411cc0f650 Bug 833270 - Part 2 - Test case. r=allstars.chh 2013-02-24 13:22:51 +08:00
Patrick Wang
cb79d83951 Bug 833270 - Part 1 - Adding RUIM support. r=allstars.chh 2013-02-24 13:22:24 +08:00
Chia-hung Tai
396a1ea8c7 Bug 810097 (follow-up): remove dead code as well. r=vicamo 2013-02-27 14:41:52 +08:00
Boris Zbarsky
51b8917bbc 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
0dc474d3f7 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
a144cc1c82 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
b17d57ea36 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
846f590b66 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
a953552f1a 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
7cd2bee960 Bug 810097 - B2G MMS: Retry retrieval on error. r=vyang 2013-02-26 17:41:13 +08:00
Ryan VanderMeulen
856d73efad 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
1c4f987ddb Bug 839912 - Implement the URLUtils interface; r=Ms2ger 2013-02-19 01:07:44 -05:00
Ryan VanderMeulen
af6a83507b Bug 841505 et al - Disable test_xhr_timeout.html for frequent failures. r=khuey 2013-02-26 16:30:09 -05:00
Boris Zbarsky
f857806f73 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
8f45a6f4d4 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)
520543aa7f Bug 839371 - Implement HTML5 <data> element. r=smaug 2013-02-26 15:19:05 -05:00
Boris Zbarsky
e68a91179b 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
a7e04a1b0e 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
52e3b9ba5e Bug 590422: Remove delay line filter from timer thread. r=bz 2013-02-20 20:21:09 +02:00
Bobby Holley
d1a3436036 Bug 834732 - Audit callers of GetNativeContext and use AutoPushJSContext where appropriate. r=mrbkap 2013-02-26 11:04:13 -08:00
Bobby Holley
65edc090d7 Bug 834732 - Improve pushing in nsJSEnvironment. r=mrbkap 2013-02-26 11:04:12 -08:00
Bobby Holley
40b44c1bc7 Bug 834732 - Push a cx in nsWindowSH::NewResolve. r=mrbkap 2013-02-26 11:04:11 -08:00
Bobby Holley
51ba6ef50d 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
9190ce39d5 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
10b21fa400 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
6c8aaf6e25 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
997dcc7d65 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
10cd22acc0 Bug 835868 - Consolidate cross-process permission checks for TCPSocket. r=jdm 2013-02-26 13:57:39 -05:00
Josh Matthews
35b5eb78a2 Bug 832411 - Build fix for a CLOSED TREE. 2013-02-26 13:05:05 -05:00
Josh Matthews
61e76802ae 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
c45bf4ae63 Bug 840887 - New OS.Constants constants. r=khuey 2013-02-26 12:06:53 -05:00
Andrea Marchesini
8212b675ca Bug 843417 - LMK will never kill the Musicplayer app. r=mchen, f=jlebar 2013-02-26 12:02:32 -05:00
Andrea Marchesini
342ae1355d Bug 842986 - Implement MozFrameLoaderOwner on HTMLFrameElement. r=bz 2013-02-26 12:02:32 -05:00
Bobby Holley
3ed822eacf Bug 812693 - Remove GetJSObjectOfWrapper. r=mrbkap 2013-02-26 08:15:44 -08:00
Ryan VanderMeulen
007968224a Backed out changeset f8cccf3de0a3 (bug 842495) for crashtest failures on a CLOSED TREE. 2013-02-27 17:08:26 -05:00
Shih-Chiang Chien
ea9834981a Bug 844326 - Use addSystemEventListener to receive all mouse/touch events. r=vingtetun 2013-02-27 16:48:32 -05:00
Aaron Klotz
c445f273be Bug 845491: Make Plugin Hang UI push buttons automatically resize to fit their text. r=jmathies 2013-02-27 16:23:09 -05:00
Justin Lebar
a2a46343bf 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
Ms2ger
443d3620c8 Bug 842495 - Cleanup contentDocument/contentWindow getters; r=mounir 2013-02-27 22:05:18 +01:00
Ehsan Akhgari
62bbdc44a6 Bug 841413 - Part 2: Don't call enablePrivilege needlessly in localstorage Private Browsing tests; r=jdm 2013-02-23 01:51:06 -05:00
L. David Baron
f756685129 Backed out changesets 917205c79822 and e9ef1f1aa47d (bug 841413) for causing mochitest-chrome failure.
Failure is:
ERROR TEST-UNEXPECTED-FAIL | chrome://mochitests/content/chrome/toolkit/components/passwordmgr/test/test_privbrowsing_perwindowpb.html | uncaught exception - TypeError: normalWindowIframe is null at chrome://mochitests/content/chrome/toolkit/components/passwordmgr/test/test_privbrowsing_perwindowpb.html:266
2013-02-23 00:39:54 -08:00
Ehsan Akhgari
0fae678a6c Bug 841413 - Part 2: Don't call enablePrivilege needlessly in localstorage Private Browsing tests; r=jdm
--HG--
extra : rebase_source : ae0c97cf0145d356ac2c520645c6bbc45c7de0ee
2013-02-23 01:51:06 -05:00
David Humphrey (:humph)
5773fc1f37 Bug 629801 Implement HTML5 <time> element. r=smaug, peterv, hsivonen 2013-02-22 10:07:42 -05:00
Boris Zbarsky
d917523d97 Bug 842561. Assert that our inheritance chain is correct for WebIDL objects. r=peterv
We could drop the descriptor for Text if we changed nsIDocument::CreateTextNode
to return an already_AddRefed<Text>, but then we'd need more casting in
nsDocument.cpp for the XPCOM CreateTextNode.  Not sure which way is better,
really.
2013-02-22 09:56:29 -05:00
Boris Zbarsky
12d1591d42 Bug 842726. Kill off GetterShim and the classinfo support for chrome-only stuff on Document now that we can do that via WebIDL. r=peterv 2013-02-22 09:56:29 -05:00
Masatoshi Kimura
b1f455df2c Bug 842372 - Part 2: Hide getUserData and setUserData from content. r=bz 2013-02-23 13:46:06 +09:00
Justin Lebar
1dcf4672e1 Bug 842679 - Part 3: Wait for a tab-child to be created before modifying priorities in the ProcessPriorityManager. r=cjones 2013-02-22 23:24:28 -05:00
Justin Lebar
e4799d93c2 Bug 842679 - Part 1: Fire tab-child-created observer message in ContentChild. r=cjones 2013-02-22 23:24:28 -05:00
Chris Pearce
45b77fa242 Bug 805613 - Support multiple concurrent fullscreen documents. r=bz 2013-02-26 18:40:53 +13:00
Ehsan Akhgari
7fb78bb608 Bug 844169 - Part 2: Rename nsIDOMHTMLIFrameElement.allowfullscreen to allowFullscreen in order to comply with the spec; r=cpearce 2013-02-25 20:59:33 -05:00