Commit Graph

9457 Commits

Author SHA1 Message Date
Boris Zbarsky
ce7543e0ed Bug 1256424 followup to actually address the review comments 2016-03-14 20:53:36 -04:00
Boris Zbarsky
3ff438ab43 Bug 1256424. Get rid of ThreadsafeAutoSafeJSContext. r=bholley 2016-03-14 20:48:39 -04:00
Boris Zbarsky
f8c6c153ad Bug 1255849. Add some documentation for AutoJSAPI instances that seem to be used just for cxpushing. r=bholley 2016-03-14 20:47:13 -04:00
Sebastian Hengst
9526b58457 Backed out changeset 66fdeb1acce5 (bug 1229220) for M-e10s failure in test_fullscreen-api.html. r=backout on a CLOSED TREE 2016-03-14 23:03:37 +01:00
Wes Kocher
168746512d Backed out changeset ee3c99e6f676 (bug 1177488) for LeakSanitizer failures
MozReview-Commit-ID: FFfF4u2vOrS

--HG--
extra : rebase_source : 0c7f5e290b388b2f35837a5f757f2d962b973da3
2016-03-14 13:15:21 -07:00
Ehsan Akhgari
ce1ef38b75 Bug 1229220 - Update the scrollbar visibility prefs when initializing a TabChild; r=smaug
This will make sure that window.scrollbars correctly reflects the respective
chrome flags in e10s mode.

We also update nsXULWindow::SetContentScrollbarVisibility() to the new
nsContentUtils helper.  That code is responsible for doing this work in the
single process case.
2016-03-14 16:03:21 -04:00
Nathan Froyd
6b6c2a1fcd Bug 1177488 - use |const char*| for representing async call reasons; r=bz,fitzgen
Using a simple |const char*| is more memory-efficient than allocating a
JS string.  We still have to allocate the JS string for passing things
into JS, but ideally we will be able to move the point of allocation
much closer to where it's actually needed, rather than indiscriminantly
doing it all the time.
2016-03-08 16:29:25 -05:00
Benjamin Bouvier
70202e15a1 Bug 1251308; r=luke
MozReview-Commit-ID: AqsMX4m7Qh9

--HG--
extra : rebase_source : 519aef2cf8c0bb39771d4589069e8fd1a06970c3
2016-03-09 11:20:11 +01:00
Louis Chang
73c9a25e36 Bug 1223729 - HID Connection Implementation, r=jocelyn, sr=mrbkap
--HG--
rename : dom/bluetooth/common/BluetoothHidManager.cpp => dom/bluetooth/bluez/BluetoothHidManager.cpp
rename : dom/bluetooth/common/BluetoothHidManager.h => dom/bluetooth/bluez/BluetoothHidManager.h
2015-12-04 11:58:55 +08:00
Brian Birtles
107642839f Bug 1246320 part 5 - Simplify KeyframeEffect(ReadOnly) Constructor overloads further; r=hiro
As well as generally simplifying the different KeyframeEffect(ReadOnly)
constructor methods, this patch also means we will use the realm document for
parsing timing functions in all cases. Although this currently doesn't have
any impact (the current set of timing functions are expected to be parsed
identically regardless of the document used) it may become significant if, in
future, it becomes possible to register hooks with certain documents for
parsing CSS properties as part of the houdini efforts.

MozReview-Commit-ID: 4gAZi1G1uAD

--HG--
extra : rebase_source : f619592a02ddcbe56835344ec1fb3023219cd2d3
2016-03-12 22:14:10 +09:00
Brian Birtles
6846d9e23b Bug 1246320 part 4 - Pass a document to TimingParams; r=hiro
MozReview-Commit-ID: 9Sh8eWHdDD6

--HG--
extra : rebase_source : 2dc0da7076b8acaaca257583f3780266ae62b430
2016-03-11 17:27:34 +09:00
Ting-Yu Lin
b8972c7eb9 Bug 1225412 Part 2 - Add support to dispatch toggle events to details element. r=smaug
Add ontoggle event handler, and dispatch toggle events to the details
element if the open attribute is added or changed. According to the
spec, if a new toggle event has been queued, previous toggle events
should be aborted.

MozReview-Commit-ID: EN6Jf5hVHHD

--HG--
extra : rebase_source : 35605e49950bb59a0eb6dca594c3ede465ff587d
2016-03-12 19:53:51 +08:00
Ehsan Akhgari
38d1ffea4e Bug 1043562 - Hide the Contacts API from the contexts that lack sufficient privileges, such as Firefox desktop and Android; r=smaug 2016-03-13 15:17:54 -04:00
Ryan VanderMeulen
da1885e860 Merge inbound to m-c. a=merge 2016-03-12 15:23:38 -05:00
Tooru Fujisawa
20ae44e9a0 Backed out changeset 08ee8e76c703 (bug 1153978) 2016-03-13 04:26:57 +09:00
Carsten "Tomcat" Book
09388646a3 Merge mozilla-central to fx-team 2016-03-11 16:58:46 +01:00
Gijs Kruitbosch
52f665437f Bug 735251 - don't show focusrings on HTML video / audio elements on non-Windows when focused by mouse, r=bz
MozReview-Commit-ID: J7vFGY6ylZ8

--HG--
extra : rebase_source : f205a8b4c82a406d27b1191ed44d51d780f366a2
2016-03-10 13:32:55 +00:00
Kartikaya Gupta
bc8c21c555 Bug 1242690 - Squash together DispatchAPZAwareEvent and DispatchInputEvent. r=dvander
MozReview-Commit-ID: 2cou0cK4Yw8
2016-03-10 18:25:48 -05:00
Tooru Fujisawa
a66bde4a5f Bug 1153978 - Part 1: Separate buildIdOp from AsmJSCacheOps. r=jandem,bz 2016-01-01 14:19:20 +09:00
Daisuke Akatsuka
2d2c72ccbf Bug 1237173 - Part3: Throw TypeError if duration is NaN, negative value or not 'auto' string. r=birtles, r=smaug 2016-03-09 14:01:45 +09:00
Boris Zbarsky
58fe6d3754 Fix the asset for bug 1112920 to not touch uninitialized memory. Totally my fault, since I moved it above the mCx assignment, and now we have a CLOSED TREE. 2016-03-09 23:17:10 -05:00
Boris Zbarsky
692754b232 Bug 1255192 part 2. Clean up the JSContext usage around xpc::FindExceptionStackForConsoleReport now that it just needs a JSContext for rooting. r=bholley 2016-03-09 22:27:14 -05:00
Boris Zbarsky
891b63eeba Bug 1255192 part 1. Remove the JSContext argument of JS::ExceptionStackOrNull. r=bholley 2016-03-09 22:27:13 -05:00
Bobby Holley
9444208244 Bug 1112920 - Assert against pending exceptions in AutoJSAPI::InitInternal. v1 r=luke,r=smaug 2016-03-09 22:27:13 -05:00
Boris Zbarsky
c1e007e11b Bug 1255181. Remove AutoJSAPI::InitWithLegacyErrorReporting. r=bholley 2016-03-09 19:02:25 -05:00
Boris Zbarsky
36d4079be7 Bug 1254847 part 3. Make AutoEntryScript always take ownership of error reporting. r=bholley 2016-03-09 19:02:03 -05:00
Boris Zbarsky
5fae994fe9 Bug 1254859 part 1. Switch the AutoEntryScript in nsGlobalWindow::FireOnNewGlobalObject to take ownership of error reporting. r=bholley
Doesn't matter in practice, since JS_FireOnNewGlobalObject never throws.
2016-03-09 15:28:56 -05:00
Boris Zbarsky
d0363ce0e6 Bug 1254846. Add an AutoEntryScript constructor that takes a JSObject instead of an nsIGlobalObject, for convenience. r=bholley 2016-03-09 15:28:26 -05:00
Andrea Marchesini
a3cd53613f Bug 1255099 - XHR CTOR doesn't need to use implicitJSContext, r=bz 2016-03-09 20:28:33 +01:00
Boris Zbarsky
35afbb7590 Bug 1255201. Improve the stack handling in nsXPCComponents_Utils::ReportError for the DOMException case to include the stack from the DOMException. r=bholley 2016-03-11 23:59:10 -05:00
Boris Chiou
ee4902f582 Bug 1254418 - Part 1: Support generated-content element for Element.getAnimations. r=birtles 2016-03-10 21:50:00 -05:00
Michal Novotny
2e9a36c765 Bug 1227136 - crash in mozilla::net::WebSocketChannel::StartWebsocketData, r=bagder, r=baku 2016-03-09 17:02:28 +01:00
Yoshi Huang
e8cb28ed02 Bug 1252811 - remove mIsInIsolatedMozBrowser from nsDocShell. r=smaug 2016-03-07 12:21:49 +08:00
Michelangelo De Simone
3eb888db23 Bug 1250109 - Change DOMEventTargetHelper subclasses to not assume that GetOwner() is non-null, since it can be nulled out by navigation. r=bzbarsky
MozReview-Commit-ID: 8EGB58FWLi2

--HG--
extra : rebase_source : f8d190021ad92f707cfce554ced5c525cc528f4d
2016-03-04 13:37:50 -08:00
Boris Zbarsky
3e5ab54341 Bug 1254230 kinda-fix. Make sure to never send script errors with stacks attached to the console service if the associated windows have already had FreeInnerObjects called on them. r=bholley 2016-03-08 17:21:40 -05:00
Boris Zbarsky
2e2d6cac3d Bug 1254380 part 3. Skip firing error events for mainthread out of memory exceptions via AutoJSAPI::ReportException. r=bholley 2016-03-08 17:21:40 -05:00
Boris Zbarsky
81b9b7ac71 Bug 1254380 part 2. Go ahead and log the stack from our exception in AutoJSAPI::ReportException even if we don't have a window. r=bholley 2016-03-08 17:21:40 -05:00
Boris Zbarsky
5b4134a282 Bug 1254380 part 1. Find the relevant window when the compartment we've got is an addon sandbox compartment in AutoJSAPI exception/warning reporting code. r=bholley 2016-03-08 17:21:40 -05:00
Boris Zbarsky
3d39097c61 Bug 1254293. Fix dom::GetArrayIndexFromId to actually follow the spec for large indices (i.e. ones that don't fit in in int32_t). r=peterv 2016-03-08 17:21:40 -05:00
Alexander Surkov
1cb1817bd3 Bug 1253834 - add AllChildrenIterator::Get(), r=bz 2016-03-08 15:54:46 -05:00
Tim Taubert
1551754c99 Bug 1250930 - Use correct global when creating a key in GenerateSymmetricKeyTask r=bz 2016-03-08 11:15:29 +01:00
Tim Taubert
6eec770808 Bug 1250930 - Use SubtleCrypto's global when creating keys for an ImportKeyTask r=bz 2016-03-08 11:14:37 +01:00
Jonathan Watt
f9be18707c Bug 1220822 follow-up - Fix typo in nsINode::OwnerDoc() documention. r=mats
MozReview-Commit-ID: Gs9p5UTjqZQ
2016-02-29 23:46:51 +00:00
Andrea Marchesini
50777157d4 Bug 1254179 - Reuse the same websocket tests on main-thread and workers, r=ehsan
--HG--
rename : dom/workers/test/test_websocket.html => dom/workers/test/test_websocket1.html
rename : dom/workers/test/test_websocket.html => dom/workers/test/test_websocket2.html
rename : dom/workers/test/test_websocket.html => dom/workers/test/test_websocket3.html
rename : dom/workers/test/test_websocket.html => dom/workers/test/test_websocket4.html
rename : dom/workers/test/test_websocket.html => dom/workers/test/test_websocket5.html
2016-03-07 19:12:23 +01:00
Boris Chiou
c0917bf747 Bug 1241784 - Part 1: Add a helper function for Element.animate(). r=birtles
Therefore, CSSPseudoElement.animate() can also use it.
2016-03-04 00:54:00 +01:00
Ryan VanderMeulen
599f2304e0 Merge m-c to inbound. a=merge 2016-03-05 19:30:51 -05:00
Ryan VanderMeulen
54367e83bf Merge fx-team to m-c. a=merge 2016-03-05 19:22:45 -05:00
Blake Kaplan
af91847c15 Bug 1234440 - Stop using CPOWs in this test. r=wchen
--HG--
extra : rebase_source : 8884f9c2cb21565ce7934553f0b47ac7e2032e97
2016-03-04 17:54:00 -05:00
Alexander Surkov
2e1ad8dd11 Bug 1249443 - add AllChildrenIterator::Phase, r=bz 2016-03-05 16:11:34 -05:00
Alexander Surkov
e74f30bbd8 Bug 1249443 - add AllChildrenIterator::GetPreviousChild, r=bz 2016-03-05 16:11:21 -05:00
Mike de Boer
c326e059de Bug 1241930: Part 5 - convert all assertion methods used inside content tasks to the Assert.* family in dom tests. r=mconley 2016-03-04 14:32:32 +01:00
sakshi
1af0b67296 Bug 1197311 - Remove PR_snprintf calls in dom/ r=froydnj 2016-02-17 14:23:39 -05:00
Valentin Gosu
eb30e01d66 Bug 652186 - Fix tests involving URL backslash replacement r=bz
MozReview-Commit-ID: JgWFkJN7Mtc

--HG--
extra : rebase_source : 177a7884009a4b27d83f41fc5f1dd0d14e8c0421
2016-03-03 15:50:22 +01:00
Ehsan Akhgari
38637e2005 Bug 1251872 - Part 1: Implement Request.referrerPolicy; r=jdm 2016-03-03 16:43:55 -05:00
Andrea Marchesini
9d9cc381bc Bug 1237807 - Split test_websocket.html - patch 5, r=ehsan 2016-03-04 20:39:10 +01:00
Andrea Marchesini
598aa62f02 Bug 1237807 - Split test_websocket.html - patch 4, r=ehsan 2016-03-04 20:38:54 +01:00
Andrea Marchesini
664e369557 Bug 1237807 - Split test_websocket.html - patch 3, r=ehsan 2016-03-04 20:38:45 +01:00
Andrea Marchesini
c6058e6515 Bug 1237807 - Split test_websocket.html - patch 2, r=ehsan 2016-03-04 20:38:22 +01:00
Andrea Marchesini
cabe8b041e Bug 1237807 - Split test_websocket.html - patch 1, r=ehsan 2016-03-04 20:38:12 +01:00
Boris Zbarsky
57fc0e989c Bug 1255709. Simplify the JSContext/GlobalObject handling in ServiceWorkerRegistrationMainThread::GetPushManager a bit. r=bkelly 2016-03-11 16:43:31 -05:00
Sebastian Hengst
7045a40a0f Backed out changeset 50c03319c341 (bug 1246091) for mochitest failures. r=backout 2016-03-11 20:16:19 +01:00
Andrea Marchesini
c4e620f562 Bug 1246091 - Expose ConsoleEvents to Worker Debugger Actors via Console object directly, r=ejpbruel 2016-03-11 17:59:52 +01:00
Tom Schuster
c1175e55e5 Bug 1253866 - Remove Proxy.create from crash tests. r=bz 2016-03-11 13:32:26 +01:00
Andrea Marchesini
10a4a51386 Bug 1252751 - Improve the security model between webSocket and sandboxed iframe, r=smaug 2016-03-11 12:56:05 +01:00
Peter Van der Beken
21ebb0d6b5 Bug 1253641 - DOMException's CC participant should traverse mData. r=khuey.
--HG--
extra : rebase_source : 3a3aa09221d7b359cbb84dacc238388e329bda42
2016-03-04 17:54:10 +01:00
Martijn Wargers
5c4ab36d15 Bug 1252444 - Rewrite some dom mochitests to use pushPrefEnv instead of setCharPref. r=jmaher
--HG--
extra : rebase_source : 7b61270760aa225f8c087ea190aaeb49670ca900
2016-03-03 09:41:14 -05:00
Yoshi Huang
ce8e69a274 Bug 1227861 - Add OriginAttributes getter/setter into nsIDocShell. r=smaug, sicking 2016-02-16 15:04:14 +08:00
Gabor Krizsanits
02d06252fa Bug 1248806 - Splitting out protocol handlers from nsLayoutModule. r=bholley 2016-03-03 12:05:52 +01:00
Carsten "Tomcat" Book
eb98199ac0 Backed out changeset ac4148f22b2d (bug 1186072) for referrer test failures
--HG--
extra : rebase_source : 124130bb041418eb97862a131ae6365df5cfbdc6
2016-03-03 09:23:59 +01:00
Franziskus Kiefer
55e0623947 Bug 1186072 - add trailing slash to origin referer header when policy is set, r=sworkman
MozReview-Commit-ID: 3PYuODmqpbL

--HG--
extra : transplant_source : %E5P%B1%1F%82%08%07%2A%1C%26%AF%C5%C8%29%B1y%97O%877
2016-02-24 10:51:54 +01:00
Ehsan Akhgari
bcd549b626 Bug 1249542 - Remove the prefs for History API push/pop/replaceState; r=bzbarsky
These prefs don't even work properly, and they can break Web content in
pretty bad ways for the users who have them set.
2016-03-02 18:14:15 -05:00
Boris Zbarsky
4f623415e0 Bug 1252565 part 2. Make dom::WarningOnlyErrorReporter handle workers. r=bholley 2016-03-01 16:53:22 -05:00
Wes Kocher
cba1a7bd55 Backed out 2 changesets (bug 1252565) for windows build bustage CLOSED TREE
Backed out changeset 9de2c10a1cc3 (bug 1252565)
Backed out changeset fc5c4cb02d24 (bug 1252565)

MozReview-Commit-ID: GCQedQwqslg

--HG--
extra : amend_source : 5fb6bd99e2ac56c01c06e1004262dfeb2ea56410
2016-03-02 10:44:11 -08:00
Trevor Saunders
9dff1fcf58 bug 1252687 - make the ctor for CycleCollectorStats constexpr r=mccr8 2016-03-02 13:37:01 -05:00
Trevor Saunders
966ec780b8 bug 1252687 - get rid of static nsStrings in PerformanceObserver.cpp r=bz 2016-03-02 13:37:00 -05:00
Boris Zbarsky
3bad87c74a Bug 1252565 part 2. Make dom::WarningOnlyErrorReporter handle workers. r=bholley 2016-03-01 16:53:22 -05:00
Boris Zbarsky
1538f85b56 Bug 1072144 part 6. Switch WorkerRunnable::Run to calling TakeOwnershipOfErrorReporting on its AutoJSAPI/AutoEntryScript and remove the remaining JS_ReportPendingException callers in worker code. r=khuey 2016-03-01 16:52:27 -05:00
J. Ryan Stinnett
95f8000ac8 Bug 1238160 - Add assertions in non-desktop code paths. r=bz,fabrice
Several code paths try to ask the principal if it's in a browser element, but
the principal now only knows about *isolated* browser elements.  All such code
paths are currently unused on desktop.  The frame loader now asserts that
isolation remains enabled for cases where apps are used.

MozReview-Commit-ID: 775DZecc35t
2016-03-02 10:35:56 -06:00
J. Ryan Stinnett
764b9f1ffa Bug 1238160 - Set frame type on TabContext. r=billm,mayhemer
This change renames TabContext::IsBrowserElement to IsIsolatedMozBrowserElement.
Other methods that pass these values around also have name changes.

Adds TabContext::IsMozBrowserElement which is set by the frame loader for all
browser frames.  This is in contrast to its previous implementation, which has
since been renamed IsIsolatedMozBrowserElement, since it checks isolated state
in OriginAttributes.

TabContext methods related to browser elements (and their callers) are updated
to use IsIsolatedMozBrowserElement when check isolation / origins and
IsMozBrowserElement when checking frame types.

MozReview-Commit-ID: DDMZTkSn5yd
2016-03-02 10:35:56 -06:00
J. Ryan Stinnett
777c113bb3 Bug 1238160 - Set docshell isolation mode. r=smaug
Renames nsDocShell isBrowser* attributes to add a "Moz" prefix for clarity.

Adds nsDocShell::GetIsIsolatedMozBrowserElement, which parallels
GetIsInIsolatedMozBrowserElement, but only checks the immediate docshell.

Adds nsDocShell::SetIsInIsolatedMozBrowserElement for the frame loader and tab
child to set the isolation state.

nsDocShell methods related to mozbrowser elements (and their callers) are
updated to use GetIs(In)?IsolatedMozBrowserElement when checking isolation /
origins and GetIsMozBrowserElement when checking frame types.

MozReview-Commit-ID: 6pGD5fF47ZN
2016-03-02 10:35:56 -06:00
J. Ryan Stinnett
a6d2c487b5 Bug 1238160 - Set tab context's isolation from frame attr. r=smaug
Renames existing nsFrameLoader::OwnerIsBrowser* methods to add "Moz" prefix for
clarity.

Adds nsFrameLoader::OwnerIsIsolatedMozBrowserFrame which checks the noisolation
attribute of mozbrowser frames, if present.

This is used to set isolation in nsFrameLoader::GetNewTabContext only when true.

MozReview-Commit-ID: Dz02xBoKh1P
2016-03-02 10:35:56 -06:00
J. Ryan Stinnett
2a55d065b7 Bug 1238160 - Rename OriginAttributes.mInBrowser and associated methods. r=bz,mayhemer
This change renames OriginAttributes.mInBrowser to mInIsolatedMozBrowser and
nsIPrincipal::GetIsInBrowserElement to GetIsInIsolatedMozBrowserElement.  Other
methods that pass these values around also have name changes.

Tokens such as "inBrowser" have previously been serialized into cache keys, used
as DB column names, stored in app registries, etc.  No changes are made to any
serialization formats.  Only runtime method and variable names are updated.

No behavior changes are made in this patch, so some renamed methods may have
nonsensical implementations.  These are corrected in subsequent patches
focused on behavior.

MozReview-Commit-ID: 66HfMlsXFLs
2016-03-02 10:35:56 -06:00
J. Ryan Stinnett
9ad7daa848 Bug 1238160 - Test mozbrowser APIs to ensure no content exposure. r=bz
Check the various mozbrowser APIs to ensure they are allowed when you have
browser permission and blocked when you don't (like regular web content).

MozReview-Commit-ID: FPDA1lEUwRq
2016-03-02 10:35:56 -06:00
Anthony Zhang
1a25854f75 Bug 1251667 - Add a measure SLOW_SCRIPT_PAGE_COUNT, which measures the number of pages per session that have slow scripts. r=wmccloskey
Slow script events are when the script hangs the page's process (that's the content process on e10s).

For further reference, see https://wiki.mozilla.org/Electrolysis/Release_Criteria/Slow_Script. The measure is necessary because SLOW_SCRIPT_NOTICE_COUNT is not comparable between e10s and non-e10s, while SLOW_SCRIPT_PAGE_COUNT will be. This is necessary for evaluating the slow script e10s release criteria.

The measure requires a new field in nsGlobalWindow because we need to keep track of when the page changes in order to know whether we need to count a slow script event. This is a relatively clean option compared to keeping track of that state in XPCJSRuntime or dom::Navigator.
2016-03-01 11:16:33 -05:00
Wes Kocher
01574acd0a Backed out changeset 96580db9b356 (bug 1252565) for test_recursion.html failures
MozReview-Commit-ID: 1ycmM8vfG3d
2016-03-01 15:40:46 -08:00
Kyle Machulis
79cb11f843 Bug 1240471 - Possibly remove invalid queries and post console messages on youtube rewrite; r=khuey fb=cpeterson 2016-03-01 14:05:29 -08:00
Boris Zbarsky
68dc8de0a0 Bug 1252565. Make dom::WarningOnlyErrorReporter handle workers. r=bholley 2016-03-01 16:53:22 -05:00
Dave Huseby
0c0cf070cf Bug 1229222 - add chromeutils for the creation of origin attributes with the correct default values. r=sicking
(HEAD -> oa, refs/patches/oa/Bug_1229222)
Fixes Bug 1229222

--HG--
extra : rebase_source : 299742335452d5b5ac3cf25a3bd2d71ec655049f
2016-02-29 12:26:00 +01:00
Carsten "Tomcat" Book
30e5302af8 Merge mozilla-central to mozilla-inbound 2016-03-01 15:25:31 +01:00
Andrea Marchesini
9e960ae549 Bug 1250572 - Force a parent object in MessagePort/Channel and in StructuredCloneHolder, r=smaug 2016-03-01 15:21:11 +01:00
Ehsan Akhgari
8a0731fdde Bug 1251875 - Part 1: Remove the dom.serviceWorkers.interception.enabled pref; r=bkelly 2016-03-01 09:16:38 -05:00
Daniel Holbert
e23c4f231b Bug 1247478: Rename FirstAdditionalAuthorSheet() to GetFirstAdditionalAuthorSheet(), since it can return null. r=heycam 2016-02-29 15:09:13 -08:00
Daniel Holbert
61ab7f2b20 Bug 1246464: Add 'const' to some stylesheet args in nsDocument methods. r=heycam 2016-02-29 13:24:25 -08:00
Boris Zbarsky
69924c14ce Bug 1252123. Remove some unnecessary JSContext arguments from worker ScriptLoader methods. r=khuey 2016-02-29 14:52:42 -05:00
Boris Zbarsky
663b9bd562 Bug 1252091. Add/RemoveFeature don't need a JSContext argument. r=khuey 2016-02-29 14:52:42 -05:00
Franziskus Kiefer
56bdfe820a Bug 1244116 - Telemetry for mixed content requests by plugins. r=smaug, p=ally
MozReview-Commit-ID: F9rOb1SdPnL

--HG--
extra : rebase_source : 0b2aa83761880fb6e5a18c3a80ac86fe5ca16923
2016-02-16 15:46:36 +01:00
David Anderson
dd2df9d99a Remove some static_casting in CompositorParent. (bug 1245765 part 5, r=mattwoodrow) 2016-02-29 01:53:14 -05:00
Carsten "Tomcat" Book
83adb66526 merge mozilla-inbound to mozilla-central a=merge 2016-03-01 12:01:58 +01:00
Huma Zafar
06fc8dac78 Bug 1206166 - Move FetchUtil::Consume methods into separate BodyUtil class and update Fetch.cpp and ServiceWorkerEvents.cpp accordingly. r=kitcambridge
MozReview-Commit-ID: KgEccQ2LPpC

--HG--
extra : histedit_source : 17fb2f5c022399b050a12b013f004e628ca4b9d0
2016-02-27 13:54:11 -08:00
Peter Van der Beken
946ac27409 Bug 1251655 - Remove support for JavaScript-DOM-class and JavaScript-DOM-interface. r=bz.
--HG--
extra : rebase_source : 88c93e93905e20d2f6755d67d86902fdfc923eb4
2016-02-14 15:59:48 +01:00
Peter Van der Beken
5564e12f54 Bug 1251655 - Remove support for JavaScript-global-constructor-prototype-alias. r=bz.
--HG--
extra : rebase_source : b77f4ad6d582b863bf6462177ce816aa360c64ed
2016-02-13 14:59:46 +01:00
Boris Zbarsky
0f5040d0b3 Bug 1251627. Fix XMLHttpRequest.send() to follow the spec better in terms of the exceptions it throws. r=khuey 2016-02-26 21:15:56 -05:00
Geoff Brown
d05b32db6c Bug 1248817 - Make test_domwindowutils.html more forgiving of coordinate rounding; r=ochameau 2016-02-26 14:01:11 -07:00
Boris Zbarsky
7345c5edb1 Bug 1251045 part 4. Remove the JSContext argument of WorkerRunnable::Dispatch. r=khuey 2016-02-26 15:23:12 -05:00
Boris Zbarsky
878fd26e89 Bug 1251045 part 3. Remove the JSContext argument of WorkerRunnable::PostDispatch and its overrides. r=khuey 2016-02-26 15:23:12 -05:00
Boris Zbarsky
d0b2f4eeda Bug 1251045 part 2. Remove the JSContext argument of ModifyBusyCountFromWorker. r=khuey 2016-02-26 15:23:12 -05:00
Dragana Damjanovic
5031bdb80e Bug 580313 - New resource hints for link. r=smaug
--HG--
extra : rebase_source : 5ce4ef05217f6d513052f83a7e18b00d1596417a
2016-02-26 02:41:00 +01:00
Mike de Boer
16115798a5 Bug 1250871 - only send messages to child scripts when the docShell is still around. r=smaug 2016-02-29 12:25:48 +01:00
Boris Zbarsky
cc6606ed0d Bug 1250975. Stop passing a JSContext argument to WorkerRunnable::PreDispatch and its overrides. r=khuey 2016-02-25 16:05:39 -05:00
Cameron McCormack
49f6905565 Bug 1250790 - Don't try to add CSSStyleSheets from the style sheet service to a ServoStyleSet. r=bholley 2016-02-26 12:51:02 +11:00
Wes Kocher
d66f0ad3fc Backed out changeset bb404647f14c (bug 1250975) for build bustage CLOSED TREE
--HG--
extra : commitid : KyFNIQ1ugVq
2016-02-25 13:41:09 -08:00
Boris Zbarsky
683b099eb9 Bug 1250975. Stop passing a JSContext argument to WorkerRunnable::PreDispatch and its overrides. r=khuey 2016-02-25 16:05:39 -05:00
Andrea Marchesini
ed31fee8d4 Bug 1245184 - nsICookieManager.remove should use the OriginAttributes, r=sicking 2016-02-25 16:41:13 +01:00
Boris Chiou
277bbf98a5 Bug 1234403 - Part 2: Implement document.getAnimations. r=birtles 2016-02-18 02:24:00 +01:00
Boris Chiou
1c9da6a517 Bug 1234403 - Part 1: Implement CSSPseudoElement.getAnimations. r=birtles 2016-02-18 02:21:00 +01:00
Carsten "Tomcat" Book
e232fcd2d4 Merge mozilla-central to mozilla-inbound 2016-02-25 11:59:05 +01:00
Carsten "Tomcat" Book
3695dd59e0 merge mozilla-inbound to mozilla-central a=merge 2016-02-25 11:57:51 +01:00
Carsten "Tomcat" Book
94388a5225 Merge mozilla-central to fx-team 2016-02-24 12:07:20 +01:00
Xidorn Quan
cf344838d0 Bug 1248505 - Remove nsDocument::IsFullScreenDoc and its uses. r=smaug
MozReview-Commit-ID: DfPI5U531ad

--HG--
extra : source : bcfb7b8155c7460b861ef3e11d92900ecb6c5029
2016-02-24 08:40:08 +08:00
Blake Kaplan
89b19e3239 Bug 1183915 - Put images dragged from content processes in the drag data in the parent. r=smaug 2016-02-23 16:31:29 -08:00
Andrew McCreight
1837d54fa7 Bug 1249685 - Use more nsCOMPtrs for stack variables in DOM code. r=smaug 2016-02-23 16:23:43 -08:00
Andrea Marchesini
2dd57b41c0 Bug 1250148 - FormData should treat empty input type=file as empty string in FormData and as unnamed Blob in HTML submission, r=smaug 2016-02-24 00:01:01 +01:00
Boris Zbarsky
e715be26bd Bug 1250185 part 1. nsIStructuredCloneContainer.initFromBase64 doesn't need a JSContext argument. r=khuey 2016-02-23 15:02:32 -05:00
Boris Zbarsky
df912accb2 Bug 1250234. Make WebSocket::CreateAndDispatchMessageEvent properly report JS exceptions it might be producing. r=khuey 2016-02-23 15:02:28 -05:00
Wes Kocher
1a11ff119f Backed out changeset 74f968e36041 (bug 1250148) for test_blobconstructor.html failures
--HG--
extra : commitid : 5I4oajo0G1j
2016-02-23 10:49:24 -08:00
Wei-Cheng Pan
601dc81eb0 Bug 1208641 - Extract stack from DOM/XPC exception. r=bholley 2016-02-24 02:06:42 -08:00
Ms2ger
11753ea579 Bug 1250926 - Remove unused SCRIPTABLE_FLAGS defines from nsDOMClassInfo; r=peterv 2016-02-25 09:28:06 +01:00
Brendan Dahl
1e077c8a5f Bug 1104916 - Implement CSS media query display-mode. r=cam 2016-02-23 17:10:00 +01:00
Andrea Marchesini
7da3286f9d Bug 1250148 - FormData should treat empty input type=file as empty string in FormData and as unnamed Blob in HTML submission, r=smaug 2016-02-23 18:38:16 +01:00
Andrew McCreight
b80e656e9e Bug 1247679, part 3 - Replace NS_IMPL_CYCLE_COLLECTION_TRACE_JSVAL_MEMBER_CALLBACK with JS_MEMBER. r=smaug 2016-02-22 10:11:02 -08:00
Olli Pettay
c244a5179d Bug 1249932 - indicate in the GC and CC log (browser console) whether it is about default or content process, r=mccr8
--HG--
extra : rebase_source : 94554d4651face04b90c6b9f1458d08f67be4a0b
2016-02-22 19:37:50 +02:00
Mantaroh Yoshinaga
fa2b32d1a6 Bug 1174624 - Add PortIdentifier copy code in order to communicate with same process. r=baku 2016-02-15 19:43:00 +01:00
Mantaroh Yoshinaga
0d77c71c32 Bug 1174624 - Add the Transferable parameter into SendAsyncMessage of nsFrameMessageManager. r=baku 2016-01-31 22:48:00 +01:00
Phil Ringnalda
1a1ec5b8bb Merge f-t to m-c, a=merge 2016-02-20 17:25:14 -08:00
Olli Pettay
945a19d7cd Bug 1249795 - Clear strong refs to message managers once we've destroyed nsFrameLoader, r=billm 2016-02-20 12:33:30 +02:00
Gijs Kruitbosch
8e0830e21c Bug 1220160 - part 1: add chromeonly getter for documenturi that returns the original document when on an error page, r=bz
MozReview-Commit-ID: KaOc0WBxcIS

--HG--
extra : rebase_source : 4e37d4244e39b012e8c1eab989bf1c5d2ceef994
2016-02-15 23:46:49 +00:00
Olli Pettay
3af8f71a7e Bug 1249428 - Unlink binding properly from element , r=mccr8
--HG--
extra : rebase_source : e549e1f2722173d2829c61a0c98c0d3c338379a5
2016-02-19 21:13:42 +02:00
Andrew McCreight
1575a306bd Bug 1052793, part 2 - Shrink GC buffers during compartmental GCs. r=terrence
With part 1, many more GCs are compartmental, so it is no longer a
good indication that there is heavy activity. If we don't regularly
try to shrink GC buffers, we don't decommit arenas enough, causing a
large regression in memory usage.
2016-02-18 15:21:48 -08:00
Andrew McCreight
8705772a81 Bug 1052793, part 1 - Do per-zone GC for CC_WAITING triggers. r=smaug 2016-02-18 15:21:48 -08:00
Boris Zbarsky
13359b10de Bug 1249102. Make overrides of WorkerRunnable::PostRun a bit more consistent. r=khuey
Specifically we make the following changes:

1)  Remove WorkerSameThreadRunnable::PostRun, because it does exactly the same
things as WorkerRunnable::PostRun.

2)  Always treat ModifyBusyCountFromWorker as infallible in terms of throwing
JS exceptions.

3)  Change ExtendableFunctionalEventWorkerRunnable::PostRun to properly call
its superclass PostRun so we will correctly decrement the busy count our
PreDispatch incremented.

4)  Document why some overrides of PreDispatch/PostDispatch are needed and
don't call into the superclass
2016-02-18 18:02:51 -05:00
Carsten "Tomcat" Book
6b54f0d05b Backed out changeset e4b8bb93313b (bug 1229222) 2016-02-19 15:55:25 +01:00
Carsten "Tomcat" Book
f2a98554ec Backed out changeset 27f3968ae8b2 (bug 1245184) 2016-02-19 15:55:23 +01:00
Andrea Marchesini
0a72c5e9e3 Bug 1245184 - CookieManager should remove cookies only if they match the userContextId, r=sicking 2016-02-19 14:49:50 +01:00
Dave Huseby
364ac22ba7 Bug 1229222 - add chromeutils for the creation of origin attributes with the correct default values. r=sicking
(HEAD -> oa, refs/patches/oa/Bug_1229222)
Fixes Bug 1229222
2016-02-18 13:42:00 +01:00
Jonathan Kew
badce210e1 Bug 1247335 - patch 3 - Check for potential DPI change after moving or resizing nsGlobalWindow. r=emk 2016-02-18 10:47:47 +00:00
Jonathan Kew
cb99502b79 Bug 1247335 - patch 1 - Provide a desktop-pixel variant of SetPosition on nsIBaseWindow and its implementations. r=emk 2016-02-18 10:46:16 +00:00
Boris Chiou
e436478f26 Bug 1244049 - Part 2: Replace nsCSSPseudoElements::Type with CSSPseudoElementType. r=dbaron
Also, try to use forward declaraions for CSSPseudoElementType;

--HG--
extra : rebase_source : c00eb9753e8f618a33aa711538ac45c0132b353c
2016-02-17 21:37:00 +01:00
Boris Chiou
185a769719 Bug 1244049 - Part 1: Define scoped enum for CSSPseudoElement type. r=dbaron
--HG--
extra : rebase_source : e53dd269e47fa97eb259ebd9295d012eacbdb612
2016-02-16 23:07:00 +01:00
Andrea Marchesini
01c41693ba Bug 1245124 - window.open() should open a new tab in the same container, r=gijs, r=smaug 2016-02-18 08:33:07 +00:00
Morris Tseng
d3c7d2389b Bug 1244118 - Shutdown threadpool when xpcom-shutdown-threads happened. r=roc
--HG--
extra : commitid : 6Ka2Zom2Ye5
2016-02-18 14:18:22 +08:00