Commit Graph

9175 Commits

Author SHA1 Message Date
Gijs Kruitbosch
6f78775522 Bug 1245264, r=bz
MozReview-Commit-ID: I0sVdritpD3

--HG--
extra : amend_source : 32de6ea861f1ab58390f94fd55eb5ea698a56723
2016-02-12 11:21:01 +00:00
Mats Palmgren
28b48ce024 Bug 1216001 part 2 - Optimize nsRange::ExcludeNonSelectableNodes by counting ignorable whitespace text nodes next to an unselectable node as unselectable too. r=bz 2016-02-13 18:40:23 +01:00
Mats Palmgren
f3949ab1d3 Bug 1216001 part 1 - Optimize nsRange::IsNodeSelected. r=bz 2016-02-13 18:40:23 +01:00
Andrea Marchesini
f114621a79 Bug 1248022 - ConsoleEvent.styles can be a sequence of nullable strings, r=bz 2016-02-13 16:08:17 +00:00
Jonathan Kew
c0a5d86d94 Bug 1246346 - patch 2 - Correct the origin of the DOM screen coordinates (screen.left, screen.top) for secondary display on a mixed-DPI configuration. r=emk 2016-02-12 11:08:58 +00:00
Phil Ringnalda
9d0e08b626 Back out 3 changesets (bug 1216001) for Win8 reftest failures in 1193519-sideways-lr-3.html and 1193519-sideways-lr-4.html and intermittent OS X failures in font-display-2.html
CLOSED TREE

Backed out changeset dbadb8fe5803 (bug 1216001)
Backed out changeset a30593ebd58e (bug 1216001)
Backed out changeset c1646ffa71b4 (bug 1216001)
2016-02-11 20:43:41 -08:00
Mats Palmgren
41740a7ab3 Bug 1216001 part 2 - Optimize nsRange::ExcludeNonSelectableNodes by counting ignorable whitespace text nodes next to an unselectable node as unselectable too. r=bz 2016-02-12 02:13:57 +01:00
Mats Palmgren
a3c53b91a3 Bug 1216001 part 1 - Optimize nsRange::IsNodeSelected. r=bz 2016-02-12 02:13:57 +01:00
Deepthi Venkitaramanan
008e6b8991 Bug 1244328 - Merge the functionality of DOMSettableTokenList into DOMTokenList and make everything that used to refer to DOMSettableTokenList refer to DOMTokenList instead. r=bzbarsky 2016-02-11 17:50:42 -05:00
Matt Wobensmith
22c63dd7b5 Bug 1246227 - Remove SEC_NORMAL from dom/base/test (r=ckerschb) 2016-02-10 14:44:15 -08:00
Nathan Froyd
69d27155df Bug 1247362 - move mAnonymousGlobalScope tracing into nsMessageManagerScriptExecutor; r=mccr8 2016-02-09 17:08:53 -05:00
Andrea Marchesini
a1204e41a8 Bug 1245957 - Adding assertions in Console about in which thread is running what, r=bz 2016-02-11 17:11:02 +00:00
Andrea Marchesini
e20d589c0b Bug 1245954 - Console StartTimer/StopTimer and IncrementCounter should run in the owning thread, r=bz 2016-02-11 17:09:22 +00:00
Alexander Surkov
21059cdc0b Bug 1247364 - add AllChildrenIterator::Seek, r=bz 2016-02-11 08:22:39 -05:00
Carsten "Tomcat" Book
f8f6be136b Backed out changeset 84b8eef80b22 (bug 1234813)
--HG--
extra : rebase_source : e11b61b728cfde2f6b807f1bcffbe932585ac8db
2016-02-11 11:32:32 +01:00
Christoph Kerschbaumer
1eafcb40c7 Bug 1234813 - sendBeacon should not throw if blocked by Content Policy. r=rbarnes 2015-12-23 11:50:05 -08:00
Aidin Gharibnavaz
686438c658 Bug 1164581 - Adding an overload for NS_ProxyRelease that accepts already_AddRefed, and removing all the others. r=bobbyholley 2016-02-10 08:23:00 +01:00
Nicholas Nethercote
8c78eddc4e Bug 1246846 (part 1) - Avoid nsTHashtable::RawRemoveEntry() in dom/. r=bz.
This assumes that it's safe to possibly shrink the tables after the removal,
i.e. there are no surprising subtleties with how these tables are managed.

--HG--
extra : rebase_source : 2012becaa759d4330910534375b7ac2a9839fe50
2016-02-09 13:52:21 +11:00
Kartikaya Gupta
7c935ef5ba Bug 1235899 - Don't allow frame reconstruction to clobber the APZ scroll offset. r=botond
MozReview-Commit-ID: HZMavMJNtmq
2016-02-10 16:31:20 -05:00
Valentin Gosu
35e6e18584 Bug 583170 - Handling IPv6 literal address differently to other browsers r=bz 2016-02-10 13:13:00 +01:00
Jorg K
af4cfedcf9 Bug 1230163 - White-space copy issue: Add conditional compile also for SeaMonkey. r=ehsan 2016-02-09 06:47:00 +01:00
Boris Zbarsky
7655d2a3f8 Bug 1245554. Window's named properties object should not claim to have duplicates of a given property name if it has multiple iframes with that name. r=peterv
The web platform test was pretty buggy in a few ways:

1)  It claimed that "bar" should be non-writable and enumerable.  This
explicitly contradicts the spec:
http://heycam.github.io/webidl/#named-properties-object-getownproperty step 3
substep 8 sets [[Writable]] to true, and
https://html.spec.whatwg.org/multipage/browsers.html#named-access-on-the-window-object
explicitly says these properties are unenumerable.

2)  It claimed that "constructor" should be exposed on the named properties
object.  But the named property visibility algorithm obviously returns false
for that property name, so it should not be exposed.
2016-02-09 17:40:45 -05:00
Boris Zbarsky
24566ec012 Bug 1243001 part 7. Stop wrappercaching dom::Promise when SPIDERMONKEY_PROMISE is defined. r=peterv
nsWrapperCache expects the object it stores to have an ObjectMoved op that will
notify the wrapper cache when the object is moved.  SpiderMonkey promises don't
have a way to do this.

The XPCConvert changes are needed to allow code that passes around Promise
objects as nsISupports to continue working instead of ending up with
double-wrapped nsISupports (XPCWrappedNative for an nsISupports XPCWrappedJS)
around the SpiderMonkey Promise.
2016-02-09 17:40:31 -05:00
Boris Chiou
8627ee5709 Bug 1174575 - Part 5: Support pseudo-element type in StyleAnimation. r=birtles
Add one more argument, nsCSSPseudoElement::Type, for
StyleAnimation::ComputeValue and StyleAnimation::ComputeValues
2016-02-09 05:04:00 +01:00
Boris Chiou
84a4a3fe03 Bug 1174575 - Part 3: Implement KeyframeEffectReadOnly::GetTarget(). r=birtles
Implement GetTarget() and functions of CSSPseudoElement.
We use a strong reference from CSSPseudoElement to Element and a non-owning
reference from Element to CSSPseudoElement.
2016-02-01 23:59:00 +01:00
Boris Chiou
2f694d7e1e Bug 1174575 - Part 2: Replace Element in KeyframeEffectReadOnly WebIDL. r=birtles, r=smaug
Use (Element or CSSPseudoElement)? as the first arguement of constructor and
the type of target.
2016-02-05 19:01:00 +01:00
Myk Melez
a6aff185d2 Bug 1238576 - disable mozApps API on desktop/Android; r=ehsan,ochameau,bz,mcmanus,jmaher,marco 2016-02-08 11:24:22 -08:00
Carsten "Tomcat" Book
5b358688b7 Backed out changeset c18e29c1b369 (bug 1164581) for cpp unit tests test failures
--HG--
extra : rebase_source : fb6fd434c8e3f4b5fa53ea645a54c07cab207894
2016-02-08 11:17:38 +01:00
Aidin Gharibnavaz
69cf7e035f Bug 1164581 - Adding an overload for NS_ProxyRelease that accepts already_AddRefed, and removing all the others. r=bobbyholley
--HG--
extra : rebase_source : 3c6bba6613a14e48239d302bdd0f7fe2e322265d
2016-02-07 10:56:00 +01:00
Andrea Marchesini
2de5821ca7 Bug 1244995 - Console should trace the arguments correctly, r=bz 2016-02-07 10:29:12 +00:00
Jonathan Kew
08f9b29485 Bug 1240085 - Revert to CSS-pixel units for screenX, screenY, moveTo() APIs, and adjust the origin for secondary displays with differing resolution to avoid overlapping coordinate spaces. r=emk 2016-02-05 16:29:33 +00:00
Olli Pettay
56258865b9 Bug 1245452, null check window->GetDocShell return value, r=khuey
--HG--
extra : rebase_source : 411ce81c3471f398e60a26a9dd35d6f491af40ee
2016-02-05 21:22:31 +02:00
Jeffrey Tran
61a754e3d2 Bug 938699 - Remove FindElementWithViewId from nsIDOMWindowUtils.idl and nsDOMWindowUtils.cpp. r=kats
--HG--
extra : commitid : DV0Xw3rNDyo
2016-02-05 16:31:18 -05:00
Kyle Huey
730d44a1af Bug 1245950: Followup to null check before asserting. r=me CLOSED TREE 2016-02-05 12:24:54 -08:00
Wes Kocher
ddcc30c564 Backed out changeset 4fa1296bd773 (bug 1104916) for win debug m(oth) permafails CLOSED TREE
--HG--
extra : commitid : HW3icAqLZUB
2016-02-05 11:42:55 -08:00
Kyle Huey
9d72cec3c2 Bug 1245950: Privately inherit from legacy interfaces nsIDOMWindow/nsIDOMWindowInternal. r=smaug
If you still need to get to these from C++ for some reason, you need to go through QueryInterface.

--HG--
extra : rebase_source : 3f0a71db0fb1dc48411aee19734446ea4f6e2e82
2016-02-05 10:12:25 -08:00
Carsten "Tomcat" Book
60c4cde799 Backed out changeset 76c66d5a8196 (bug 1000870) 2016-02-05 13:57:31 +01:00
Andrea Marchesini
b1ed8d2fbf Bug 1245951 - "Unused method in WebSocket". r=smaug 2016-02-04 11:40:00 +01:00
Brendan Dahl
b25b48552b Bug 1104916 - Implement CSS media query display-mode. r=cam 2016-02-04 13:34:00 +01:00
Maksim Lebedev
75f766038d Bug 1000870 - Add some features in testing system. r=smaug 2015-05-19 07:03:00 +02:00
Bill McCloskey
d70c91802b Bug 1210099 - Fix structured clone of expanded principal (r=bholley) 2016-02-04 22:30:21 -08:00
Phil Ringnalda
7e2cefc94c Merge m-c to m-i 2016-02-04 19:26:14 -08:00
Brian Birtles
73e4706ab3 Bug 1239889 part 1 - Throw if the animation target does not have a current document; r=heycam
This is just a temporary measure to avoid a failed assertion / crash until we
fix bug 1245748.
2016-02-05 14:11:04 +11:00
William Chen
a7c2c21d89 Bug 1245242 - Normalize to unit vector for DOMMatrix.rotateAxisAngleSelf. r=roc 2016-02-04 00:30:00 -08:00
Mike de Boer
4af5fc2b24 Bug 1154277: Part 1 - allow to swap docShells on remote browsers that are not a child of a BrowserDOMWindow. r=smaug 2016-02-04 12:50:03 +01:00
Ting-Yu Lin
802d6dee0d Bug 591737 - Add SummaryFrame. r=bz
--HG--
extra : commitid : 61ZPHBOWyKH
extra : rebase_source : 860919e85da1fc1593f084dcc1e011e1e6cddba3
2016-02-02 17:39:06 +08:00
Ting-Yu Lin
cff36a1352 Bug 591737 - Add DetailsFrame. r=bz
--HG--
extra : commitid : C6hHNXWpwO8
extra : rebase_source : 47b37776c4f029879bd02c0477e885104b2aaed5
2016-01-20 23:20:41 +08:00
Kyle Huey
8fc93f94a2 Bug 1245306: Devirtualize RefreshCompartmentPrincipal. r=smaug 2016-02-03 13:30:45 -08:00
Kyle Huey
84bb8c423e Bug 1245185: Remove dead event handling code from nsPIDOMWindow<T>. r=smaug 2016-02-03 13:30:45 -08:00
Kyle Huey
0483075e02 Bug 1245182: Move a few event handling functions to nsPIDOMWindowInner. r=smaug 2016-02-03 13:30:45 -08:00