Commit Graph

100620 Commits

Author SHA1 Message Date
Jared Wein
0fe187f956 Bug 776606 - Possible chrome-level JS injection attack with user portraits in the Social API. r=gavin 2012-07-30 19:28:23 -07:00
Matt Woodrow
73b3aac203 Bug 779010 - Use nsStyleCoord equality operator to compare nsStyleSides and nsStyleCorners. r=dbaron 2012-07-30 19:25:28 -07:00
Benjamin Peterson
704457dec7 Bug 777190 - Don't compress files with huge strings; reenable source compression. r=jorendorff 2012-07-30 19:23:46 -07:00
Benjamin Peterson
db482fef8b Bug 778560 - Fix typo that prevented JS from ever using zlib. r=dmandelin 2012-07-30 19:23:44 -07:00
David Zbarsky
1e9fefd64e Bug 706179 Part 2: Add a BaseTransform and scaling to layers, r=roc, cjones 2012-07-30 19:20:00 -07:00
David Zbarsky
06ea1f66f2 Bug 778519 - Don't include Layers.h everywhere Part 2 r=cjones 2012-07-30 17:42:26 -07:00
Matt Brubeck
17c1cbbee8 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
b182917035 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
3947d0428b 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
f63a794f44 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
9ab78d95a2 Backout 83e0b185e888 (bug 778606) due to orange. 2012-07-30 20:14:29 -04:00
Ryan VanderMeulen
ed3645f4ca Merge m-c to inbound. 2012-07-30 20:14:22 -04:00
Brian Nicholson
1f6f183e25 Bug 777811 - Add getSubject() to AwesomeBarItem. r=mfinkle 2012-07-30 17:00:49 -07:00
Gregory Szorc
c764c3fb08 Bug 776822 - Add missing dom Makefile's to toolkit-makefiles.sh; r=khuey 2012-07-30 16:13:51 -07:00
Gregory Szorc
f4f12afb39 Bug 778042 - Add missing Makefile's to allmakefiles and toolkit-makefiles.sh; r=khuey 2012-07-30 16:12:58 -07:00
Justin Dolske
fc2be5e9bc Bug 778606 - SafeBrowsing.jsm should use nsUrlFormatter. r=gcp 2012-07-30 16:02:05 -07:00
Olli Pettay
1b9dbfc419 Bug 777401 - DictionaryHelpers.* build problems, r=khuey 2012-07-30 23:10:26 +03:00
Mihnea Dobrescu-Balaur
3e82eecf0d 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
70a01196ec 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
e806eeab4f Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Chris Peterson
685022c491 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
c6771234e8 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
c5e9fdfbaa Bug 769726: Tests for idle API interactions with the bfcache. r=khuey 2012-07-30 15:18:38 -07:00
Jed Parsons
c654e841fd Bug 778002: Identity should use createInstance, not getService, to get an XHR. r=me 2012-07-30 15:14:30 -07:00
Matt Brubeck
ddd301131f Back out 7ac323ff812e (bug 768351) because crashtests/768351.svg fails with an unexpected assertion 2012-07-30 15:09:22 -07:00
Sriram Ramasubramanian
c7ee833995 Bug 778438: ActionBar crash on Awesomebar. [r=mfinkle] 2012-07-30 14:21:29 -07:00
Brendan Eich
6bfa476207 Bug 778627 - Warning and related/nearby naming/style nit fixes (r=bpeterson). 2012-07-30 13:58:18 -07:00
Gregor Wagner
79683fb15e Bug 778027 - [Settings API] addObserver & onsettingchange quirks. r=sicking 2012-07-30 13:52:51 -07:00
Geoff Brown
434b0c7e1d Bug 778784: Add logging to sutAgent to track its lifetime; r=jmaher 2012-07-30 14:45:07 -06:00
Bobby Holley
8a52cd6c9b 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
a426db70af Bug 778081: No NullPointerException in CommandProcessor.getArgsList. r=rnewman
--HG--
extra : rebase_source : 8fd9757ef2b385f6d033e278864d8b2770aceb4a
2012-07-30 13:05:33 -07:00
Nick Alexander
fc793aafff 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
eb51654418 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
b6ea746ee7 Bug 768351 - "ABORT: Passed bad frame" with mask pointing at data: URL. r=roc. 2012-07-30 20:14:18 +01:00
Matt Brubeck
ea82649c0d Back out 20b67f48676c (bug 778355) because of potential deadlock detected in make check 2012-07-30 11:56:48 -07:00
Mark Finkle
940f8b585c Backout 883bdf118b52 since dependent code was backed out from m-c 2012-07-30 14:41:54 -04:00
David Zbarsky
39dc6657d0 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
64caf103c0 Bug 735615 - Remove AutoClean from mozglue/linkers/Utils.h r=glandium 2012-07-30 14:17:53 -04:00
Chris Peterson
603b105c37 Bug 778472 - Part 2: Replace wildcard import statements with fully-qualified names. r=mfinkle 2012-07-27 17:54:28 -07:00
Chris Peterson
dfd0007214 Bug 778472 - Part 1: Remove unused and redundant import statements. r=mfinkle 2012-07-27 17:54:41 -07:00
Trevor Saunders
68411fc9ad 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
a656d3adfe Bug 778496 - Layer should store ComputedTimingFunction directly rather than as a pointer r=roc 2012-07-29 18:59:26 -07:00
Jonathan Watt
e5a6a757ae Bug 776747 - Talos Regression :( SVG, Opacity Row Major increase 4.54%. r=roc. 2012-07-30 01:35:26 +01:00
Nicholas Cameron
fc10647bc5 Merge backout, a=bustage fix 2012-07-30 11:41:25 +12:00
Nicholas Cameron
e2b2783492 Backout bug 718849 2012-07-30 11:40:42 +12:00
Jim Mathies
3c4f5a96a7 Bug 778569 - Add uiautomationcore to accessibility client detection. r=trev.saunders 2012-07-29 17:59:01 -05:00
Nicholas Cameron
6d2208c3ad Bug 718849; patch to keep Skia up to date. r=gw280 2012-07-30 10:35:54 +12:00
Ted Shroyer
b97e71e237 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
63c13a47fa Bug 778104 - NS_IMPL_STRING_ATTR incorrectly uses bool as nsresult; r=bz 2012-07-30 16:48:02 +03:00
Aryeh Gregor
c31bbdf30a Bug 777292 - Return -1 from nsTableRowGroupFrame::FindLineContaining on null param; r=roc 2012-07-27 17:03:25 +03:00