Commit Graph

926 Commits

Author SHA1 Message Date
Wes Kocher
30cc866544 Backed out changeset 24c0074052e6 (bug 1224936) for incoming mulet bustage
--HG--
extra : commitid : CTB4L0oz2Q5
2015-11-20 17:09:44 -08:00
Andrea Marchesini
78387921a4 Bug 1224936 - AudioChannelAgent should be informed when HTMLMediaElement dispatches an error, r=roc 2015-11-21 01:04:24 +00:00
Andrea Marchesini
c1df69ea87 Bug 1207546 - Integrate WebRTC with audio channels, r=roc
--HG--
rename : dom/base/test/test_audioNotification.html => dom/base/test/test_audioNotificationStream.html
2015-11-21 01:03:20 +00:00
Boris Zbarsky
64b9c0ed0b Bug 1223523. The named getter on document should not return images with an empty name. r=peterv 2015-11-20 16:54:49 -05:00
Wes Kocher
5d41c4ca14 Merge m-c to fx-team, a=merge
--HG--
extra : commitid : D0yQXR2v0Qz
2015-12-01 16:11:47 -08:00
Mark Capella
caaac41610 Bug 1215959 - (GeckoCaret2) Remove experimental bits added to Touch/Selection carets, r=tylin 2015-12-01 15:25:06 -05:00
Boris Zbarsky
1fec018fcb Bug 1224007 part 4. Fix some cases in which ErrorResult instances are destroyed without doing anything useful with exceptions on them. r=peterv 2015-11-20 16:29:41 -05:00
Jean-Yves Avenard
b4a62f49f9 Bug 1222387: P1. Properly handle negative seeks when readyState is HAVE_NOTHING. r=jwwang 2015-11-20 19:43:38 +11:00
Randall Barker
53f3fdea84 Bug 1223937 - test_bug388794.html fails string match test due to off by one error in Fennec with C++APZ. r=roc
When C++APZ is enabled in Fennec, events that are generated by nsWindowUtil may result in
off by one errors when received by the DOM. This is caused by the fact that the PresShell
resolution must be applied to the event coordinates before being dispatched which introduces
rounding errors. To work around the failure in test_bug388794.html it is necessary to
convert the string compares to regex so that the off by one rounding errors may be accounted for.

--HG--
extra : commitid : FCSDte8j1sG
2015-11-19 21:40:05 -05:00
L. David Baron
8edfb62b0c Bug 1223653 patch 2 - Use an enum class for NS_STYLE_BOX_SIZING_*. r=heycam
The casts in nsCSSProps.cpp (defining kBoxSizingKTable) and in
nsComputedDOMStyle::DoGetBoxSizing (using
nsCSSProps::ValueToKeywordEnum) are a little bit annoying, though aren't
a net reduction in typesafety.

The casts in nsRuleNode.cpp (SetDiscrete) are a little more annoying,
though the change in this patch should be sufficient for converting all
properties -- but that may also mean reducing typesafety a bit for all
properties.

I'd like to find something better to do about them, but I think I'm ok
landing this before doing that.  Bug 1224918 covers doing better.

--HG--
extra : commitid : GEVyZB5b23F
2015-11-19 18:09:29 -08:00
Birunthan Mohanathas
399934f259 Bug 1217307 - Remove some unnecessary null checks in rest of dom/. r=njn 2015-11-19 09:13:49 +02:00
JW Wang
666cb757aa Bug 1221881 - HTMLMediaElement::NetworkError() should clear mDecoder. See bug 1221881 comment 2 for the root cause. r=cpearce. 2015-11-11 15:18:11 +08:00
James Cheng
436307225a Bug 1224991 - Log format string mismatch the number of parameters. r=cpearce. 2015-11-16 19:11:00 +01:00
David Anderson
7e9cf5355c Decouple CairoImage from ImageContainer. (bug 1222910, r=roc) 2015-11-17 00:09:00 -08:00
Cameron McCormack
fd2fba0c73 Bug 990250 - Fold nsIStyleSheet into CSSStyleSheet. r=dbaron 2015-11-17 17:04:09 +11:00
Cameron McCormack
904f671b03 Bug 1222745 - Restore eRestyleResult_StopWithStyleChange optimization for shared style contexts by comparing rule nodes for inherited style data changes. r=dbaron 2015-11-17 15:09:55 +11:00
Phil Ringnalda
a0dfb7b514 Back out changeset a9ca2bcc8633 (bug 1224936) for Mulet Gij bustage in Player_test.js
CLOSED TREE
2015-11-16 19:33:26 -08:00
Andrea Marchesini
96905fb6e8 Bug 1224936 - AudioChannelAgent should be informed when HTMLMediaElement dispatches an error, r=roc 2015-11-17 01:28:07 +00:00
Wes Kocher
187dd319f1 Merge m-c to inbound, a=merge
--HG--
extra : commitid : DGwcWNlrDUA
2015-11-16 17:27:08 -08:00
Wes Kocher
c4f40f5dfc Merge inbound to m-c a=merge
--HG--
extra : commitid : 8FO2ow49CX2
2015-11-16 17:20:42 -08:00
Wes Kocher
9d1f194cbb Backed out 2 changesets (bug 1218433) for wpt failures CLOSED TREE
Backed out changeset 1cc8cc0444c0 (bug 1218433)
Backed out changeset 5418ca0e0378 (bug 1218433)

--HG--
extra : commitid : H1h8VHrzxx8
2015-11-16 11:13:43 -08:00
Gijs Kruitbosch
1fbe21a49c Bug 1221947 - part 1: add BYTOUCH flag to nsIFocusManager, r=jaws,smaug
IGNORE IDL

--HG--
extra : commitid : B7HwLSDQHAd
extra : rebase_source : 8c32df3fe30cd2b8d502d6afe863290c2059ae35
extra : histedit_source : 5e0adbaf31cdea240e0a426c72e19145a581278f
2015-11-12 16:35:20 +00:00
Xidorn Quan
ba639e3e07 Bug 1213710 part 3 - Remove enableTestPlugin.js files and make the tests reference plugin-utils.js directly. r=bsmedberg
--HG--
extra : source : 985fc6ba41c30914969940c30dd5a07c3f19f157
2015-11-17 09:54:12 +11:00
Andrea Marchesini
fe6be4c172 Bug 1218433 - Use AsyncOpen2 in dom/workers/ScriptLoader.cpp - part 1, r=sicking 2015-11-16 22:41:03 +00:00
Phil Ringnalda
717b9e4e5c Merge m-c to b-i 2015-11-15 19:17:19 -08:00
Christoph Kerschbaumer
31d9acf51d Bug 663570 - MetaCSP Part 5: HTMLMetaElement changes (r=bz) 2015-11-14 19:29:05 -08:00
Alastor Wu
f49b90a02f Bug 1222902 - Create log system for the AudioChannel. r=baku.
--HG--
extra : transplant_source : %BD%FF%8EH%08%97%3AC%C6%85%BC%F1%10%CB%07%AA%0E%90%85A
2015-11-10 18:32:00 +08:00
Andrea Marchesini
d35be12a6d Bug 1218433 - Use AsyncOpen2 in dom/workers/ScriptLoader.cpp - part 1, r=sicking 2015-11-16 16:57:29 +00:00
JW Wang
c87926273d Bug 1221009. Part 1 - add a class to forward notifications from MediaResource to MediaDecoder. r=roc. 2015-11-16 07:50:55 +08:00
Sebastian Hengst
a0cf7d50ad Backed out 2 changesets (22360424ed15, 325a67608df0) (bug 1218433) for W(1,2) failures. r=backout on a CLOSED TREE
Backed out changeset 22360424ed15 (bug 1218433)
Backed out changeset 325a67608df0 (bug 1218433)
2015-11-15 15:56:45 +01:00
Andrea Marchesini
9137d7e47b Bug 1218433 - Use AsyncOpen2 in dom/workers/ScriptLoader.cpp - part 1, r=sicking 2015-11-15 11:57:06 +00:00
Sebastian Hengst
95aa206ff2 Backed out changesets 5a3092c456c0,8dcbfd14f1e5 (bug 1218433) for M3, W3 failures and M10 failure on Android. r=backout a=merge
* * *
Backed out changeset 8dcbfd14f1e5 (bug 1218433)


dom/security/test/csp/test_child-src_worker-redirect.html | CSP child-src worker test other-src-worker_redir-same - got "Error: Failed to load script (nsresult = 0x805e0006)", expected "blocked"
dom/security/test/csp/test_child-src_worker.html | Test timed out.
dom/security/test/csp/test_child-src_worker_data.html | Test timed out.

--HG--
extra : commitid : AdufAFGM6At
extra : source : 89f3fe7202921aaf81b78cc1287b5e99940dc85b
2015-11-12 18:44:51 +01:00
Andrea Marchesini
f55a08e614 Bug 1218433 - Use AsyncOpen2 in dom/workers/ScriptLoader.cpp - part 1, r=sicking 2015-11-12 14:51:17 +00:00
Michael Layzell
a6ede50962 Bug 1166138 - Make img srcset react to resize/viewport changes, r=jdm 2015-11-12 09:39:23 -05:00
Michael Layzell
9b275dd822 Bug 1223041 - Emit console warning when document.execCommand('copy'/'cut') is triggered outside of a short-lived user-initiated event, r=bz 2015-11-12 09:36:42 -05:00
Bill McCloskey
4f99faeaed Bug 967873 - Proxy nsDocumentViewer::PermitUnload to the child process (r=Gijs) 2015-11-11 18:04:21 -08:00
Wes Kocher
9e8bd5977f Backed out 2 changesets (bug 1218433) for android CSP test failures in m(10) CLOSED TREE
Backed out changeset 50af9a9ba6d9 (bug 1218433)
Backed out changeset 5d8b8744419f (bug 1218433)

--HG--
extra : commitid : 625lyUcSwAk
2015-11-11 10:22:08 -08:00
Andrea Marchesini
934e4c3ba4 Bug 1218433 - Use AsyncOpen2 in dom/workers/ScriptLoader.cpp - part 1, r=sicking 2015-11-11 16:59:46 +00:00
Alastor Wu
b9ace4602b Bug 1206581 - Implement notifyChannel() on AudioChannel API. r=kanru, r=baku.
--HG--
extra : transplant_source : Jz%11%82%60%AF%AA%82%F1%A5%EB%A5%05%7C%EBS%EF%89%3C%8A
2015-11-06 00:32:04 +08:00
Carsten "Tomcat" Book
4d6f05d2f8 merge mozilla-inbound to mozilla-central a=merge 2015-11-09 14:55:30 +01:00
Gregor Wagner
96837db759 Bug 1222478 - Enable more mulet tests. r=gerard-majax 2015-11-06 20:01:45 +01:00
L. David Baron
a3eadb1b86 Bug 1221436 patch 2 - For style attributes, only store a css::Declaration instead of a css::StyleRule. r=heycam
Now that Declaration implements nsIStyleRule, we don't need the memory
overhead of storing a StyleRule object for style attributes.

We also need to change this prior to patch 5, because the changes in
patch 5 that will allow rules to change (but declarations not) would
otherwise break due to style attribute object merging done by
nsAttrValue::ParseStyleAttribute.

--HG--
extra : commitid : Ij4yRdba7wa
2015-11-09 15:57:16 +08:00
Bill McCloskey
de23733337 Bug 1219504 - Test changes (r=Gijs,mconley,jryans,MattN,Mossop) 2015-11-04 10:56:15 -08:00
Marcos Caceres
9859867e5b Bug 1169633 - [Browser API] getWebManifest(). r=kanru, r=bholley 2015-11-03 03:52:00 +01:00
Andrea Marchesini
9d98f9a481 Bug 1215235 - Drop support for jar: URIs by default, r=bz 2015-11-04 11:19:02 +00:00
Bill McCloskey
dba8372445 Backout bug 967873 - Proxy nsDocumentViewer::PermitUnload to the child process 2015-11-08 12:24:42 -08:00
Bill McCloskey
2f8ca7a3ce Bug 967873 - Proxy nsDocumentViewer::PermitUnload to the child process (r=Gijs) 2015-11-08 10:27:49 -08:00
Wes Kocher
e23a341658 Backed out 2 changesets (bug 1207546, bug 1213154) for gij(11) bustage
Backed out changeset 771ace622de1 (bug 1207546)
Backed out changeset 786bc35f327a (bug 1213154)

--HG--
extra : commitid : Dtne0U4VRnB
2015-11-06 10:58:46 -08:00
Andrea Marchesini
8584fec65c Bug 1207546 - Integrate WebRTC with audio channels, r=ehsan, r=roc
--HG--
rename : dom/base/test/test_audioNotification.html => dom/base/test/test_audioNotificationStream.html
2015-11-06 16:17:39 +00:00
Andrea Marchesini
ea75b3fe7a Bug 1213154 - tab-sound-icon should be supported by bfcache, r=roc 2015-11-06 16:16:57 +00:00
Jonathan Watt
75eee57062 Bug 1220827 - Replace question comment in nsHTMLDocument::Open with an explanatory comment to explain why we create a new Window. r=smaug 2015-10-05 18:34:46 +01:00
Jonathan Watt
b2cd535c73 Bug 1220599 - Fix erroneous nsHTMLDocument::Open comment to note that we reuse the document rather than creating a new one. r=baku 2015-09-23 11:12:24 +01:00
Robert O'Callahan
7c373233ed Bug 264412. Implement HTMLElement.innerText. r=smaug,mats
--HG--
extra : commitid : KjCvQzulwP3
extra : rebase_source : 01aae50d1ee8304e56d3d1e21a7c65c2f9060a72
2015-10-30 18:37:03 +13:00
Ryan VanderMeulen
028dec7cc8 No bug - Various crashtest manifest cleanups.
--HG--
rename : dom/base/crashtests/713417.html => dom/base/crashtests/713417-1.html
rename : dom/workers/test/1158031.html => dom/workers/test/crashtests/1158031.html
rename : dom/workers/test/779707.html => dom/workers/test/crashtests/779707.html
rename : dom/workers/test/943516.html => dom/workers/test/crashtests/943516.html
rename : dom/workers/test/crashtests.list => dom/workers/test/crashtests/crashtests.list
rename : layout/generic/crashtests/812879.html => layout/generic/crashtests/812879-1.html
rename : layout/generic/crashtests/first-letter-638937.html => layout/generic/crashtests/first-letter-638937-1.html
extra : rebase_source : b9274dc6870030ed62bcee35350d566160502869
2015-10-31 19:35:27 -04:00
Phil Ringnalda
ac9b0f76d1 Back out changeset 6c239220f990 (bug 1207546) on desperate last-ditch suspicion of causing Mulet bustage in webgl-capturestream-test.html?preserve 2015-10-31 15:01:09 -07:00
Phil Ringnalda
cb269c3076 Back out changeset 81b802b69a74 (bug 1213154) for Linux/Mulet webgl reftest failures
CLOSED TREE
2015-10-31 11:58:18 -07:00
Andrea Marchesini
ae9778a6b2 Bug 1207546 - Integrate WebRTC with audio channels, r=roc
--HG--
rename : dom/base/test/test_audioNotification.html => dom/base/test/test_audioNotificationStream.html
2015-10-31 15:21:40 +00:00
Andrea Marchesini
24d91debc2 Bug 1213154 - tab-sound-icon should be supported by bfcache, r=roc 2015-10-31 15:20:59 +00:00
Andrew McCreight
5981b92f78 Bug 1219842 - Enable a bunch of mochitest-plain tests under e10s. r=mrbkap 2015-10-31 06:26:44 -07:00
Makoto Kato
1929f6c7c4 Bug 1218315 - Replace NS_LITERAL_STRING(...).get() with MOZ_UTF16(...) on dom. r=nfroyd 2015-10-28 14:29:57 +09:00
Jean-Yves Avenard
dd6214577c Bug 1188887: P3. Never throw an exception when seeking. r=jwwang
Per spec, no exception can ever be thrown when seeking.
Only leaving cases indicating a failure in one of the component (which other than a second to usec conversion overflow will never happen anyway).
2015-10-28 10:46:01 +11:00
Jean-Yves Avenard
fb6bbafe09 Bug 1188887: P1. Allow seeking when readyState is HAVE_NOTHING. r=jwwang 2015-10-28 10:45:58 +11:00
Boris Zbarsky
216eb019ce Bug 1217270. Media documents loaded from file:// URIs should still fire onload. r=kinetik 2015-10-27 16:25:14 -04:00
Birunthan Mohanathas
44936aabb2 Bug 1217320 - Remove more XPIDL signature comments in .cpp files. r=froydnj
Comment-only, DONTBUILD.
2015-10-27 06:54:25 +02:00
Kyle Huey
c7d3c4e21a Bug 1216401: Eviscerate nsIDOMWindow, move still needed methods to nsPIDOMWindow. r=bz 2015-10-26 14:37:32 -07:00
Bobby Holley
5e5b7d3713 Bug 1216308 - Followup for incomplete fix. r=me 2015-10-26 11:22:29 -07:00
Henri Sivonen
5e143ef9ca Bug 1202366 - Implement the encoder error mode "HTML" for nsFormSubmission without nsISaveAsCharset. r=NOT_emk.
--HG--
rename : intl/uconv/tests/test_big5_encoder.html => intl/uconv/tests/test_ncr_fallback.html
2015-10-22 11:12:42 +03:00
Ryan VanderMeulen
6fc25d5d88 Bug 495546 - Add crashtest.
--HG--
extra : rebase_source : 3911a4b705d660722713b7a7d94505566c732d84
2015-10-24 15:03:19 -04:00
Robert O'Callahan
0e2b65352f Revert incorrectly committed changes ab657569f554 and a396f4262479
--HG--
extra : commitid : IHQ60dccnSZ
extra : amend_source : 9302339fd951446a37909b31a1ccb56aff470325
2015-10-24 22:38:22 +13:00
Robert O'Callahan
b09242d6c1 Bug 264412. Implement HTMLElement.innerText. r=smaug,mats
--HG--
extra : commitid : LLiSI8usEMT
extra : rebase_source : 928b4fd451c28b57a43a873f05b7bf030ba13083
2015-10-21 10:23:17 +13:00
Jean-Yves Avenard
4b03031ba2 Bug 1217304: P2. Do not transition to HAVE_ENOUGH_DATA readyState until we do have data. r=jwwang
We must have at least a decoded frame available to transition to HAVE_ENOUGH_DATA, as otherwise canplay/canplaythrough will always be fired even if the data was invalid so long that it was small.
2015-10-23 23:34:05 +11:00
Jean-Yves Avenard
38486b8704 Bug 1217304: P1. Only fire loadeddata once the first frame has been decoded. r=jwwang
We can't determine otherwise if data is actually playable at the current position
2015-10-23 23:34:05 +11:00
Wes Kocher
5ba2dcfe5c Merge b2ginbound to central, a=merge 2015-10-22 16:50:22 -07:00
Carsten "Tomcat" Book
a58c789859 Merge m-c to b2g-inbound 2015-10-22 12:00:41 +02:00
Alastor Wu
5a7dd93588 Bug 1215447 - move flag setting from SeekStarted() to Seek(). r=roc.
--HG--
extra : transplant_source : f94M3%13%FA%B1%C3t%94%3B%E29%9A%19%07%FC%F4%3E
2015-10-22 11:37:16 +08:00
Guang-De Lin
5fc8c948b4 Bug 1150305 - sourcebuffer.buffered returns the same object if not changed. r=roc, r=bz, r=jya
--HG--
extra : rebase_source : ffacfcb39b567a6cd034b081f4330d88aacb98f4
2015-10-19 14:10:47 +08:00
Tooru Fujisawa
24ab66bc98 Bug 1217093 - Remove for-each from dom/. r=smaug
--HG--
extra : commitid : DcjxshJqlKg
extra : rebase_source : 23bc9a985f1e6d13e13837e31bb9b88b9be24d55
2015-10-19 02:00:50 +09:00
Xidorn Quan
5a106ab56a Bug 1203089 - Add test for fullscreen element in parent with perspective property. r=dholbert
--HG--
extra : rebase_source : 4f19451e2fe25495d3d9bbce6b291f133688c8ac
extra : source : b9dc969ee585ebca7038cac82272318a3597437b
2015-10-22 11:08:35 +11:00
Jonathan Watt
38abda8b15 Bug 1099103 - Prevent numbers input using a grouping separator from being mis-processed as if the separator was a decimal separator. r=dholbert
--HG--
extra : rebase_source : ae7f771134638e9d3988750de98a9e0a0374697a
2015-09-17 22:17:35 +01:00
Jonathan Watt
b96e199943 Bug 1207088 - Don't show the "Choose folder..." button for a directory picking <input> on platforms that don't have a directory picker. r=jfkthame
--HG--
extra : rebase_source : 836a5eff5b37398af019f3a29848ee42092939dc
2015-09-16 11:42:27 +01:00
Carsten "Tomcat" Book
43610824f0 Backed out changeset 780061f96448 (bug 1213154)
--HG--
extra : rebase_source : 0d1ba1ee2f11faeedf93fa0baa4c06348deffdc4
2015-10-20 16:08:51 +02:00
Andrea Marchesini
7e6f1c0dce Bug 1127703 - "Support iteration on FormData" r=bz
--HG--
extra : rebase_source : a98ecef5346fd2936474e4056d2f99019162d13b
2015-10-20 04:06:00 +02:00
Andrea Marchesini
ca59daf031 Bug 1213154 - tab-sound-icon should be supported by bfcache, r=roc
--HG--
extra : rebase_source : f9ee2ae4ea973b4c69633368cb5e0c5e6afa6540
2015-10-20 01:33:00 +02:00
Bobby Holley
3b14342481 Bug 1216308 - Hoist IsCallerChrome check in HTMLMediaElement::Play to API entry point. r=bz 2015-10-19 17:54:46 -07:00
Wes Kocher
4713742f00 Backed out changeset c159526f9145 (bug 1127703) for test_formSubmission.html failures 2015-10-19 16:02:06 -07:00
Andrea Marchesini
c628603a97 Bug 1127703 - Support iteration on FormData, r=bz 2015-10-19 19:23:52 +01:00
Wes Kocher
db78fde55b Backed out changeset 736f0981762c (bug 1127703) for build bustage 2015-10-19 10:55:41 -07:00
Andrea Marchesini
c94d30fc34 Bug 1127703 - Support iteration on FormData, r=bz 2015-10-19 16:16:42 +01:00
Olli Pettay
fee6bc69e2 Bug 1215072 - throw in case dictionary initialization fails in canvas.getContext, r=baku 2015-10-18 14:14:22 +03:00
Nathan Froyd
01583602a9 Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

CLOSED TREE makes big refactorings like this a piece of cake.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi

--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Nathan Froyd
583afa0965 Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan
This commit was generated using the following script, executed at the
top level of a typical source code checkout.

 # Don't modify select files in mfbt/ because it's not worth trying to
 # tease out the dependencies currently.
 #
 # Don't modify anything in media/gmp-clearkey/0.1/ because those files
 # use their own RefPtr, defined in their own RefCounted.h.
find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    grep -v 'mfbt/RefPtr.h' | \
    grep -v 'mfbt/nsRefPtr.h' | \
    grep -v 'mfbt/RefCounted.h' | \
    grep -v 'media/gmp-clearkey/0.1/' | \
    xargs perl -p -i -e '
 s/mozilla::RefPtr/nsRefPtr/g; # handle declarations in headers
 s/\bRefPtr</nsRefPtr</g; # handle local variables in functions
 s#mozilla/RefPtr.h#mozilla/nsRefPtr.h#; # handle #includes
 s#mfbt/RefPtr.h#mfbt/nsRefPtr.h#;       # handle strange #includes
'

 # |using mozilla::RefPtr;| is OK; |using nsRefPtr;| is invalid syntax.
find . -name '*.cpp' -o -name '*.mm' | xargs sed -i -e '/using nsRefPtr/d'

 # RefPtr.h used |byRef| for dealing with COM-style outparams.
 # nsRefPtr.h uses |getter_AddRefs|.
 # Fixup that mismatch.
find . -name '*.cpp' -o -name '*.h'| \
    xargs perl -p -i -e 's/byRef/getter_AddRefs/g'
2015-10-18 00:40:10 -04:00
Phil Ringnalda
dc7a4cc45e Back out changeset 09e059daabae (bug 1215072) for adding a permaorange-on-b2g test
CLOSED TREE
2015-10-16 18:42:41 -07:00
Olli Pettay
2b21892477 Bug 1215072 - throw in case dictionary initialization fails in canvas.getContext, r=baku
--HG--
extra : rebase_source : 006bfed7cfec46e6150ee15135de08941283dbb7
2015-10-16 22:52:11 +03:00
Boris Zbarsky
8d9b5ee469 Bug 218093. Whitelist more mouse movement events to apply to disabled form controls. r=smaug 2015-10-16 14:36:19 -04:00
Carsten "Tomcat" Book
5207756269 Backed out changeset 97e9ac5785f5 (bug 1213154) for bc7 test failures
--HG--
extra : rebase_source : 5989b1677b925c6503290637e4c0fd4597d6f4e9
2015-10-16 12:03:40 +02:00
Andrea Marchesini
bc1b4affc1 Bug 1213154 - tab-sound-icon should be supported by bfcache, r=roc
--HG--
extra : rebase_source : c75b227254aa5701eb728afef09a803e2698e600
2015-10-15 05:00:00 +02:00
Andrea Marchesini
d92668f3a0 Bug 1214659 - HTMLMediaElement::UpdateAudioChannelPlayingState() should be easy to read, r=roc 2015-10-15 00:59:00 +02:00
Morris Tseng
aba970f2a8 Bug 1214571 - Only create mContextObserver once. r=baku
--HG--
extra : commitid : JlT1u9F257B
extra : rebase_source : 7898e6c864c6851e05f47425462d5048483c9633
2015-10-16 10:01:53 +08:00
Boris Zbarsky
b6743e865b Bug 1214819. Add support for @crossorigin to <link rel=prefetch> so resources can be prefetched via anonymous CORS, for example. r=hurley 2015-10-15 15:12:00 -04:00
JW Wang
5147e1f0af Bug 1214989. Part 3 - remove MediaDecoder::Init() and its callers. r=gerald. 2015-10-15 11:39:45 +08:00