Commit Graph

8538 Commits

Author SHA1 Message Date
Ben Turner
c6ede83e24 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
7fc557d455 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
c929dfbd38 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
b5d6af8be7 Bug 1052096 - Tests. r=billm 2014-09-12 17:41:19 -07:00
Jim Mathies
57198fe6bf 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
5d90bffbae 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
e9bebd5db5 Bug 1065574 - Remove UserDataHandler. r=smaug f=bz 2014-09-11 12:22:30 +02:00
Jonathan Watt
3ed9de9853 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
Mats Palmgren
0b091dcb42 Bug 739396 - Tests. 2014-09-10 17:07:36 +00:00
Mats Palmgren
501e985685 Bug 739396, part 1 - Split a range (that are to be added to the Selection as a result of a user action) into multiple ranges that excludes any non-selectable (-moz-user-select:none) sub-trees. 2014-09-10 17:07:36 +00:00
Ryan VanderMeulen
35a9e4dcde Backed out 3 changesets (bug 739396) for Mulet perma-fail on a CLOSED TREE.
Backed out changeset 299911e6983b (bug 739396)
Backed out changeset de11af3e0964 (bug 739396)
Backed out changeset e274cb276cc5 (bug 739396)
2014-09-10 12:21:58 -04:00
Bobby Holley
87da2035c9 Bug 1065238 - Re-enable test_cpows.xul on mac. r=billm 2014-09-10 08:07:50 -07:00
Francois Marier
c403b9da52 Bug 752559 - Console warning when sandboxed iframe is used ineffectively. r=smaug 2014-09-07 23:05:00 -04:00
Mats Palmgren
98ea84114d Bug 739396 - Tests. 2014-09-10 13:07:44 +00:00
Mats Palmgren
8c874d50ee Bug 739396, part 1 - Split a range (that are to be added to the Selection as a result of a user action) into multiple ranges that excludes any non-selectable (-moz-user-select:none) sub-trees. 2014-09-10 13:07:43 +00:00
Markus Stange
99aa6b3519 Bug 1064842 - Add ImplCycleCollectionTraverse/Unlink implementations for nsReferencedElement so that nsSVGFilterReference can use the shorter NS_IMPL_CYCLE_COLLECTION macro. r=roc 2014-09-10 12:18:57 +02:00
Kyle Huey
4d40f753e6 Bug 982212: Part 3 - Now that nsTArray::AppendElement supports r-value references, remove the workarounds added in Bug 967364. r=nfroyd
--HG--
extra : rebase_source : 1e6188d26b745f6dc9bdf2accc0abf7f07351510
2014-03-15 18:56:00 +01:00
Mats Palmgren
53a8b4a861 Bug 1061468 - Notify the editor when removing the focused element is its ancestor limiter. r=ehsan 2014-09-09 23:27:56 +00:00
Chris Peterson
412ea5db86 Bug 1063962 - Replace jschar typedef with C++11 char16_t type. r=jandem 2014-07-21 21:43:21 -07:00
Jed Davis
f9d42e8678 Bug 1058977 - Adjust mochitests that do content-process file creation/deletion. r=bz
Some form tests are switched to Blob-backed DOM files; some tests now
use nsIFile but don't create the file, if the test simply uses the path
but doesn't access it; and some tests are moved to mochi-chrome
2014-09-08 18:48:50 -07:00
Carsten "Tomcat" Book
ef8e5b7042 merge mozilla-inbound to mozilla-central a=merge 2014-09-08 15:22:16 +02:00
Shian-Yow Wu
bd2da8e95f Bug 1057855 - Fix error checking when calling nsZipArchive::GetItem(). r=smaug 2014-09-04 19:55:00 +02:00
Jan-Ivar Bruaroey
ffd8bb9a0a Bug 1062981 - Disable bfcache for pages active MediaManager. r=smaug, r=jesup 2014-09-05 16:02:54 -04:00
David Zbarsky
1166e398f7 Bug 1042654: Remove nsITouchEventReceiver r=bz 2014-09-05 23:32:49 -04:00
Boris Zbarsky
b5cf8ec94f Bug 880997 part 3. Change crossOrigin reflection to allow null values and be a limited enumerated attribute. r=smaug 2014-09-05 22:42:33 -04:00
Boris Zbarsky
63d80d9351 Bug 880997 part 1. Move GetEnumAttr up to Element so I can use it in SVG code. r=smag 2014-09-05 22:42:32 -04:00
Boris Zbarsky
18c6169b67 Bug 716491. Return a .status of 200 and .statusText of "OK" for successful non-HTTP XHR loads. r=smaug 2014-09-04 15:26:58 -04:00
Boris Zbarsky
5fe3f441d5 Bug 1057176. Don't try to use the document's window for regexp evaluation in nsContentUtils::IsPatternMatching, since there might not be one. Just use the unprivileged junk scope. r=bholley 2014-09-04 15:26:39 -04:00
Boris Zbarsky
b9b5085960 Bug 1017424 part 3. Remove the now-unnecessary nsIDocument::WrapObject. r=peterv 2014-09-05 14:28:44 -04:00
Alfredo Yang
ca45cf80a0 Bug 916643 - ImageCapture webidl and implementation. r=roc, r=smaug 2013-09-16 10:50:24 +08:00
Christoph Kerschbaumer
e401159cf1 Bug 1062529 - Split GetChannelPrincipal into GetChannelResultPrincipal and GetChannelURIPrincipal. r=bz 2014-08-06 16:05:40 -07:00
Mike Hommey
c2a27deef9 Bug 1059090 - Don't require SOURCES to be set for CPP_UNIT_TESTS and SIMPLE_PROGRAMS. r=mshal 2014-09-03 14:16:37 +09:00
Mike Hommey
8fd95ad480 Bug 1041941 - Use templates for programs, simple programs, libraries and C++ unit tests. r=gps 2014-09-03 14:10:54 +09:00
Ryan VanderMeulen
52e6657393 Merge inbound to m-c. a=merge 2014-09-03 16:38:57 -04:00
Anuj Agarwal
de561bcbe2 Bug 1036052 - Privatize public destructor of DOMRect. r=baku 2014-09-02 11:47:00 -04:00
Boris Zbarsky
f6d49f7706 Bug 1061202. Make sure to not double-add app-theme-changed observers when a document has OnPageShow called on it twice without an OnPageHide call in between. r=khuey 2014-09-03 00:09:42 -04:00
Ryan VanderMeulen
be0f5391a8 Backed out changeset 483f0a6a540e (bug 1061202) for mochitest-bc asserts/crashes. 2014-09-03 11:21:02 -04:00
Boris Zbarsky
2ece805e49 Bug 1061202. Make sure to not double-add app-theme-changed observers when a document has OnPageShow called on it twice without an OnPageHide call in between. r=khuey 2014-09-03 00:09:42 -04:00
John Schoenick
f2974e9fd5 Bug 1061995 - Restore bug 923745 workaround for windowless flash in e10s mode. r=jst 2014-09-02 17:13:07 -07:00
Trevor Saunders
e1a88eb1fb bug 1059490 - mark more classes MOZ_FINAL r=froydnj 2014-08-27 14:26:48 -04:00
Ehsan Akhgari
f45a3fcf07 Bug 1060987 - Fix more bad implicit constructors in DOM; r=baku
--HG--
extra : rebase_source : 01709017e97fdc96d1d53eb881efc1792118edc4
2014-09-01 20:49:25 -04:00
Phil Ringnalda
e2e326a9c4 Backed out 6 changesets (bug 1060982, bug 1061058, bug 1060987, bug 1061060, bug 1060930) for build bustage
CLOSED TREE

Backed out changeset c23b8418e6be (bug 1060987)
Backed out changeset a8cddc6bdffc (bug 1061060)
Backed out changeset b5af5cbdac3f (bug 1060982)
Backed out changeset 4912d451011a (bug 1060930)
Backed out changeset bdacbf453238 (bug 1061058)
Backed out changeset da6c71a8f5ae (bug 1060987)
2014-09-01 16:48:51 -07:00
Ehsan Akhgari
0ac65d40c7 Fix the build bustage from bug 1060987 landed on a CLOSED TREE 2014-09-01 18:28:29 -04:00
Ehsan Akhgari
3fc836363c Bug 1060987 - Fix more bad implicit constructors in DOM; r=baku 2014-09-01 18:00:53 -04:00
Carsten "Tomcat" Book
58c6388d00 Backed out changeset 67b286d214e3 (bug 877072) for m1 test failures 2014-09-01 12:01:09 +02:00
Gabor Krizsanits
6356f76c97 Bug 877072 - Script execution order for nested imports. r=mrbkap 2014-09-01 10:51:40 +02:00
Andrea Marchesini
24784441a1 Bug 1058470 - Blob URL should contain the origin as part of the URI, r=bz 2014-08-31 11:40:11 +01:00
Timothy Nikkel
a76130c172 Bug 1008942. When a network request for an image finishes during paint suppression and the image doesn't have a frame don't start a decode. r=mats
Either the image won't get a frame, or it will get a frame very soon and that frame will check its own visibility and kick off a decode if needed.
2014-06-25 23:45:08 -05:00
Daniel Holbert
c129ac8a05 Bug 1056166 followup: move margin{SIDE} and textAlign atoms out of '#ifdef ACCESSIBILITY' section, to fix --disable-accessibility builds. r=ehsan 2014-08-31 00:56:26 -07:00
Tanvi Vyas
17e29eab33 Bug 1058836 - Set aDecision parameter to block by default and update cases where it wasn't initially set in nsMixedContentBlocker.cpp. r=smaug 2014-08-29 12:57:08 -07:00
Ryan VanderMeulen
586de84792 Merge m-c to inbound. a=merge
--HG--
extra : rebase_source : 3282a3113131b9cdc5b808ad75a834516c43ef73
2014-08-29 15:39:48 -04:00
Neil Rashbrook
17fce4c1c0 Bug 1054289 Scroll to the current ref, not the original one r=smaug 2014-08-29 20:34:35 +01:00
Ryan VanderMeulen
e3a1f87d6e Merge b2g-inbound to m-c. a=merge 2014-08-29 15:26:40 -04:00
Carsten "Tomcat" Book
5a4bb2d7e4 Merge mozilla-central to b2g-inbound a=merge 2014-08-29 15:41:02 +02:00
Aryeh Gregor
e53aa50e33 Bug 1056166 part 4 - Remove nsEditProperty; r=ehsan 2014-08-29 14:43:24 +03:00
Fabrice Desré
96c6995ef0 Bug 1011738 - Theme support for b2g/gaia, Part 4 : security checks r=bent,bz 2014-08-28 17:20:27 -07:00
Fabrice Desré
49f709b1c3 Bug 1011738 - Theme support for b2g/gaia, Part 2 : stylesheet reloading r=bz,seth 2014-08-28 17:20:27 -07:00
Botond Ballo
d7ca1856d5 Bug 1057642 - Revert [Int]::PointTyped::[x|y] to be of primitive type. r=kats
--HG--
extra : rebase_source : 55e56423f6c8f5278315a6dc9dfcb9fb983c9309
2014-08-28 12:45:48 -04:00
Timothy Nikkel
0f0dc78210 Bug 1051530. Update the nsImageLoadingContent state when we get a decode complete notification so that decode errors are recorded in our image state. r=bzbarsky
In nsImageLoadingContent whether a decode error put our image state into error depends on when the decode starts in relation to the network load event for the image. In nsImageLoadingContent::OnStopRequest if a decode has been started then we wait until the decode is complete to fire the load/error event. When we fire this event we also update the image state. However if a decode has not started by the time OnStopRequest runs, but a decode does happen later then when it completes nsImageLoadingContent::Notify does nothing, and our image state stays as non-error.
2014-08-28 13:43:21 -05:00
Martijn Wargers
9574551f0a Bug 1058451 - Intermittent test_CSP_bug885433.html | Inline script should be allowed - Result logged after SimpleTest.finish(). r=sstamm 2014-08-26 17:59:42 +02:00
Gabor Krizsanits
4a848bb681 Bug 1056841 - Always nulling mContainingShadow in Element::UnbindFromTree. r=wchen 2014-08-28 13:53:21 +02:00
Nicholas Nethercote
76e113b3e1 Bug 1059056 - Instantiate nsDOMAttributeMap::mAttributeCache lazily. r=bz.
--HG--
extra : rebase_source : 081273d98319c24e770a45ca4c146adfc21c2287
2014-08-26 22:46:24 -07:00
Trevor Saunders
375f0262b0 bug 1049758 - fixup copy and move ctors for children iterators r=wchen 2014-08-06 14:21:28 -04:00
Andrea Marchesini
06c7d2d47f Bug 1059215 - Get rid of nsIDOMFile::GetInternalUrl, r=bz 2014-08-27 17:16:31 +01:00
Chris Pearce
708e5b48b9 Bug 1057173 - Rename MediaKeyNeededEvent to MediaEncryptedEvent. r=bz
--HG--
rename : content/media/eme/MediaKeyNeededEvent.cpp => content/media/eme/MediaEncryptedEvent.cpp
rename : content/media/eme/MediaKeyNeededEvent.h => content/media/eme/MediaEncryptedEvent.h
rename : dom/webidl/MediaKeyNeededEvent.webidl => dom/webidl/MediaEncryptedEvent.webidl
2014-08-27 20:46:56 +12:00
William Chen
3f5e38c7c5 Bug 887541 - Implement web components event path and event retargeting. r=smaug 2014-08-26 20:19:56 -07:00
Nicholas Nethercote
a0610aa3c0 Bug 1057912 - Privatize most of PLDHashTable's fields. r=roc.
--HG--
extra : rebase_source : 0f55e70b63d9c191fbd9418cb1177ff534deeed9
2014-08-25 16:56:33 -07:00
Matt Woodrow
5cab7e3dd9 Bug 936690 - Remove nsIContentView and nsIContentViewManager. r=roc 2014-08-27 10:56:24 +12:00
Ting-Yu Chou
c24a6d751d Bug 1057065 - Remove obsolete code causes extra preallocated process to complement the patch of bug 1033618. r=khuey
--HG--
extra : rebase_source : 243e1288e44bd1d6560bdf8de479af0f9888f95e
2014-08-26 10:22:21 +08:00
Kearwood (Kip) Gilbert
152d087c78 Bug 1022818 - Part 2: Implement Smooth Scrolling. r=bz
- Updated ScrollTo method in nsGlobalWindow to accept a
  mozilla::dom::ScrollOptions parameter to select between the instant
  and smooth MSD motion.
- Updated WebIDL binding boilerplate scrolling functions in nsGlobalWindow
  to pass the correct value of mozilla::dom::ScrollBehavior to the
  implementation and functions, activating smooth scrolling.
- These functions will need to be updated again to support the scroll-behavior
  CSS property in Bug 1010538.

--HG--
extra : rebase_source : 7c9ce94d09fed5c4aea63442d683876c0a9a2e50
2014-08-05 15:01:34 -07:00
Kearwood (Kip) Gilbert
a38d0e6bab Bug 1022818 - Part 1: Update webidl interfaces. r=bz
- Extended the Element and Window webidl interfaces as described in the
  CSSOM-View smooth-scrolling specification.
- The Element.scrollTop and Element.scrollLeft changes have been omitted
  until either WebIDL is extended to allow properties to have union datatypes
  that contain dictionaries or the CSSOM-View smooth-scroll specification
  is upddated.  This will not prevent the other interface changes from being
  useful.
- Implemented wrapper functions for the nsGlobalWindow to connect to the new
  WebIDL bindings.  The ScrollOptions parameters are ignored in this patch,
  and used in Part 3 of this patch series.

--HG--
extra : rebase_source : db617cb63780e039ad69e4ed100c13042c676949
2014-08-05 15:01:32 -07:00
Johnny Stenback
2f2aedd072 Bug 798188. Use NS_WRAPPERCACHE_INTERFACE_TABLE_ENTRY in table based QI implementations. r=peterv
---
 content/base/src/Attr.cpp                                  | 2 +-
 content/base/src/DOMRect.cpp                               | 2 +-
 content/base/src/FragmentOrElement.cpp                     | 2 +-
 content/base/src/nsContentList.cpp                         | 2 +-
 content/base/src/nsDOMAttributeMap.cpp                     | 2 +-
 content/base/src/nsDocument.cpp                            | 2 +-
 content/html/content/src/HTMLFormControlsCollection.cpp    | 2 +-
 content/html/content/src/HTMLOptionsCollection.cpp         | 2 +-
 content/html/content/src/HTMLPropertiesCollection.cpp      | 4 ++--
 content/html/content/src/HTMLTableElement.cpp              | 2 +-
 content/media/webspeech/synth/SpeechSynthesisUtterance.cpp | 1 -
 dom/events/PaintRequest.cpp                                | 2 +-
 dom/xbl/XBLChildrenElement.cpp                             | 2 +-
 13 files changed, 13 insertions(+), 14 deletions(-)
2014-08-25 16:21:35 -07:00
Wes Kocher
b11f0a72f7 Backed out changeset 59f193167901 (bug 1049758) for build bustage on a CLOSED TREE 2014-08-25 14:26:12 -07:00
Trevor Saunders
37b6fbda07 bug 1049758 - fixup copy and move ctors for children iterators r=wchen 2014-08-06 14:21:28 -04:00
Ryan VanderMeulen
f714ce6d89 Merge m-c to inbound. a=merge 2014-08-25 16:28:25 -04:00
Ryan VanderMeulen
aa61f50d35 Merge m-c to b2g-inbound. a=merge
CLOSED TREE
2014-08-25 13:07:41 -04:00
Ryan VanderMeulen
3b99d0fa33 Merge inbound to m-c. a=merge
CLOSED TREE
2014-08-25 11:49:37 -04:00
Andrea Marchesini
ff71440939 Bug 1055467 - Rename MozNamedAttrMap to NamedNodeMap, r=smaug
--HG--
rename : dom/webidl/MozNamedAttrMap.webidl => dom/webidl/NamedNodeMap.webidl
2014-08-25 10:25:34 +01:00
Georgios Kontaxis
cd6f7af784 Bug 1043803: checkIdentity following onSecurityChange now shows doorhanger on STATE_LOADED_MIXED_ACTIVE_CONTENT. Doorhanger now acknowledges this new state. r=adw 2014-08-22 20:26:03 -07:00
Georgios Kontaxis
e4617593b3 Bug 1043797: extended popup notifications to create a generic doorhanger for all security notifications incl. mixed content r=adw
--HG--
rename : browser/themes/linux/mixed-content-blocked-16.png => browser/themes/linux/bad-content-blocked-16.png
rename : browser/themes/linux/mixed-content-blocked-64.png => browser/themes/linux/bad-content-blocked-64.png
rename : browser/themes/osx/mixed-content-blocked-16.png => browser/themes/osx/bad-content-blocked-16.png
rename : browser/themes/osx/mixed-content-blocked-16@2x.png => browser/themes/osx/bad-content-blocked-16@2x.png
rename : browser/themes/osx/mixed-content-blocked-64.png => browser/themes/osx/bad-content-blocked-64.png
rename : browser/themes/osx/mixed-content-blocked-64@2x.png => browser/themes/osx/bad-content-blocked-64@2x.png
rename : browser/themes/windows/mixed-content-blocked-16.png => browser/themes/windows/bad-content-blocked-16.png
rename : browser/themes/windows/mixed-content-blocked-64.png => browser/themes/windows/bad-content-blocked-64.png
2014-08-22 15:34:25 -07:00
Wes Kocher
1330f3416d Merge inbound to m-c a=merge 2014-08-22 16:47:32 -07:00
Botond Ballo
044a16b30d Bug 1053975 - Take device scale into account when calculating default viewport size. r=kats,mbrubeck 2014-08-15 11:58:03 -04:00
Ted Clancy (:tedders1)
c55dee3ae2 Bug 1055427 - Add KillChild() method to nsIMessageManager. r=sicking
Patch originally from bug 1000313.
2014-08-12 08:59:47 -04:00
C.J. Ku
c9284798c3 Bug 974242 - Bring FullZoom into nsDocument::GetViewportInfo. r=mbrubeck, r=kats
--HG--
extra : rebase_source : 4fd84defb47c9eb5bcea849fde61e6e09dc5e9a3
2014-08-10 02:50:07 +08:00
Christoph Kerschbaumer
f21eacaf5f Bug 1049289 - CSP: Test that fragments are stripped in csp-reports (r=sstamm) 2014-08-07 12:51:50 -07:00
Christoph Kerschbaumer
c3e52da5e2 Bug 1049289 - CSP: Strip uri fragments before sending csp-reports (r=sstamm) 2014-08-05 16:12:16 -07:00
Christoph Kerschbaumer
74957dd10b Bug 1053028 - Remove remaining relicts of deprecated X-CSP header (r=sstamm) 2014-08-12 21:15:56 -07:00
Trevor Saunders
b6b2d4b019 bug 1047696 - mark a number of classes MOZ_FINAL to get compilers to devirtualize more r=froydnj 2014-08-05 13:33:55 -04:00
Matt Woodrow
39d0f7f70c Bug 1056427 - Stop PRenderFrame from managing PLayerTransaction since it hasn't worked since the layers refactoring. r=roc
--HG--
extra : rebase_source : 38c86648bb8e59a6b992bd377acb9aacb418c98b
2014-08-22 12:16:44 +12:00
Bobby Holley
6c86c8eebd Bug 981218 - Remove default compartment objects. r=luke
\o/
2014-08-21 17:13:51 -07:00
Bobby Holley
0f5695edc4 Bug 1056271 - Switch to GetEntryGlobal in DOMParser::Init. r=smaug 2014-08-20 17:45:04 -07:00
Ryan VanderMeulen
07c694a4e3 Merge m-c to inbound. a=merge
CLOSED TREE
2014-08-20 16:23:04 -04:00
Ryan VanderMeulen
aff546e81b Merge inbound to m-c. a=merge 2014-08-20 16:14:23 -04:00
Ed Morley
a177c6b3c5 Merge mozilla-central and fx-team 2014-08-20 15:18:31 +01:00
Ed Morley
cd48fd4080 Merge latest green b2g-inbound changeset and mozilla-central; a=merge 2014-08-20 14:46:55 +01:00
Mike Conley
f66800f7f8 Bug 961362 - DOM Fullscreen API support for e10s. r=smaug,billm. 2014-08-19 16:58:00 -04:00
Ryan VanderMeulen
7e4df53bec Merge inbound to m-c. a=merge 2014-08-19 16:09:47 -04:00
Fabrice Desré
9b50f59ed0 Bug 899322 - Convert the mozApps API to use webidl r=marco,bholley 2014-08-19 09:30:54 -07:00
Lynn Tran
6f27f291a9 Bug 1041335 - Add a mozilla::services getter for nsIServiceWorkerManager; r=ehsan 2014-08-18 21:13:14 -04:00
Bill McCloskey
39c3da9225 Bug 1050360 - Fix script blocker warning (r=smaug) 2014-08-19 17:24:55 -07:00
Ryan VanderMeulen
e4b5cf1d02 Merge m-c to inbound. a=merge 2014-08-19 16:25:33 -04:00
Botond Ballo
54aeea8833 Bug 923512 - Introduce strongly-typed coordinate classes. r=kats,Bas
--HG--
extra : rebase_source : 22e5fe577ea503aede765c70e16c0bf875c4a9fd
2014-08-19 13:08:16 -04:00
Junior Hsu
012e6ed0a7 Bug 1005818 - Part 2: Only limited browser API are available to a widget. r=kanru
1. Add |ownerIsWidget| in nsIFrameLoader.idl
2. Add |GetReallyIsWidget| in nsIMozBrowserFrame.idl
3. Hide the methods of browser API of a widget
4. Hide security-sensitive mozbrowser events of a widget
2014-08-19 15:14:22 +01:00
Junior Hsu
7c8c44b873 Bug 1005818 - Part 1: Load a widget as an app if the |src| is in the |widgetPages|. r=fabrice, sr=sicking
1. Add permission |embed-widgets| and Element attribute |mozwidget|
2. Add |hasWidgetPage| in /mozIApplication.idl
3. Check permission |embed-widgets| and the |src| is in the |widgetPages| when |GetAppManifest|
4. Add test case
5. Should enable preference |dom.enable_widgets|
2014-08-19 15:14:08 +01:00
Ed Morley
8265642165 Backed out changeset e020d647d6d3 (bug 1005818) for exceptions during test_widget.html 2014-08-19 15:06:12 +01:00
Ed Morley
e5e3a2cfc3 Backed out changeset e71a3cac1b3d (bug 1005818) 2014-08-19 15:05:51 +01:00
Kyle Machulis
cd2685e7ac Bug 1055898 - Readd include of nsIContent.h to nsINodeList.h; r=bz 2014-08-19 19:32:25 -07:00
Bobby Holley
026f51f0d3 Bug 796938 - Switch nsHTMLDocument::Open and XMLDocument::Load to a new GetEntryDocument API and remove nsContentUtils::GetDocumentFromContext. r=smaug 2014-08-19 12:02:06 -07:00
Bobby Holley
e1824e5875 Bug 796938 - Switch nsGlobalWindow::Focus to GetEntryGlobal and eliminate nsContentUtils::GetWindowFromCaller. r=smaug 2014-08-19 12:02:05 -07:00
Bobby Holley
a54113a4dd Bug 951991 - Implement GetEntryGlobal. r=smaug 2014-08-19 12:02:05 -07:00
Christoph Kerschbaumer
cd170f13e2 Bug 1045902: CSP - log warning and ignore 'reflected-xss' directive (r=grobinson)
--HG--
extra : rebase_source : 9625060894079debd9cee8bc50bdc3b3be1ee18f
2014-07-31 22:24:07 -07:00
Bill McCloskey
88430aac1d Bug 1052093 - Child->parent CPOWs should go through COWs in the parent for security (r=bholley) 2014-08-20 12:49:10 -07:00
Junior Hsu
3452a4c90a Bug 1005818 - Part 2: Only limited browser API are available to a widget. r=kanru
1. Add |ownerIsWidget| in nsIFrameLoader.idl
2. Add |GetReallyIsWidget| in nsIMozBrowserFrame.idl
3. Hide the methods of browser API of a widget
4. Hide security-sensitive mozbrowser events of a widget
2014-08-04 09:06:26 +08:00
Junior Hsu
1ec54a88be Bug 1005818 - Part 1: Load a widget as an app if the |src| is in the |widgetPages|. r=fabrice, sr=sicking
1. Add permission |embed-widgets| and Element attribute |mozwidget|
2. Add |hasWidgetPage| in /mozIApplication.idl
3. Check permission |embed-widgets| and the |src| is in the |widgetPages| when |GetAppManifest|
4. Add test case
5. Should enable preference |dom.enable_widgets|
2014-07-03 13:47:09 +08:00
Ted Clancy (:tedders1)
e2263e985b Bug 1000315 - Part 8: Various tests skip uninstall prompt. r=sicking 2014-06-12 09:53:54 -07:00
Wes Kocher
aa4a8265fb Merge m-c to inbound a=merge 2014-08-22 17:05:17 -07:00
Olli Pettay
ceb34d2d4a Bug 314095 - Eliminate nsIContent::GetDocument, r=jst
--HG--
extra : rebase_source : dd8f690940825b298a478b65b68a57418a9962ff
2014-08-22 23:11:27 +03:00
Mike Conley
cc9eb6a685 Bug 1058164 - pageshow and pagehide events with the persisted property are not dispatched to content scripts when swapping frame loaders. r=smaug,felipe.
Frame scripts were not getting pageshow and pagehide events with the persisted
property during frameloader swapping due to the fact that the event target for
those events was set to be the chrome event handler. This patch makes the
event target be the nsInProcessTabChildGlobal instead, so frame scripts see
the events. This still needs to be fixed for the e10s case, but that will
have to wait until bug 918634 is fixed.

--HG--
extra : source : 738461f289977e9b7e975831a4755cda6f6ab49e
extra : histedit_source : 8255ca9aa900adf1216de8cf9f4ceec8e5c2a71c%2Cd20e41b1200bac5dab5bbdad8cc22293ec92dbea
2014-09-02 23:09:24 -04:00
Mike Conley
27adf3e779 Bug 1058164 - Test that we get pageshow and pagehide events in content scripts when swapping frameloaders. r=smaug.
--HG--
extra : rebase_source : 41e6bf3145fd32358b736485b6b56bdced6d1e01
extra : histedit_source : fd7e7f0ba12393755d0111dee9fd1f9377f09623%2C0adc2c95bf5d1af2b413e9d69be6b73c986e8efd
2014-09-02 23:09:12 -04:00
Bobby Holley
365f71849d Bug 1052089 - Rename JunkScope to PrivilegedJunkScope and remove fallibility of singleton scope access. r=billm
These two things ended up getting mushed together in my tree.
2014-08-18 10:57:30 -07:00
Bobby Holley
335a978404 Bug 1052089 - Sprinkle some assert against using nsContentUtils too early. r=billm
And earlier version of these patches called nsContentUtils::GetSystemPrincipal()
too early, which returned null, and caused xpc::CreateSandboxObject to create
an nsNullPrincipal. Let's avoid having that happen again.
2014-08-18 10:57:28 -07:00
Aryeh Gregor
4ae55a890c Bug 1053190 - Reduce unnecessary inclusion of nsINode.h in headers; r=ehsan 2014-08-18 17:44:50 +03:00
Aryeh Gregor
09d8b9e82f Bug 1010760 - Add nsINode::GetAsText; r=smaug 2014-08-13 14:53:32 +03:00
Aryeh Gregor
2fe2eaeebb Bug 1052427 - Make nsContentUtils::ASCIIToLower/ASCIIToUpper infallible; r=smaug 2014-08-13 14:53:32 +03:00
Chris Peterson
714b628e3e Bug 1046006 - Remove telemetry for JS versions (JS_MINOR_VERSION). r=till 2014-07-29 23:05:50 -07:00
Chris Pearce
edbe37dc8e Bug 1035056 part 1 - Force CDMProxy to shutdown on tab close or navigation. r=ehsan 2014-08-18 09:41:50 +12:00
Catalin Badea
2758a8129c Bug 853995 - Move plugin parameters array from nsPluginInstanceOwner to content. r=johns,jst 2014-08-15 14:24:40 -07:00
Steve Fink
1928cb3996 Bug 1037358 - Fix up ArrayBufferObject malloc accounting, assigning to correct zone for all types, r=terrence,froydnj,smaug 2014-08-12 16:59:12 -07:00
Bobby Holley
30602c16ab Bug 1052052 - Hoist Auto*JSContext into nsContentUtils and kill nsCxPusher.{cpp,h}. r=gabor 2014-08-14 18:47:15 -07:00
Bobby Holley
621ac36fa6 Bug 1052052 - Hoist AutoCxPusher into ScriptSettings.h. r=gabor 2014-08-14 18:47:15 -07:00
Ryan VanderMeulen
8c15c6ab96 Backed out changesets 5b1a3161f614, 17a9673ed782, and a9b8c346d295 (bug 1052052) for B2G non-unified bustage. 2014-08-14 17:23:10 -04:00
Bobby Holley
b6d099f558 Bug 1052052 - Hoist Auto*JSContext into nsContentUtils and kill nsCxPusher.{cpp,h}. r=gabor 2014-08-14 12:54:34 -07:00
Bobby Holley
516a8b2f4c Bug 1052052 - Hoist AutoCxPusher into ScriptSettings.h. r=gabor 2014-08-14 12:53:52 -07:00
David Keeler
e3f3105dab bug 1030963 - remove non-standard window.crypto functions/properties r=jst r=briansmith r=glandium 2014-08-14 09:38:42 -07:00
Seth Fowler
92c9ca0cf0 Bug 913586 (Part 3) - Update Maybe users in content. r=bent
--HG--
extra : rebase_source : 79526555fcb097068b9d0b54b90e35b0d53eb43e
2014-08-13 15:39:41 -07:00
David Major
6eff25ea3c Bug 1051858: Update UUIDs that should have been revved in bug 741295. r=smaug
--HG--
extra : rebase_source : ec9740e1a9794ae8d974f36a503e97fb2e4fc95e
2014-08-14 10:38:29 +12:00
Jon Coppeard
e0d8a1ab35 Bug 1052388 - Rename JS_CallHeapFooTracer() functions to JS_CallFooTracer() r=terrence r=smaug 2014-08-13 10:05:22 +01:00
Trevor Saunders
082dd2bdfd bug 1016545 - Provide an iterator that iterates over all children of an element r=bz 2014-07-16 14:41:57 -04:00
Andrew McCreight
551645960d Backout bug 1038243 for not actually helping. 2014-08-12 10:55:29 -07:00
Martijn Wargers
06d99401c1 Bug 1032878 - Fix for various failing mochitest-plain/-chrome tests. r=jmaher, r=akachkach, r=surkov, r=cpearce 2014-08-10 20:03:50 -07:00
Ed Morley
79151b5134 Merge mozilla-central and inbound 2014-08-12 17:56:08 +01:00
Ed Morley
1129a8ed5e Merge latest green b2g-inbound changeset and mozilla-central; a=merge 2014-08-12 17:05:36 +01:00
Jamin Liu
ce6e38e6ed Bug 1036234 - Implement pairing event handlers of BluetoothAdapter. r=btian, r=mrbkap
- EventHandler ondevicepaired;
- EventHandler ondeviceunpaired;
2014-08-12 16:30:42 +08:00
Bobby Holley
c3b77ac838 Bug 1050049 - Implement bindToUntrustedContent attribute restriction. r=smaug 2014-08-11 20:06:55 -07:00
Nigel Babu
7e2132868b Backed out changeset a471c7c73409 (bug 1036234) for build bustage on A CLOSED TREE 2014-08-12 09:00:08 +05:30
Jamin Liu
3f63587fec Bug 1036234 - Implement pairing event handlers of BluetoothAdapter. r=btian, r=mrbkap
- EventHandler ondevicepaired;
- EventHandler ondeviceunpaired;
2014-08-12 10:49:59 +08:00
John Schoenick
67a7224834 Bug 1041691 - Cleanup CheckPluginStopEvent, prevent possible leak of running plugin. r=bsmedberg 2014-08-11 17:25:57 -07:00
Wes Kocher
c2ecdbcdd9 Backed out 4 changesets (bug 1032878) for probably introducing a leak, creating a CLOSED TREE
Backed out changeset 780c948d79f3 (bug 1032878)
Backed out changeset 0cfcc44660a8 (bug 1032878)
Backed out changeset 991f8d5da382 (bug 1032878)
Backed out changeset f54984be223e (bug 1032878)
2014-08-11 14:27:57 -07:00
Trevor Saunders
8b191001ec bug 1047628 - simplify nsMutationGuard r=smaug 2014-08-01 16:30:58 -04:00
Martijn Wargers
37c3c7166b Bug 1032878 - Fix for various failing mochitest-plain/-chrome tests. r=jmaher, r=akachkach, r=surkov, r=cpearce 2014-08-10 20:03:50 -07:00