Commit Graph

7550 Commits

Author SHA1 Message Date
Ed Morley
a8e51c3df7 Backout 776f008404bf (bug 771202) for mochitest-3 orange 2012-07-13 11:07:26 +01:00
Bobby Holley
50c6d52c5a Bug 771202 - Don't double-call OnWrapperDestroyed. r=bsmedberg
Calling OnWrapperDestroyed at this point in OnDestroy doesn't make sense, because the JS objects have a finalize hook that also calls OnWrapperDestroyed regardless of whether or not they still have a pointer stashed in their private. So when we do this, we get a bunch of assertions about unmatched calls to OnWrapperDestroyed.

AFAICT the only reason this worked before is that this code never ran: I put a MOZ_ASSERT just before call to OnWrappedDestroyed in OnDestroy, and it never fired during the dom/plugins mochitests.
2012-07-13 10:56:38 +02:00
Bobby Holley
ba801827f7 Bug 771202 - Tests. r=bsmedberg 2012-07-13 10:55:14 +02:00
Bobby Holley
b3d24f5084 Bug 771202 - Unwrap object arguments passed to plugins. r=bsmedberg 2012-07-13 10:55:14 +02:00
Bobby Holley
b629b15aeb Bug 771202 - Implement post-transplant plugin behavior. r=bsmedberg 2012-07-13 10:55:14 +02:00
Bobby Holley
c3555699ca Bug 771202 - Make the prototype climbing code in nsJSNPRuntime unwrap security wrappers. r=bsmedberg 2012-07-13 10:55:14 +02:00
Bobby Holley
36dc1f0877 Bug 771202 - Add a PostTransplant nsIXPCScriptable hook. r=peterv 2012-07-13 10:55:14 +02:00
Nicholas Nethercote
d3831f9782 Bug 749010 (part 2) - Move code around to merge two anonymous namespaces; no functional changes. r=bent. 2012-07-12 23:51:01 -07:00
Eric Faust
8cc5a05403 Bug 766447 - Teach TI about the new DOM bindings. (r=bhackett) 2012-07-11 20:55:19 -07:00
Ryan VanderMeulen
166dcf4016 Merge m-c to inbound. 2012-07-12 21:17:15 -04:00
Ryan VanderMeulen
04024b44bc Merge m-c to inbound. 2012-07-12 21:12:17 -04:00
Ryan VanderMeulen
7b319a5a6b Merge the last PGO-green inbound changeset to m-c. 2012-07-12 20:46:27 -04:00
Ryan VanderMeulen
fc6826fa44 Backout de697e323b39, b778d551c9e5, and 4b9414cba94d (bug 544088) due to build bustage. 2012-07-12 19:52:15 -04:00
Blake Kaplan
0ce9202fae Bug 772801 - Deal with drivers that don't support active/passive scanning. r=mwu DONTBUILD 2012-07-12 15:09:18 -07:00
Martin Stransky
249d73d703 Bug 544088 - UseAsyncPainting() -> IsOOP(). r=joshmoz 2012-07-12 19:28:53 -04:00
Martin Stransky
cba37b7a79 Bug 544088 - Support Xt plugins OOP. r=karlt 2012-07-12 19:28:53 -04:00
Benoit Girard
aade28e31a Bug 772665 - Add console.profile to test_consoleAPI.html. r=gavin 2012-07-12 17:27:10 -04:00
Benjamin Smedberg
d19c5bb416 Bug 771251 - OOP crash reporting accesses the directory service off the main thread. In addition, the first design of the crash injector callback meant that we're dropping some set of Flash crashes which happen during an RPC call. r=ted
* Fix the directory service usage by saving the pending directory path from OOPInit.
* Force clients to call OOPInit on the main thread.
* Make injected crashes available via TakeMinidumpForChild and give each crash a sequence number so that we can pick the earliest crash from the three possibilities; delete the other two to avoid polluting about:crashes
2012-07-10 22:20:05 -04:00
Ed Morley
b42ebe8a76 Backout 6bbf3f22bb5d (bug 753158), 38a703b244c2 (bug 753145), c9a5dfa1b07d (bug 767750), cd782fd66995 & 6cf7aa93994c (bug 765956), 0253f34f6bc2 & 41d5c8529748 (bug 771039),94f6bf99a4aa (bug 766447),fad7d06d7dd5 (bug 772303) for winxp pgo-only jsreftest failures (caused by fad7d06d7dd5) and the rest for conflicts, on a CLOSED TREE 2012-07-12 13:04:51 +01:00
Anant Narayanan
49cb4ef18b Bug 771833: Assign an nsIPrincipal to media streams returned by getUserMedia; r=roc 2012-07-12 04:53:48 -07:00
Anant Narayanan
9e902cd6a9 Bug 691234: Part 3/3: Add DOM binding for getUserMedia on Desktop; r=jst 2012-07-12 04:53:08 -07:00
Benoit Girard
911ff8e311 Bug 772665 - Add console.profile API to be used by profiling extensions. r=rcampbell 2012-07-12 16:04:37 -04:00
David Keeler
12645e6e65 bug 760625 - use the blocklist to inform click-to-play plugins. r=joshmoz,bmcbride 2012-07-11 08:56:34 -07:00
Benoit Jacob
eae0b8c0a9 Bug 760323 - fix --disable-webgl : let it also disable the bindings and s3tc extension - r=bz 2012-07-12 01:30:17 -04:00
Anant Narayanan
dbd8f86f56 Backout b53e8a614a4c, bustage 2012-07-11 21:43:48 -07:00
Anant Narayanan
c368641109 Backout 39fe6a5577d7, bustage 2012-07-11 21:43:24 -07:00
Anant Narayanan
fd62daa46c Bug 771833: Assign an nsIPrincipal to media streams returned by gUM; r=roc 2012-07-11 21:24:34 -07:00
Anant Narayanan
e83f8d1868 Bug 691234: Part 3/3: Add DOM binding for getUserMedia on Desktop; r=jst 2012-07-11 21:22:24 -07:00
David Zbarsky
59d5967dcb Bug 773025 - fix 2 warnings in dom/plugins r=jst 2012-07-11 20:55:59 -07:00
Eric Faust
c9728904d1 Bug 766447 - Teach TI about the new DOM bindings. (r=bhackett) 2012-07-11 20:55:19 -07:00
Matt Brubeck
22d4409672 Back out bug 769254 (a81e5e60dca3, 0afba80f60a1, d5e4f42b8540, 636dfa176232) because of Windows M3 leaks
--HG--
extra : rebase_source : b1dfca300a71e60feafd46a5e93ee99a79d56051
2012-07-11 17:30:30 -07:00
Justin Lebar
fec233023e Bug 769254 - Part 4: Tests for clicking _blank link from <iframe mozbrowser>. r=bz
--HG--
extra : rebase_source : ac250aa36b7a0eb25fa45dbff87cb5e519c55a30
2012-07-11 16:02:20 -04:00
Justin Lebar
910d854fbe Bug 769254 - Part 2: Modify nsPIWindowWatcher::OpenWindowJS (renamed to OpenWindow2) so we can pass in the URL for target=_blank links without navigating the opened window to that URL. r=bz
--HG--
extra : rebase_source : 1de945d5933824d79866bbc61e2493f96217a9ee
2012-07-11 16:02:20 -04:00
Justin Lebar
17f2523571 Bug 769254 - Part 1: Fix crashes in BrowserElementParent.cpp, TabChild.cpp on null URI to window-opening code. r=bz
--HG--
extra : rebase_source : c5a75bed6a70ab9482fc7c6c4bf98f1ae41a7898
2012-07-11 16:02:20 -04:00
Gregor Wagner
67d201613b Bug 765435 - Make JS heap growth factor depend on the heap size after a GC and GC frequency. r=billm 2012-07-11 11:09:53 -07:00
Gregor Wagner
fa0c670de5 Bug 772127 - Run Contacts and Settings API tests on desktop. r=sicking 2012-07-11 10:41:40 -07:00
Fabrice Desré
fa4961cc0f Bug 772363 - Followup to fix test failures [r=fabrice] 2012-07-11 10:02:58 -07:00
Fabrice Desré
b550133be0 Bug 769350 - Implement trusted/certified app scheme support [r=vingtetun] 2012-07-11 08:38:36 -07:00
Fabrice Desré
d85fdad2c5 Bug 772363 - Implement installation API for packaged apps [r=vingtetun] 2012-07-11 08:38:33 -07:00
Michal Novotny
1dab69d865 Bug 737615 - Remove use of synchronous cache API from unit tests - dom tests, r=honzab 2012-07-11 11:18:38 +02:00
Doug Turner
8437779089 Bug 761930 - Multi-process support for Device Storage. r=sicking 2012-06-19 16:14:39 -07:00
Doug Turner
0acbbc1c5e Bug 773713 - Stop using profile directory for Device Storage testings. r=jmaher 2012-07-13 12:35:33 -07:00
Doug Turner
6b6c7e2b75 Bug 768654 - Device Storage - Add test that verifies the content written. r=bent 2012-07-13 09:36:19 -07:00
Gene Lian
6ad7788052 Bug 773596 - Alarm API (make up missing sendAsyncMessage() for some early-return if-blocks). r=vivien 2012-07-13 20:01:43 +08:00
Ryan VanderMeulen
bf22b9314b Backout b3f14a850269, f9d877d78294, and c7335ca109a4 due to build bustage. 2012-07-14 00:01:52 -04:00
Doug Turner
ca640a90d5 Bug 761930 - Multi-process support for Device Storage. r=sicking 2012-06-19 16:14:39 -07:00
Doug Turner
094d2db595 Bug 773713 - Stop using profile directory for Device Storage testings. r=jmaher 2012-07-13 12:35:33 -07:00
Doug Turner
45fd9680d9 Bug 768654 - Device Storage - Add test that verifies the content written. r=bent 2012-07-13 09:36:19 -07:00
Ben Turner
e738469ac9 Bug 772700 - 'IndexedDB - OOP from a JS component or JSM doesn't work'. r=khuey+mrbkap.
--HG--
rename : dom/indexedDB/test/unit/head_idb.js => dom/indexedDB/test/unit/head.js
extra : transplant_source : %217%FC%0D%A3%82%DB%F2DB%F1%5Dc%99%B9%C6j%E1U%A2
2012-07-13 23:05:58 -04:00
Nicholas Nethercote
c571f4c861 Bug 749010 (part 1) - Make WorkerMemoryReporter less crashy. r=bent.
--HG--
extra : rebase_source : 9c73e73ef71968236ed15cf5e7afab3d113a350a
2012-05-29 19:39:38 -07:00
David Zbarsky
bda664c8ca Bug 773128 - Fix some build warnings r=bent 2012-07-13 19:06:41 -07:00
Boris Zbarsky
43d45b95b9 Bug 771594. Allow preference control over what CSS properties we parse. r=dbaron,dholbert 2012-07-13 19:59:05 -04:00
Boris Zbarsky
43d3bd71ac Bug 757164. Move infallibility annotations into webidl. r=peterv
In this new setup, there are three new extended attributes: Infallible,
GetterInfallible, SetterInfallible.  The first one applies to both methods and
attributes, while the last two apply only to attributes.  Each one can be
either set with no value specified (in which case it applies both on main
thread and in workers) or can be set to MainThread or Workers to limit where it
applies.

If Infallible is set on an attribute, then GetterInfallible and
SetterInfallible will be ignored.  So if you want to specify, for example, an
attribute that's infallible on the main thread and has an infallible getter in
workers, the right way to do that is [GetterInfallible,
SetterInfallible=MainThread].
2012-07-13 19:29:14 -04:00
Matthew Noorenberghe
06b4273206 Bug 753239 - Implement a DOM component for navigator.id. r=jst
--HG--
extra : rebase_source : 4cd2b33f46c6c884dc9a3ff4820203275a6c5ae9
2012-06-29 16:12:00 -07:00
Ehsan Akhgari
84bc5927cc Correct the initialization order in the IDBIndex constructor (no bug; DONTBUILD) 2012-07-11 00:25:47 -04:00
Andrew McCreight
97d04b5f84 Bug 704623 - Track memory used by orphan DOM nodes. code=mccr8,njn. r=njn,mccr8.
--HG--
extra : rebase_source : f4a4b6e1b1de35a08e86130110a6fbd588093867
2012-04-20 14:01:33 +10:00
John Schoenick
6630c58f4e Bug 772590 - The plugin category manager registration should account for multiple plugins per MIME, r=josh 2012-07-10 17:06:17 -07:00
John Schoenick
3a8e7786bd Bug 755551 - Followup, check if the preference has a value, not necessarily a user value, r=josh 2012-07-10 17:06:17 -07:00
Ryan VanderMeulen
45165360da Backout 7d1b925bd4ee and 52e5b438c911 (Bug 753239) due to almost permaorange. 2012-07-10 19:21:54 -04:00
Eitan Isaacson
046f0925ed Bug 757372 - Announce "editing" when in editing mode. Use a11y states and focus to determine it. r=davidb 2012-07-10 16:10:15 -07:00
Matthew Noorenberghe
5fa148618a Bug 753239 - Implement a DOM component for navigator.id. r=jst
--HG--
extra : rebase_source : 8ec0f3a07dc6dc1991758d9c60f43a823f564b0c
2012-06-29 16:12:00 -07:00
Hsinyi Tsai
57b151267e Bug 766822 - WebTelephony: add tests for hanging up dialing/alerting/holding calls. r=philikon 2012-07-04 13:46:11 +08:00
Jan Varga
994c586c3d Bug 771498 - FileHandle: getFile() should return a DOMRequest (instead of a FileRequest). r=sicking 2012-07-10 07:07:01 +02:00
Justin Lebar
e699d9487f Bug 772077 - Fix randomorange caused by test_browserElement_inproc_ContextmenuEvents.html calling SimpleTest.finish() twice. r=daleharvey 2012-07-09 23:32:48 -04:00
Oleg Romashin
b5593c33f5 Bug 770754 - Allow build Qt mobility without maemo define. r=dougt 2012-07-09 20:53:17 -04:00
Ryan VanderMeulen
959e0d6234 Merge m-c to inbound. 2012-07-09 20:53:11 -04:00
Gregory Szorc
673af4d9e1 Merge mozilla-central into services-central 2012-07-09 15:15:18 -07:00
Gregory Szorc
f0647bbe94 Merge mozilla-central into services-central 2012-07-08 20:48:04 -07:00
Landry Breuil
5c1a3675a7 Bug 764436 - remove DT_WHT constant, it's unused and not standardized. r=yoric 2012-07-08 21:32:04 +02:00
L. David Baron
22e6bbc578 Add flush before we find our pres context, to fix media queries tests on ringmark. (Bug 753777) r=bzbarsky 2012-07-07 21:41:27 -07:00
Mihai Sucan
2226658762 Bug 770993 - ConsoleAPI.js consumes excessive amounts of memory; r=dbaron,rcampbell 2012-07-07 13:21:04 +03:00
Gregory Szorc
80b5ac1bfa Merge mozilla-central into services-central 2012-07-03 09:55:45 -07:00
Richard Newman
bed5378e3f Merge m-c to s-c. 2012-07-01 11:06:36 -07:00
Ryan VanderMeulen
ea4eac24f4 Bug 758357 - Back out part of the landing due to risk of it introducing oranges. 2012-07-01 09:38:44 -04:00
Richard Newman
c8abd6c7c8 Merge m-c to s-c. 2012-06-29 23:45:13 -07:00
Vicamo Yang
0679a81acf Bug 769347: order database query results by timestamp, r=philikon 2012-07-09 13:06:13 +08:00
Emmanuele Bassi
8e11d54d2a Bug 762303 - Unprefix CSS Transition properties and provide temporary aliases for -moz-transition and exposed subproperties. r=dbaron 2012-07-08 21:25:10 -04:00
Emmanuele Bassi
0eecac73f7 Bug 762302 - Unprefix CSS Animation properties and @keyframes rule and provide temporary aliases for -moz-animation and exposed subproperties. r=dbaron 2012-07-08 21:25:10 -04:00
Kyle Machulis
d07c185846 Bug 769785 - Settings API breaks due to IndexedDB Prefix change; r=khuey 2012-06-29 13:53:41 -07:00
Kyle Huey
aa7956cecf Bug 726378: Followup to fix orange make check. r=me 2012-06-29 11:49:29 -07:00
Kyle Huey
3b3b755501 Bug 726378: Unprefix IndexedDB. r=sicking 2012-06-29 09:48:35 -07:00
Jonas Sicking
2e7cb24268 Bug 755514: Cursor.update support for keypath arrays. r=khuey 2012-06-29 09:48:34 -07:00
Kyle Huey
8495031c2a Bug 769356: Calling transaction.abort() should leave transaction.error as null, but throwing exceptions should set transaction.error. r=sicking 2012-06-29 09:48:34 -07:00
Kyle Huey
c3a2cee696 Bug 769537: Actually use QuotaExceededError for database creation. r=bent 2012-06-29 09:48:34 -07:00
Kyle Huey
be8af1d20d Bug 758497: Mimic [EnforceRange] for cursor.advance until we get new WebIDL bindings. r=sicking 2012-06-29 09:48:34 -07:00
Kyle Huey
dac92e82a6 Bug 762206: Fire an nsScriptErrorEvent at the window to get the proper window.onerror behavior. r=sicking 2012-06-29 09:48:34 -07:00
Kyle Huey
90e0774f10 Bug 755511: Revert all in-memory data when reverting versionchange transactions. r=sicking 2012-06-29 09:48:34 -07:00
Kyle Huey
4d13cb8930 Bug 755507: Sort objectStoreNames/indexNames. r=sicking 2012-06-29 09:48:34 -07:00
Kyle Huey
f45badab78 Bug 755515: Catch exceptions in error handlers. r=sicking 2012-06-29 09:48:34 -07:00
Blake Kaplan
3c5cfa25dc Bug 766497 - Dispatch events for wifi going up and down and handle multiple requests to bring it up and down at the same time. r=gal DONTBUILD (missed this review comment in the original checkin) 2012-06-29 12:32:25 +02:00
Richard Newman
1ef0bda54b Merge m-c to s-c. 2012-06-28 16:55:10 -07:00
Blake Kaplan
044a52fa5b Bug 769227 - Wait a little bit before starting wpa_supplicant on the otoro. r=gal DONTBUILD 2012-06-28 14:36:13 +02:00
Blake Kaplan
92c9ebc5b7 Bug 766497 - Dispatch events for wifi going up and down and handle multiple requests to bring it up and down at the same time. r=gal 2012-06-28 12:01:51 +02:00
Ryan VanderMeulen
ed99b8a4f0 Backout a8bfe5a447e7 for creating more orange than it fixed. 2012-06-30 21:51:09 -04:00
Jonas Sicking
3463ca6bd2 Back out part of the landing for bug 758357 due to risk of it introducing oranges 2012-07-01 02:25:20 +02:00
Bill McCloskey
c89d5120cb Bug 758034 - Avoid compartment changed GC resets (r=smaug) 2012-06-30 14:18:10 -07:00
Bill McCloskey
96e4284f11 Bug 758034 - Clean up browser GC API (r=smaug) 2012-06-30 14:16:32 -07:00
Jonas Sicking
4f8adcd92b Attempt at fixing orange due to setting wrong permission in test. Bug 758357 2012-06-30 20:58:13 +02:00
Ben Turner
5eacba0467 Bug 758357: Only show prompt after 50mb of usage for now. Plan is to soon introduce a new service which allows us to remove "old" indexedDB databases and keep a global quota, but for now we simply remove the prompt. r=sicking 2012-06-30 19:57:15 +02:00
Anant Narayanan
630d1ebde3 Bug 760898: Merge with s-c 2012-06-26 13:21:36 -07:00