Commit Graph

107623 Commits

Author SHA1 Message Date
Bobby Holley
515994bfb3 Bug 792036 - Add a SpecialPowers API to provide access to the Components object in various forms. r=mrbkap,ted
Now that window.Components is no longer acccessible to page JS, we need a way
to access it in mochitests. So this patch provides SpecialPowers.Components,
which is the bonafide Components object for the window upon which SpecialPowers
is defined. It also provides SpecialPowers.{Cc,Ci,Cr,Cu}, which are SpecialPowers-wrapped
versions of their respective sub-objects (with the exception of Ci, which is unwrapped).
2012-09-24 14:46:27 +02:00
Bobby Holley
847e24f9c1 Bug 792036 - Factor out glue code to get the JS Components object for a scope. r=mrbkap 2012-09-24 14:46:27 +02:00
Bobby Holley
98ac4b534a Bug 792036 - Refactor AttachComponentsObject API to allow an explicit target. r=mrbkap
The aGlobal API is currently unnecessary, since it should always be equal to the global obtained from the scope. But we'll want to manually specify the target object in subsequent patches, so make it an optional argument that's currently never passed.
2012-09-24 14:46:27 +02:00
Cameron McCormack
d32604b3d0 Bug 793612 - Make nsSVGArcConverter robust against zero-sized arc segments. r=longsonr 2012-09-24 22:07:41 +10:00
Alexander Surkov
746828ddf8 Bug 782991 - enable more logging of states/test_link.html 2012-09-24 20:07:35 +09:00
Robert O'Callahan
fe5455c217 Bug 791616. Part 3: Don't scroll vertically to get the caret into view if that's not a perceived scrollable direction. r=mats 2012-09-24 16:38:16 +12:00
Robert O'Callahan
8a112bf9e6 Bug 791616. Part 2: Add API to ScrollIntoView methods to control whether to scroll in a direction when that direction is not a perceived scrollable direction. r=mats 2012-09-24 16:37:10 +12:00
Robert O'Callahan
ac17ee8de3 Bug 791616. Part 1: Add nsIScrollableFrame::GetPerceivedScrollingDirections to consolidate logic for whether UI actions should be allowed to scroll in a given direction. r=mats 2012-09-24 16:30:33 +12:00
Bobby Holley
6fdb3137fc Bug 783702 - Call through to get() for hasPrototype() path in getElementIfPresent(). r=ejpbruel 2012-09-24 12:05:50 +02:00
Robert O'Callahan
e1d57ecaf5 Back out bug 791616 due to test failure. 2012-09-24 21:55:16 +12:00
Robert O'Callahan
3ec611585f Bug 791616. Part 3: Don't scroll vertically to get the caret into view if that's not a perceived scrollable direction. r=mats
--HG--
extra : rebase_source : 4efe1d3bfcb871b3474abb1a9029e5bafe175d9c
2012-09-24 16:38:16 +12:00
Robert O'Callahan
1adc46256e Bug 791616. Part 2: Add API to ScrollIntoView methods to control whether to scroll in a direction when that direction is not a perceived scrollable direction. r=mats
--HG--
extra : rebase_source : 4e178c79f19f96eaa31711c63c117835b28bcc10
2012-09-24 16:37:10 +12:00
Robert O'Callahan
a9ec9035cd Bug 791616. Part 1: Add nsIScrollableFrame::GetPerceivedScrollingDirections to consolidate logic for whether UI actions should be allowed to scroll in a given direction. r=mats
--HG--
extra : rebase_source : 470acc887036b633f43a30fb7dc6ca24ddc02dc6
2012-09-24 16:30:33 +12:00
Robert O'Callahan
029e4c3706 Bug 792665. Stop allowing HTMLMediaElement.src = mediaStream, and support HTMLMediaElement.mozSrcObject = mediaStream instead. r=cpearce,jesup
--HG--
extra : rebase_source : 1986b88dc293939055b12ec7065c37dae394af8c
2012-09-24 15:47:30 +12:00
Robert O'Callahan
e711b93859 Bug 778682. Part 2: Wait for NotifyHasCurrentData(true) callback on the input stream before entering HAVE_CURRENT_DATA for a media element. r=cpearce
--HG--
extra : rebase_source : c6e2fd2f258fbacd767a62751a1d1db3ceea6dd0
2012-09-20 12:47:50 +12:00
Robert O'Callahan
402b08d6f4 Bug 778682. Part 1: Add NotifyHasCurrentData callback on StreamListener. r=jesup
--HG--
extra : rebase_source : a56fe8ba36639da7638eb590bd9a7a7e65efae95
2012-09-20 12:47:51 +12:00
Gary Kwong
d592836a00 Bug 696305 - Update i686 and x86_64 Linux Valgrind suppression files. DONTBUILD 2012-09-24 01:23:32 -07:00
Randell Jesup
031e2c7583 Bug 793393: Fix VC8/9 builds: fix HAVE_64BIT_OS test, modify libsrtp to force StandardInteger.h r=khuey 2012-09-24 01:44:03 -04:00
Alexander Surkov
35912ce836 Bug 766112 - enable logging for events/test_docload.xul 2012-09-24 14:14:28 +09:00
Karl Tomlinson
3e96a1930e b=792305 don't update mask bits outside the mask r=roc
--HG--
extra : rebase_source : 682a8780f0e54d082ad2f35c1b074c3fe2d82817
2012-09-24 11:17:31 +12:00
Karl Tomlinson
97a28264b2 b=792305 delay shape mask update from resize to expose r=roc
--HG--
extra : rebase_source : 6b00c1e4d31fc1d5b6dc4d09882591da82dc622d
2012-09-24 11:15:48 +12:00
Marco Castelluccio
7447490c1f Bug 630346 - Merge LayerManagerOGL::CleanupResources into LayerManagerOGL::Destroy r=karlt
--HG--
extra : rebase_source : ef7c3c9855f3a3e22b8a8529d922587eaf71ba43
2012-09-24 11:23:39 +12:00
Marco Castelluccio
6bef6df68e Bug 630346 - Use basic layers for windows with transparency r=karlt
--HG--
extra : rebase_source : c078915a7455b61e0aff76af3cea735c4342a219
2012-09-24 11:22:28 +12:00
Nicholas Nethercote
4055fa6ad2 Bug 793086 (part 2) - Remove jsproto.tbl. r=jwalden.
--HG--
extra : rebase_source : b72b37267e5f26f2ab1e52d90673745124c760ae
2012-09-20 23:00:08 -07:00
Nicholas Nethercote
db6466781a Bug 793086 (part 1) - Convert JSClassInitializerOp parameter to HandleObject. r=sfink.
--HG--
extra : rebase_source : e8d20aad8abc0bf85df1f05e90be1ce46e8f0125
2012-09-20 22:17:49 -07:00
Matt Woodrow
73e57d8345 Bug 792314 - Build full display lists for nsPageFrame. r=roc 2012-09-20 11:26:33 +12:00
Matt Woodrow
944b66cc36 Bug 792314 - Make nsDisplayTransform support untransformed frames. r=roc 2012-09-20 11:14:07 +12:00
Matt Woodrow
65c75afdfb Bug 788044 - Apply the ContainerState offset to ImageLayers. r=roc 2012-09-24 14:56:39 +12:00
Phil Ringnalda
529f1dc146 Bug 782546 - make the todo_is() on linux32 a todo(false) since it's only consistent about being either true or false
--HG--
extra : rebase_source : 571e795503f90a4613ad448a6cb9e63dfff64126
2012-09-23 18:49:48 -07:00
Ralph Giles
23bb918078 Bug 793315 - Test single tag metadata. r=cpearce
Verify that we return metadata tags from streams with only a
single comment by adding a single comment to a file which
previously had none.

This bug went undetected because all our examples had either
multiple tags, or none.
2012-09-21 13:13:41 -07:00
Ralph Giles
8afe2db560 Bug 793315 - Fix mozGetMetadata with single tag streams. r=cpearce
In Bug 785057, the implementation of mozGetMetadata was changed
to propagate a failure to define a new object property through
the return value of the nsDataHashtable interator. It turns out,
EnumerateRead returns the number of items processed, not the
last PLDHashOperator result. The upshot of which is that
the method returned an error if and only if only one tag
was processed.

Instead, carry and error flag in the iterator state, and check
that for failure.
2012-09-21 13:13:41 -07:00
Bill McCloskey
1f956a0bc4 Bug 788362 - 9,440 bytes in 107 blocks are definitely lost as detected by Valgrind with selectforgc. r=jcoppeard 2012-09-23 21:30:30 -04:00
Ryan VanderMeulen
dc52af1a16 Merge m-c to inbound. 2012-09-23 21:30:24 -04:00
Ryan VanderMeulen
d62232002d Merge the last PGO-green inbound changeset to m-c. 2012-09-23 21:26:39 -04:00
Gary Kwong
ba406eaba0 No bug - Update i686 and x86_64 Linux Valgrind suppression files. DONTBUILD 2012-09-23 18:18:30 -07:00
Phil Ringnalda
dbcda72a59 Bug 789003 - ignoreAllUncaughtExceptions() in browser_586068-cascaded_restore.js, since we certainly do 2012-09-23 15:50:29 -07:00
Phil Ringnalda
921ae1778a Bug 691580 - disable the bits of test_focus_contextmenu.xul that constantly fail on Windows 2012-09-23 15:21:41 -07:00
Gavin Sharp
83e13fade1 Bug 772823: try to work around intermittent failure of this test on Linux by avoiding closing the window during onload
--HG--
extra : transplant_source : %3C%2B%B3%3A%F5S%AF%97t%80%DC%D4%C4%F1%26%8A%E6%8A%B5%B7
2012-09-23 17:13:01 -07:00
Cameron McCormack
9a7b739569 Bug 790938 - Add a test for SVG-in-OpenType glyphs in a mask. r=eflores 2012-09-24 10:22:04 +10:00
Mark Hammond
0216ac92d5 Bug 793036 - Close all service windows on logout. r=jaws 2012-09-24 09:49:28 +10:00
Neil Rashbrook
a092240bc8 Bug 793494 Allow non-libxul code to include nsIWidget.h again r=roc 2012-09-24 00:26:43 +01:00
Olli Pettay
66ef33d79d Bug 793473, propagate mDontPrint to descendants, r=roc 2012-09-24 01:20:34 +03:00
Ryan VanderMeulen
c4c6c1f408 Backout 63643fbbde88 due to mochitest-other orange. 2012-09-23 16:48:35 -04:00
Daniel Holbert
fd4c2014df Bug 793498: Annotate nsMediaSniffer as MOZ_FINAL. r=padenot 2012-09-23 13:12:21 -07:00
Landry Breuil
18bf4b7213 Bug 793409 - Fix bug 777292 fallout on OpenBSD/amd64 r=ehsan 2012-09-23 21:30:54 +02:00
Myk Melez
01e392abba Bug 791943. r=fabrice 2012-09-23 15:26:35 -04:00
Ryan VanderMeulen
819db48846 Merge m-c to inbound. 2012-09-23 15:26:30 -04:00
Yosy
fbc8b4825a Bug 792968 - Replace some regular expression string matches with String.startsWith and replace /^https?/ URI scheme tests with /^https?$/. r=dao 2012-09-23 21:09:29 +02:00
Jared Wein
a101a3d7bb Bug 774725 - Remove extra height associated with Social API toolbar button on Windows. r=felipe 2012-09-23 10:11:19 -07:00
Steven Lee
a8d94e6a67 Bug 792443 - hal::RegisterSystemTimeChangeObserver should register the observer through sandbox, r=jlebar 2012-09-23 13:00:32 -04:00