Commit Graph

8580 Commits

Author SHA1 Message Date
Gabor Krizsanits
ee17812b38 Bug 1061469 - part 8: Encoding for Imports. r=mrbkap 2014-10-02 09:54:22 +02:00
Gabor Krizsanits
ee105f086d Bug 1061469 - part 5: Fixing up update for Imports. r=mrbkap 2014-10-02 09:54:09 +02:00
Gabor Krizsanits
3a5ec2a290 Bug 1061469 - Part 2: ImportManager::AddLoaderWithNewURI should only return main referrers. r=mrbkap 2014-10-02 09:53:57 +02:00
Anuj Agarwal
01df0446ad Bug 791777 - Replaced NS_finite() with mozilla::IsFinite. r=froydnj 2014-10-01 11:26:00 +02:00
Nick Lebedev
3694da2a86 Bug 1055773 - Move hasAttributes method from Node to Element. r=bz 2014-10-01 10:16:00 +02:00
Brian Birtles
0d80e67ebf Bug 1074054 part 2 - Make Element::GetAnimationPlayers return in-effect animations too; r=dbaron
This patch makes Element::GetAnimationPlayers return not only current animations
but also animations that have finished but are filling forwards. This brings the
implementation into line with recent changes to the Web Animations spec and
allows querying all the animations that are currently affecting an element or
which are scheduled to do so in the future.
2014-10-02 15:14:14 +09:00
Brian Birtles
2349318ce3 Bug 1046055 part 2 - Rename AnimationPlayer::IsCurrent to HasCurrentSource; r=dbaron
It's not the player that's "current" (a Web Animations term for an animation
that hasn't yet finished), but its source content, if any. This patch renames
the method on AnimationPlayer accordingly.

At the same time this patch moves the method to the header file since it's
quite simple and could possibly benefit from inlining.
2014-10-02 15:14:13 +09:00
Brian Birtles
4059c60799 Bug 1073396 - Make Element.getAnimationPlayers flush style; r=dbaron 2014-10-02 15:14:13 +09:00
Cameron McCormack
df92baa4c2 Bug 1028497 - Part 24: Implement FontFaceSet.{ready,status} and dispatch events. r=jdaggett,bzbarsky 2014-10-02 12:32:09 +10:00
Cameron McCormack
1af7e9d722 Bug 1028497 - Part 5: Implement document.fonts. r=bzbarsky 2014-10-02 12:32:06 +10:00
Cameron McCormack
57b587aadd Bug 1028497 - Part 3: Add skeleton implementations of CSSFontFaceLoadEvent, FontFace, FontFaceSet and FontFaceSource. r=jdaggett 2014-10-02 12:32:05 +10:00
Bobby Holley
3b58397a4e Bug 1067009 - Tests. r=billm 2014-10-01 17:22:16 +02:00
Carsten "Tomcat" Book
7321b37f56 Backed out changeset 0a308311d9a7 (bug 1056409) for wrong commit message on a CLOSED TREE 2014-10-01 17:16:42 +02:00
James Long
ab8ef4df2e Date: Fri Sep 26 11:30:08 2014 -0400
Bug 1056409 - move the sourceMapURL property to the Debugger.Source object. r=jorendorff
2014-09-30 10:03:00 +02:00
Christoph Kerschbaumer
073134d782 Bug 1070732 - CSP: log warning if csp-report is not sent using http or https (r=sstamm) 2014-09-21 09:13:54 -07:00
Carsten "Tomcat" Book
9187bf9236 Merge m-c to mozilla-inbound 2014-10-01 15:41:25 +02:00
Carsten "Tomcat" Book
1089eb43df merge b2g-inbound to mozilla-central a=merge 2014-10-01 15:05:31 +02:00
Gabor Krizsanits
7876c7d281 Bug 877072 - Script execution order for imports. r=mrbkap 2014-10-01 14:13:53 +02:00
xKhorasan
dce577b129 Bug 1073882 - XMLHttpRequest.prototype.responseURL should not have fragment per latest spec. r=smaug 2014-09-28 08:51:23 +09:00
Boris Zbarsky
001c757eb1 Bug 1072991. Make sure to set the right base URI on the document clones we create for printing. r=smaug 2014-09-30 21:26:26 -04:00
Jim Mathies
ad73cb6c28 Bug 1072417 - Remove the browser.tabs.remote pref and turn everything it controls on by default. r=felipe 2014-09-29 16:11:08 -05:00
Michael Wu
a5ae8d54fa Bug 864327 - Support FM RDS in WebAPI, r=ehsan,pzhang,khuey 2014-09-30 12:57:52 -04:00
Ryan VanderMeulen
87ff7c3868 Backed out changeset cb3fd4a4b7c5 (bug 771043) for Android mochitest-8 failures.
CLOSED TREE
2014-10-03 15:26:06 -04:00
Boris Zbarsky
502afc718e Bug 771043. Move MediaQueryList tracking from the prescontext to the document, so they will correctly outlive prescontext changes. r=dbaron 2014-10-03 14:15:25 -04:00
Olli Pettay
081ea999aa Bug 1074738 - GetCurrentDoc fixes in content/base, r=wchen
--HG--
extra : rebase_source : 5bd87b39f04e5cef229e8e15bc2bf56aef9c5995
2014-10-02 21:45:44 +03:00
Michael Wu
aa0faa6978 Backed out changeset dfbae87208dd (Bug 864327) for red 2014-09-30 13:39:43 -04:00
Michael Wu
a1247a9f18 Bug 864327 - Support FM RDS in WebAPI, r=ehsan,pzhang,khuey 2014-09-30 12:57:52 -04:00
Bobby Holley
39b012effe Bug 1070842 - Switch to new-style exception reporting in LoadFrameScriptInternal. r=bz 2014-09-29 15:34:21 +02:00
Carsten "Tomcat" Book
908752dd9e Backed out changeset 199bffb1f6fb (bug 877072) for test failures 2014-09-29 13:17:03 +02:00
Bobby Holley
dc1a6220a7 Bug 1070131 - Switch originPrincipals to a mutedError flags. r=luke,r=bz
--HG--
rename : js/src/jsapi-tests/testOriginPrincipals.cpp => js/src/jsapi-tests/testMutedErrors.cpp
2014-09-29 10:44:30 +02:00
Peter Van der Beken
34ffd8ca34 Bug 787070 - Expandos on the xray of DOM prototypes should have effect on xrays of DOM nodes, add a named properties object type to DOMObjectType and how to get the parent prototype object in DOMIfaceAndProtoJSClass. r=bz, r=bholley.
--HG--
extra : rebase_source : fdd72f5027b365554ab0b986de685204c8030c58
2014-09-09 15:19:10 +02:00
Gabor Krizsanits
48fb38e50d Bug 877072 - Script execution order for imports. r=mrbkap 2014-09-29 09:26:59 +02:00
Ben Turner
141df104d6 Bug 994190 - 'Modify main-thread IndexedDB to use PBackground', r=khuey. 2014-09-26 16:21:57 -07:00
William Chen
f6d15ee24b Bug 1062578 - Call BindToTree/UnbindFromTree on shadow root children when host is bound/unbound from tree. r=smaug 2014-09-26 15:07:40 -07:00
Carsten "Tomcat" Book
05a473f758 Backed out changeset 7d7ccb243db5 (bug 1062578) for breaking webplatform 4 tests 2014-09-26 08:14:23 +02:00
William Chen
5ba334c43f Bug 1062578 - Call BindToTree/UnbindFromTree on shadow root children when host is bound/unbound from tree. r=smaug 2014-09-25 21:53:20 -07:00
Phil Ringnalda
dd7ebaded4 Back out 693507b38116 (bug 1041180) since it doesn't like compiling without its friend
CLOSED TREE
2014-09-25 21:18:01 -07:00
Phil Ringnalda
5d9ca2987e Back out 11fc11a90d6b (bug 1041180) for xpcshell orange 2014-09-25 21:00:37 -07:00
Christoph Kerschbaumer
f51298588c Bug 1041180: Remove deprecated nsIChannelPolicy and use LoadInfo instead (r=sstamm) 2014-09-25 16:10:41 -07:00
Christoph Kerschbaumer
0de2d98100 Bug 1041180: Remove deprecated nsIChannelPolicy (r=sstamm,jduell,jst) 2014-09-25 16:10:28 -07:00
Ryan VanderMeulen
1fe0a415bd Backed out changesets b08e57dbef4e and 1049cfbf3426 (bug 947044) for various regressions. 2014-09-25 14:32:43 -04:00
Guilherme Goncalves
0251787e08 Bug 1071993 - Use js_realloc in nsXMLHttpRequest::ArrayBufferBuilder. r=sfink
--HG--
extra : rebase_source : e388083dff50ad02c4efa2d019a1b79586bd8d6e
2014-09-25 04:03:00 -04:00
Christoph Kerschbaumer
a88081a953 Bug 808292 - CSP: Implement path-level host-source matching, redirect tests (r=grobinson,sstamm) 2014-08-13 13:04:31 -07:00
Christoph Kerschbaumer
7fcf1eacf2 Bug 808292 - CSP: Implement path-level host-source matching, mochitests (r=grobinson,sstamm) 2014-08-12 13:08:52 -07:00
Christoph Kerschbaumer
af5722c366 Bug 808292 - CSP: Implement path-level host-source matching, utils modifications (r=grobinson,sstamm) 2014-08-12 12:55:08 -07:00
Christoph Kerschbaumer
f40f011958 Bug 808292 - CSP: Implement path-level host-source matching, parser updates (r=grobinson,sstamm) 2014-08-12 13:06:19 -07:00
Christoph Kerschbaumer
2c67b1a8b8 Bug 808292 - CSP: Implement path-level host-source matching, parser tests (r=grobinson,sstamm) 2014-08-12 13:07:34 -07:00
Bobby Holley
51208f79db Bug 1065811 - Track Xray waivers with CPOWs. r=billm 2014-09-25 13:13:29 +02:00
Bobby Holley
54afe3012b Bug 1065811 - Expose isCallable()/isConstructor() in JS_PUBLIC_API. r=billm 2014-09-25 13:13:28 +02:00
Nicholas Nethercote
ff1870aac7 Bug 1070251 - Anonymize non-chrome inProcessTabChildGlobal URLs in memory reports when necessary. r=khuey.
--HG--
extra : rebase_source : a204dbae9f853be3ade1cdebfa0f4ac01fa3a174
2014-09-24 19:08:20 -07:00
Arnaud Sourioux
d98859187f Bug 1038570 - Part 2: rename ObjectFrame class to PluginFrame. r=dbaron 2014-09-24 06:34:00 +02:00
Arnaud Sourioux
308aad49f2 Bug 1038570 - Part 1: rename nsObjectFrame.* to nsPluginFrame.*, changes moz.build and includes. r=dbaron
--HG--
rename : layout/generic/nsObjectFrame.cpp => layout/generic/nsPluginFrame.cpp
rename : layout/generic/nsObjectFrame.h => layout/generic/nsPluginFrame.h
2014-09-24 06:33:00 +02:00
Christoph Kerschbaumer
9694546928 Bug 1045897 - Implement CSP 1.1 base-uri directive (r=sstamm) 2014-08-15 16:26:59 -07:00
Christoph Kerschbaumer
212ad65eb4 Bug 1045897 - Implement CSP 1.1 base-uri; nsDocument changes (r=jst) 2014-09-19 14:36:26 -07:00
Christoph Kerschbaumer
857c77edf3 Bug 1045897 - Test CSP 1.1 base-uri directive (r=sstamm) 2014-08-18 17:44:21 -07:00
Ehsan Akhgari
fd5b5386af Bug 1071564 - Refactor the code to get the inner window ID from an nsIRequest* without using nsIDOMWindowUtils; r=baku
--HG--
extra : rebase_source : f9f8da4710a20abd675492537dc9a3ac6857b641
2014-09-23 21:29:31 -04:00
Carsten "Tomcat" Book
bb6b27d528 Backed out changeset 4bb508b6f0c5 (bug 1041180) for XPCshell test failures 2014-09-24 13:13:20 +02:00
Carsten "Tomcat" Book
df32ab6c62 Backed out changeset c6fe8e2c41db (bug 1041180) 2014-09-24 13:12:57 +02:00
Christoph Kerschbaumer
c2cae1cc81 Bug 1041180: Remove deprecated nsIChannelPolicy and use LoadInfo instead (r=sstamm) 2014-09-24 01:14:42 -07:00
Christoph Kerschbaumer
72c6a44018 Bug 1041180: Remove deprecated nsIChannelPolicy (r=sstamm,jduell,jst) 2014-09-24 01:01:07 -07:00
Nick Fitzgerald
b4caf18aad Bug 947044 - Part 2: Fix tests that check ReferenceError's message. r=gavin 2014-09-22 16:13:00 +02:00
Wes Kocher
cdeb7299d2 Merge m-c to inbound a=merge 2014-09-23 16:48:23 -07:00
Wes Kocher
0300f6d4af Backed out 2 changesets (bug 1041180) for build bustage on a CLOSED TREE
Backed out changeset 1cfb645267a4 (bug 1041180)
Backed out changeset afc9903ff28f (bug 1041180)
2014-09-23 16:26:49 -07:00
Vlatko Markovic
f50d0e121d Bug 1057376 - Clear the string read buffer between deserializations of CSP policies. r=geekboy
In case when multiple CSP policies are applied it is needed to clear the
temporary string buffer that holds the string of each CSP policy that is
deserialized from the CSP policies stream.
Failing to clear the buffer will result in concatenations of the CSP policies
strings for each consecutive CSP policy that is being deserialized, which will
end in generation and application of invalid CSP policy for all except the
first CSP policy that was set for the document.
2014-09-23 10:10:58 -07:00
Christoph Kerschbaumer
5453719121 Bug 1041180: Remove deprecated nsIChannelPolicy (r=sstamm,jduell,jst) 2014-09-23 09:46:54 -07:00
Christoph Kerschbaumer
2f70dd4838 Bug 1041180: Remove deprecated nsIChannelPolicy and use LoadInfo instead (r=sstamm) 2014-09-23 09:47:05 -07:00
Georg Fritzsche
8bee7684a2 Bug 1067989 - Unify some more binary search uses. r=waldo 2014-09-17 15:46:24 +02:00
Ryan VanderMeulen
9aa2123477 Backed out changeset be8277dd0acd (bug 877072) for test failures.
CLOSED TREE
2014-09-23 14:08:22 -04:00
Gabor Krizsanits
ae039c0b9b Bug 877072 - Script execution order for imports. r=mrbkap 2014-09-23 18:58:35 +02:00
Christoph Kerschbaumer
7879c92b87 Bug 1037669: Setting LoadInfo explicitly for nsIWebSocketChannels (r=tanvi,jduell) 2014-08-13 13:26:17 -07:00
Chris Pearce
a7d967d228 Bug 1069669 - Add a nsContentUtils::IsInPrivateBrowsing function. r=ehsan 2014-09-23 12:54:26 +12:00
Tanvi Vyas
681531500a Bug 1063837 - Test that the response documents principal is the nullPrincipal. r=smaug 2014-09-22 15:34:28 -07:00
Tanvi Vyas
054a9cdbf1 Bug 1063837 - For xhr, don't set principal to nullprincipal in cases where we want a sandboxed document; instead, set the sandboxed flag in loadinfo. For EventSource, there is no issue iwth using system. r=sicking, smaug 2014-09-22 15:34:26 -07:00
Christoph Kerschbaumer
5a5770c020 Bug 1038756: Refactor SetUpChannelOwner to ChannelShouldInheritPrincipal (r=bz) 2014-07-17 16:07:58 -07:00
Christoph Kerschbaumer
f9ec88ffff Bug 1038756: Callsites creating a channel in content/base/ImportManager (r=gkrizsanits) 2014-09-21 09:36:50 -07:00
Christoph Kerschbaumer
cbcc76b5a8 Bug 1038756: Callsites creating a channel in content/base/ and content/html (r=jst) 2014-09-21 09:36:25 -07:00
Bobby Holley
8dae0fc8ce Bug 1070696 - Rename xpc::GetNativeForGlobal to xpc::NativeGlobal and make it accept non-global JSObjects. r=smaug
The method is infallible, and making the callers invoke
js::GetGlobalForObjectCrossCompartment manually is dumb.
2014-09-21 21:31:53 +02:00
Ryan VanderMeulen
303e2ef098 Backed out changeset 230ec8030aa7 (bug 1066483) for webplatform test failures. 2014-09-19 13:11:11 -04:00
Henri Sivonen
6684f05e04 Bug 1066483 - Drop SVG camelCase mappings filterRes, contentStyleType, contentScriptType and externalResourcesRequired. r=wchen. 2014-09-19 18:20:26 +03:00
Simon Montagu
7462d278ae Bug 1068218: Don't pass lone surrogates to GetDirectionFromChar, r=ehsan 2014-09-19 00:18:47 -07:00
Ben Turner
26edfb8667 Backout bug 994190 and merge over some stuff that landed afterwards on a CLOSED TREE. 2014-09-17 19:36:01 -04:00
Ehsan Akhgari
6be7b691a0 Bug 1067340 follow-up: null check the inner window r=bustage
Landed on a CLOSED TREE
2014-09-17 18:31:26 -04:00
Ehsan Akhgari
8273a526d3 Bug 1067340 - Don't use nsIDOMWindowUtils in the CSP code, because it's not meant to be used from C++; r=geekboy 2014-09-17 17:55:43 -04:00
Maksim Lebedev
62e4043739 Bug 977003 - Make async got/lostpointercapture events. r=smaug 2014-09-12 02:32:00 -04:00
Bobby Holley
9ac096aace Bug 1067900 - Assert main thread in nsContentUtils::SubjectPrincipal. r=bz 2014-09-17 14:43:03 +02:00
Phil Ringnalda
e0f8e397f4 Back out 2 changesets (bug 1055773) for debug mochitest-3 bustage
CLOSED TREE

Backed out changeset 72b7c1efb2b5 (bug 1055773)
Backed out changeset 5850ae46157b (bug 1055773)
2014-09-16 22:11:31 -07:00
Nick Lebedev
c1419b9190 Bug 1055773 - Move hasAttributes method from Node to Element. r=bz 2014-09-16 00:48:00 -04:00
Wes Kocher
48ee047035 Merge inbound to m-c a=merge 2014-09-16 17:06:43 -07:00
Vlatko Markovic
6f2a9765c1 Bug 1059194 - Trusted Hosted Apps, part 2: CSP infrastructure changes. r=sicking 2014-09-16 13:14:02 -07:00
Bobby Holley
b85f54fb80 Bug 1066340 - Use an AutoEntryScript in nsFrameMessageManager::ReceiveMessage. r=smaug 2014-09-15 14:17:32 +02:00
Rik Cabanier
199016e453 Bug 1047477 - "Add support for all blend mode to feBlend". r=longsonr r=bz 2014-09-12 16:32:00 +02:00
Giovanni Sferro
a1b2953918 Bug 1055533 - Implement Element.closest(). r=bz 2014-09-13 15:08:00 +02:00
Ben Turner
b3c31c0c49 Bug 994190 - 'Modify main-thread IndexedDB to use PBackground', r=khuey.
--HG--
rename : dom/indexedDB/ipc/SerializationHelpers.h => dom/indexedDB/SerializationHelpers.h
rename : dom/indexedDB/ipc/unit/head.js => dom/indexedDB/test/unit/xpcshell-head-child-process.js
rename : dom/indexedDB/test/unit/head.js => dom/indexedDB/test/unit/xpcshell-head-parent-process.js
rename : dom/ipc/Blob.h => dom/ipc/BlobParent.h
rename : dom/ipc/FileDescriptorSetChild.cpp => ipc/glue/FileDescriptorSetChild.cpp
rename : dom/ipc/FileDescriptorSetChild.h => ipc/glue/FileDescriptorSetChild.h
rename : dom/ipc/FileDescriptorSetParent.cpp => ipc/glue/FileDescriptorSetParent.cpp
rename : dom/ipc/FileDescriptorSetParent.h => ipc/glue/FileDescriptorSetParent.h
rename : dom/ipc/PFileDescriptorSet.ipdl => ipc/glue/PFileDescriptorSet.ipdl
2014-09-13 12:12:19 -04:00
L. David Baron
9e53a17632 Bug 977991 patch 6 - Use the faster eRestyle_StyleAttribute path for style attribute changes. r=birtles 2014-09-13 06:17:37 -07:00
L. David Baron
d59f54cf97 Bug 1057231 patch 2 - Add SVG Attribute Animation rule processor to the document. r=dholbert 2014-09-13 06:17:35 -07:00
Bobby Holley
7b53e2cb89 Bug 1052096 - Tests. r=billm 2014-09-12 17:41:19 -07:00
Jim Mathies
402d9e5232 Bug 1060738 - Switch to using chromium's Thread/tasks in MediaManager. On Windows, use MessagePumpForNonMainUIThreads for the background media thread. r=jesup 2014-09-12 09:49:39 -05:00
Jonathan Kew
08babb6a11 bug 1066043 - split gfxFont.cpp and .h into more manageably-sized pieces. r=jdaggett
--HG--
rename : gfx/thebes/gfxFont.cpp => gfx/thebes/gfxFontEntry.cpp
rename : gfx/thebes/gfxFont.h => gfx/thebes/gfxFontEntry.h
rename : gfx/thebes/gfxFont.cpp => gfx/thebes/gfxGlyphExtents.cpp
rename : gfx/thebes/gfxFont.h => gfx/thebes/gfxGlyphExtents.h
rename : gfx/thebes/gfxFont.cpp => gfx/thebes/gfxTextRun.cpp
rename : gfx/thebes/gfxFont.h => gfx/thebes/gfxTextRun.h
2014-09-16 10:58:12 +01:00
Tom Schuster
67aaa52c6b Bug 1065574 - Remove UserDataHandler. r=smaug f=bz 2014-09-11 12:22:30 +02:00
Jonathan Watt
b3072839ca Bug 1065031, part 2 - Changes to Moz2D consuming code to update callers of Moz2D Matrix's Translate, Scale and Rotate methods to use these methods' new names. r=Bas 2014-09-10 18:29:35 +01:00