Commit Graph

278141 Commits

Author SHA1 Message Date
David Zbarsky
c6b51c42c1 Bug 778519 - Don't include Layers.h everywhere Part 2 r=cjones 2012-07-30 17:42:26 -07:00
Matt Brubeck
2a3c87f21f Back out 13f1c1c06438 (bug 769726) because of perma-orange in test_bug343416.xul (CLOSED TREE) 2012-07-30 17:27:55 -07:00
Dão Gottwald
d8d53c0c02 Bug 776271 - Don't focus the content area when closing a places context menu. r=mano 2012-07-31 02:16:08 +02:00
Ralph Giles
cc925b4965 Bug 763010 - Add a mochitest for mozGetMetadata(). r=cpearce
Add a few Ogg files which have non-trivial tag metadata in their Vorbis streams, and verify they are returned correctly by the media.mozGetMetadata() extention.

Add a file with no comments to test {} output as well.

Verify that mozGetMetadata() throws an InvalidStateError if called immediately, before the loadedmetadata event fires.
2012-07-30 20:14:29 -04:00
Ralph Giles
edf533c3f1 Bug 763010 - Expose media element metadata. r=cpearce
Implements a media.mozGetMetadata() method returning a new javascript object whose properties are key value pairs respresenting metadata tags from the media resource. This data is available after readystate enters METADATA_LOADED.

Currently this is only implemented for Ogg Vorbis streams.

Media format metadata is parsed out by the media decoders. In the nsCodecStateMachine::ReadMetadata subclasses we fill in an nsDataHashtable pointer using the format-specifc api.

The hash pointer is passed up to the media element as part of the MetadataLoaded event.

The hash is deleted if the load is aborted. The audio metadata is also reset to zero (as in the constructor), resolving a todo comment.
2012-07-30 20:14:29 -04:00
Ryan VanderMeulen
7002796905 Backout 83e0b185e888 (bug 778606) due to orange. 2012-07-30 20:14:29 -04:00
Ryan VanderMeulen
b8013885dc Merge m-c to inbound. 2012-07-30 20:14:22 -04:00
Brian Nicholson
350b982475 Bug 777811 - Add getSubject() to AwesomeBarItem. r=mfinkle 2012-07-30 17:00:49 -07:00
Gregory Szorc
6a82faa7b4 Bug 776822 - Add missing dom Makefile's to toolkit-makefiles.sh; r=khuey 2012-07-30 16:13:51 -07:00
Gregory Szorc
2c1a4525ef Bug 778042 - Add missing Makefile's to allmakefiles and toolkit-makefiles.sh; r=khuey 2012-07-30 16:12:58 -07:00
Justin Dolske
f519dd8a90 Bug 778606 - SafeBrowsing.jsm should use nsUrlFormatter. r=gcp 2012-07-30 16:02:05 -07:00
Olli Pettay
74c803718d Bug 777401 - DictionaryHelpers.* build problems, r=khuey 2012-07-30 23:10:26 +03:00
Mihnea Dobrescu-Balaur
d92b80e9cf Bug 775281 - Add files necessary to run B2G xpcshell tests from test.sh, r=jgriffin, DONTBUILD because NPOTB 2012-07-30 12:04:45 -07:00
Mark Finkle
ecceaf8977 Backout 169ff207ed19, a34baed70c1b, f9ccdd490bd7, 39550ed860e6, 2194a2dd66b2, 908eb2e26843, a76e0a267f26 due to mobile viewport bustage (bug 778580) 2012-07-30 14:36:12 -04:00
Aryeh Gregor
d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Chris Peterson
009018e502 Bug 777511 - #define nullptr __null for gcc <= 4.5. r=ehsan
--HG--
extra : rebase_source : dd24e15d4b271d7ae1f604b6d7e4d0e76f614f40
2012-07-26 15:29:18 -07:00
Wan-Teh Chang
a228f11c25 Bug 764393: update NSS to NSS_3_13_6_BETA1 to fix the chain-building
looping bug.  (Also includes fixes for bugs 489188, 757189, 757197,
762351, 762353.)
2012-07-30 15:23:38 -07:00
Bonnie Surender
63f7370e42 Bug 769726: Tests for idle API interactions with the bfcache. r=khuey 2012-07-30 15:18:38 -07:00
Jed Parsons
01dd952591 Bug 778002: Identity should use createInstance, not getService, to get an XHR. r=me 2012-07-30 15:14:30 -07:00
Matt Brubeck
bf73b59537 Back out 7ac323ff812e (bug 768351) because crashtests/768351.svg fails with an unexpected assertion 2012-07-30 15:09:22 -07:00
Sriram Ramasubramanian
f836b09ac7 Bug 778438: ActionBar crash on Awesomebar. [r=mfinkle] 2012-07-30 14:21:29 -07:00
Brendan Eich
8b4a0accf4 Bug 778627 - Warning and related/nearby naming/style nit fixes (r=bpeterson). 2012-07-30 13:58:18 -07:00
Gregor Wagner
ce0aa8bd3f Bug 778027 - [Settings API] addObserver & onsettingchange quirks. r=sicking 2012-07-30 13:52:51 -07:00
Geoff Brown
dd2820f364 Bug 778784: Add logging to sutAgent to track its lifetime; r=jmaher 2012-07-30 14:45:07 -06:00
Bobby Holley
7a038349c8 Bug 778409 - Enter the compartment of unwrappedProto rather than obj in Rewrap. r=gabor
This can happen if chrome sets its proto to a content object from a different scope
than the one doing the wrapping. In this case, the prototype chain looks like this:

chromeobj => CCW(examplecom_obj) => CCW(examplecom_scope.Object.prototype)

When wrapping chromeobj for exampleorg_scope, things will look like this:

COW(chromeobj) => CCW(examplecom_obj) => CCW(examplecom_scope.Object.prototype)

Note that we don't remap the proto of CCW(examplecom_scope) to
exampleorg_scope.Object.prototype, because the proto remapping only happens when
the object we're wrapping is chrome. There's no reason it has to be this way, but
even if we changed it we still wouldn't get the nice remapped lookup behavior to
exampleorg_scope.Object.prototype, because the proxy handler for CCW(examplecom_obj)
isn't a ChromeObjectWrapper, and thus doesn't know how to to the prototype bouncing
correctly.

Anyway, I suspect this case isn't worth worrying about as long as we don't crash.
2012-07-30 22:18:55 +02:00
Nick Alexander
3182617118 Bug 778081: No NullPointerException in CommandProcessor.getArgsList. r=rnewman
--HG--
extra : rebase_source : 8fd9757ef2b385f6d033e278864d8b2770aceb4a
2012-07-30 13:05:33 -07:00
Nick Alexander
55491370c7 Bug 766354: Don't leak PII from SendTabActivity. r=rnewman
--HG--
extra : rebase_source : cd626fd18dec41efb80fd00250b164517bcd5d5b
2012-07-30 13:05:04 -07:00
Jason Orendorff
4f84e8ad39 Disable two E4X tests that were failing only on platforms using e10s content processes after landing bug 765890. no_r=orange. 2012-07-30 14:52:02 -05:00
Jonathan Watt
69799e28b1 Bug 768351 - "ABORT: Passed bad frame" with mask pointing at data: URL. r=roc. 2012-07-30 20:14:18 +01:00
Matt Brubeck
4a39fc5bfb Back out 20b67f48676c (bug 778355) because of potential deadlock detected in make check 2012-07-30 11:56:48 -07:00
Mark Finkle
331d76deeb Backout 883bdf118b52 since dependent code was backed out from m-c 2012-07-30 14:41:54 -04:00
David Zbarsky
176133d420 Bug 778799 - When offloading animations, use the device pixels to figure out scale instead of CSS pixels r=mattwoodrow 2012-07-30 11:25:25 -07:00
Andrew Quartey
df797e7733 Bug 735615 - Remove AutoClean from mozglue/linkers/Utils.h r=glandium 2012-07-30 14:17:53 -04:00
Chris Peterson
24e7826021 Bug 778472 - Part 2: Replace wildcard import statements with fully-qualified names. r=mfinkle 2012-07-27 17:54:28 -07:00
Chris Peterson
d44be64a5e Bug 778472 - Part 1: Remove unused and redundant import statements. r=mfinkle 2012-07-27 17:54:41 -07:00
Trevor Saunders
d104d715a1 bug 777117 - add table cell accessible interface r=davidb
From 5d763ba823c357e2023c0e8b4ee6c7c173433d23 Mon Sep 17 00:00:00 2001
---
 accessible/src/generic/ARIAGridAccessible.cpp |    9 +++-
 accessible/src/generic/ARIAGridAccessible.h   |    9 +++-
 accessible/src/generic/TableCellAccessible.h  |   71 +++++++++++++++++++++++++
 accessible/src/html/HTMLTableAccessible.cpp   |    9 +++-
 accessible/src/html/HTMLTableAccessible.h     |    9 +++-
 accessible/src/xpcom/xpcAccessibleTableCell.h |   37 +++++++++++++
 accessible/src/xul/XULListboxAccessible.cpp   |    9 +++-
 accessible/src/xul/XULListboxAccessible.h     |    9 +++-
 accessible/src/xul/XULTreeGridAccessible.cpp  |    9 +++-
 accessible/src/xul/XULTreeGridAccessible.h    |    9 +++-
 10 files changed, 168 insertions(+), 12 deletions(-)
 create mode 100644 accessible/src/generic/TableCellAccessible.h
 create mode 100644 accessible/src/xpcom/xpcAccessibleTableCell.h
2012-07-24 11:58:25 -04:00
David Zbarsky
f8268417e9 Bug 778496 - Layer should store ComputedTimingFunction directly rather than as a pointer r=roc 2012-07-29 18:59:26 -07:00
Jonathan Watt
b82eee1846 Bug 776747 - Talos Regression :( SVG, Opacity Row Major increase 4.54%. r=roc. 2012-07-30 01:35:26 +01:00
Nicholas Cameron
d81fe2c80e Merge backout, a=bustage fix 2012-07-30 11:41:25 +12:00
Nicholas Cameron
e9faa0eec1 Backout bug 718849 2012-07-30 11:40:42 +12:00
Jim Mathies
3a9fe0e5ea Bug 778569 - Add uiautomationcore to accessibility client detection. r=trev.saunders 2012-07-29 17:59:01 -05:00
Nicholas Cameron
52c22cb8c0 Bug 718849; patch to keep Skia up to date. r=gw280 2012-07-30 10:35:54 +12:00
Ted Shroyer
3d7f99baf9 Bug 765890 - Alter mochitests/jsreftests to pass when javascript.options.xml.content defaults to false. r=jorendorff.
--HG--
extra : rebase_source : 12bd1c7b597c4834424876ac797cf7c118434d5e
2012-07-20 14:00:53 -05:00
Aryeh Gregor
b044181b5e Bug 778104 - NS_IMPL_STRING_ATTR incorrectly uses bool as nsresult; r=bz 2012-07-30 16:48:02 +03:00
Aryeh Gregor
bc9c83fb09 Bug 777292 - Return -1 from nsTableRowGroupFrame::FindLineContaining on null param; r=roc 2012-07-27 17:03:25 +03:00
Aryeh Gregor
7bf2cd4049 Bug 777292 - netwerk/: Don't treat number of bytes as an nsresult; r=bz 2012-07-27 17:03:25 +03:00
Aryeh Gregor
b126f351ee Bug 777292 - gfx/, widget/: Remove conversions to nsresult that will always result in NS_SUCCEEDED; r=roc 2012-07-27 16:52:43 +03:00
Aryeh Gregor
c81630fddb Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan 2012-07-27 16:59:29 +03:00
Justin Lebar
ddb0196aad Bug 778355 - Don't clear mWindow in nsWebShellWindow's destructor; nsXULWindow will clear it when it's destroyed. r=roc
--HG--
extra : rebase_source : 8e14b506f53861315e8e96bc8f775f141cd8e8dd
2012-07-30 12:20:42 -04:00
Landry Breuil
a195799c2e Bug 777696: Fix gstreamer backend on big endian architectures. r=doublec 2012-07-30 17:57:15 +02:00