Commit Graph

10293 Commits

Author SHA1 Message Date
Boris Zbarsky
16f83caaad Bug 767938 part 6. Get rid of XPConnect's GetCurrentJSContext getter. r=bholley 2016-06-24 14:19:50 -04:00
Boris Zbarsky
edb18fcfaf Bug 767938 part 5. Stop using the JSContext stack to get the current JSContext. r=bholley 2016-06-24 14:19:50 -04:00
Boris Zbarsky
674ca7344c Bug 767938 part 3. Make AutoJSAPI a ScriptSettingsStackEntry. r=bholley 2016-06-24 14:19:50 -04:00
Boris Zbarsky
e7805058b1 Bug 767938 part 2. Move control over pushing/popping ScriptSettingsStackEntry instances into subclasses, so we can do the conditional pushing/popping AutoJSAPI will need. r=bholley 2016-06-24 14:19:50 -04:00
Boris Zbarsky
78464e8e2a Bug 767938 part 1. Change ScriptSettingsStackEntry to allow having stack entries that are neither candidates for being entry globals nor candidates for being incumbent globals. r=bholley 2016-06-24 14:19:50 -04:00
Robert Longson
ea7cbbe858 Bug 1279690 Part 2 - switch should always allowReorder. r=cam, r=dholbert 2016-06-24 18:47:18 +01:00
Dragana Damjanovic dd.mozilla@gmail.com
638edf0077 Bug 1279440 - Fix prefetch for rel=next. r=smaug 2016-06-23 08:52:00 +02:00
Christoph Kerschbaumer
0d99d638ef Bug 1258111 - Fix crash in CheckPolicy. r=billm 2016-06-23 09:40:51 +02:00
Thomas Nguyen
7bcc37e4d7 Bug 1264165 - Update and add test cases. r=franziskus 2016-06-22 18:28:40 +08:00
Thomas Nguyen
545e22fb16 Bug 1264165 - Implement link referrerPolicy attribute. r=josh, r=khuey
MozReview-Commit-ID: GxMtNB23eD8
2016-06-24 10:38:47 +08:00
Cameron McCormack
3265f73629 Bug 1280772 - Part 3: Store Servo-parsed style="" attributes in nsAttrValues. r=bholley 2016-06-24 13:35:12 +10:00
Cameron McCormack
7e0f01ceba Bug 1280772 - Part 2: Rename eCSSDeclaration to eGeckoCSSDeclaration. r=bholley 2016-06-24 13:35:12 +10:00
Cameron McCormack
7e7d15d949 Bug 1280772 - Part 1: Remove explicit numbering of MiscContainer-residing nsAttrValue types. r=bholley 2016-06-24 13:35:12 +10:00
Fabrice Desré
f855149768 Bug 1284455 - Remove the System Messages API, Gecko part r=me
MozReview-Commit-ID: 1mhzddSLkuu

--HG--
extra : rebase_source : f230538d50f7c944825e1833c97ee0f56ecb86f8
2016-04-20 19:04:13 +02:00
Fabrice Desré
2d7ccfe630 Bug 1286190 - Get rid of MOZ_CHILD_PERMISSIONS r=bz
MozReview-Commit-ID: Lx2kozynptu

--HG--
extra : rebase_source : 3f7b9004cd26675dbab6a1909a4b5135d753fd04
2016-04-05 13:34:53 +02:00
John Dai
a17aa0ded0 Bug 1264323 - Set namespace when DOMParser.parseFromString(application/xhtml+xml). r=smaug 2016-06-30 03:58:00 +02:00
John Dai
36dfd1e50c Bug 1264323 - Remove redundant trailing spaces. r=smaug 2016-06-30 03:30:00 +02:00
Michael Layzell
dde888ae28 Bug 906420 - Part 1: Implement DataTransferItem and DataTransferItemList, r=baku 2016-07-04 15:45:45 -04:00
Mike Conley
4cdd10cd4c Backed out changeset 776f0bb21587 for causing bug 1284203.
MozReview-Commit-ID: KtsmLahe1hC

--HG--
extra : rebase_source : a2ae9fbf3bf7b9301c389331ba7f6cbfee3148ba
2016-07-04 13:38:52 -04:00
Andrea Marchesini
9b8df4a1d1 Bug 1270185 - create dom/url for URL API and its tests, r=ehsan
--HG--
rename : dom/base/URL.cpp => dom/url/URL.cpp
rename : dom/base/URL.h => dom/url/URL.h
rename : dom/base/URLSearchParams.cpp => dom/url/URLSearchParams.cpp
rename : dom/base/URLSearchParams.h => dom/url/URLSearchParams.h
rename : dom/base/test/file_url.jsm => dom/url/tests/file_url.jsm
rename : dom/workers/test/file_url.jsm => dom/url/tests/file_worker_url.jsm
rename : dom/workers/test/jsm_url_worker.js => dom/url/tests/jsm_url_worker.js
rename : dom/workers/test/test_bug883784.jsm => dom/url/tests/test_bug883784.jsm
rename : dom/workers/test/test_bug883784.xul => dom/url/tests/test_bug883784.xul
rename : dom/base/test/test_unknown_url_origin.html => dom/url/tests/test_unknown_url_origin.html
rename : dom/base/test/test_url.html => dom/url/tests/test_url.html
rename : dom/base/test/test_url.xul => dom/url/tests/test_url.xul
rename : dom/base/test/test_urlExceptions.html => dom/url/tests/test_urlExceptions.html
rename : dom/base/test/test_urlSearchParams.html => dom/url/tests/test_urlSearchParams.html
rename : dom/base/test/test_urlSearchParams_utf8.html => dom/url/tests/test_urlSearchParams_utf8.html
rename : dom/base/test/test_url_data.html => dom/url/tests/test_url_data.html
rename : dom/base/test/test_url_empty_port.html => dom/url/tests/test_url_empty_port.html
rename : dom/base/test/test_url_malformedHost.html => dom/url/tests/test_url_malformedHost.html
rename : dom/base/test/test_urlutils_stringify.html => dom/url/tests/test_urlutils_stringify.html
rename : dom/workers/test/test_url.html => dom/url/tests/test_worker_url.html
rename : dom/workers/test/test_url.xul => dom/url/tests/test_worker_url.xul
rename : dom/workers/test/test_urlApi.html => dom/url/tests/test_worker_urlApi.html
rename : dom/workers/test/test_urlSearchParams.html => dom/url/tests/test_worker_urlSearchParams.html
rename : dom/workers/test/test_url_exceptions.html => dom/url/tests/test_worker_url_exceptions.html
rename : dom/workers/test/urlApi_worker.js => dom/url/tests/urlApi_worker.js
rename : dom/workers/test/urlSearchParams_worker.js => dom/url/tests/urlSearchParams_worker.js
rename : dom/workers/test/url_exceptions_worker.js => dom/url/tests/url_exceptions_worker.js
rename : dom/workers/test/url_worker.js => dom/url/tests/url_worker.js
2016-06-29 07:44:18 +02:00
Andrea Marchesini
6209c0d90e Bug 1269161 - Remove the separate worker bindings for URL, r=khuey 2016-06-29 07:43:44 +02:00
Andrea Marchesini
163825f4a6 Bug 1281793 - Remove some non-used telemetry IDs - part 4 - random things (2), r=chutten 2016-06-28 19:30:37 +02:00
Carsten "Tomcat" Book
0f88d840e4 Backed out changeset 27b1dd843116 (bug 1281793) 2016-06-28 17:04:49 +02:00
Andrea Marchesini
430a14cd11 Bug 1281793 - Remove some non-used telemetry IDs - part 4 - random things (2), r=chutten 2016-06-28 16:44:42 +02:00
Olli Pettay
fd266b20b2 Bug 1281762 - nsWindowRoot::mPopupNode may keep otherwise closed documents alive, r=enn 2016-06-23 17:14:19 +03:00
Jon Coppeard
ed839a5b59 Bug 1281194 - Don't use for-of iteration over requested modules array r=bz 2016-06-23 11:52:51 +01:00
Andrea Marchesini
6218847441 Bug 1281748 - Cleanup BlobSet code, r=smaug 2016-06-23 11:58:22 +02:00
Andrea Marchesini
aac2306f2c Bug 1269154 - Get rid of WorkerFeature: WorkerHolder, r=khuey
--HG--
rename : dom/cache/Feature.cpp => dom/cache/CacheWorkerHolder.cpp
rename : dom/cache/Feature.h => dom/cache/CacheWorkerHolder.h
rename : dom/workers/WorkerFeature.h => dom/workers/WorkerHolder.h
2016-06-23 10:53:14 +02:00
Carsten "Tomcat" Book
47aeb86e2c Backed out changeset 1c5d78c7ba43 (bug 1269154) for bustage on a CLOSED TREE
--HG--
rename : dom/cache/CacheWorkerHolder.cpp => dom/cache/Feature.cpp
rename : dom/cache/CacheWorkerHolder.h => dom/cache/Feature.h
rename : dom/workers/WorkerHolder.h => dom/workers/WorkerFeature.h
extra : rebase_source : 49f9e9ce0500ac441fe97878cf9308804926544f
2016-06-23 10:13:54 +02:00
Andrea Marchesini
45087a7970 Bug 1269154 - Get rid of WorkerFeature: WorkerHolder, r=khuey
--HG--
rename : dom/cache/Feature.cpp => dom/cache/CacheWorkerHolder.cpp
rename : dom/cache/Feature.h => dom/cache/CacheWorkerHolder.h
rename : dom/workers/WorkerFeature.h => dom/workers/WorkerHolder.h
2016-06-22 17:24:35 +02:00
Boris Zbarsky
d157959ac1 Bug 1003797. Fire error events for <object> per spec. r=qdot 2016-06-23 00:32:23 -04:00
Boris Zbarsky
2a3c63b8e7 Bug 1281366. Ensure that when unblocking the scriptloader we try to process scripts if we have _any_ scripts to process, not just parser-blocking ones. r=smaug 2016-06-23 00:22:29 -04:00
Nils Ohlmeier [:drno]
e1b2b054f6 Bug 1281150: removed DataChannel.stream. r=jib,smaug
MozReview-Commit-ID: E7FOFlXCzk2

--HG--
extra : rebase_source : c90ba5667c588927b2bc818ca7e08332f0866664
2016-06-21 15:54:51 +02:00
Masatoshi Kimura
5979f6931b Bug 1258053 - String changes. r=cpeterson 2016-06-22 21:55:14 +09:00
Masatoshi Kimura
a396185694 Bug 1258053 - Convert YouTube Flash embed URLs that contain params in the path components. r=kmachulis
--HG--
rename : dom/base/test/test_bug1240471.html => dom/base/test/test_youtube_flash_embed.html
2016-06-22 21:55:13 +09:00
Kershaw Chang
b3af0af713 Bug 1268810 - Set SANDBOXED_AUXILIARY_NAVIGATION flag to receiver page, r=smaug 2016-06-21 20:31:00 +02:00
Masayuki Nakano
60bb642e47 Bug 1275528 part.1 Support a way to query content relative to insertion point r=smaug
Native IME handler may want to query content relative to start of selection (or composition if there is it). Additionally, in e10s mode, insertion point in actual content may be different from the cache in parent.  Therefore, in some cases, it does make sense to query content with offset relative to start of selection or composition.

This patch implements it simply and only in non-e10s mode.

Additionally, this fixes a bug of nsQueryContentEventResult::GetOffset() which hasn't been accepted its calls even if the event message is valid (eQueryTextContent, eQueryTextRect and eQueryCaretRect).

MozReview-Commit-ID: 34I7vyTUAgO

--HG--
extra : rebase_source : d79ba0dc3e002f7691495ee1ff8bdb3854d8f6fe
2016-06-16 14:10:49 +09:00
Christoph Kerschbaumer
19ac7d31c1 Bug 1274170 - Remove unnecessary includes of nsCorsListenerProxy. r=jkingston
--HG--
extra : rebase_source : 488864e497a7e6c127a98e05efd17d1d0580e000
2016-06-21 12:54:03 +02:00
Masayuki Nakano
13d4f396fe Bug 1185307 part.2 Replace upcast from nsISelection to mozilla::dom::Selection with nsISelection::AsSelection() r=smaug
MozReview-Commit-ID: Gs3oiAgJFG9

--HG--
extra : rebase_source : a136405d99ff3361a595157986b3a33026bcd5f5
2016-06-17 22:32:49 +09:00
Masayuki Nakano
7b7ebc96f8 Bug 1185307 part.1 Add nsISelection::AsSelection() r=smaug
This patch adds nsISelection::AsSelection() for safer "upcast".

MozReview-Commit-ID: LlxoMaU0oE

--HG--
extra : rebase_source : 8b2fce25888bb256970ea1cb741a9f6fbe6dc542
2016-06-17 16:16:10 +09:00
Masayuki Nakano
d5bf222ecd Bug 1275914 part.7 Add automated tests to query IME selections r=smaug
MozReview-Commit-ID: GwBU6Evcpfa

--HG--
extra : rebase_source : d6a54b3ab227fbae75e723b277f0ff1e95d44044
2016-06-20 16:31:29 +09:00
Masayuki Nakano
b7036f4f73 Bug 1275914 part.4 Add a method to retrieve focused content's selection controller to nsIPresShell r=smaug
ContentEventHandler will need to support query any types of selection.  Therefore, it cannot use nsCopySupport::GetSelectionForCopy().  Instead, a part of it should be implemented by nsIPresShell::GetSelectionControllerForFocusedContent() and it should be shared by nsCopySupport::GetSelectionForCopy() and ContentEventHandler.

MozReview-Commit-ID: 1ItkkIUPFMG

--HG--
extra : rebase_source : 3d33a76ebe52bad0ba7fbe332fc06500a2a007d7
2016-06-10 21:01:32 +09:00
Xidorn Quan
a5ab965f09 Bug 1270753 part 2 - Clean up corresponding old window size when the DOMWindowUtils is destroyed. r=smaug
MozReview-Commit-ID: 3l3jeP4NWZ3

--HG--
extra : source : 1309f4d03f2a8450122cd71c2d545d4bd7682f1c
2016-06-21 08:19:50 +10:00
Xidorn Quan
48da678bcb Bug 1270753 part 1 - Use the weak reference itself as an index for OldWindowSize item. r=smaug
MozReview-Commit-ID: 3X7O5pAuZ3N

--HG--
extra : source : 30e884f5656f6173f45245ced1da25b95ccb29a6
2016-06-21 08:19:50 +10:00
Boris Zbarsky
30a9fd5097 Bug 1276327. Remove the non-debug use of CxPusherIsStackTop(). r=bholley 2016-06-20 17:40:39 -04:00
Nathan Froyd
150bcb573b Bug 1278925 - micro-optimize nsCOMArray appending with already_AddRefed AppendElement; r=erahm
In all of the places touched by this patch, the smart pointer we're
appending is about to become unused, so simply .forget()'ing its
reference into the appropriate nsCOMArray works just fine.
2016-06-20 18:38:10 -04:00
Xidorn Quan
0c0d683ac3 Bug 1279613 - Apply fullscreen enabled flag to about:blank as well. r=smaug
MozReview-Commit-ID: JL3ZIdXpLiX

--HG--
extra : source : 10b1a71568775ba904a916c2cce603337367c582
2016-06-20 07:16:00 +10:00
Olli Pettay
78c9673f58 Bug 741760 - svg-documents-as-images end up to CC graph, r=mccr8, dholbert 2016-06-18 22:50:45 +03:00
Christoph Kerschbaumer
1b81dcec35 Bug 1271198 - Convert Websockets to use AsyncOpen2(). r=jduell 2016-05-17 12:04:11 +02:00
Sebastian Hengst
fb640267f0 Backed out changeset 44256084ae2e (bug 741760) for reftest leaks. r=backout on a CLOSED TREE 2016-06-16 15:56:55 +02:00
Astley Chen
5bcbb06586 Bug 1277131 : Part 3 - rename nsGkAtoms::tableOuterFrame and nsCSSAnonBoxes::tableOuter. r=heycam
MozReview-Commit-ID: 7GIjtUH9hdZ

--HG--
extra : rebase_source : 818cead88e560effa402e183b4a642fd1a7b9191
2016-06-16 13:35:43 +01:00
Olli Pettay
d742f682f3 Bug 741760 - svg-documents-as-images end up to CC graph, r=mccr8, dholbert
--HG--
extra : rebase_source : aac9dc529dff0cb814c905e7f2b07cdfaac5b1fb
2016-06-16 11:32:58 +01:00
Andrea Marchesini
a438f6944e Bug 1279860 - part 4 - Renaming FSMultipartFormData and other HTMLFormSubmission classes, r=smaug 2016-06-16 08:26:34 +01:00
Andrea Marchesini
aadce059f5 Bug 1279860 - part 1 - Renaming nsFormSubmission to mozilla::dom::HTMLFormSubmission, r=smaug
--HG--
rename : dom/html/nsFormSubmission.cpp => dom/html/HTMLFormSubmission.cpp
rename : dom/html/nsFormSubmission.h => dom/html/HTMLFormSubmission.h
rename : dom/html/nsFormSubmissionConstants.h => dom/html/HTMLFormSubmissionConstants.h
2016-06-16 08:24:16 +01:00
Thomas Wisniewski
2e6fa0f5fe Bug 918733 - have overrideMimeType throw INVALID_STATE_ERR if the XHR is in the DONE or LOADING states. r=sicking 2016-06-13 21:56:15 -04:00
Cervantes Yu
28706c5d87 Bug 1275398 - Use shmem for sending image data in IPCDataTransfer. r=nical
MozReview-Commit-ID: 9XETnSBXxEW
2016-06-16 00:57:46 +08:00
Cervantes Yu
3115f628a1 Bug 1272018 - Use shared memory to transfer drag image data. r=nical
MozReview-Commit-ID: K5r9LBQ1FO0
2016-06-15 13:49:13 +01:00
Thomas Nguyen
4b7ad0e2c5 Bug 1223838 - Fix wrong policy associated with empty string. r=fkiefer,hsivonen
MozReview-Commit-ID: 7kFH39cegmH
2016-05-30 15:17:45 +08:00
Andrea Marchesini
c7264cb3ac Bug 1269162 - part 3 - Move XHR code into dom/xhr, r=smaug
--HG--
rename : dom/workers/XMLHttpRequestUploadWorker.cpp => dom/xhr/XMLHttpRequestUploadWorker.cpp
rename : dom/workers/XMLHttpRequestUploadWorker.h => dom/xhr/XMLHttpRequestUploadWorker.h
rename : dom/workers/XMLHttpRequestWorker.cpp => dom/xhr/XMLHttpRequestWorker.cpp
rename : dom/workers/XMLHttpRequestWorker.h => dom/xhr/XMLHttpRequestWorker.h
rename : dom/base/nsIXMLHttpRequest.idl => dom/xhr/nsIXMLHttpRequest.idl
rename : dom/base/nsXMLHttpRequest.cpp => dom/xhr/nsXMLHttpRequest.cpp
rename : dom/base/nsXMLHttpRequest.h => dom/xhr/nsXMLHttpRequest.h
rename : dom/base/test/echo.sjs => dom/xhr/tests/echo.sjs
rename : dom/base/test/file_XHRDocURI.html => dom/xhr/tests/file_XHRDocURI.html
rename : dom/base/test/file_XHRDocURI.html^headers^ => dom/xhr/tests/file_XHRDocURI.html^headers^
rename : dom/base/test/file_XHRDocURI.sjs => dom/xhr/tests/file_XHRDocURI.sjs
rename : dom/base/test/file_XHRDocURI.text => dom/xhr/tests/file_XHRDocURI.text
rename : dom/base/test/file_XHRDocURI.text^headers^ => dom/xhr/tests/file_XHRDocURI.text^headers^
rename : dom/base/test/file_XHRDocURI.xml => dom/xhr/tests/file_XHRDocURI.xml
rename : dom/base/test/file_XHRDocURI.xml^headers^ => dom/xhr/tests/file_XHRDocURI.xml^headers^
rename : dom/base/test/file_XHRResponseURL.js => dom/xhr/tests/file_XHRResponseURL.js
rename : dom/base/test/file_XHRResponseURL.sjs => dom/xhr/tests/file_XHRResponseURL.sjs
rename : dom/base/test/file_XHRResponseURL.text => dom/xhr/tests/file_XHRResponseURL.text
rename : dom/base/test/file_XHRResponseURL.text^headers^ => dom/xhr/tests/file_XHRResponseURL.text^headers^
rename : dom/base/test/file_XHRResponseURL_nocors.text => dom/xhr/tests/file_XHRResponseURL_nocors.text
rename : dom/base/test/file_XHRSendData.sjs => dom/xhr/tests/file_XHRSendData.sjs
rename : dom/base/test/file_XHRSendData_doc.xml => dom/xhr/tests/file_XHRSendData_doc.xml
rename : dom/base/test/file_XHRSendData_doc.xml^headers^ => dom/xhr/tests/file_XHRSendData_doc.xml^headers^
rename : dom/base/test/file_XHR_anon.sjs => dom/xhr/tests/file_XHR_anon.sjs
rename : dom/base/test/file_XHR_binary1.bin => dom/xhr/tests/file_XHR_binary1.bin
rename : dom/base/test/file_XHR_binary1.bin^headers^ => dom/xhr/tests/file_XHR_binary1.bin^headers^
rename : dom/base/test/file_XHR_binary2.bin => dom/xhr/tests/file_XHR_binary2.bin
rename : dom/base/test/file_XHR_fail1.txt => dom/xhr/tests/file_XHR_fail1.txt
rename : dom/base/test/file_XHR_fail1.txt^headers^ => dom/xhr/tests/file_XHR_fail1.txt^headers^
rename : dom/base/test/file_XHR_fail1b.txt => dom/xhr/tests/file_XHR_fail1b.txt
rename : dom/base/test/file_XHR_header.sjs => dom/xhr/tests/file_XHR_header.sjs
rename : dom/base/test/file_XHR_pass1.xml => dom/xhr/tests/file_XHR_pass1.xml
rename : dom/base/test/file_XHR_pass2.txt => dom/xhr/tests/file_XHR_pass2.txt
rename : dom/base/test/file_XHR_pass3.txt => dom/xhr/tests/file_XHR_pass3.txt
rename : dom/base/test/file_XHR_pass3.txt^headers^ => dom/xhr/tests/file_XHR_pass3.txt^headers^
rename : dom/base/test/file_XHR_system_redirect.html => dom/xhr/tests/file_XHR_system_redirect.html
rename : dom/base/test/file_XHR_system_redirect.html^headers^ => dom/xhr/tests/file_XHR_system_redirect.html^headers^
rename : dom/base/test/file_XHR_timeout.sjs => dom/xhr/tests/file_XHR_timeout.sjs
rename : dom/base/test/file_html_in_xhr.html => dom/xhr/tests/file_html_in_xhr.html
rename : dom/base/test/file_html_in_xhr.sjs => dom/xhr/tests/file_html_in_xhr.sjs
rename : dom/base/test/file_html_in_xhr2.html => dom/xhr/tests/file_html_in_xhr2.html
rename : dom/base/test/file_html_in_xhr3.html => dom/xhr/tests/file_html_in_xhr3.html
rename : dom/base/test/progressserver.sjs => dom/xhr/tests/progressserver.sjs
rename : dom/workers/test/relativeLoad_import.js => dom/xhr/tests/relativeLoad_import.js
rename : dom/workers/test/relativeLoad_worker.js => dom/xhr/tests/relativeLoad_worker.js
rename : dom/workers/test/relativeLoad_worker2.js => dom/xhr/tests/relativeLoad_worker2.js
rename : dom/base/test/responseIdentical.sjs => dom/xhr/tests/responseIdentical.sjs
rename : dom/workers/test/subdir/relativeLoad_sub_import.js => dom/xhr/tests/subdir/relativeLoad_sub_import.js
rename : dom/workers/test/subdir/relativeLoad_sub_worker.js => dom/xhr/tests/subdir/relativeLoad_sub_worker.js
rename : dom/workers/test/subdir/relativeLoad_sub_worker2.js => dom/xhr/tests/subdir/relativeLoad_sub_worker2.js
rename : dom/workers/test/terminateSyncXHR_worker.js => dom/xhr/tests/terminateSyncXHR_worker.js
rename : dom/base/test/test_XHR.html => dom/xhr/tests/test_XHR.html
rename : dom/base/test/test_XHRDocURI.html => dom/xhr/tests/test_XHRDocURI.html
rename : dom/base/test/test_XHRResponseURL.html => dom/xhr/tests/test_XHRResponseURL.html
rename : dom/base/test/test_XHRSendData.html => dom/xhr/tests/test_XHRSendData.html
rename : dom/base/test/test_XHR_anon.html => dom/xhr/tests/test_XHR_anon.html
rename : dom/base/test/test_XHR_header.html => dom/xhr/tests/test_XHR_header.html
rename : dom/base/test/test_XHR_onuploadprogress.html => dom/xhr/tests/test_XHR_onuploadprogress.html
rename : dom/base/test/test_XHR_parameters.html => dom/xhr/tests/test_XHR_parameters.html
rename : dom/base/test/test_XHR_system.html => dom/xhr/tests/test_XHR_system.html
rename : dom/base/test/test_XHR_timeout.html => dom/xhr/tests/test_XHR_timeout.html
rename : dom/base/test/test_XHR_timeout.js => dom/xhr/tests/test_XHR_timeout.js
rename : dom/base/test/test_html_in_xhr.html => dom/xhr/tests/test_html_in_xhr.html
rename : dom/workers/test/test_relativeLoad.html => dom/xhr/tests/test_relativeLoad.html
rename : dom/base/test/test_sync_xhr_timer.xhtml => dom/xhr/tests/test_sync_xhr_timer.xhtml
rename : dom/workers/test/test_terminateSyncXHR.html => dom/xhr/tests/test_worker_terminateSyncXHR.html
rename : dom/workers/test/test_xhr.html => dom/xhr/tests/test_worker_xhr.html
rename : dom/workers/test/test_xhr2.html => dom/xhr/tests/test_worker_xhr2.html
rename : dom/workers/test/test_xhrAbort.html => dom/xhr/tests/test_worker_xhrAbort.html
rename : dom/workers/test/test_xhr_3rdparty.html => dom/xhr/tests/test_worker_xhr_3rdparty.html
rename : dom/workers/test/test_xhr_cors_redirect.html => dom/xhr/tests/test_worker_xhr_cors_redirect.html
rename : dom/workers/test/test_xhr_headers.html => dom/xhr/tests/test_worker_xhr_headers.html
rename : dom/workers/test/test_xhr_implicit_cancel.html => dom/xhr/tests/test_worker_xhr_implicit_cancel.html
rename : dom/workers/test/test_xhr_parameters.html => dom/xhr/tests/test_worker_xhr_parameters.html
rename : dom/workers/test/test_xhr_parameters.js => dom/xhr/tests/test_worker_xhr_parameters.js
rename : dom/workers/test/test_xhr_responseURL.html => dom/xhr/tests/test_worker_xhr_responseURL.html
rename : dom/workers/test/test_xhr_system.html => dom/xhr/tests/test_worker_xhr_system.html
rename : dom/workers/test/test_xhr_system.js => dom/xhr/tests/test_worker_xhr_system.js
rename : dom/workers/test/test_xhr_timeout.html => dom/xhr/tests/test_worker_xhr_timeout.html
rename : dom/base/test/test_xhr_abort_after_load.html => dom/xhr/tests/test_xhr_abort_after_load.html
rename : dom/base/test/test_xhr_forbidden_headers.html => dom/xhr/tests/test_xhr_forbidden_headers.html
rename : dom/base/test/test_xhr_overridemimetype_throws_on_invalid_state.html => dom/xhr/tests/test_xhr_overridemimetype_throws_on_invalid_state.html
rename : dom/base/test/test_xhr_progressevents.html => dom/xhr/tests/test_xhr_progressevents.html
rename : dom/base/test/test_xhr_send.html => dom/xhr/tests/test_xhr_send.html
rename : dom/base/test/test_xhr_send_readystate.html => dom/xhr/tests/test_xhr_send_readystate.html
rename : dom/base/test/test_xhr_withCredentials.html => dom/xhr/tests/test_xhr_withCredentials.html
rename : dom/workers/test/file_getcookie.sjs => dom/xhr/tests/worker_file_getcookie.sjs
rename : dom/workers/test/terminateSyncXHR_frame.html => dom/xhr/tests/worker_terminateSyncXHR_frame.html
rename : dom/workers/test/testXHR.txt => dom/xhr/tests/worker_testXHR.txt
rename : dom/workers/test/xhr_cors_redirect.js => dom/xhr/tests/worker_xhr_cors_redirect.js
rename : dom/workers/test/xhr_cors_redirect.sjs => dom/xhr/tests/worker_xhr_cors_redirect.sjs
rename : dom/workers/test/xhr_headers_server.sjs => dom/xhr/tests/worker_xhr_headers_server.sjs
rename : dom/workers/test/xhr_headers_worker.js => dom/xhr/tests/worker_xhr_headers_worker.js
rename : dom/workers/test/xhr2_worker.js => dom/xhr/tests/xhr2_worker.js
rename : dom/workers/test/xhrAbort_worker.js => dom/xhr/tests/xhrAbort_worker.js
rename : dom/workers/test/xhr_implicit_cancel_worker.js => dom/xhr/tests/xhr_implicit_cancel_worker.js
rename : dom/workers/test/xhr_worker.js => dom/xhr/tests/xhr_worker.js
2016-06-27 19:13:40 +02:00
Andrea Marchesini
85f84860d8 Bug 1286830 - Remove duplicate GetType() call in nsHostObjectProtocolHandler::NewChannel2, r=smaug 2016-07-14 16:58:11 +02:00
Franziskus Kiefer
cbf15542b0 Bug 1223838 - enable perElementReferrer by default. r=hsivonen 2015-12-02 11:12:12 +01:00
Gordon Su
4b24a929e8 Bug 1271126 - Fixed the ParseHTMLInteger function to handle INT32_MIN. r=smaug 2016-06-12 16:18:55 -04:00
Andrea Marchesini
47c21b1f75 Bug 1279889 - Some rv.SuppressException() missing in StructuredCloneHolder, r=smaug 2016-06-14 13:10:39 +01:00
Andrea Marchesini
13337bbba2 Bug 1279883 - Directory should not always be clonable across threads and processes, r=smaug 2016-06-14 12:51:41 +01:00
Andrea Marchesini
82f92bee37 Bug 1279453 - Remove separate worker binding for ServiceWorkerRegistration API, r=bkelly 2016-06-12 16:26:51 +02:00
Masayuki Nakano
9fdc31aea3 Bug 1278014 part.14 Rename SelectionType::SELECTION_URLSTRIKEOUT to SelectionType::eURLStrikeout r=smaug
MozReview-Commit-ID: 7AqeDbHxGE2

--HG--
extra : rebase_source : 2dada2c98e1186aa7f5699b8d11033eae50ba2c6
2016-06-09 20:58:56 +09:00
Masayuki Nakano
a0eb51f54d Bug 1278014 part.13 Rename SelectionType::SELECTION_URLSECONDARY to SelectionType::eURLSecondary r=smaug
MozReview-Commit-ID: C2IW7nqjEkD

--HG--
extra : rebase_source : a64cd80650fe51dbc5586511ad8c3287a0ec3225
2016-06-09 20:47:48 +09:00
Masayuki Nakano
ebf3bc1862 Bug 1278014 part.12 Rename SelectionType::SELECTION_FIND to SelectionType::eFind r=smaug
MozReview-Commit-ID: BZxBnCDBghi

--HG--
extra : rebase_source : 099d1043c7e69f3c49a2d4e34190cbd7c4532107
2016-06-09 20:35:20 +09:00
Masayuki Nakano
61a6a5f987 Bug 1278014 part.11 Rename SelectionType::SELECTION_ACCESSIBILITY to SelectionType::eAccessibility r=smaug
MozReview-Commit-ID: 2nU4KQB5S7N

--HG--
extra : rebase_source : 8bb098b292fa92833e86fd65be62819844e0829e
2016-06-09 20:32:36 +09:00
Masayuki Nakano
10f047dba5 Bug 1278014 part.10 Rename SelectionType::SELECTION_IME_SELECTEDCONVERTEDTEXT to SelectionType::eIMESelectedClause r=smaug
MozReview-Commit-ID: 8v3mqcYorOI

--HG--
extra : rebase_source : a6823273c161eabbfa9e49e689154e547c14a106
2016-06-09 19:29:29 +09:00
Masayuki Nakano
aa3d2a6ce9 Bug 1278014 part.9 Rename SelectionType::SELECTION_IME_CONVERTEDTEXT to SelectionType::eIMEConvertedClause r=smaug
MozReview-Commit-ID: 5UNqhB2ZEcZ

--HG--
extra : rebase_source : 74d41ddf5496bdc50306bf916251df4f8d65a65b
2016-06-09 19:14:17 +09:00
Masayuki Nakano
ff86f10a4c Bug 1278014 part.8 Rename SelectionType::SELECTION_IME_SELECTEDRAWTEXT to SelectionType::eIMESelectedRawClause r=smaug
MozReview-Commit-ID: DgprOxg87K6

--HG--
extra : rebase_source : 2f655353845292c4e8028f6e43f0dbbbfea11b68
2016-06-09 19:03:40 +09:00
Masayuki Nakano
569677d2f1 Bug 1278014 part.7 Rename SelectionType::SELECTION_IME_RAWINPUT to SelectionType::eIMERawClause r=smaug
MozReview-Commit-ID: BRe10Lyx5mt

--HG--
extra : rebase_source : e57239239fe8029040ce49faff9e37c5ad0b8305
2016-06-09 18:51:49 +09:00
Masayuki Nakano
a1636168ba Bug 1278014 part.6 Rename SelectionType::SELECTION_SPELLCHECK to SelectionType::eSpellCheck r=smaug
MozReview-Commit-ID: 4n2jEVax37O

--HG--
extra : rebase_source : eb8c0dbedfeac83de330ccef874525dea355b52c
2016-06-09 18:37:36 +09:00
Masayuki Nakano
d960ef26d5 Bug 1278014 part.5 Rename SelectionType::SELECTION_NORMAL to SelectionType::eNormal r=smaug
MozReview-Commit-ID: AAdxTTKEvrk

--HG--
extra : rebase_source : 82e10db6b8b17d4f571625e34bb3c8f1905ef58a
2016-06-09 18:35:22 +09:00
Masayuki Nakano
b58c08cb8f Bug 1278014 part.4 Rename SelectionType::SELECTION_NONE to SelectionType::eNone r=smaug
MozReview-Commit-ID: BRfzs8sColP

--HG--
extra : rebase_source : a5190cb20c263b01205e1ff75c76b2970c229b4e
2016-06-09 18:07:18 +09:00
Masayuki Nakano
581b9986bb Bug 1278014 part.3 Define 2 constants for number of SelectionType and number of SelectionType except "none" r=smaug
This patch defines two constants kSelectionTypeCount and kPresentSelectionTypeCount.  The former is same as nsISelectionController::NUM_SELECTIONTYPES.  The latter is kSelectionTypeCount - 1 for excluding SELECTION_NONE.  The latter is useful in some loops which handle all selection types except SELECTION_NONE.

Note that this patch fixes a bug of nsFrameSelection.  That doesn't treat SELECTION_NONE as a selection (see the definition of index), however, it defines redundant item and doesn't use it actually.  Additionally, it computes invalid selection type in each loop.  Therefore, without this patch, debug build hits MOZ_ASSERT() in ToSelectionType(RawSelectionType).

Note that these constants are defined as anonymous enum because we cannot define as const (or static) even with extern.  If we'd try to do it, it caused link error or not available in nsFrameSelection.cpp as constant value since they were not initialized if they were initialized in nsSelection.cpp.  Therefore, these constants are defined as enum items but using "k" prefix.

MozReview-Commit-ID: H6sH7NBEXlE

--HG--
extra : rebase_source : fd517d5fc2e2d5dc2f96313e2802fd1719817af7
2016-06-11 11:12:26 +09:00
Masayuki Nakano
00591135a4 Bug 1278014 part.2 Define mozilla::SelectionType as an enum class and use it instead of RawSelectionType as far as possible r=smaug
This patch defines mozilla::SelectionType as an enum class.  This is safer than nsISelectionController::SELECTION_* since setting illegal value to its variable is checked at build time.  So, as far as possible, this should be used everywhere (but of course, this isn't available in scriptable interfaces).

And also this implements some useful methods for managing SelectionType and RawSelectionType which are implemented in layout/nsSelection.cpp because nsISelectionController is implemented by both PresShell and nsTextEditorState.  Therefore, implementing one of them may make hard to find them.  On the other hand, nsSelection.cpp is a better file name to look for them.

Note that this patch creates mozilla::Selection::RawType() for binding.  Native code should keep using Selection::Type() but the binding code needs to use RawType() due to impossible to convert from SelectionType to RawSelectionType without explicit cast.

MozReview-Commit-ID: 81vX7A0hHQN

--HG--
extra : rebase_source : d9f88e217c713c60d1c2578ce6421c73ccba8650
2016-06-11 11:06:37 +09:00
Masayuki Nakano
17f667a2e2 Bug 1278014 part.1 Rename SelectionType in nsISelectionController.idl to mozilla::RawSelectionType r=smaug
mozilla::SelectionType will be an enum class. Therefore, we need to rename SelectionType with a word "raw" since it's a type for raw nsISelectionController::SELECTION_*.

MozReview-Commit-ID: K8SO0bbpv0Y

--HG--
extra : rebase_source : 56e3ac852657ef4795d718d2da09b16903c2e66c
2016-06-07 22:42:06 +09:00
Ralph Giles
d8b5bb25d4 Bug 1275744 - Reference MOZ_LOG in dom comments. r=erahm
NSPR_LOG_MODULES is deprecated.

MozReview-Commit-ID: GgJTpEHyZqJ

--HG--
extra : rebase_source : dea80975ee6281aff1476f99f1807f3093af82c9
2016-05-26 11:08:47 -07:00
Andrea Marchesini
dd368c9569 Bug 1279194 - Get rid of nsDOMPerformanceNavigationType, r=smaug 2016-06-10 16:29:46 +02:00
Carsten "Tomcat" Book
2266139ee3 Merge mozilla-central to mozilla-inbound 2016-06-10 15:44:04 +02:00
Carsten "Tomcat" Book
4ee1ed2b8f merge mozilla-inbound to central a=merge
--HG--
extra : amend_source : 10247ace8885c608987dcf31d47368e0dec09b19
2016-06-10 15:39:23 +02:00
James Andreou
d1d6e01a74 Bug 1278664 - TabContext were not being passed the right PrivateBrowsingId r=baku,smaug 2016-06-08 07:42:00 +02:00
Carsten "Tomcat" Book
afff301b32 Backed out changeset 5c836acf3197 (bug 906420) on developer request by baku
--HG--
extra : rebase_source : 9f109cdb706feef6d2bcd9a2e71f8c4d3c17ebdf
2016-06-09 15:30:53 +02:00
Mats Palmgren
f6d968da26 Bug 1279038 - Add a couple of #includes that this file requires to build. r=sicking 2016-06-10 02:56:23 +02:00
Nicholas Nethercote
1ef1cfa948 Bug 1279148 - Clarify non-nullness of nsHeaderVisitor::{mXHR,mHttpChannel}. r=baku.
--HG--
extra : rebase_source : 9bdd59d568c92bd465671f894a07603c75aa182c
2016-06-09 16:11:00 +10:00
Jonathan Watt
b15368cfcb Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
Botond Ballo
4cd8a55cfc Bug 1277298 - Store the 'scrollgrab' property in a NODE_FLAG_BIT rather than a new field of nsGenericHTMLElement. r=smaug
MozReview-Commit-ID: 7DV33kG2KNt

--HG--
extra : source : 3f7ad60ae16bce8cac317aee8d3ec6445354733c
2016-06-06 17:45:46 -04:00
Andrea Marchesini
64734bf74c Bug 1278838 - Remove separate worker binding for Performance API, r=smaug
--HG--
rename : dom/performance/nsPerformance.cpp => dom/performance/Performance.cpp
rename : dom/performance/nsPerformance.h => dom/performance/Performance.h
rename : dom/workers/Performance.cpp => dom/performance/PerformanceWorker.cpp
rename : dom/workers/Performance.h => dom/performance/PerformanceWorker.h
2016-06-09 19:04:42 +02:00
Andrew McCreight
e1d8d2ed7b Bug 1272423 - Refuse to send large messages via the message manager. r=baku
Large IPC messages will hit a fatal assert, so reject message manager
messages earlier.

Also, collect telemetry on the rejected messages.
2016-06-09 09:35:19 -07:00
Carsten "Tomcat" Book
801ccd962d Merge mozilla-central to mozilla-inbound 2016-06-09 15:41:40 +02:00
Neil Deakin
ea192c61f5 Bug 1174798, propagate keyboard indicator state down to child processes, r=smaug 2016-06-09 07:59:31 -04:00
Andrea Marchesini
1264ad2da5 Bug 1278845 - Move PerformanceNavigation to separate files, r=smaug 2016-06-09 12:44:54 +02:00
Andrea Marchesini
e7022433c4 Bug 1278835 - Renaming nsPerformanceNavigation to mozilla::dom::PerformanceNavigation, r=smaug 2016-06-09 12:43:02 +02:00
Andrea Marchesini
8723eb439d Bug 1278816 - Move Performance API into dom/performance, r=smaug
--HG--
rename : dom/base/PerformanceEntry.cpp => dom/performance/PerformanceEntry.cpp
rename : dom/base/PerformanceEntry.h => dom/performance/PerformanceEntry.h
rename : dom/base/PerformanceMark.cpp => dom/performance/PerformanceMark.cpp
rename : dom/base/PerformanceMark.h => dom/performance/PerformanceMark.h
rename : dom/base/PerformanceMeasure.cpp => dom/performance/PerformanceMeasure.cpp
rename : dom/base/PerformanceMeasure.h => dom/performance/PerformanceMeasure.h
rename : dom/base/PerformanceObserver.cpp => dom/performance/PerformanceObserver.cpp
rename : dom/base/PerformanceObserver.h => dom/performance/PerformanceObserver.h
rename : dom/base/PerformanceObserverEntryList.cpp => dom/performance/PerformanceObserverEntryList.cpp
rename : dom/base/PerformanceObserverEntryList.h => dom/performance/PerformanceObserverEntryList.h
rename : dom/base/PerformanceResourceTiming.cpp => dom/performance/PerformanceResourceTiming.cpp
rename : dom/base/PerformanceResourceTiming.h => dom/performance/PerformanceResourceTiming.h
rename : dom/base/nsPerformance.cpp => dom/performance/nsPerformance.cpp
rename : dom/base/nsPerformance.h => dom/performance/nsPerformance.h
rename : dom/base/test/performance_observer.html => dom/performance/tests/performance_observer.html
rename : dom/base/test/test_performance_observer.html => dom/performance/tests/test_performance_observer.html
rename : dom/base/test/test_performance_observer.js => dom/performance/tests/test_performance_observer.js
rename : dom/base/test/test_performance_user_timing.html => dom/performance/tests/test_performance_user_timing.html
rename : dom/base/test/test_performance_user_timing.js => dom/performance/tests/test_performance_user_timing.js
2016-06-09 12:42:21 +02:00
Bob Owen
7c3321c672 Bug 1277475 Part 1: Add a chrome and XBL accessor for the sandboxed scripts flag to Document WEBIDL. r=bz
This also incldues changes to use the new function instead of getting and checking the sandbox flags in most places.

MozReview-Commit-ID: Cv0vJCdLH4D
2016-06-09 11:22:22 +01:00
Andrea Marchesini
501b078b36 Bug 1278799 - Moving Console API into dom/console, r=smaug
--HG--
rename : dom/base/Console.cpp => dom/console/Console.cpp
rename : dom/base/Console.h => dom/console/Console.h
rename : dom/base/ConsoleAPI.manifest => dom/console/ConsoleAPI.manifest
rename : dom/base/ConsoleAPIStorage.js => dom/console/ConsoleAPIStorage.js
rename : dom/base/ConsoleReportCollector.cpp => dom/console/ConsoleReportCollector.cpp
rename : dom/base/ConsoleReportCollector.h => dom/console/ConsoleReportCollector.h
rename : dom/base/nsIConsoleAPIStorage.idl => dom/console/nsIConsoleAPIStorage.idl
rename : dom/base/nsIConsoleReportCollector.h => dom/console/nsIConsoleReportCollector.h
rename : dom/base/test/test_bug659625.html => dom/console/tests/test_bug659625.html
rename : dom/base/test/test_bug978522.html => dom/console/tests/test_bug978522.html
rename : dom/base/test/test_bug979109.html => dom/console/tests/test_bug979109.html
rename : dom/base/test/test_bug989665.html => dom/console/tests/test_bug989665.html
rename : dom/base/test/test_console.xul => dom/console/tests/test_console.xul
rename : dom/base/test/test_consoleEmptyStack.html => dom/console/tests/test_consoleEmptyStack.html
rename : dom/base/test/test_console_binding.html => dom/console/tests/test_console_binding.html
rename : dom/base/test/test_console_proto.html => dom/console/tests/test_console_proto.html
2016-06-08 14:46:50 +02:00
Andrea Marchesini
3844ccedea Bug 1278453 - Console API should be able to deal with arguments that close the window in toString(), r=smaug 2016-06-08 12:49:51 +02:00
Andrea Marchesini
43a1cd6c16 Bug 1277226 - Implement MainThreadWorkerRunnable, r=sicking 2016-06-08 07:12:05 +02:00
Dave Huseby
f4337b6262 Bug 1237080 - adds deprecation msg for chrome scripted DOMParser without principal. r=baku
MozReview-Commit-ID: FuolzJOcslX
2016-06-07 18:57:45 -07:00
Jonas Sicking
00ad3a0f9d Bug 1263991 parts 2 and 2.5: Enable launching a server in the parent process. r=baku,ehsan 2016-06-07 02:46:03 -07:00
Michael Layzell
b0efb7ddb3 Bug 1181073 - Relax setTimeout throttling for background tabs using web audio, r=bkelly 2016-06-07 18:05:55 -04:00
Michael Layzell
bd973fcaa4 Bug 906420 - Part 1: Implement DataTransferItem and DataTransferItemList, r=baku 2016-06-07 18:05:55 -04:00
Jan de Mooij
dad997a833 Bug 1277278 part 3 - Rename error reporter callback to warning reporter, assert it's only used for warnings. r=luke
--HG--
extra : rebase_source : ac1febc5220d649853f35c29de89a5e9ffb4fe98
2016-06-07 20:30:48 +02:00
Jan de Mooij
66faed38af Bug 1277278 part 1 - Remove ContextOptions and make autoJSAPIOwnsErrorReporting the default. r=luke
--HG--
extra : rebase_source : aa1dcba100a3bb7a5057b07284cf4a99353afe5a
2016-06-07 20:30:48 +02:00
Andrea Marchesini
dd6cbdac21 Bug 1271516 - Introducing nsIWebNavigation.setOriginAttributesBeforeLoading, r=smaug 2016-06-07 19:59:22 +02:00
Carsten "Tomcat" Book
c1439093ab Merge mozilla-central to mozilla-inbound 2016-06-07 15:34:15 +02:00
Carsten "Tomcat" Book
c6d661cfe2 merge mozilla-inbound to mozilla-central a=merge 2016-06-07 15:23:03 +02:00
Phil Ringnalda
035f8773be Back out 32d16086e85e (bug 1271516) for frequent ChromeUtils::IsOriginAttributesEqual assertin failures
CLOSED TREE
2016-06-06 21:07:42 -07:00
Carsten "Tomcat" Book
038912c550 Backed out changeset 65e49149fbcc (bug 1263991) 2016-06-07 12:10:29 +02:00
Jonas Sicking
d1f24d4d69 Bug 1263991 part 2: Enable launching a server in the parent process. r=baku 2016-06-07 02:46:03 -07:00
James Andreou
14c6b15018 Bug 1277357 - Remove nsDocShell:SetUsePrivateBrowsing cpp consumers and some JS consumers r=jdm 2016-06-06 07:42:00 +02:00
Chris Peterson
41ab04a4e2 Bug 1259335 - Part 2: Remove deprecated navigator.battery API and tests. r=baku
--HG--
extra : rebase_source : 82eeaa8964905627803acf250e434bf4036d2d1d
2016-06-06 23:10:44 -07:00
Nathan Froyd
423f3b021b Bug 1277890 - part 2 - avoid unnecessary refcounting when setting the filters list; r=baku
Once we have references to all the atoms for the filters list, we can
pass all those references in, rather than having to copy the array and
thus the references.
2016-06-07 04:10:25 -04:00
Nathan Froyd
9190866b93 Bug 1277890 - part 1 - avoid unnecessary refcounting when building the filters list; r=baku
We can pass the atom reference we have into the filter list, there's no
need for the filter list to retain a separate reference of the atom.
2016-06-07 04:10:25 -04:00
Andrea Marchesini
943c6e667c Bug 1271516 - Introducing nsIWebNavigation.setOriginAttributesBeforeLoading, r=smaug 2016-06-07 00:47:13 +02:00
Chris Peterson
4906b951ee Bug 1259335 - Part 1.5b: Report telemetry for navigator.battery use. r=baku 2016-06-05 23:54:34 -07:00
Jan Varga
5a2fea4594 Bug 1195930 - Part 5: Core changes, support for storage directory versioning, new metadata v2 files, origin suffix added to API methods, origin attributes used across the implementation, more upgrade tests; r=asuth 2016-06-05 21:42:25 +02:00
Chris Peterson
0ca60536e0 Backed out changeset 7383d49bc7c8 (Flash click-to-play bug 1186948) 2016-06-05 01:03:36 -07:00
Andrea Marchesini
f49a386d9b Bug 989619 - patch 3 - console API should use [ProtoObjectHack], r=bz 2016-06-04 09:33:24 +02:00
Andrea Marchesini
c30cdb7269 Bug 989619 - patch 2 - console API should use webIDL namespaces, r=bz 2016-06-04 09:32:51 +02:00
Masayuki Nakano
4fc95828b6 Bug 1277756 part.1 Make anonymous enum for NS_TEXTRANGE_* to an enum class named "TextRangeType" r=smaug
For making our code clearer by the stronger type check, we should change the anonymous enum for NS_TEXTRANGE_* to enum class whose name is "TextRangeType" and whose type is "RawTextRangeType" which is an alias of uint8_t.

Additionally, this also adds some utility methods for them.

Note that some lines which are changed by this patch become over 80 characters but it will be fixed by the following patches.

MozReview-Commit-ID: 76izA1WqTkp

--HG--
extra : rebase_source : 27cd8cc8f7f8e82055dbfe82aba94c02beda5fa4
2016-06-04 09:49:21 +09:00
Nathan Froyd
1dd7bdbf29 Bug 1277429 - remove unused variable in ResolveRequestedModules; r=baku 2016-06-03 18:31:58 -04:00
Carsten "Tomcat" Book
e2e1501bad Merge mozilla-central to mozilla-inbound 2016-06-03 12:41:23 +02:00
Carsten "Tomcat" Book
71eb3110f9 merge mozilla-inbound to mozilla-central a=merge 2016-06-03 12:00:06 +02:00
dimi
4f68c43631 Bug 1258033 - Part 2: navigator.doNotTrack should be determinded by preference and tracking protection. r=smaug
MozReview-Commit-ID: 7kxLZvptEvx

--HG--
extra : rebase_source : 96fd8f193daf3d53eb668d97db90d5a4317d7872
2016-06-02 10:22:18 +08:00
Carsten "Tomcat" Book
a91653581d Backed out changeset 9d903a6a12aa (bug 1276738) for test failures in test_blank_named_window.html on a CLOSED TREE
--HG--
extra : rebase_source : cd1218144d092a62764b014cffb6b0a92b5f9141
2016-06-02 08:13:16 +02:00
Andrew McCreight
858cf1d807 Bug 1275707, part 3 - Rename MESSAGE_MANAGER_MESSAGE_SIZE. r=baku
Now that digits have been filtered out of the message manager message
names to avoid creating thousands of similar keys, we can reenable the
telemetry by renaming it. Also, update the description to address
bsmedberg's comments, and add me to the list of alert emails.
2016-06-01 15:11:06 -07:00
Andrew McCreight
fdd63bef5d Bug 1275707, part 2 - Remove numbers from the message manager message names. r=billm
There are a huge number of different message manager messages with
names of the form "ublock0:sb:{N}", where {N} is some number from 1 to
over 1000. Having so many different keys seems to cause problems for
telemetry and makes it harder to tell how many messages of each type
there really are, so this patch combines them by eliminating any
digits. It will also help for the webdev tools that use channels with
names like "debug:server1.conn5.child1:packet". This will create some
ambiguity (eg there are some messages of the form "ublock:sb:{N}"),
but that should be a minor issue.
2016-06-01 15:11:06 -07:00
Andrew McCreight
263493a069 Bug 1275707, part 1 - Factor out a common method for message manager size telemetry. r=billm 2016-06-01 15:11:06 -07:00
Mike Conley
0d5fa55d26 Bug 1276738 - Tag a bunch of tests that exercise opening windows with openwindow. r=me
There are a series of tests strewn about the tree that seem to exercise window
opening in one form or another, so I thought I'd put them under a tag.

MozReview-Commit-ID: 74JwLUTzaMU

--HG--
extra : rebase_source : 0c92084914ffe44a781f034b2416e17905656607
2016-04-29 14:29:03 -04:00
Frederik Braun
404a0bbb99 Bug 1265318: add require-sri-for CSP directive. r=ckerschb
MozReview-Commit-ID: 200PAvKtBME
2016-05-31 11:14:00 +02:00
Andrea Marchesini
2287a36ed4 Bug 1277001 - Use BlobPart in the Blob/File webidl interface, r=smaug 2016-06-01 12:33:09 +02:00
Andrea Marchesini
3ad65f3a92 Bug 1258489 - Implement HTMLInputElement.webkitdirectory, r=smaug 2016-06-01 12:29:00 +02:00
Jonas Sicking
2e9e463e19 Bug 1272100: Websocket changes in preparation of FlyWeb landing. Make websocket code support acting as the server side of a websocket connection. r=michal 2016-06-01 02:35:33 -07:00
Alastor Wu
20745c8136 Bug 1240423 - part8 : modify tests r=baku
MozReview-Commit-ID: 7NlzmcZAlrd

--HG--
extra : rebase_source : fe7d43b0275483e9e082504b88af8f106cadbc19
2016-06-01 10:26:34 +08:00
Jonathan Hao
525c086187 Bug 1259871 - Replace getSimpleCodebasePrincipal with createCodebasePrincipal. r=sicking
MozReview-Commit-ID: Frx0CjBzuve

--HG--
extra : histedit_source : 036eb321d9ccb20e0e071ba588b0a1249eb34bdd
2016-05-24 18:01:34 +08:00
Kit Cambridge
d9d287a14e Bug 1265841 - Implement the notificationclose service worker event. r=wchen,baku
MozReview-Commit-ID: EQfCbQKqn9H

--HG--
extra : rebase_source : 2dad51a3c148db794769fb7c64c28f81ea2ca6ff
extra : histedit_source : 254e2e372ba605f74c1f5106f40b207e492e85e1
2016-04-19 22:04:09 -07:00
Kris Maglione
9d0ac66004 Bug 1240326: Part 1: Add lazyWidth and lazyHeight properties to frame loaders. r=billm
MozReview-Commit-ID: 6uEcjS10KCW

--HG--
extra : source : e13744d80c918e7d92eae9a70fe907c8d20dda3e
extra : amend_source : a923ee79c242861aaacbe20f5aff3578e3e212c9
2016-04-07 17:04:57 -07:00
Chris Peterson
2fef1eb8e8 Bug 1259335 - Part 1.5: Collect use count telemetry for Battery Status API. r=baku 2016-06-02 22:46:38 -07:00
Boris Zbarsky
42a30322ba Bug 1276400 part 1. Get rid of AutoDontReportUncaught and its one consumer. r=bkelly 2016-05-31 22:00:17 -04:00
Xidorn Quan
5c01d7c3ee Bug 1276549 - Remove rvalue reference mark for already_AddRefed params of nsIEventTarget::Dispatch and related methods. r=froydnj
MozReview-Commit-ID: J5RAfGW3X7T

--HG--
extra : source : e1ff4b0d5d9d2599ac00bac376597357ffd58ce0
2016-06-01 10:04:54 +10:00
Sebastian Hengst
1b4ffa70c1 Backed out changeset 7b5c8958c61c (bug 1270962) for often failing browser_readerMode.js. r=backout 2016-06-01 00:37:33 +02:00
Mike Conley
99143b5309 Bug 1266799 - Increase DOM fullscreen timeout length to 1000ms. r=xidorn
According to the Telemetry probes added in Bug 1271160, 1000ms should
account for ~94% of fullscreen transitions. The remaining ~6% tail is where
users might see the transition end and then content re-organize itself.

I think this is a big improvement over the original 500ms, which covers only
about ~80% of cases, according to Telemetry.

MozReview-Commit-ID: 3Vb9qQ7yDx5

--HG--
extra : rebase_source : 6f7a2db037bcd1ef21e59aca70b08078ab4f290d
2016-06-02 14:49:56 -04:00
Masatoshi Kimura
7f91a2f04a Bug 1277691 - Allow security.turn_off_all_security_so_that_viruses_can_take_over_this_computer only if MOZ_DISABLE_NONLOCAL_CONNECTIONS is set. r=mrbkap 2016-06-03 07:40:16 +09:00
James Andreou
1d32e86b9c Bug 1269361 - Add mPrivateBrowsingId to OriginAttributes r=ehsan,jdm 2016-06-02 17:03:11 -04:00
Olli Pettay
025485605e Bug 1143271 - use [ChromeOnly] on MutationObserverInit, r=bz
--HG--
extra : rebase_source : 57629c251e1cd6f073aa117bc448db9cac2a27ca
2016-06-02 22:55:30 +03:00
Mike Conley
0c3578df60 Bug 1276738 - Tag a bunch of tests that exercise opening windows with openwindow. r=me
There are a series of tests strewn about the tree that seem to exercise window
opening in one form or another, so I thought I'd put them under a tag.

MozReview-Commit-ID: 74JwLUTzaMU

--HG--
extra : rebase_source : 87439bacd9643ab63d015f58f44af2f8a74675a0
extra : source : 9d903a6a12aa7182252ec3e220c89b569c14e11b
2016-04-29 14:29:03 -04:00
Boris Zbarsky
b97284ce16 Bug 1276276 part 6. Get rid of nsJSContext::mContext. r=smaug 2016-06-02 10:34:40 -04:00
Boris Zbarsky
718461c894 Bug 1276276 part 5. Change AutoCxPusher to not worry about nsIScriptContext, since its JSContext never has one anymore. r=smaug 2016-06-02 10:34:40 -04:00
Boris Zbarsky
30b1d353e7 Bug 1276276 part 4. Eliminate the specialness of nsJSContext::GetCCRefcnt, since we're never using its mContext for anything now. r=peterv 2016-06-02 10:34:40 -04:00
Boris Zbarsky
f02f5d431d Bug 1276276 part 3. Eliminate nsIScriptContext::GetNativeContext. r=smaug 2016-06-02 10:34:39 -04:00
Boris Zbarsky
43a4676066 Bug 1276276 part 2. Change AutoEntryScript to always use the safe jscontext instead of trying to find a global-specific one. r=smaug 2016-06-02 10:34:39 -04:00
Boris Zbarsky
2385de9556 Bug 1276276 part 1. Make AutoJSAPI hold a strong ref to the nsIGlobalObject it's initialized with, so it won't go away while we're working with it. r=smaug 2016-06-02 10:34:39 -04:00
Boris Zbarsky
0ddbab28c8 Bug 1276317 part 3. Move handling of the mem log prefs from being per-nsJSContext to just happening once in nsJSContext::EnsureStatics. r=peterv 2016-06-02 10:34:39 -04:00
Boris Zbarsky
145992b47d Bug 1276317 part 2. Move GC zeal handling from nsJSContext to XPCJSRuntime. r=peterv 2016-06-02 10:34:38 -04:00
Boris Zbarsky
f86c21cecc Bug 1276317 part 1. Change JS_SetGCZeal to take a JSRuntime, not a JSContext. r=jandem 2016-06-02 10:34:38 -04:00
Kaku Kuo
95661ad394 Bug 1141979 - part12 - export to nsGlobalWindow; r=jrmuizel
MozReview-Commit-ID: 6DRMDrSXIiu

--HG--
extra : transplant_source : %A7N%F0%25%29%D7%B7%C3%FA%26%EB%ABY%9B%94F%EC%AF%FE%3D
2016-04-27 11:47:22 +08:00
Kaku Kuo
ec2d98e4c3 Bug 1141979 - part1 - WebIDL for native implementation; r=jrmuizel, r=smaug
MozReview-Commit-ID: 9gC0rxhsOLm

--HG--
extra : transplant_source : %7D%9A%C8%05%99%17Y%1E1%404%A7%14%BE%8B%AC%F0b%A2%5B
2015-11-18 16:57:38 +08:00
Nicholas Nethercote
2fda0872c8 Bug 1267551 (part 10) - Use MOZ_MUST_USE in AutoVectorRooterBase. r=terrence.
This patch fixes numerous unchecked calls.

--HG--
extra : rebase_source : 566f2ca9fba1c8b18fa7ec1753168dbae9cf70d1
2016-06-01 15:49:04 +10:00
Kannan Vijayan ext:(%2C%20Jonas%20Sicking%20%3Cjonas%40sicking.cc%3E)
8687d34336 Bug 1272099, Bug 1272101 - FlyWeb core implementation, DOM and Network changes. r=baku r=hurley
--HG--
extra : amend_source : 73ed6e6bccb6b39d7aafd5851bb836a46bcd4e10
2016-06-02 02:47:00 -04:00
Brad Lassey
e680d73b96 bug 1186948 - remove plugins that are click-to-play from navigator.plugins (restricted to Flash) r=jst 2015-08-03 19:24:35 -04:00
Carsten "Tomcat" Book
2ca762b096 merge mozilla-central to mozilla-inbound 2016-06-29 16:20:21 +02:00
Christoph Kerschbaumer
ce1e85f2a3 Bug 1119989 - Assert that mPrincipal and doc's Principal are same origin in WebSocket.cpp. r=tanvi 2016-06-21 13:31:56 +02:00
Brad Lassey
4bd9943d04 bug 1186948 - remove plugins that are click-to-play from navigator.plugins (restricted to Flash) r=jst 2015-08-03 19:24:35 -04:00
Joel Maher
ec8fe953e8 Bug 1270962 - move additional tests to the clipboard job. r=RyanVM
MozReview-Commit-ID: CYoapJ3zb8P
2016-05-31 16:15:01 -04:00
Olli Pettay
b91ac5f5d1 Bug 1276938 - Optimize string usage in setAttribute when dealing with HTML elements, r=baku
--HG--
extra : rebase_source : dea4a4d25ff3cc7b2ca0ced76cafae8577d0f650
2016-05-31 18:56:20 +03:00
Andrea Marchesini
d466f0aab2 Bug 1048291 - Deprecate File::lastModifiedDate, r=smaug 2016-05-31 17:22:39 +02:00
Marcos Caceres
095622d6de Bug 1265279 - Web Manifest: Implement window.oninstall. r=baku
* Add tests for window.oninstall
* Teach manifestMessages how to fire install event
* Test that the install event fired from Parent process
2016-05-30 18:52:00 +02:00
Kershaw Chang
7649e6aa87 Bug 1258600 - Part2: Implement onconnect, onclose and onterminate event handlers, r=smaug 2016-05-30 08:48:00 +02:00
Alastor Wu
797bf55dc0 Bug 1276119 - part2: add test.
MozReview-Commit-ID: 4fRCzlJXK41
2016-05-31 10:17:53 +08:00
Hiroyuki Ikezoe
d5e07e1e8b Bug 1271487 - Enable PerformanceObserver API in nightly by default. r=baku
MozReview-Commit-ID: 7v5KhZdVuSm

--HG--
extra : rebase_source : e65095c2ebf46de2edf554d04d046ba7c18520c7
2016-05-10 13:35:35 +09:00
Olli Pettay
dfb20cda68 Bug 1276477, make document update less malloc heavy, r=baku
--HG--
extra : rebase_source : 5cf067fb8a874c144fcf7c1f85210a944ed75878
2016-05-30 18:47:32 +03:00
Jonathan Hao
0a95fce4b2 Bug 1275485 - Put back changes in bug 1260766 that sets userContextId in frame loader. r=baku 2016-05-30 01:48:00 +02:00
Bob Owen
5cb072a2c8 Bug 1274937: Add outer window ID argument to nsFrameLoader::Print to allow printing of frames. r=jimm
MozReview-Commit-ID: CmZp0mogTFx

--HG--
extra : rebase_source : cc5f9f9df84d50c15c82faafb838b94ddf079ce1
2016-05-25 07:41:54 +01:00
Daisuke Akatsuka
4f6eba3af3 Bug 1272211 - Part 1: Make timeline argument of Animation constructor default to the document timeline of the active document. r=birtles, r=smaug
MozReview-Commit-ID: KUsQF5bryg8

--HG--
extra : rebase_source : 5adf35011db8a64a30fc782ef29707f7070f207e
2016-05-30 09:01:11 +09:00
Nicholas Nethercote
62f0bd3e33 Bug 1272203 (part 3) - Use NotNull in nsContentUtils::GetSurfaceData(). r=froydnj.
This might not look compelling in isolation, but this use of NotNull would have
prevented the null dereference crash in bug 1268721.
2016-05-27 09:49:25 +10:00
Boris Zbarsky
36091e04a0 Bug 1276133 part 2. Remove the now-unused aJSCallerContext argument of nsGlobalWindow::OpenInternal. r=smaug 2016-05-27 20:26:56 -04:00
Boris Zbarsky
e68ced4bf3 Bug 1276133 part 1. Stop using GetDefaultScopeFromJSContext in nsGlobalWindow::OpenInternal. Instead, use the entry global's outer window (if the entry global is a window), which should correspond to the stack-top JSContext in all web-visible cases right now. r=smaug
Note that the change in the condition is ok because we have the invariant that
aCalledNoScript != bool(aJSCallerContext), though we never actually clearly
assert that in this method (we instead assert that at least one has to be false,
but it turns out they can't _both_ be false either.
2016-05-27 20:26:56 -04:00
Boris Zbarsky
84b2945de3 Bug 1276309 part 2. Stop depending on the exact value of nsIScriptContext::GetNativeContext in nsGlobalWindow::FinalClose. r=smaug 2016-05-27 20:26:56 -04:00
Boris Zbarsky
7d23da273d Bug 1276309 part 1. Stop depending on the exact value of nsIScriptContext::GetNativeContext in the scriptloader. r=bkelly 2016-05-27 20:26:56 -04:00
Boris Zbarsky
dc120449d2 Bug 1275698. Get rid of nsScriptSecurityManager::ScriptAllowed and replace it with xpc::Scriptability::Get(obj).Allowed() for better performance and less indirection. r=khuey 2016-05-27 20:26:56 -04:00
Boris Zbarsky
77b44a93be Bug 1275999 part 5. Get rid of GetDefaultScopeFromJSContext. r=bholley 2016-05-27 09:53:33 -04:00
Boris Zbarsky
e9c3b988dd Bug 1275999 part 4. Change XPCJSContextStack::Push to return void. r=bholley 2016-05-27 09:53:32 -04:00
Akshay Jain
3e2f28a96e Bug 1266724, add null check of defaultView, r=neil 2016-05-27 09:19:53 -04:00
Mats Palmgren
4e63c1e0cf Bug 881832 - Make inner document reflow asynchronous. r=tnikkel 2016-05-12 12:07:45 +12:00
Boris Zbarsky
9737ec3dbd Bug 1275945. Move the AutoJSContext use in nsNodeUtils::CloneAndAdopt to where it's really needed. r=mrbkap
This prevents us from pushing stuff on the JSContext stack unnecessarily when
we're just cloning, not adopting.  It's OK that we're doing it in a narrow scope
that doesn't include our recursion into children, because in practice when
aReparentScope is non-null we came from nsIDocument::AdoptNode which already
does AutoJSContext.  So we're not going to continuously push/pop the JSContext
stack in that situation, since something already got pushed on it.
2016-05-26 19:43:42 -04:00
Boris Zbarsky
98aa24ddc7 Bug 1275704 part 3. Remove the nsXPConnect::ReportAllJSExceptions mechanism, since it's dead code now. r=bholley 2016-05-26 19:39:03 -04:00
Joel Maher
3ff44ada49 Bug 1270962 - move tests which access the clipboard to subsuite 'clipboard'. r=bgrins,ryanvm,armenzg
MozReview-Commit-ID: IZziPmwFtHj
2016-05-25 15:28:24 -04:00
Samael Wang
698e3512dd Bug 1069772 - Part 1: Update document to support prerender visibility state. r=smaug 2016-05-25 16:52:24 +08:00
Edgar Chen
39105e76a9 Bug 1274519 - Don't append result to the candidate list if got unexpected token at the end of size string; r=heycam
MozReview-Commit-ID: 9jwHNUPZ94k
2016-05-25 09:47:18 +08:00
Jonathan Watt
de83a13903 Bug 1275266 - Rename imgLoader::Singleton and imgLoader::PBSingleton to something less misleading, and document them. r=tnikkel 2016-05-19 13:31:15 +01:00
Masayuki Nakano
4205d9edae Bug 1272578 part.3 Rename key name VolumeMute to AudioVolumeMute except on B2G r=smaug
VolumeMute was renamed to AudioVolumeMute in the latest draft and Chromium uses the new name. Therefore, we need to update this but Gaia uses the old name. So, we shouldn't rename on B2G until Gaia is fixed.

Note that this patch changes tests but they are not used by B2G. Therefore, just replacing with new name is enough.

Only forms.js is necessary #ifdef because the main purpose of forms.js is for B2G's IME framework. However, it's available on the other platforms if chrome needs to use it.

MozReview-Commit-ID: KSkcPbIovin

--HG--
extra : rebase_source : 4ff5d92b000599806367b002fd08aa5ae858ee4d
2016-05-21 00:57:18 +09:00
Masayuki Nakano
65d3998d32 Bug 1272578 part.2 Rename key name VolumeUp to AudioVolumeUp except on B2G r=smaug
VolumeUp was renamed to AudioVolumeUp in the latest draft and Chromium uses the new name. Therefore, we need to update this but Gaia uses the old name. So, we shouldn't rename on B2G until Gaia is fixed.

Note that this patch changes tests but they are not used by B2G. Therefore, just replacing with new name is enough.

Only forms.js is necessary #ifdef because the main purpose of forms.js is for B2G's IME framework. However, it's available on the other platforms if chrome needs to use it.

MozReview-Commit-ID: KzLVL5Y2dIN

--HG--
extra : rebase_source : d7a70f556684cdc99989e408e0e87a04e2da43d9
2016-05-21 00:55:48 +09:00
Masayuki Nakano
97f043ea9e Bug 1272578 part.1 Rename key name VolumeDown to AudioVolumeDown except on B2G r=smaug
VolumeDown was renamed to AudioVolumeDown in the latest draft and Chromium uses the new name. Therefore, we need to update this but Gaia uses the old name. So, we shouldn't rename on B2G until Gaia is fixed.

Note that this patch changes tests but they are not used by B2G. Therefore, just replacing with new name is enough.

Only forms.js is necessary #ifdef because the main purpose of forms.js is for B2G's IME framework. However, it's available on the other platforms if chrome needs to use it.

MozReview-Commit-ID: cq98qJnS8M

--HG--
extra : rebase_source : 98653e5427d9d4720d19011673cbb0f9cdf36f1a
2016-05-21 00:52:03 +09:00
Jonathan Watt
a29011b574 No Bug - Remove some dead imgLoader code from nsContentUtils.h. r=me 2016-05-18 21:24:16 +01:00
Wei-Cheng Pan
4743ce02cd Bug 1273079 - Use MOZ_MUST_USE in hal. r=gsvelto
MozReview-Commit-ID: 7VLDpz34DRu

--HG--
extra : transplant_source : O%9DK%DCOc%D8%CB%FD%EFf%04%C4%B4%DA%A2x%FF%88%99
2016-05-16 17:24:03 +08:00
Jessica Jong
524ca57c7e Bug 1268556 - clicking padding area of 'number' input should not blur. r=smaug 2016-05-23 23:27:00 +02:00
Shih-Chiang Chien
427d2ea1b5 Bug 1234128 - Part 2, use mozpresentation to identify presented content. r=smaug. 2016-05-24 14:19:22 +08:00
Shih-Chiang Chien
859a30461d Bug 1234128 - Part 1, add mozpresentation attribute in browser element. r=smaug. 2016-05-24 14:19:22 +08:00
Chris Peterson
b1e318c188 Bug 1259335 - Part 1: Log deprecation warning for navigator.battery. r=baku 2016-05-21 01:08:52 -07:00
Phil Ringnalda
6bb0bc4494 Back out 6 changesets (bug 881832) for failures in test_Debugger.Source.prototype.element.html
CLOSED TREE

Backed out changeset fac50ce10b07 (bug 881832)
Backed out changeset 32e01c144cd4 (bug 881832)
Backed out changeset 779f5336b81e (bug 881832)
Backed out changeset 95efd250e29f (bug 881832)
Backed out changeset 7fe79f07189f (bug 881832)
Backed out changeset 8ee1824f2a57 (bug 881832)
2016-05-23 18:34:49 -07:00
Wes Kocher
e089e1ab3e Backed out changeset 17e20404362d (bug 1258489) 2016-05-23 12:46:05 -07:00
Jorg K
4897ff0e7a Bug 1274837 - don't crash by accessing string beyond its length. r=masayuki 2016-05-23 06:35:00 +02:00
Andrea Marchesini
6586afe162 Bug 1258489 - Implement HTMLInputElement.webkitdirectory, r=smaug 2016-05-23 17:02:18 +02:00
Patrick McManus
2cd574f25f Bug 1274376 - more mozilla::net namespaces r=dragana
--HG--
extra : rebase_source : 914d48f23a4a5db052a789b9e21c1ff922533d35
2016-05-18 22:02:57 -04:00
Carsten "Tomcat" Book
927b1a0b3a Backed out changeset 7469725d7461 (bug 959388) 2016-05-23 11:36:12 +02:00
Andreas Pehrson
b3ee63f6aa Bug 1271669 - Deprecate RTCPeerConnection.getLocalStreams/getRemoteStreams. r=jib, r=smaug
getLocalStreams and getRemoteStreams have been removed from the spec.

Also, getLocalStreams becomes a problem now that addTrack takes any MediaStream
as the container for the added track.

The addTrack()'ed MediaStream (perhaps not containing the track sent over the
pc - perhaps containing other tracks not sent over the pc!) will be returned
from getLocalStreams.

MozReview-Commit-ID: JUVCUM32mPR

--HG--
extra : rebase_source : 22373da7e02b315f0f4252c1986e55e960694a69
extra : histedit_source : a10d62b9c1d954090ad8c1444759d0e51a580c31
2016-05-20 10:42:48 +02:00
Jonathan Hao
f1c8ce8efc Bug 1271792 - Revert changes in bug 1260766 about nsFrameLoader::Swap. r=baku
MozReview-Commit-ID: JzxuYcLyKnk

--HG--
extra : rebase_source : ecd3a1f65ede81b9753ba14f04ea057b6ae351fe
2016-05-18 10:53:48 +08:00
Thomas Nguyen
32e38271c9 Bug 959388 - Deliver CSP from HTTP header. r=ckerschb r=khuey
MozReview-Commit-ID: LUl5LyO94m3

--HG--
extra : rebase_source : f2ddfcbf6237b11ebb19adfabf346cf76f4a6ab8
2016-05-19 11:57:32 +08:00
Makoto Kato
04efbe5905 Bug 1177943 - Part 2. Add cmd_lookUpDictionary content command. r=masayuki
To get selected word on contnet process, I create new contnet command to look up dictionary.  Then, call nsIWidget's method to show looking up dictionary.

About fetched length, see https://www.chromium.org/developers/design-documents/system-dictionary-pop-up-architecture for OSX 10.6's design

MozReview-Commit-ID: Ic2r6hboEEw
2016-05-02 11:41:20 +09:00
Mantaroh Yoshinaga
15ce3c0751 Bug 1096776 part 2 - Modify animation in order to support null timeline. r=birtles
MozReview-Commit-ID: 5iKUtNuqKeX

--HG--
extra : rebase_source : 1c228c136140e1b08355a467578ba6d2ea9c850e
2016-05-23 08:23:14 +09:00
Mats Palmgren
fdb3066641 Bug 881832 - Make inner document reflow asynchronous. r=tnikkel 2016-05-12 12:07:45 +12:00
Samael Wang
d6e0c31eda Bug 1271240 - Part 1: Support prerender flag in e10s and implement makePrerenderedBrowserActive(). r=smaug
MozReview-Commit-ID: 73E2kmqxRwm

--HG--
extra : rebase_source : 35441f58e15013b00a0774f764378fd5e0143add
2016-05-20 11:36:27 +08:00
Kyle Huey
1f71554d48 Backed out changeset 6963224026cd for failing webmessaging/without-ports/026.htm. 2016-05-22 08:46:20 -04:00
Andrea Marchesini
cbf578c96e Bug 1274362 - BroadcastChannel should throw DataCloneError when StructuredCloneAlgorithm fails, r=smaug 2016-05-22 13:22:06 +02:00
Christoph Kerschbaumer
d7757bf8dd Bug 1273364 - Trying to set a CSP on a SystemPrincipal should return NS_ERROR (r=njn) 2016-05-21 19:36:24 +02:00
Olli Pettay
4b7dc9c164 Bug 1273511 - Optimize EventListenerManager::AddEventListenerByType, r=masayuki
--HG--
extra : rebase_source : b41e8d1df8ac6c1159348654b6827ea9239d8c5e
2016-05-20 12:15:05 +03:00
Cameron McCormack
d6732018a8 Bug 1273838 - Part 1: Make URLValue construction thread-safe. r=bholley
--HG--
extra : rebase_source : 2190da734a8a05089928114c8d80315406ad272f
2016-05-21 10:02:54 +10:00
Boris Zbarsky
ee97bc5aed Bug 1267989 part 3. Make suppressing event handling on a document also block script execution for that document. r=smaug
Note that we do this here instead of when we suspend timeouts, because it makes
it simpler to handle situations in which a window's document changes while
things are suspended/blocked.

The nsDocumentViewer.cpp is not strictly needed, but avoids some extraneous
calls to SuppressEventHandling with a 0 suppression count.
2016-05-20 23:13:18 -04:00
Boris Zbarsky
bd7589ca0a Bug 1267989 part 2. Add nsScriptLoader::Add/RemoveExecuteBlocker which in fact block script execution on that script loader. r=smaug
Unlike the parser-blocking thing, we don't need to block parents or anything; all consumers of this API will be walking the frame tree anyway.
2016-05-20 23:13:18 -04:00
Boris Zbarsky
3c447f1d99 Bug 1267989 part 1. Rename nsScriptLoader::Add/RemoveExecuteBlocker to Add/RemoveParserBlockingScriptBlocker, to more clearly reflect what it does. r=smaug 2016-05-20 23:13:18 -04:00
Boris Zbarsky
29016786b4 Bug 1272651. Fix fallback loading of <embed> inside an <object> with no type attribute to actually work reliably. r=qdot 2016-05-20 23:13:17 -04:00
Boris Zbarsky
2b85094faf Bug 909633. Remove the HTML Microdata API, since no one else ended up implementing it and now it's been removed from the spec. r=bkelly,jgraham 2016-05-20 23:13:17 -04:00
Boris Zbarsky
653b3eb5a3 Bug 1273282. Fix the handling of numeric entities in xml-stylesheet href values. r=peterv 2016-05-19 13:48:11 -04:00
Jonathan Watt
6be4402448 Bug 1273850 - Add lots of documentation to explain the scenarios that cause nsFrameLoader::Create to return null. r=smaug
MozReview-Commit-ID: 6UZyql1qHg0

--HG--
extra : rebase_source : 353bffea8919d02d3ba5f2f93c84a95fd0784caa
2016-05-17 14:18:22 +01:00
Wes Kocher
9f7d2279d9 Backed out changeset e96398029a1c (bug 1181073) for failing the test it added CLOSED TREE 2016-05-19 10:17:55 -07:00
Sebastian Hengst
468fcc6924 Backed out changeset 2292661153e3 (bug 1271198) for web-platform failures. r=backout on a CLOSED TREE 2016-05-19 17:06:04 +02:00
Ryan VanderMeulen
9d4120d4eb Backed out 3 changesets (bug 1234128) for Android crashtest failures.
Backed out changeset 11db59507360 (bug 1234128)
Backed out changeset 8a0848fb59ac (bug 1234128)
Backed out changeset 7cf300dda85a (bug 1234128)

CLOSED TREE

--HG--
rename : dom/presentation/tests/mochitest/file_presentation_non_receiver_inner_iframe.html => dom/presentation/tests/mochitest/file_presentation_non_receiver_inner_iframe_oop.html
rename : dom/presentation/tests/mochitest/file_presentation_non_receiver.html => dom/presentation/tests/mochitest/file_presentation_non_receiver_oop.html
rename : dom/presentation/tests/mochitest/file_presentation_receiver_inner_iframe.html => dom/presentation/tests/mochitest/file_presentation_receiver_inner_iframe_oop.html
2016-05-19 10:32:02 -04:00
Christoph Kerschbaumer
bbc661631e Bug 1271198 - Convert Websockets to use AsyncOpen2() (r=jduell) 2016-05-19 15:42:01 +02:00
Michael Layzell
6274f21dc8 Bug 1181073 - Relax setTimeout throttling for background tabs using web audio, r=bkelly 2016-05-19 09:34:01 -04:00
Sebastian Hengst
2b06d394ac Backed out changeset a906d38b7c07 (bug 1273079) for bustage. r=backout 2016-05-19 15:10:49 +02:00
Shih-Chiang Chien
ec8b96d49f Bug 1234128 - Part 2: Use mozpresentation to identify presented content. r=smaug
--HG--
extra : rebase_source : 0006f94fb02ef8bfa64d2f56a0d0a918b2691ac1
2016-05-17 11:18:16 +08:00
Shih-Chiang Chien
79fd83ae47 Bug 1234128 - Part 1: Add mozpresentation attribute in browser element. r=smaug
--HG--
extra : rebase_source : ba957a216d873638a61eb2b80be3cf2f0fe661ff
2016-05-17 11:10:59 +08:00
Wei-Cheng Pan
e631c34c1e Bug 1273079 - Use MOZ_MUST_USE in hal. r=gsvelto
MozReview-Commit-ID: 7VLDpz34DRu

--HG--
extra : rebase_source : 86f03dfe96645d49eb62adcc88cea9474344bc62
2016-05-16 17:24:03 +08:00
Sebastian Hengst
d6e3286232 Backed out changeset 854a8df494d3 (bug 1271198) for many assertions at nsHttpChannel.cpp:5204. r=backout on a CLOSED TREE 2016-05-19 14:23:51 +02:00
Christoph Kerschbaumer
0e2d46a840 Bug 1271198 - Convert Websockets to use AsyncOpen2() (r=jduell) 2016-05-19 11:54:02 +02:00
Bobby Holley
54e2b1cf7e Bug 1273771 - Atom infrastructure for Servo. r=heycam
This is based on earlier work by Ms2ger.
2016-05-18 18:14:02 -07:00
Bobby Holley
e4d70db3b1 Bug 1272537 - Atomize the namespace manager. r=bz 2016-05-18 18:14:00 -07:00
Boris Zbarsky
cf35c3398f Bug 1273203. Remove the getStructuredData API from BrowserElement. r=kanru 2016-05-18 02:51:49 -04:00
Sebastian Hengst
2b49b5cab0 Backed out changeset 3fe3775d2f5d (bug 1272537) for Windows build bustage. r=backout on a CLOSED TREE 2016-05-18 22:35:46 +02:00
Sebastian Hengst
542bd271b5 Backed out changeset 48d8323378ac (bug 1273771) for Windows build bustage. r=backout on a CLOSED TREE 2016-05-18 22:32:30 +02:00
Bobby Holley
495a804524 Bug 1273771 - Atom infrastructure for Servo. r=heycam
This is based on earlier work by Ms2ger.
2016-05-18 12:22:44 -07:00
Bobby Holley
e757c7ef27 Bug 1272537 - Atomize the namespace manager. r=bz 2016-05-18 12:22:40 -07:00
Andrea Marchesini
98894192c9 Bug 1272781 - nsEscape should work with ns(C)Strings and not with char pointers, r=smaug 2016-05-18 18:21:56 +02:00
Mats Palmgren
7137368692 Bug 1273729 - Add some missing #includes and 'using' declarations to fix unified build errors. r=bbirtles 2016-05-18 13:49:32 +02:00
Sebastian Hengst
51ba720edc Backed out changeset b9b23b61401f (bug 1273203) for breaking many tests. r=backout 2016-05-18 10:38:17 +02:00
Boris Zbarsky
b2ec3ee967 Bug 1273203. Remove the getStructuredData API from BrowserElement. r=kanru 2016-05-18 02:51:49 -04:00
Ryan VanderMeulen
fadb49d352 Backed out changeset 7f656d673a98 (bug 1273079) for bustage. 2016-05-17 22:49:14 -04:00