Commit Graph

8949 Commits

Author SHA1 Message Date
Phil Ringnalda
2f1d036bc7 Back out 3 changesets (bug 1214148) for b2g test_browserElement_inproc_AudioPlayback.html, test_browserElement_oop_AudioChannel.html, etc. failures
CLOSED TREE

Backed out changeset e716d9ac93d7 (bug 1214148)
Backed out changeset 5f693237c8c1 (bug 1214148)
Backed out changeset 3a4865d79416 (bug 1214148)
2015-12-09 18:19:33 -08:00
Andrea Marchesini
7436a028a7 Bug 1214148 - patch 1 - propagation from the nested iframe back to the toplevel iframe, r=alwu 2015-12-09 16:46:25 -05:00
Andrea Marchesini
b47ee21ee3 Bug 1231100 - Get rid of nsIDOMFileReader - patch 1, r=sicking 2015-12-09 15:52:15 -05:00
Andrea Marchesini
87b72580eb Bug 1231094 - patch 2 - Get rid of FileIOObject, r=sicking 2015-12-09 06:23:16 -05:00
Andrea Marchesini
0f6eea2347 Bug 1231094 - patch 1 - nsDOMFileReader to mozilla::dom::FileReader, r=sicking 2015-12-09 06:22:40 -05:00
Kyle Machulis
f4b4fe6106 Bug 1229971 - Change name and logic of youtube embed telemetry probe; r=vladan, r=cpeterson 2015-12-08 10:04:08 -08:00
Salah
d5055c20a1 Bug 1222079. Fix the behavior of Object.getOwnPropertyNames for nsDOMAttributeMap. r=bzbarsky 2015-12-07 18:42:36 -05:00
Nicholas Nethercote
e37b89b956 Bug 1230047 (part 1) - Make SynthesizeNativeTouch{Point,Tap}() take ScreenIntPoints. r=kats. 2015-12-02 21:45:38 -08:00
Jonas Sicking
4e8258d392 Bug 1216687: Add nsILoadInfo flags for cookie policies. r=ckerschb 2015-12-06 18:33:15 -05:00
Jonas Sicking
f82c1655d9 Bug 1226909 part 4: Make AsyncOpen2 set taining information on channels. Use this information in XHR and fetch(). r=bkelly 2015-12-06 18:33:15 -05:00
Jonas Sicking
9d711c3aaf Bug 1226909 part 3: Move logic of when to initiate CORS preflight into channels. Allow CORS preflight to happen when doing a same-origin to cross-origin redirect. r=ckerschb 2015-12-06 18:33:14 -05:00
Jonas Sicking
ad3a5c7f5d Bug 1226909 part 2: Let CORS preflight logic grab information from nsILoadInfo rather than duplicate it. r=ckerschb 2015-12-06 18:33:14 -05:00
Sebastian Hengst
1e033e3020 Backed out 2 changesets (bug 1221992) for almost permafailing M-e10s(2) on Linux debug. r=backout
Backed out changeset ad20808dd3c4 (bug 1221992)
Backed out changeset 7cdcda3e65fb (bug 1221992)
2015-12-05 21:13:41 +01:00
Sebastian Hengst
2d6490dc4b Backed out changeset 09d64535bcda (bug 1216687), a7f1a289dd78, 4dbf06183e6c, 26318a5e3006, 9ae2af3cf86d (bug 1226909) for M(1,2,5) oranges. r=backout 2015-12-05 16:34:47 +01:00
Jonas Sicking
a35bcbf76e Bug 1216687: Add nsILoadInfo flags for cookie policies. r=ckerschb 2015-12-05 01:46:21 -08:00
Jonas Sicking
c76eed0c04 Bug 1226909 part 4: Make AsyncOpen2 set taining information on channels. Use this information in XHR and fetch(). r=bkelly 2015-12-05 01:46:20 -08:00
Jonas Sicking
83a2fbd789 Bug 1226909 part 3: Move logic of when to initiate CORS preflight into channels. Allow CORS preflight to happen when doing a same-origin to cross-origin redirect. r=ckerschb 2015-12-05 01:46:20 -08:00
Jonas Sicking
05f8d577f3 Bug 1226909 part 2: Let CORS preflight logic grab information from nsILoadInfo rather than duplicate it. r=ckerschb 2015-12-05 01:46:20 -08:00
Andrea Marchesini
785d5def22 Bug 1198095 - FileReader should dispatch an error if the blob changes size in the meantime the read is executed, r=bz 2015-12-05 09:37:35 +00:00
Andrea Marchesini
ef37f27d71 iBug 1122788 - patch 2 - nsMultiplexInputStream should not use Tell() in debug builds, r=bz 2015-12-05 09:36:51 +00:00
Tim Nguyen
e434dcd796 Bug 1137681 - Per-tab user agent emulation. r=bz 2015-07-21 08:42:00 +02:00
Wes Kocher
a02339b6be Backed out changeset 95c53fc40a19 (bug 1198095) for being a possible cause of test_fileapi.html bustage CLOSED TREE 2015-12-04 15:21:18 -08:00
Andrea Marchesini
273081fa5f Bug 1198095 - FileReader should dispatch an error if the blob changes size in the meantime the read is executed, r=bz 2015-12-04 21:18:34 +00:00
Andrea Marchesini
6d20470759 Bug 1230509 - BlobImplFile should return false in IsDateUnknown and IsSizeUnknown, r=bz 2015-12-04 21:15:46 +00:00
Daniel Holbert
56377df682 Bug 1230351: Replace ThirdPartyUtil::IsThirdPartyInternal's warning-spammy NS_ENSURE_ARG with an equivalent check that lacks the warning. r=mrbkap 2015-12-04 12:01:43 -08:00
Wes Kocher
814fa88abd Backed out changeset b3cfca056388 (bug 1230509) for build bustage CLOSED TREE 2015-12-04 10:50:17 -08:00
Andrea Marchesini
e75e3cad3e Bug 1230509 - BlobImplFile should return false in IsDateUnknown and IsSizeUnknown, r=bz 2015-12-04 18:18:21 +00:00
Catalin Badea
cbdc480790 Bug 1221992 - Prevent ServiceWorkerClients.OpenWindow from opening tabs in private mode windows. r=smaug 2015-12-04 19:14:44 +02:00
Boris Zbarsky
305d74eb7d Bug 1227458. Make setAttributeNode be an alias for setAttributeNodeNS and setNamedItem on the attribute map be an alias for setNamedItemNS. r=smaug 2015-12-04 09:51:04 -05:00
Jean-Yves Avenard
27d009ebb1 Bug 1230353: P1. Ensure type and subtype of MIME are lowercase. r=bz
As per RFC 2616 section 3.7, which states "The type, subtype, and parameter attribute names are case-insensitive". So ensure the type and subtype are always lower-case as all our comparisons assume that they are.
2015-12-04 15:24:24 +11:00
Wes Kocher
bdce04f47a Merge m-c to inbound, a=merge 2015-12-03 16:11:01 -08:00
Wes Kocher
1a286948ef Merge fx-team to central, a=merge 2015-12-03 16:07:50 -08:00
Wes Kocher
4959875fde Backed out 2 changesets (bug 1221992) for windows debug assertions in browser_perf-categories-js-calltree.js
Backed out changeset bcd90e591038 (bug 1221992)
Backed out changeset 6affaa386b9b (bug 1221992)
2015-12-03 15:56:59 -08:00
Blake Kaplan
562f6c2af7 Bug 1116478 - Open web content handlers in the proper tab in e10s. r=billm 2015-12-03 15:04:28 -08:00
Olli Pettay
dd00989648 Bug 1229760 - CustomElement registry keeps strong reference to the unresolved elements, r=wchen 2015-12-03 18:21:04 +02:00
Mark Capella
36dedbdf68 Bug 1215959 - (GeckoCarets2) - Flip on by default in nightly, r=snorp 2015-12-03 13:33:15 -05:00
Catalin Badea
d15034e4eb Bug 1221992 - Prevent ServiceWorkerClients.OpenWindow from opening tabs in private mode windows. r=smaug 2015-12-03 23:19:29 +02:00
Ehsan Akhgari
57d9f00fd8 Use nsContentUtils::GenerateUUIDInPlace() in nsIDocument::GenerateDocumentId(), no bug 2015-12-02 21:15:44 -05:00
Ehsan Akhgari
0b5e02ebf0 Bug 1222464 - Part 3: Implement Clients.get(); r=jdm 2015-12-02 20:37:01 -05:00
Ehsan Akhgari
acab631b47 Bug 1222464 - Part 1: Save a client ID for top-level navigations on the docshell and assign it as the document ID when we start loading the document; r=jdm
For top-level navigations, we need to compute the client ID when we decide to
intercept the document load, and we need to make sure the document that will
be created later will end up using that same ID.
2015-12-02 20:36:56 -05:00
Bobby Holley
4360860a8d Bug 1228950 - Disallow scheme sets on nsHostObjectURI. r=bz 2015-12-02 17:09:56 -08:00
Olli Pettay
ae03f1fbd6 Bug 1228634 - Implement Element.getAttributeNames, r=peterv 2015-12-02 23:04:53 +02:00
Nathan Froyd
21615e6ac9 Bug 1218454 - part 1 - move DialogValueHolder::Get out-of-line; r=bz
No reason for one ::Get to be out-of-line and the other not.  This
change means that nsGlobalWindow.h doesn't depend on nsContentUtils.
2015-10-26 12:55:45 -04:00
Wes Kocher
6ed09b1c32 Backed out changeset 269290441727 (bug 1198095) for file reader failures in mochitest 1 CLOSED TREE 2015-12-02 13:14:22 -08:00
Boris Zbarsky
ca6dd66b5e Bug 1172246. Make sure CallSetup's handling of exceptions it wants to deal with itself works even when the callable is a JSNative that uses the JS_Report*Error APIs instead of throwing exceptions in the usual way. r=bholley 2015-06-08 16:16:27 -04:00
Boris Zbarsky
6bbf4d6cf3 Bug 1229664. Drop the concept of inner exceptions from Exception/DOMException. r=bholley 2015-12-02 13:52:59 -05:00
Andrea Marchesini
c8ff86fc06 Bug 1198095 - FileReader should dispatch an error if the blob changes size in the meantime the read is executed, r=bz 2015-12-02 18:46:23 +00:00
Lars T Hansen
24ab5fa8d9 Bug 1176214 - Part 11: Changes to DOM, except for WebGL. r=bz, r=clb 2015-11-25 19:04:50 +01:00
Neil Deakin
e8278c18c7 Bug 1227461, don't iterate multiple times past the top-level document during tab navigation, prevents hang navigating in page info dialog, r=smaug 2015-12-02 09:34:42 -05:00
Carsten "Tomcat" Book
0f9a85616c merge mozilla-inbound to mozilla-central a=merge 2015-12-02 15:20:57 +01:00
Carsten "Tomcat" Book
c7cd1df369 Backed out changeset 720b3adb1df5 (bug 1137681) since this need to be out too on a CLOSED TREE 2015-12-02 11:50:27 +01:00
Yury Delendik
5163909308 Bug 1218029 - Implements progressive Unicode chars decoding in nsScriptLoader. r=djvj 2015-11-30 08:54:52 -06:00
Yury Delendik
ae417b3863 Bug 1218029 - Adds ScriptLoadHandler and implements OnIncrementalData callback. r=djvj 2015-12-01 08:00:58 -06:00
Yury Delendik
10268b66cf Bug 1218029 - Adds IncrementalStreamLoader interface stubs. r=djvj 2015-11-30 08:54:11 -06:00
Olli Pettay
b39192c9fc Bug 1134648, handle dynamic changes to rel=dns-prefetch, r=bz 2015-12-01 19:22:20 +02:00
Kate McKinley
55ac382831 Bug 1191460 Rebased patch and added userContextId to origin attributes. (r=tanvi,r=sicking) 2015-11-24 10:40:02 +09:00
Carsten "Tomcat" Book
042be759ae Merge mozilla-central to mozilla-inbound 2015-12-01 15:27:23 +01:00
Carsten "Tomcat" Book
c78dfb0a34 merge mozilla-inbound to mozilla-central a=merge 2015-12-01 15:25:14 +01:00
Mike Conley
8cbd583eb2 Bug 1220752 - Fix and enable browser_bug1058164.js for e10s now that bug 918634 has landed. r=mrbkap
This also makes the test more precise since it now checks the order of
the pagehide and pageshow events.
2015-11-27 19:01:46 -05:00
Jorg K
84fc691710 Bug 1214377 - Hack to solve Thunderbird's need to detect style pre-wrap. rs=ehsan on a CLOSED TREE 2015-11-26 09:21:00 +01:00
Carsten "Tomcat" Book
eaf24f1271 Backed out changeset e925caf848fa (bug 1214377) for wrong reviewer in commit 2015-12-01 10:31:32 +01:00
Sunny Sidhu
ae5c61f89f Bug 1220873 - Make Layer::mVisibleRegion a LayerIntRegion. r=botond 2015-11-29 02:07:55 -05:00
Nathan Froyd
bd2272b82e Bug 1225923 - part 5 - fix AppendElement(nsDependentAtomString(...)) calls; r=bz
The intent here is to copy the dependent string.  We can make that
behavior more explicit by using the ToString method of nsIAtom instead.
2015-11-18 12:38:34 -05:00
Gabor Krizsanits
4a550eed1e Bug 1228542 - Resetting AuthorStyleSheets. r=bz 2015-12-01 13:54:34 +01:00
Christoph Kerschbaumer
1db7cfa2f4 Bug 1225882 - Force XSLT to load async if CORS is required. r=sicking 2015-11-30 20:13:20 -08:00
Jorg K
4de01a7cd0 Bug 1225864 - New flag OutputDisallowLineBreaking to disallow line breaking. r=masayuki. 2015-11-27 15:27:00 +01:00
Jorg K
fbfd19e4a0 Bug 1225864 - New flag OutputDisallowLineBreaking to disallow line breaking. Test. r=masayuki 2015-11-27 06:19:00 +01:00
Andrea Marchesini
204cb4b912 Bug 1211266 - Remote blobs coming from a different thread and a different manager must be kept alive until the creation of depending RemoteBlobs is not completed, r=bent, f=gerard-majax 2015-11-28 10:48:28 +00:00
Jorg K
eb6762a7a3 Bug 1214377 - Hack to solve Thunderbird's need to detect style pre-wrap. r=roc 2015-11-26 09:21:00 +01:00
Boris Zbarsky
247b1d8a5e Bug 1228707. Add a away to call Web IDL callbacks while ignoring any errors from them, and use it in a few places. r=smaug 2015-11-30 22:04:09 -05:00
Boris Zbarsky
7429891baf Bug 1170760 part 13. Add subclassing support to Promise::Then/Catch. r=baku,efaust 2015-11-25 15:48:10 -05:00
Francois Marier
b2e9d9f788 Bug 1216793 - check against tracking protection list in XHR. r=gcp 2015-11-30 16:28:14 -08:00
Franziskus Kiefer
95087253fb Bug 1187357 - rename referrer attribute to referrerpolicy in tests. r=hsivonen 2015-11-30 16:13:07 -08:00
Franziskus Kiefer
234e8bb5a7 Bug 1187357 - rename referrer attribute to referrerpolicy. r=hsivonen 2015-11-30 16:13:03 -08:00
Mike Hommey
5743e8e7e6 Bug 1228467 - Don't preprocess dom/base/UseCounters.conf. r=froydnj
There is no preprocessing directive in the file. Also, the current support for
preprocessing doesn't take into account any DEFINES that would be set in the
corresponding moz.build, which would be quite surprising would someone want
to use preprocessing on that file in the future.
2015-12-01 08:25:22 +09:00
Blake Kaplan
20a89c5ff7 Bug 1171215 - Compute third-partyness in the loadinfo instead of nsIHttpChannelInternal so that other protocols correctly respect the third-party cookie pref. r=sicking/ckerschb 2015-11-30 13:25:29 -08:00
Nathan Froyd
3b412eff4e Bug 1229032 - don't copy arrays in PerformanceObserver::Observe; r=baku
Once we've sanitized the input data, there's no need to copy our
newly-allocated array into mEntryTypes; we can simply swap them and
avoid extra allocations.
2015-11-18 12:47:44 -05:00
Randall Barker
cda88e8c60 Bug 1224015 - Part 3: ifdef changes to C++APZ so that they only apply to single process APZ. r=tnikkel
Added MOZ_SINGLE_PROCESS_APZ flag.
2015-11-26 20:51:13 -06:00
Randall Barker
a3d7ead0d0 Bug 1224015 - Part 1: nsLayoutUtils functions do not account for nsPresShell resolution r=tnikkel 2015-11-26 20:51:13 -06:00
Olli Pettay
3b130cbd92 Bug 789315, notify MutationObservers before running <script>, r=khuey 2015-11-26 22:37:52 +02:00
Ehsan Akhgari
1f44c7d881 Bug 1201127 - Return the same ServiceWorkerRegistration object from service worker APIs dealing with the same underlying registration object; r=jdm 2015-11-26 15:13:33 -05:00
Carsten "Tomcat" Book
d229b39c6e merge mozilla-inbound to mozilla-central a=merge 2015-11-26 16:54:27 +01:00
Carsten "Tomcat" Book
480ab42ddb Backed out changeset 82c89f573e53 (bug 1191460) 2015-11-26 12:02:59 +01:00
Carsten "Tomcat" Book
fac7e1ada3 Merge mozilla-central to b2g-inbound 2015-11-25 14:00:32 +01:00
Yoshi Huang
dc3740f0fa Bug 1209162 - Create OriginAttributes subtypes. IGNORE IDL r=sicking. 2015-11-03 09:50:54 +08:00
Wes Kocher
0a27106e93 Merge b2ginbound to central, a=merge 2015-11-24 16:52:38 -08:00
Gabriele Svelto
8f42f09dcd Bug 1207221 - Do not prevent the system app from vibrating when it is hidden. r=bz r=dhylands 2015-11-17 10:18:38 +01:00
Andrea Marchesini
56bdf487dc Bug 1207546 - Integrate WebRTC with audio channels, r=roc 2015-11-21 01:03:20 +00:00
Boris Zbarsky
94ba1d4d1d Back out bug 1172246 because of mochitest-JP bustage. Who needs tests that we care about running on try anyway? 2015-11-20 18:00:27 -05:00
L. David Baron
8c068b0ca1 Bug 1226489 - Pass only a single rule to StyleRuleChanged. r=bzbarsky 2015-11-20 14:34:12 -08:00
Brian Birtles
4b55f7e56f Bug 1225699 part 6 - Use strong refs to store effects on their target elements; r=smaug
This is so that when we have code like:

  elem.animate({ opacity: 0 }, 1000)

the resulting Animation object is kept alive by |elem| based on the following
ownership chain:

  elem --(strong)--> KeyframeEffectReadOnly --(strong)--> Animation

Now, there is an ownership cycle introduced here because KeyframeEffectReadOnly
objects also store owning references to their target elements. This is broken
when the Animation finishes (if it does not fill forwards) or is cancelled
since either event will trigger a call to
KeyframeEffectReadOnly::UpdateTargetRegistration.

If the Animation fills forwards, the resource will not be released until
it is cancelled. For Animations corresponding to CSS Animations / CSS
Transitions this happens when the Element is unbound or when the corresponding
style property is updated causing the animation to be replaced or removed.

For the general case of script-generated animations, however, this cycle won't
be broken until the Element is unbound and all external references to the
Animation or KeyframeEffectReadOnly are dropped.

It's unfortunate that we can't more aggressively prune these objects but it's
what the spec currently says. I've posted to the mailing list[1] about this but
have yet to find a good solution.

[1] https://lists.w3.org/Archives/Public/public-fx/2015OctDec/0029.html
2015-11-26 16:53:54 +09:00
Brian Birtles
d9c38b59ea Bug 1225699 part 5 - Use EffectSet in Element::GetAnimations; r=heycam 2015-11-26 16:53:53 +09:00
Brian Birtles
90225d735c Bug 1225699 part 1 - Add EffectSet class; r=smaug 2015-11-26 16:53:53 +09:00
Phil Ringnalda
6d7dff3e17 Back out 13 changesets (bug 1170760) for Gu bustage in homescreen/test/unit/apps_test.js
CLOSED TREE

Backed out changeset 5d84599a8846 (bug 1170760)
Backed out changeset 6104fe33d5f5 (bug 1170760)
Backed out changeset 1dfb229da01d (bug 1170760)
Backed out changeset f380faddfdd8 (bug 1170760)
Backed out changeset 541831dc6b57 (bug 1170760)
Backed out changeset 6a5b7dfab882 (bug 1170760)
Backed out changeset ee514a256922 (bug 1170760)
Backed out changeset 3c2c1acc34ee (bug 1170760)
Backed out changeset dc2a7f5dc5d6 (bug 1170760)
Backed out changeset b312a08fbab5 (bug 1170760)
Backed out changeset cb6aba9b8497 (bug 1170760)
Backed out changeset 39e4f5b1ba40 (bug 1170760)
Backed out changeset 7d79cce3630a (bug 1170760)
2015-11-25 21:02:55 -08:00
Boris Zbarsky
460dc3f4c2 Bug 1170760 part 13. Add subclassing support to Promise::Then/Catch. r=baku,efaust 2015-11-25 15:48:10 -05:00
Sebastian Hengst
728b1a4f90 Backed out changeset 8405467ea7ad (bug 1211266) for static analysis bustage. r=backout on a CLOSED TREE 2015-11-25 21:17:02 +01:00
Andrea Marchesini
1a1ed9c08f Bug 1211266 - Remote blobs coming from a different thread and a different manager must be kept alive until the creation of depending RemoteBlobs is not completed, r=bent, f=gerard-majax 2015-11-25 17:48:19 +00:00
Andrea Marchesini
cabcc87c2d Backed out changeset 79004346238d - wrong version of patch for bug 1211266 2015-11-25 17:44:30 +00:00
Andrea Marchesini
ab736e1e9a Bug 1211266 - Remote blobs coming from a different thread and a different manager must be kept alive until the creation of depending RemoteBlobs is not completed, r=bent, f=gerard-majax 2015-11-25 17:15:16 +00:00
Phil Ringnalda
e8d65ceaab Back out changeset 2f614bcd9405 (bug 1221822) for test_conformance__extensions__ext-sRGB.html and test_webgl2_alpha_luminance.html failures 2015-11-23 21:55:59 -08:00