Commit Graph

9191 Commits

Author SHA1 Message Date
Xidorn Quan
b9315a0e0a Bug 743198 part 11 - Update locales string to the new spelling as well as unprefixed API. r=smaug
The main motivation of this patch is to fix the prefixed function name
used in one string. But updated string should have different a different
identifier, otherwise it might be ignored. Since we should eventually
prefer using word "fullscreen" over "full-screen", it is easier to just
change all of them together.
2016-02-17 08:47:11 +08:00
Xidorn Quan
e717e0d7b7 Bug 743198 part 6 - Add unprefixed fullscreen events. r=smaug 2016-02-17 08:47:11 +08:00
Xidorn Quan
542ad9bac9 Bug 743198 part 4 - Rename LogFullScreenDenied to nsIDocument::DispatchFullscreenError, and reuse it in Element::RequestFullscreen. r=smaug 2016-02-17 08:47:11 +08:00
Xidorn Quan
6c40e9925c Bug 743198 part 3 - Refactor nsDocument::IsFullScreenEnabled to be static local function GetFullscreenError. r=smaug 2016-02-17 08:47:11 +08:00
Xidorn Quan
6536557784 Bug 743198 part 2 - Add unprefixed Fullscreen API to Document and Element. r=smaug 2016-02-17 08:47:11 +08:00
Xidorn Quan
d8dd8f560b Bug 743198 part 1 - Drop [Throws] of document.mozFullScreenElement. r=smaug
This method actually never throws. IsFullScreenDoc() simply checks
whether GetFullScreenElement() returns nullptr, which means if that
method returns true, the "!el" check would never fail.
2016-02-17 08:47:11 +08:00
Kyle Huey
e971692182 Bug 1247117: De-namespace much of IndexedDB. r=baku 2016-02-16 13:46:08 -08:00
Botond Ballo
efecde675e Bug 1238137 - Telemetry pings for main thread scrolling to bring the caret into view after moving it in response to keyboard input. r=ehsan 2016-02-03 20:36:24 -05:00
Carsten "Tomcat" Book
c0a8e566e1 merge mozilla-inbound to mozilla-central a=merge 2016-02-16 11:51:26 +01:00
Aidin Gharibnavaz
ea7185b2c6 Bug 1235830 - Renaming GetInternalNSEvent to WidgetEvent, in nsIDOMEvent r=smaug
MozReview-Commit-ID: Hm8Owq17KXn
2016-02-12 19:10:07 +03:30
ISHIKAWA, Chiaki
72d38a6835 Bug 1248252 - Improper outdated octal constant syntax in M-C tree. Use '0o' prefix. r=dao
Be warned. Do not attemp to change the .js "test" source code in ./js
They are meant to check

 - the outdated 0666 octal constant is still parsed correctly,
 - the outdated 0666 octal constant raises syntax error flag
   in strict mode, etc.

So leave them alone.
2016-02-15 08:57:00 +01:00
Jonathan Kew
5f64f3e098 Bug 1247049 - Optimize GetScreenXY by using the new nsDeviceContext method to get desktop scale factor. r=emk 2016-02-15 09:07:53 +00:00
Ryo Motozawa
b46e1a8f11 Bug 1244586 part 3 - Remove unnecessary spaces in dom/base/Element.cpp. r=smaug 2016-02-15 09:34:47 +09:00
Ryo Motozawa
6c325afca3 Bug 1244586 part 1 - Add KeyframeEffect constructor in dom/webidl/KeyframeEffect.webidl. r=smaug,birtles 2016-02-15 09:34:47 +09:00
Christoph Kerschbaumer
a8ecfc05b9 Bug 1247807 - Fix Mixed Content UI when using upgrade-insecure-requests (r=bz) 2016-02-12 14:51:07 -08:00
Mats Palmgren
e590a467e5 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
489f6ff1de Bug 1216001 part 1 - Optimize nsRange::IsNodeSelected. r=bz 2016-02-13 18:40:23 +01:00
Andrea Marchesini
4e6cd03da6 Bug 1248022 - ConsoleEvent.styles can be a sequence of nullable strings, r=bz 2016-02-13 16:08:17 +00:00
Jonathan Kew
f70e13148a 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
ca73975f7f 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
eaeed56302 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
dc4bb6c5e8 Bug 1216001 part 1 - Optimize nsRange::IsNodeSelected. r=bz 2016-02-12 02:13:57 +01:00
Deepthi Venkitaramanan
7ccb50bbf7 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
d9230afcc7 Bug 1246227 - Remove SEC_NORMAL from dom/base/test (r=ckerschb) 2016-02-10 14:44:15 -08:00
Nathan Froyd
f4abf5cefb Bug 1247362 - move mAnonymousGlobalScope tracing into nsMessageManagerScriptExecutor; r=mccr8 2016-02-09 17:08:53 -05:00
Andrea Marchesini
8629058199 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
74339faf7a 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
a2cfdd1d79 Bug 1247364 - add AllChildrenIterator::Seek, r=bz 2016-02-11 08:22:39 -05:00
Carsten "Tomcat" Book
c1a1ca6e7e Backed out changeset 84b8eef80b22 (bug 1234813) 2016-02-11 11:32:32 +01:00
Christoph Kerschbaumer
f5f567bc6b Bug 1234813 - sendBeacon should not throw if blocked by Content Policy. r=rbarnes 2015-12-23 11:50:05 -08:00
Aidin Gharibnavaz
e084f12c9a 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
7a68eb741b 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.
2016-02-09 13:52:21 +11:00
Kartikaya Gupta
ce22853404 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
a69b0397c9 Bug 583170 - Handling IPv6 literal address differently to other browsers r=bz 2016-02-10 13:13:00 +01:00
Jorg K
eefc0761e2 Bug 1230163 - White-space copy issue: Add conditional compile also for SeaMonkey. r=ehsan 2016-02-09 06:47:00 +01:00
Boris Zbarsky
d3dd406fd0 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
c1c0bcad04 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
b33754c9da 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
b525b562c2 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
9cfacb4283 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
42a2e4cb04 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
ab60132384 Backed out changeset c18e29c1b369 (bug 1164581) for cpp unit tests test failures 2016-02-08 11:17:38 +01:00
Carsten "Tomcat" Book
8dd0453e98 Merge mozilla-central to fx-team 2016-02-15 12:31:22 +01:00
Gijs Kruitbosch
bd0b743d83 Bug 1245264, r=bz
MozReview-Commit-ID: I0sVdritpD3
2016-02-12 11:21:01 +00:00
Aidin Gharibnavaz
238dcd01fc Bug 1164581 - Adding an overload for NS_ProxyRelease that accepts already_AddRefed, and removing all the others. r=bobbyholley 2016-02-07 10:56:00 +01:00
Andrea Marchesini
c60db6a193 Bug 1244995 - Console should trace the arguments correctly, r=bz 2016-02-07 10:29:12 +00:00
Jonathan Kew
1d9ea2945a 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
a7ca795414 Bug 1245452, null check window->GetDocShell return value, r=khuey 2016-02-05 21:22:31 +02:00
Jeffrey Tran
2414a7ffac Bug 938699 - Remove FindElementWithViewId from nsIDOMWindowUtils.idl and nsDOMWindowUtils.cpp. r=kats 2016-02-05 16:31:18 -05:00
Kyle Huey
71704ffd8e Bug 1245950: Followup to null check before asserting. r=me CLOSED TREE 2016-02-05 12:24:54 -08:00