Commit Graph

12294 Commits

Author SHA1 Message Date
Masatoshi Kimura
1224fb0c27 Bug 841802 - Part 1: Add ErrorResult::ClearMessage(). r=bz 2013-02-19 22:30:28 +09:00
Ryan VanderMeulen
360e368cab Merge m-c to inbound. 2013-02-19 04:47:00 -05:00
Tim Taubert
b35b1aa0d9 merge m-c to fx-team 2013-02-19 10:39:49 +01:00
David Zbarsky
c826cb691e Bug 833446: Remove nsIDOMSVGMarkerElement r=peterv 2013-02-18 17:48:54 -05:00
David Zbarsky
1c807c7cb2 Bug 833446: Remove nsIDOMSVGImageElement r=peterv 2013-02-18 17:48:54 -05:00
David Zbarsky
ac1bb558fe Bug 833446: Remove nsIDOMSVGMaskElement r=peterv 2013-02-18 17:48:54 -05:00
David Zbarsky
0bb6fbbc41 Bug 833446: Remove nsIDOMSVGAElement r=peterv 2013-02-18 17:48:53 -05:00
David Zbarsky
8e964492aa Bug 833446: Remove nsIDOMSVGTitleElement r=peterv 2013-02-18 17:48:53 -05:00
Ryan VanderMeulen
9b2dfc1041 Merge m-c to fx-team. 2013-02-18 11:07:20 -05:00
Tim Taubert
c31f81b2d9 Bug 672474 - followup to use GetExtantDoc(); r=ms2ger 2013-02-18 11:07:24 +01:00
L. David Baron
582d760397 Backed out changesets b093ba2c7ff9 and 0acbd06d48a9 (Bug 836655) for failing unit test. 2013-02-18 01:15:24 -08:00
L. David Baron
acdcd2ef36 Bug 836655: Fix bustage ("comparison between signed and unsigned integer expressions", warnings-as-errors) by using Contains rather than IndexOf. 2013-02-18 00:54:39 -08:00
Eric Chou
4f7b758879 Bug 842214 - Replace JS_NewStringCopyN with JS_NewUCStringCopyN, or non-ascii chars would be shown incorrectly, r=gyeh 2013-02-18 16:02:23 +08:00
Marco Chen
6b35baef9c Bug 836655 - [Audio] 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
--HG--
extra : rebase_source : 7c047f8643ca32920128fac51f92eb50dd1f4e30
2013-02-18 14:30:32 +08:00
Randy Lin
2887f23f47 Bug 834165 - Implement BlobEvent. r=smaug
--HG--
extra : rebase_source : 5d8f13baa4b2ff00a63300be54edb81ab2555bd9
2013-02-18 14:06:27 +08:00
Vicamo Yang
fbecbc5b2f Bug 838190: ensure every received SMS message is acked. r=gwagner 2013-02-18 15:11:13 +08:00
L. David Baron
c0b261e3e4 Bug 563195: Fix -Wshadow warnings in public JS API headers (those used from layout/style/). r=njn 2013-02-17 22:56:32 -08:00
Randell Jesup
57013db531 Bug 826044: Fix Webrtc crashtests, disable known permaoranges r=jsmith 2013-02-17 13:54:05 -05:00
Boris Zbarsky
d37856e270 Bug 841404. Make sure that we treat dictionaries inside sequence and array members of a dictionary as dependencies for it. r=peterv 2013-02-17 11:22:11 -05:00
Jan-Ivar Bruaroey
c944329e67 Bug 841958 - <reftest-wait> avoids JS SecurityError in crashtest 822197.html. r=jesup 2013-02-16 19:55:41 -05:00
Cykesiopka
6e648fb835 Bug 583566 - Remove old Java plugin scanning pref and related code. r=bsmedberg 2013-02-17 07:07:50 -05:00
L. David Baron
27140199ac Bug 841983: Require whitespace around 'not', 'and', and 'or' keywords in @supports rules. r=heycam
Matches spec change in https://dvcs.w3.org/hg/csswg/rev/34b185ae3bac .
2013-02-16 21:29:38 -08:00
David Dahl
391fb6f819 Bug 440046 - expose secure PRNG in the DOM (window.crypto.getRandomValues) r=cviecco r=bsmith 2013-02-15 15:38:15 -08:00
David Dahl
0edb332ed6 Bug 683262 - window.crypto throws if MOZ_DISABLE_DOMCRYPTO is turned on - revert nsIWindowCrypto patch - r=jst 2013-02-16 22:43:19 -06:00
David Dahl
c68721cd2c Bug 683262 - window.crypto throws if MOZ_DISABLE_DOMCRYPTO is turned on - window.crypto patch - r=jst
--HG--
rename : dom/interfaces/base/nsIDOMCrypto.idl => dom/interfaces/base/nsIDOMCryptoLegacy.idl
2013-02-16 22:43:16 -06:00
L. David Baron
822b2ca3bc Bug 781360 patch 3: Rename {nsIFrame,nsStyleContext,nsComputedDOMStyle}::GetStyle* to Style*, since they can never return null. r=dholbert
Except for the changes in:
  layout/generic/nsIFrame.h (part)
  layout/style/nsComputedDOMStyle.h (all)
  layout/style/nsRuleNode.cpp (part)
  layout/style/nsStyleContext.cpp (part)
  layout/style/nsStyleContext.h (part)
(see patch 3b in the bug), this patch was written with the sed script:
s/\<GetStyle\(Font\|Color\|List\|Text\|Visibility\|Quotes\|UserInterface\|TableBorder\|SVG\|Background\|Position\|TextReset\|Display\|Content\|UIReset\|Table\|Margin\|Padding\|Border\|Outline\|XUL\|SVGReset\|Column\)\>/Style\1/g
2013-02-16 13:51:02 -08:00
Sotaro Ikeda
8286ea230b Bug 826072 - Dispatch Init() out of nsGonkCameraControl's constructor. r=mikeh 2013-02-16 14:05:45 -05:00
Ben Turner
f2071e5f48 Bug 832109 - 'crash in Telephony::RILTelephonyCallback::CallStateChanged'. r=jlebar. 2013-02-18 08:09:40 -08:00
Florian Quèze
01c37bb76e Bug 839106 - Add preferences to control the stun behavior, r=jesup. 2013-02-18 14:49:14 +01:00
Andrea Marchesini
757e694b8f Bug 839447 - Convert HTMLOptionElement to WebIDL, r=Ms2ger 2013-02-18 13:26:57 +01:00
Andrea Marchesini
8dfd16908c Bug 839447 - Rename nsHTMLOptionElement to HTMLOptionElement, r=Ms2ger
--HG--
rename : content/html/content/src/nsHTMLOptionElement.cpp => content/html/content/src/HTMLOptionElement.cpp
rename : content/html/content/src/nsHTMLOptionElement.h => content/html/content/src/HTMLOptionElement.h
2013-02-18 13:24:58 +01:00
Andrea Marchesini
acfa9340f7 Bug 838559 - Convert HTMLMenuElement to WebIDL. r=Ms2ger, r=peterv 2013-02-18 06:59:08 -05:00
Andrea Marchesini
8f44285b2e Bug 838559 - Rename nsHTMLMenuElement to HTMLMenuElement. r=Ms2ger
--HG--
rename : content/html/content/src/nsHTMLMenuElement.cpp => content/html/content/src/HTMLMenuElement.cpp
rename : content/html/content/src/nsHTMLMenuElement.h => content/html/content/src/HTMLMenuElement.h
2013-02-18 06:59:08 -05:00
Andrea Marchesini
d2a9c2d5d6 Bug 838343 - Convert HTMLFrameElement to WebIDL r=peterv
--HG--
rename : content/html/content/src/nsHTMLFrameElement.cpp => content/html/content/src/HTMLFrameElement.cpp
rename : content/html/content/src/nsHTMLFrameElement.cpp => content/html/content/src/HTMLFrameElement.h
extra : rebase_source : b22a6371050e987aeba86937b120584e7c5a1422
2013-02-18 12:29:43 +01:00
David Zbarsky
cf80b0c3a3 Bug 837044: Remove nsIDOMSVGFilterElement.idl that I forgot to remove earlier r=me 2013-02-17 21:28:16 -05:00
David Zbarsky
fd6e8609f2 Bug 837044 - Convert SVGFilterElement to WebIDL r=bz 2013-02-17 21:14:02 -05:00
Jan-Ivar Bruaroey
013d30701d Bug 835712 - Use more webidl for safer JS traversal. r=bz, r=jesup 2013-02-13 14:26:30 -05:00
Jan-Ivar Bruaroey
93615a9fa0 Bug 835370 - Optional offer/answer constraints work + unsupported mandatory ones fail. r=bz, r=jesup 2013-02-14 02:08:56 -05:00
Reuben Morais
4632d919e6 Bug 836519 - Implement getAll API for contact manager using cursors. r=gwagner 2013-02-03 04:05:51 -08:00
Marco Chen
5bc699848a Bug 835232 - To adjust FM volume should be done after enabling FM functionality. r=jlebar 2013-02-19 11:19:53 +08:00
Fernando Jiménez
76eaeb3566 Bug 841631 - [Intermittent] Large Packaged App Downloads on Weak Connections can have HTTP requests stopped in the middle of download, which results in a corrupted package download; r=fabrice 2013-02-19 09:39:53 +01:00
Fernando Jiménez
478faddbcd Bug 839071 - We're resetting some states when we shouldn't for hosted+appcache apps; r=fabrice 2013-02-19 09:37:49 +01:00
Fernando Jiménez
e8bc46d6de Bug 831524 - Payment JWT w/ encoded HTML causes decoding error in navigator.mozPay(); r=fabrice 2013-02-19 09:19:40 +01:00
Raymond Lee
9fb8d39c62 Another attempt to fix bug 826964; r=ehsan 2013-02-15 17:29:46 +08:00
Shawn Huang
24186914a1 Bug 833206 - Remove invalid OBEX header: ConnectionId, r=gyeh, r=echou 2013-02-19 10:58:03 +08:00
Edgar Chen
5a8a01e5c5 Bug 835729 - Part 3: xpcshell tests. r=allstars.chh 2013-02-01 18:23:16 +08:00
Edgar Chen
12e1fb193f Bug 835729 - Part 2: Refactor updateNetworkName and _processOperator. r=allstars.chh 2013-02-01 17:04:12 +08:00
Edgar Chen
70c43ddf33 Bug 835729 - Part 1: Fix updating operator's info. r=allstars.chh 2013-01-29 15:25:30 +08:00
Andrea Marchesini
a04256a4c9 Bug 838598 - Part 2: Convert HTMLMenuItemElement to WebIDL. r=Ms2ger, r=janv 2013-02-18 05:06:27 -05:00
Peter Van der Beken
490e9a4afd Fix for bug 839529 (Remove various CC participants that don't do anything). r=smaug.
--HG--
extra : rebase_source : 8a272905c79396e7ae08aaaf83566ac450c45be0
2013-02-07 10:19:08 +00:00
Jeff Walden
8765553d79 Bug 836519 - Back out 7a145f17e37c for intermittent 'dom/contacts/tests/test_contacts_getall.html | 19 contacts returned - got 20, expected 19' in the test it added. r=intermittent-orange 2013-02-16 00:42:26 -08:00
Phil Ringnalda
d3db3557f9 Back out 236ba87c0a9f (bug 440046) and d3b7606d94a6:895a7efc978d (bug 683262) for b2g mochitest failures 2013-02-15 23:33:45 -08:00
Boris Zbarsky
8025312ba2 Bug 822674 followup to disable this test on Android. r=jesup 2013-02-16 00:59:11 -05:00
L. David Baron
ba8841c136 Bug 841896: Rename CSSKeyframesRule.insertRule to appendRule to match spec change.
Note that this does not change the IID of nsIDOMMozCSSKeyframesRule
since neither the method signature nor semantics have changed; only the
name is different.
2013-02-15 21:38:34 -08:00
David Dahl
313db63994 Bug 440046 - expose secure PRNG in the DOM (window.crypto.getRandomValues) r=cviecco r=bsmith 2013-02-15 15:38:15 -08:00
David Dahl
3bcc359caf Bug 683262 - window.crypto throws if MOZ_DISABLE_DOMCRYPTO is turned on - revert nsIWindowCrypto patch r=jst 2013-02-15 23:34:18 -06:00
David Dahl
b0632e9e66 Bug 683262 - window.crypto throws if MOZ_DISABLE_DOMCRYPTO is turned on - window.crypto patch r=jst
--HG--
rename : dom/interfaces/base/nsIDOMCrypto.idl => dom/interfaces/base/nsIDOMCryptoLegacy.idl
2013-02-15 23:34:15 -06:00
Reuben Morais
55d7aa2c7f Bug 836519 - Implement getAll API for contact manager using cursors. r=gwagner 2013-02-03 04:05:51 -08:00
Boris Zbarsky
7403aaff3d Bug 822674. Give RTCPeerConnection a sane classinfo. r=jst,jesup. r=peterv pending 2013-02-15 22:41:31 -05:00
Boris Zbarsky
824de2ea6e Bug 840898. Flag our nullable return value as actually being nullable. r=tbsaunde 2013-02-15 22:36:15 -05:00
Justin Dolske
105ad9c97f Bug 827145 - When no A/V devices are available, return that error to the page's getUserMedia callbacks. r=jesup 2013-02-15 19:22:27 -08:00
Ryan VanderMeulen
983312359a Backed out changeset 39d8916b698b (bug 826044) for frequent failures. 2013-02-15 21:27:17 -05:00
Randell Jesup
a3585fec0d Bug 835953: Notify UI that all gUM streams for a WindowID are gone r=dolske 2013-02-15 11:10:15 -05:00
Randell Jesup
a38494a422 Bug 826044: enable WebRTC crashtests r=jsmith 2013-02-15 19:54:29 -05:00
Peter Van der Beken
d07b3d8eef Fix for bug 838269 (Support cross-global |... instanceof DOMInterface|). r=bz.
--HG--
extra : rebase_source : e5ad1d7da8029394e3ecb38909eca406a675dbe9
2013-01-08 19:05:36 +01:00
Ben Turner
ea86a773f7 Bug 835698 - 'Pre-open() and send the fd for app process's application.zip'. r=jduell. 2013-02-15 14:27:21 -08:00
Shih-Chiang Chien
5348bd18a4 Bug 841243 - Followup fix for the captive portal changes, r=fabrice a=shira+ 2013-02-15 14:26:58 -08:00
Gregor Wagner
d5c38be4e0 Bug 841041 - Fix memory broadcast bug for workers. r=bent. 2013-02-15 14:12:19 -08:00
Ben Turner
51d714e4cf Bug 841608 - 'Assertion: Uh, inner window set as event target! with FireMozTimeChangeEvent'. r=smaug. 2013-02-15 14:03:18 -08:00
Ben Turner
ceaf7022d2 Bug 841612 - 'TimeChangeObserver::FireMozTimeChangeEvent bails out if *any* weak windows have gone away'. r=jlebar. 2013-02-15 13:57:18 -08:00
Ben Turner
b934141ad8 Bug 839261 - 'Assertion failure: false (Remote blob didn
't return a remote stream)'. r=sicking.
2013-02-15 13:39:43 -08:00
David Keeler
5d46a20f81 bug 838290 - make nsIPluginHost.getPermissionStringForType more robust r=bsmedberg 2013-02-13 10:15:40 -08:00
Scott Johnson
65979bf066 Bug 840341: Rev the IID of nsICameraCapabilities. [r=bsmedberg]
--HG--
extra : rebase_source : d5d2ada4afb1733e7b92c8329e86c109488af911
2013-02-14 16:26:28 -06:00
Chris Jones
9ca8273e40 Bug 841830: Allow scrolling while tap/pan gesture is still ambiguous, for perceived responsiveness. r=vingtetun
--HG--
extra : rebase_source : efb68d082921d1a41120c5b447b72637ea72ab73
2013-02-15 11:41:23 -08:00
Fabrice Desré
97c0cb8702 Bug 838308 - mozKeyboard should require a permission to use r=vingtetun a=tef+ 2013-02-15 12:35:18 -08:00
Fernando Jiménez
acf59c4a4c Bug 839435 - [Packaged apps] Only allow numbers in the 'size' manifest field; r=fabrice 2013-02-15 19:13:02 +01:00
Andrea Marchesini
c6c00b063d Bug 838532 - Convert HTMLLegendElement to WebIDL. r=Ms2ger 2013-02-15 11:55:53 -05:00
Andrea Marchesini
76260f9192 Bug 838532 - Rename nsHTMLLegendElement to HTMLLegendElement. r=Ms2ger
--HG--
rename : content/html/content/src/nsHTMLLegendElement.cpp => content/html/content/src/HTMLLegendElement.cpp
rename : content/html/content/src/nsHTMLLegendElement.h => content/html/content/src/HTMLLegendElement.h
2013-02-15 11:55:53 -05:00
Ryan VanderMeulen
67e48c76be Merge m-c to inbound. 2013-02-15 11:55:36 -05:00
Ryan VanderMeulen
457fa51782 Merge inbound to m-c. 2013-02-15 09:39:34 -05:00
Tim Taubert
79504917e8 merge m-c to fx-team 2013-02-15 10:40:59 +01:00
Ryan VanderMeulen
416cda2e64 Merge the last PGO-green inbound changeset to m-c. 2013-02-14 17:16:49 -05:00
Randell Jesup
3da3d3f210 Bug 829907: release video capture device on MainThread (mac only) r=bsmedberg 2013-02-14 14:59:27 -05:00
Alexandre Poirot
8c333fdec4 Bug 834515 - Updating to a packaged app with a new name via introducing a locale override allows changing the app name r=fabrice 2013-02-14 09:23:58 -08:00
Ryan VanderMeulen
4ee86d7149 Backed out changeset 38c7d7a7f586 (bug 716859) for B2G reftest failures on a CLOSED TREE. 2013-02-13 21:39:07 -05:00
Trevor Saunders
ef3a9cb704 bug 841430 - nuke nsIEditorDocShell r=bz 2013-02-13 17:39:30 -05:00
Tim Taubert
59075ce41c Bug 672474 - add nsIDOMWindowUtils.getScrollbarWidth(aFlushLayout); r=roc 2013-02-13 21:32:35 +01:00
Adam Roach [:abr]
56699f2101 Bug 840344: Prevent multiple creations of local SDP r=ekr,jsmith 2013-02-14 10:04:09 -06:00
Andrea Marchesini
97682ecd81 Bug 840559 - Convert MediaError to WebIDL. r=smaug 2013-02-14 10:59:21 -05:00
Eric Chou
08f90d420f Bug 834816 - Disconnect all acl connections before disabling Bluetooth, r=qdot 2013-02-14 23:16:37 +08:00
Justin Lebar
203c461c5c Bug 841634 - Assign ContentParent::mChildID to a unique value in the constructor, instead of in RecvGetProcessAttributes. r=cjones 2013-02-15 08:40:35 -05:00
Justin Lebar
5a5907d4d7 Bug 841563 - Actually set PROCESS_PRIORITY_FOREGROUND_HIGH when we want to. r=cjones 2013-02-15 08:40:01 -05:00
Marco Castelluccio
75e33d8f84 Bug 836016 - Cannot reinstall an app after uninstalling it. r=fabrice 2013-02-15 08:39:31 -05:00
Trevor Saunders
afab70f054 bug 841436 - remove nolonger needed qi from nsIDocShell to nsIDocShellTreeItem r=bz 2013-02-12 17:02:51 -05:00
Masayuki Nakano
d7c9686558 Bug 833719 part.1 Register some DOM keyCode values for Windows giving virtual keycode names and all OEM speicific virtual keyCode of Windows except we already used values r+sr=smaug 2013-02-13 14:47:19 +09:00
Jason Smith
28e25923c5 Bug 837324 - Crashtest for WebRTC crash [@fsmdef_ev_addcandidate]. r=jesup 2013-02-05 00:35:21 -08:00
Ryan VanderMeulen
b39cc7050b Merge m-c to inbound. 2013-02-12 21:26:49 -05:00
Ryan VanderMeulen
cfb35019f6 Merge m-c to inbound. 2013-02-12 21:25:43 -05:00
Ryan VanderMeulen
1568f7d987 Backed out 12 changesets (bug 834732) for b2g bustage and OSX mochitest-1 crashes on a CLOSED TREE. 2013-02-12 20:54:48 -05:00
Doug Turner
2ba4c4a80d Bug 840626 - Ensure that the FileUpdateDispatcher is initalized. r=bz
--HG--
extra : rebase_source : 4479c3e9a4719bf552018338a4a0eca11368cdff
2013-02-12 13:16:58 -08:00
Aaron Klotz
5ab4d199fd Bug 833560 - Part 2: Add timings to Plugin Hang UI telemetry. r=vdjeric 2013-02-12 15:05:39 -05:00
Ed Morley
fb6aef7abd Merge latest green inbound changeset to mozilla-central 2013-02-12 14:43:06 +00:00
Ms2ger
cdaab5e689 Bug 838178 - Remove dom/bindings/stubgenerator; r=ehsan 2013-02-12 11:14:01 +01:00
Ms2ger
3046dd9223 Bug 838160 - Part b: Move HTMLOutputElement to Paris bindings; r=bz 2013-02-12 11:11:01 +01:00
Ms2ger
961ecf7f81 Bug 839179 - Part d: Make sure the button element bindings throw exceptions where necessary; r=bz 2013-02-12 11:10:32 +01:00
Ms2ger
f38a4f23b0 Bug 835065 - Part c: Move SVGComponentTransferFunctionElement and subclasses to Paris bindings; r=bz 2013-02-12 11:10:24 +01:00
Ms2ger
c456064ac8 Bug 838088 - Update html tests; rs=mounir
--HG--
rename : dom/imptests/failures/html/tests/submission/Opera/microdata/Makefile.in => dom/imptests/failures/html/old-tests/submission/Opera/microdata/Makefile.in
rename : dom/imptests/failures/html/tests/submission/Opera/microdata/test_001.html.json => dom/imptests/failures/html/old-tests/submission/Opera/microdata/test_001.html.json
rename : dom/imptests/html/tests/submission/Mozilla/test_pageload-image.html => dom/imptests/html/html/browsers/browsing-the-web/read-media/test_pageload-image.html
rename : dom/imptests/html/tests/submission/Mozilla/test_pageload-video.html => dom/imptests/html/html/browsers/browsing-the-web/read-media/test_pageload-video.html
rename : dom/imptests/html/tests/submission/Mozilla/test_script-for-onload.html => dom/imptests/html/html/semantics/scripting-1/the-script-element/test_script-for-onload.html
rename : dom/imptests/html/tests/submission/Mozilla/test_body-onload.html => dom/imptests/html/html/webappapis/scripting/events/test_body-onload.html
rename : dom/imptests/html/tests/submission/Mozilla/test_window-onerror-parse-error.html => dom/imptests/html/html/webappapis/scripting/processing-model-2/test_window-onerror-parse-error.html
rename : dom/imptests/html/tests/submission/Mozilla/test_window-onerror-runtime-error-throw.html => dom/imptests/html/html/webappapis/scripting/processing-model-2/test_window-onerror-runtime-error-throw.html
rename : dom/imptests/html/tests/submission/Mozilla/test_window-onerror-runtime-error.html => dom/imptests/html/html/webappapis/scripting/processing-model-2/test_window-onerror-runtime-error.html
rename : dom/imptests/html/tests/submission/Opera/microdata/Makefile.in => dom/imptests/html/old-tests/submission/Opera/microdata/Makefile.in
rename : dom/imptests/html/tests/submission/Opera/microdata/test_001.html => dom/imptests/html/old-tests/submission/Opera/microdata/test_001.html
2013-02-12 10:54:30 +01:00
Ms2ger
283ee3ab95 No bug - Remove windows line endings from Opera's microdata test in preparation for an update. 2013-02-12 10:53:21 +01:00
Bobby Holley
6d475c3487 Bug 834732 - Improve pushing in nsJSEnvironment. r=mrbkap 2013-02-13 00:22:27 +01:00
Bobby Holley
d1782fe7f3 Bug 834732 - Push a cx in nsWindowSH::NewResolve. r=mrbkap 2013-02-13 00:22:27 +01:00
Bobby Holley
363a88b529 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-13 00:22:26 +01:00
Bobby Holley
70a369794a 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-13 00:22:26 +01:00
Bobby Holley
39acf0afd1 Bug 834732 - Move cx pushing into nsPluginProtoChainInstallRunner. r=mrbkap
This gets rid of the last use of REQUIRE_SCRIPT_CONTEXT. \o/
2013-02-13 00:22:26 +01:00
Bobby Holley
f71f3899d1 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-13 00:22:26 +01:00
Bobby Holley
b55e2ecc2b 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-13 00:22:26 +01:00
Fabrice Desré
1b606c7897 Bug 840698 - Activities are broken r=cjones 2013-02-12 15:19:50 -08:00
Olli Pettay
29c93f77f6 Bug 839528 - Change the namespace of xpidl dictionary helpers, r=khuey 2013-02-11 21:37:50 +02:00
Olli Pettay
930b4e20e9 Bug 839465 - Implement SmartCardEvent using event code generator, r=mounir 2013-02-11 21:37:20 +02:00
Ryan VanderMeulen
2861e3219f Merge m-c to inbound. 2013-02-11 13:51:32 -05:00
Daniel Holbert
0f2d997530 Bug 836455: Sanity-check the result of 'fread()' in nptest.cpp to fix opt build warning. r=bsmedberg 2013-02-11 10:16:51 -08:00
Josh Matthews
7d5bb99dd4 Bug 838541 - Only dispatch storage events to windows of the same privacy status. r=mayhemer 2013-02-12 14:24:23 -05:00
Georg Fritzsche
bb0d458554 Bug 752422 - Add null-check for plugin tag. r=bsmedberg 2013-02-12 19:03:25 +01:00
Ben Turner
d44c4dc7ca Bug 835698 - 'Pre-open() and send the fd for app process's application.zip'. r=jduell. 2013-02-09 17:59:47 +00:00
Ed Morley
552bcabebf Backout 1646e649878a (bug 835698) on suspicion of causing mochitest-1 shutdown hangs on Windows on a rather sad looking CLOSED TREE 2013-02-11 15:41:36 +00:00
Fabrice Desré
1965b263d7 Bug 838102 - activities are saved in the manifest with a modified href after an update r=julienw 2013-02-10 10:54:13 -08:00
Ed Morley
f6a91a3669 Merge mozilla-central to mozilla-inbound 2013-02-12 14:57:45 +00:00
Benoit Jacob
5a70487997 Bug 840260 - remove AudioChannelManager from classinfoclasses, fix B2G debug builds - no review, build fix 2013-02-11 18:15:54 -05:00
L. David Baron
f8ff60d603 Bug 765599: Make CSS insertRule methods throw SYNTAX_ERR when given an empty rule or more than one rule. r=bzbarsky
This implements the proposed spec clarification in
http://lists.w3.org/Archives/Public/www-style/2013Feb/0229.html which
makes us compatible with WebKit on the insertRule tests in this patch.

I confirmed that the test reports 7 failures without the patch, but
passes with the patch.  (I'm a little disturbed by the way our
testharness.js integration elides runs of successive passes.)
2013-02-09 22:56:49 -08:00
Gabriele Svelto
dcff369af5 Bug 820438 - Immediately apply changes in maximum script runtime to make them visible in content processes. r=jst 2013-01-31 18:23:50 +01:00
Aaron Klotz
b1b3cfad7e Bug 839236 - Add nsRefPtr to a nsPluginHost::GetInst call. r=bsmedberg 2013-02-11 20:49:33 -05:00
Ryan VanderMeulen
4d36c69250 Merge m-c to inbound. 2013-02-11 20:49:31 -05:00
Jeff Walden
0e302a5094 Bug 826009 - Move locale callback info, default locale, etc. data and APIs to be JSRuntime-centered. f=bholley, r=jorendorff
--HG--
extra : rebase_source : 35317f4c29e9dd70e7d4fd1292027cfd51ce2675
2013-02-07 18:04:11 -08:00
Ryan VanderMeulen
49521be52f Backed out changeset 1646e649878a (bug 835698) for causing bug 839256. 2013-02-11 17:38:41 -05:00
Masatoshi Kimura
092f34b54f Bug 839731 - Kill try-safe stuff. r=benjamin 2013-02-12 01:28:08 +09:00
Jason Smith
ec59cf044c Bug 822109 - Add a bunch of basic functional tests for getUserMedia and enable a per config setting for those tests for fake vs. non-fake. r=jesup 2013-02-07 17:35:17 -08:00
Andrea Marchesini
2d73598335 Bug 839033 - Convert HTMLProgressElement to WebIDL. r=Ms2ger 2013-02-11 13:56:31 -05:00
Julien Wajsberg
352a909178 Bug 830463 - Download/update notification is showing up late on a weak connection in some cases. r=fabrice 2013-02-11 09:38:51 +01:00
Trevor Saunders
369f889cf4 bug 819027 - remove unneeded performance nsISupports inheritance r=bz, mccr8 2012-12-06 16:01:59 -05:00
Robert O'Callahan
8192e0a0c4 Bug 837034. Part 2: Convert DOMMediaStream to use WebIDL. r=peterv,jesup
--HG--
rename : content/media/nsDOMMediaStream.cpp => content/media/DOMMediaStream.cpp
rename : content/media/nsDOMMediaStream.h => content/media/DOMMediaStream.h
extra : rebase_source : 483fca748444db20ed0d35cb586485f277e1808c
2013-02-15 21:04:11 +13:00
Robert O'Callahan
ca6fcfb8f3 Bug 837034. Part 1: Rename nsDOM(Local)MediaStream to DOM(Local)MediaStream and put them in the mozilla namespace. r=jesup
--HG--
rename : content/media/nsDOMMediaStream.cpp => content/media/DOMMediaStream.cpp
rename : content/media/nsDOMMediaStream.h => content/media/DOMMediaStream.h
extra : rebase_source : 6fd3f71779b4ecb9d3b053b6cd844c2ff0c25f80
2013-02-15 21:01:58 +13:00
Reuben Morais
13308f49bb Bug 837917 - Implement DOMCursor and DOMRequestService::fireDone(). r=sicking 2013-02-08 12:25:37 -08:00
Phil Ringnalda
03f3998dbf Back out 8db40a38aeb1 (bug 837917) for test_interfaces.html failures
CLOSED TREE
2013-02-14 21:37:37 -08:00
Reuben Morais
4bdc75de7e Bug 837917 - Implement DOMCursor and DOMRequestService::fireDone(). r=sicking
--HG--
extra : rebase_source : 8ccb520402c53950d1c0149a0f5a3188fe838667
2013-02-08 12:25:37 -08:00
Myk Melez
31f40a8086 bug 841265 - stop trying to confirm installs that don't prompt in apps tests; r=fabrice 2013-02-14 17:00:29 -08:00
Gregor Wagner
404ddb1215 Bug 841590 - Bluetooth: Fix hashtable remove. r=bent 2013-02-14 16:45:13 -08:00
Drew Willcoxon
5f349eba4b Bug 648675 - Allow comments and URL opt-in in content/plugin crash UI. r=dolske,ted 2013-02-14 15:57:50 -08:00
Gregor Wagner
a23cd0098a Bug 841234 - PhoneNumberJS: fix typo with lastKnownMcc. r=mrbkap 2013-02-13 17:07:28 -08:00
Bobby Holley
8f7e048c1d Bug 819158 - Introduce stopAtOuter for UnwrapObjectChecked. r=mrbkap
We need to simultaneously stop marking outers as unsafe to unwrap, otherwise
we'll end up with paradoxical behavior whereby stopAtOuter=true returns null
but stopAtOuter=false returns an object. This is fine, because we're now
handling outer explicitly.
2013-02-14 01:11:32 +01:00
Jeff Gilbert
a781738c64 Bug 716859 - Streaming GLContext buffers (doublebuffering, etc) - r=bjacob,jrmuizel,vlad 2013-02-13 15:26:24 -08:00
Fernando Jiménez
d147712b9e Bug 840078 - onerror callback is never triggered over the DOMRequest returned by mozIDOMApplication.launch; r=fabrice 2013-02-14 11:56:30 +01:00
Bobby Holley
f72c8d5743 Bug 841067 - Fix sandbox xhr tests. r=bz 2013-02-14 10:40:15 +01:00
Ed Morley
4a49811056 Backed out changeset 1651dcb62397 (bug 835563) on a CLOSED TREE 2013-02-14 10:03:30 +00:00
Ed Morley
e54fbbb2fe Backed out changeset 1cb87cc6b6a8 (bug 840277) 2013-02-14 10:02:54 +00:00
Ed Morley
c365ff99ef Backed out changeset fc2132ad05a1 (bug 836654) 2013-02-14 10:02:52 +00:00
Ed Morley
2a3f3eb8c6 Backed out changeset 1862aa4b43ce (bug 836654) 2013-02-14 10:02:41 +00:00
Ed Morley
d68aae2682 Backed out changeset 17f9660c7a7b (bug 836654) 2013-02-14 10:02:38 +00:00
Ed Morley
82be364a51 Backed out changeset 693868d079cd (bug 836654) 2013-02-14 10:02:35 +00:00
Ed Morley
2db41311e4 Backed out changeset ef4884e40bb4 (bug 836654) 2013-02-14 10:02:32 +00:00
Ed Morley
01f06445b2 Backed out changeset 55f1f62f7477 (bug 836654) 2013-02-14 10:02:27 +00:00
Ed Morley
b5e05fcf32 Backed out changeset 8cf341d4ccbd (bug 836654) 2013-02-14 10:02:24 +00:00
Ed Morley
75b438b79f Backed out changeset a74f08ec0e46 (bug 836654) 2013-02-14 10:02:18 +00:00
Justin Lebar
4cc7ecbca0 Bug 836654 - Fix -werror silliness. r=me 2013-02-14 03:01:06 -05:00
Justin Lebar
dbc8e3cea3 Bug 836654 - Part 10: Don't acquire the CPU wake lock in the alarm service any longer. r=cjones
We've removed the event that the AlarmService was listening to in order
to find out when we could drop the lock!
2013-02-14 02:26:44 -05:00
Justin Lebar
7dc574c0e9 Bug 836654 - Part 9: During app-frame creation, take the CPU wake lock only after sending down the mozapptype. r=cjones
This prevents the child process from downgrading its CPU priority when
it notices that it has the CPU wake lock but no "critical" frames.

In this patch we also reduce the scope of a race condition which occurs
when we don't launch a new process for an app.  In this case, we still
need to set the child process's priority and then check that the process
is still alive.

Because this isn't a brand-new process, it's possible that the process
will downgrade its priority (e.g. due to a timer) after we check that
it's still alive and before it notices that we've acquired the CPU wake
lock on its behalf.  This patch does not resolve that race.
2013-02-14 02:26:44 -05:00
Justin Lebar
b64483ba2b Bug 836654 - Part 7: Hold a CPU wake lock while a "critical" process that's expecting a system message loads. r=cjones,fabrice 2013-02-14 02:26:44 -05:00
Justin Lebar
ab0ed3fbc3 Bug 836654 - Part 6: If a process is "critical" and holds the "cpu" or "high-priority" wake lock, give it priority FOREGROUND_HIGH. r=cjones 2013-02-14 02:26:44 -05:00
Justin Lebar
edfe849009 Bug 836654 - Part 5: Add nsIMozBrowserFrame::isExpectingSystemMessage. r=bz 2013-02-14 02:26:43 -05:00
Justin Lebar
0829bd3cc0 Bug 836654 - Part 4: Add PowerManagerService::NewWakeLockOnBehalfOfProcess. r=cjones 2013-02-14 02:26:43 -05:00
Justin Lebar
2527c25d37 Bug 836654 - Part 0: Add constants CONTENT_PROCESS_{UNKNOWN_ID,MAIN_ID} to HalTypes.h and remove the equivalent constants from ContentParent.h. r=cjones 2013-02-14 02:26:43 -05:00
Justin Lebar
c2423b8cad Bug 840277 - Explicitly check that the preallocated process hasn't been killed before we use it. r=cjones
We have to do this check /after/ we set the process's priority, since
before then, it has BACKGROUND priority and is a candidate for killing.
2013-02-14 02:26:43 -05:00
Justin Lebar
2d870ab97c Bug 835563 - When an iframe mozbrowser's embedder calls setVisible(false), immediately send the relevant process into the background (if none of its other frames are in the foreground). r=cjones 2013-02-14 02:26:43 -05:00
Fabrice Desré
8983c2c85b Bug 839810 - Race condition installing apps on linux r=ferjm 2013-02-13 11:55:45 -08:00
Georg Fritzsche
7ffc75bff5 Bug 813906 - Mochitest for unified base URI usage. r=bsmedberg 2012-11-23 20:35:49 +01:00
Boris Zbarsky
79b00ac815 Bug 840614. Fix the browserelement auth tests to not throw exceptions and actually test what they mean to test. r=jdm 2013-02-13 10:11:53 -05:00
Ed Morley
c5234c93ec Backed out changeset fba52fc5161a (bug 813906) 2013-02-13 12:05:39 +00:00
Ed Morley
e3e8a94440 Backed out changeset 230f42e5e26d (bug 813906) 2013-02-13 12:05:36 +00:00
Georg Fritzsche
f6e3beb591 Fix fba52fc5161a, bug 813906, test bustage. 2013-02-13 12:34:22 +01:00
Georg Fritzsche
69aae4a413 Bug 813906 - Mochitest for unified base URI usage. r=bsmedberg 2012-11-23 20:35:49 +01:00
Yury Delendik
0d6cb92088 Bug 839714 - Extend PlayPreview API. r=jschoenick, r=jwein 2013-02-14 15:38:41 -06:00
Aaron Klotz
f5026d4a7a Bug 834127 - Make Plugin Hang UI dialog unowned. r=bsmedberg 2013-02-14 18:03:05 -05:00
Ryan VanderMeulen
0e5dbfff3e Merge m-c to inbound. 2013-02-14 18:03:02 -05:00
Ryan VanderMeulen
6ab6261d7e Backed out changesets 45f20f94da76 and 47c4a7768ed9 (bug 841436) for Windows bustage on a CLOSED TREE. 2013-02-14 16:52:54 -05:00
Justin Lebar
08851b784b Bug 836654 - Part 10: Don't acquire the CPU wake lock in the alarm service any longer. r=cjones
We've removed the event that the AlarmService was listening to in order
to find out when we could drop the lock!
2013-02-14 15:41:30 -05:00
Justin Lebar
73756e9464 Bug 836654 - Part 9: During app-frame creation, take the CPU wake lock only after sending down the mozapptype. r=cjones
This prevents the child process from downgrading its CPU priority when
it notices that it has the CPU wake lock but no "critical" frames.

In this patch we also reduce the scope of a race condition which occurs
when we don't launch a new process for an app.  In this case, we still
need to set the child process's priority and then check that the process
is still alive.

Because this isn't a brand-new process, it's possible that the process
will downgrade its priority (e.g. due to a timer) after we check that
it's still alive and before it notices that we've acquired the CPU wake
lock on its behalf.  This patch does not resolve that race.
2013-02-14 15:41:30 -05:00
Justin Lebar
20ea5251de Bug 836654 - Part 7: Hold a CPU wake lock while a "critical" process that's expecting a system message loads. r=cjones,fabrice 2013-02-14 15:41:30 -05:00
Justin Lebar
5e34a26e58 Bug 836654 - Part 6: If a process is "critical" and holds the "cpu" or "high-priority" wake lock, give it priority FOREGROUND_HIGH. r=cjones 2013-02-14 15:41:30 -05:00
Justin Lebar
f842757ea0 Bug 836654 - Part 5: Add nsIMozBrowserFrame::isExpectingSystemMessage. r=bz 2013-02-14 15:41:30 -05:00
Justin Lebar
c3306b8b0a Bug 836654 - Part 4: Add PowerManagerService::NewWakeLockOnBehalfOfProcess. r=cjones 2013-02-14 15:41:30 -05:00
Justin Lebar
5c2d14d8ce Bug 836654 - Part 0: Add constants CONTENT_PROCESS_{UNKNOWN_ID,MAIN_ID} to HalTypes.h and remove the equivalent constants from ContentParent.h. r=cjones 2013-02-14 15:41:29 -05:00
Justin Lebar
636ac9e80a Bug 840277 - Explicitly check that the preallocated process hasn't been killed before we use it. r=cjones
We have to do this check /after/ we set the process's priority, since
before then, it has BACKGROUND priority and is a candidate for killing.
2013-02-14 15:41:29 -05:00
Justin Lebar
4009c9f33e Bug 835563 - When an iframe mozbrowser's embedder calls setVisible(false), immediately send the relevant process into the background (if none of its other frames are in the foreground). r=cjones 2013-02-14 15:41:29 -05:00
Masatoshi Kimura
956db5faa3 Bug 841479 - Remove nsISupports inheritance from TextDecoder and TextEncoder. r=bz 2013-02-15 05:36:50 +09:00
Dave Hylands
46b9a39c96 Bug 839422 - Don't enable adb when toggling USB Tethering. r=qdot 2013-02-14 12:21:08 -08:00
Trevor Saunders
57ea64cf9e bug 841436 - remove nolonger needed qi from nsIDocShell to nsIDocShellTreeItem r=bz 2013-02-12 17:02:51 -05:00
Trevor Saunders
60c334769d bug 840906 - densISupportsify nsDOMRGBCSSColor r=mccr8 2013-02-13 16:39:23 -05:00
Randell Jesup
349a3e90c7 Bug 830247: rollup of changes to media/webrtc/trunk, and backouts of some temp patches r=ted,derf
--HG--
rename : media/webrtc/trunk/webrtc/modules/video_capture/main/source/Windows/BaseFilter.cpp => media/webrtc/trunk/webrtc/modules/video_capture/windows/BaseFilter.cpp
rename : media/webrtc/trunk/webrtc/modules/video_capture/main/source/Windows/BaseFilter.h => media/webrtc/trunk/webrtc/modules/video_capture/windows/BaseFilter.h
rename : media/webrtc/trunk/webrtc/modules/video_capture/main/source/Windows/BaseInputPin.cpp => media/webrtc/trunk/webrtc/modules/video_capture/windows/BaseInputPin.cpp
rename : media/webrtc/trunk/webrtc/modules/video_capture/main/source/Windows/BaseInputPin.h => media/webrtc/trunk/webrtc/modules/video_capture/windows/BaseInputPin.h
rename : media/webrtc/trunk/webrtc/modules/video_capture/main/source/Windows/BasePin.cpp => media/webrtc/trunk/webrtc/modules/video_capture/windows/BasePin.cpp
rename : media/webrtc/trunk/webrtc/modules/video_capture/main/source/Windows/BasePin.h => media/webrtc/trunk/webrtc/modules/video_capture/windows/BasePin.h
rename : media/webrtc/trunk/webrtc/modules/video_capture/main/source/Windows/DShowTools.h => media/webrtc/trunk/webrtc/modules/video_capture/windows/DShowTools.h
rename : media/webrtc/trunk/webrtc/modules/video_capture/main/source/Windows/MediaType.cpp => media/webrtc/trunk/webrtc/modules/video_capture/windows/MediaType.cpp
rename : media/webrtc/trunk/webrtc/modules/video_capture/main/source/Windows/MediaType.h => media/webrtc/trunk/webrtc/modules/video_capture/windows/MediaType.h
2013-02-09 23:16:10 -05:00
Ryan VanderMeulen
209bcbdaa0 Backed out changesets, cf285bf3c6fc, e8b847157094, and dd86a8178cec (bug 839033) for bustage.
--HG--
rename : content/html/content/src/HTMLProgressElement.h => content/html/content/src/nsHTMLProgressElement.cpp
2013-02-09 17:51:10 -05:00
Andrea Marchesini
ee2d7fd03a Bug 839033 - Convert HTMLProgressElement to WebIDL. r=Ms2ger 2013-02-09 17:21:15 -05:00
Ben Turner
624f6d9042 Bug 835698 - 'Pre-open() and send the fd for app process's application.zip'. r=jduell. 2013-02-09 17:59:47 +00:00
Ryan VanderMeulen
98862fcd67 Merge the last PGO-green inbound changeset to m-c. 2013-02-09 10:43:45 -05:00