Граф коммитов

516 Коммитов

Автор SHA1 Сообщение Дата
Boris Zbarsky a435429163 Bug 909154. Remove the prefixed mozRequestAnimationFrame and its accoutrements. r=bkelly 2015-07-20 10:14:24 -04:00
Ben Kelly 1d8798cbc9 Bug 1173912 Fail opaque responses for client requests. r=ehsan 2015-07-14 13:11:26 -07:00
Ben Kelly e2321797dc Bug 1173934 Show a message if a docshell fails to load due to SW intercept failure. r=ehsan r=jdm 2015-07-14 13:11:26 -07:00
Wes Kocher aec62d3dc0 Backed out changeset adf95d1cd0aa (bug 1173934) for fetch-frame-resource.https.html WPT orange and test_synthesized_response.js S4 orange CLOSED TREE
--HG--
extra : amend_source : 82d7af13e11137e614b0b1bd12f5af3108551bfc
2015-07-10 15:59:01 -07:00
Wes Kocher 14b97c87b1 Backed out changeset df6593df027b (bug 1173912) 2015-07-10 15:58:24 -07:00
Ben Kelly e0d5d6632a Bug 1173912 Fail opaque responses for client requests. r=ehsan 2015-07-10 14:28:32 -07:00
Ben Kelly 2a31a01e4b Bug 1173934 Show a message if a docshell fails to load due to SW intercept failure. r=ehsan r=jdm 2015-07-10 14:28:32 -07:00
Christoph Kerschbaumer d338b7f9d9 Bug 1139297 - Implement CSP upgrade-insecure-requests directive - csp changes (r=sstamm)
--HG--
extra : rebase_source : 34377eb11cf33beef768bd11883c048c37351a8d
2015-07-10 09:13:54 -07:00
Benoit Girard 31cb6e3f30 Bug 1103106 - Change will-change to be first-come, first-served. r=roc
--HG--
extra : transplant_source : %1E%93%D4%3A%9C%BD%AE%3EI%C1C%A6%E5%E6%E7E2%1C%EE%EF
2015-07-06 16:32:53 -04:00
Marco Zehe 40fed0d659 Bug 1178018 - Add and adjust more roles, subroles, and role descriptions on OS X to match Webkit and Blink, r=surkov
--HG--
extra : commitid : 5bVfG7VXDsW
extra : rebase_source : b5c043ad4169d502453f5016b1a5f9132b9a2478
2015-06-27 10:50:33 -07:00
Marco Zehe 594654a770 Bug 1137748 - Expose correct roles, subroles, and roledescriptions for various WAI-ARIA roles on OS X, r=surkov
--HG--
extra : commitid : 8HRlvwvKyLY
extra : rebase_source : 146a961e7b9d3edf501246151c2cecda420a376b
extra : amend_source : 9b54d5755b9a097053ea8c002fc4a190cc5e8598
2015-06-26 17:31:44 -07:00
Yura Zenevich bc1efeb0e0 Bug 1166321 - [AccessFu] adding support for role='switch'. r=eeejay
---
 accessible/jsat/EventManager.jsm                   | 15 ++++++---
 accessible/jsat/OutputGenerator.jsm                | 36 ++++++++++++++--------
 accessible/jsat/TraversalRules.jsm                 | 13 ++++----
 .../mochitest/jsat/doc_content_integration.html    |  7 +++++
 accessible/tests/mochitest/jsat/doc_traversal.html |  2 ++
 accessible/tests/mochitest/jsat/jsatcommon.js      | 12 ++++++++
 .../mochitest/jsat/test_content_integration.html   | 12 ++++++++
 accessible/tests/mochitest/jsat/test_output.html   | 17 ++++++++++
 .../tests/mochitest/jsat/test_traversal.html       |  8 +++--
 .../en-US/chrome/accessibility/AccessFu.properties |  5 +++
 10 files changed, 102 insertions(+), 25 deletions(-)
2015-05-29 11:55:53 -04:00
Xidorn Quan 3116f3bf53 Bug 1157685 - Remove full-screen-api.content-only pref and its friends. r=smaug
--HG--
extra : source : 00be0263af62b29007d286d6d7dbac4ee4fdba01
2015-05-15 14:39:25 +12:00
Francois Marier 17b87281f2 Bug 1147212 - Add support for goog-unwanted-shavar. r=gcp,r=matej,r=smaug
--HG--
rename : toolkit/components/url-classifier/tests/mochitest/evilWorker.js => toolkit/components/url-classifier/tests/mochitest/unwantedWorker.js
extra : rebase_source : efe09564160fb2fcb1adb5f6599183f053268c40
2015-04-22 21:01:37 +12:00
Ehsan Akhgari dc30989a71 Bug 1148942 - Ensure that the registration of empty service workers succeeds; r=bent 2015-04-16 18:18:20 -04:00
Paul Adenot af155473a0 Bug 1148354 - Deprecate the doppler effect from the PannerNode. r=ehsan 2015-04-16 15:35:19 +02:00
Christoph Kerschbaumer b2c8937b41 Bug 1004703 - ignore 'unsafe-inline' if nonce- or hash-source specified (r=sstamm)
--HG--
extra : rebase_source : 119d3903ba156300f49f097efe2d18bbf8c8a6b5
2015-04-07 09:06:05 -07:00
Jose Antonio Olivera Ortega 60663a3ab3 Bug 1139513 - Warn and gather data if ServiceWorker hits max workers per domain limit. r=bent, r=rvitillo 2015-03-25 13:17:00 -04:00
Margaret Leibovic 9d06161cb9 Bug 1131004 - Provide a more detailed description for pre-installed OpenH264 add-on. r=gfritzsche
--HG--
extra : rebase_source : 9eb6390b093db42e82ccfdde2327aecc90dfd71d
2015-03-11 11:40:29 -07:00
Gijs Kruitbosch 7a77d38bb0 Bug 1129219 - add learn more link for EME provider, r=MattN
--HG--
extra : rebase_source : efdf734aeb0fe50c0cfa73f3e15ccc80c571febe
2015-03-09 17:26:15 +00:00
Robert Longson 35d4da1130 Bug 629682 - Add a better warning message for SVG-as-an-image external resources being blocked. r=dholbert 2015-03-07 09:15:23 +00:00
Marco Zehe 1374c72716 Bug 1121518 - ARIA 1.1: Add support for role 'searchbox', r=surkov 2015-02-27 15:41:57 +01:00
Dirkjan Ochtman 44c3ce11ad Bug 853162 - Remove XMLHttpRequest.sendAsBinary() interface. r=smaug
Should use send(Blob) instead. Thanks to Ms2ger for help fixing test failures.
2015-02-08 17:01:44 +01:00
Masatoshi Kimura 26fbed8fca Bug 1127339 - Assign a dedicated error code for SSLv3 in docshell. r=bz 2015-02-21 17:20:22 +09:00
Stephen Pohl 98e9e66c09 Bug 1134831: Add the ability to localize license info for GMPs in addons manager. r=gfritzsche 2015-02-20 08:26:29 -05:00
Stephen Pohl b7563655ca Bug 1089867: Refactor GMPProvider and make it compatible with EME CDMs. r=gfritzsche
--HG--
rename : toolkit/mozapps/extensions/content/openH264Prefs.xul => toolkit/mozapps/extensions/content/gmpPrefs.xul
2015-02-17 12:50:21 -05:00
Ryan VanderMeulen b83ba6b825 Backed out 4 changesets (bug 671389) for frequent B2G debug test_tcpsocket_client_and_server_basics.html crashes.
Backed out changeset b782435e5640 (bug 671389)
Backed out changeset 0f8d62109bfe (bug 671389)
Backed out changeset 8d6021f66c49 (bug 671389)
Backed out changeset cd3e227df9dc (bug 671389)
2015-02-05 16:48:18 -05:00
Deian Stefan 53375db2ef Bug 671389 - Part 1: Implement CSP sandbox directive r=ckerschb,smaug 2015-02-03 23:40:00 +01:00
Christoph Kerschbaumer 209afa562a Bug 1121824 - Follow up on incorrect line ending in CORS console messages (r=sicking) 2015-02-02 13:35:10 -08:00
Christoph Kerschbaumer 2febb6d0f8 Bug 1121824 - Improve CORS console messages when request is blocked (r=sicking) 2015-01-22 17:20:58 -08:00
Carsten "Tomcat" Book e8bc4eda67 Backed out changeset 0287d2e29d56 (bug 1121824) for m-1 test failures on a CLOSED TREE 2015-01-22 08:29:13 +01:00
Christoph Kerschbaumer ed011bcd95 Bug 1121824 - Improve CORS console messages when request is blocked (r=sicking) 2015-01-21 19:44:43 -08:00
Masatoshi Kimura 28adad3ff7 Bug 1115668 - Fix inappropriate mixed content warning messages. r=tanvi 2014-12-30 23:09:33 +09:00
Carsten "Tomcat" Book fb9f41c121 Backed out changeset 470c550c782b (bug 1115668) for breaking dt tests on a CLOSED TREE 2014-12-30 08:09:15 +01:00
Masatoshi Kimura a1bc5e76d9 Bug 1115668 - Fix inappropriate mixed content warning messages. r=tanvi 2014-12-30 14:37:15 +09:00
Masayuki Nakano 486473fda9 Bug 900372 Remove the warnings of renaming .key values r=smaug 2014-12-30 10:47:53 +09:00
Masatoshi Kimura ab4b12e208 Bug 1092835 - Log usage of weak ciphers in the console. r=keeler,mcmanus 2014-12-13 20:09:01 +09:00
Benoit Girard 80634e36cd Bug 1092320 - Log a warning to the console when will-change is out of budget. r=dbaron,khuey
--HG--
extra : rebase_source : edb72547f59ae3f62b4df323b81ff63ecb677b77
2014-11-22 00:35:20 -05:00
Ryan VanderMeulen 1bdab6fe7b Backed out changesets fb903f13f215, 9c5c712698e4, and 36d257ead3da (bug 1092835) for causing test_csp_allow_https_schemes.html permafail on Android 2.3.
CLOSED TREE
2014-12-09 14:00:47 -05:00
Masatoshi Kimura 487b1516b0 Bug 1092835 - Log usage of weak ciphers in the console. r=keeler,mcmanus 2014-12-10 00:54:06 +09:00
Ben Turner 64e5bce38a Bug 1083285 - Fix noisy IndexedDB error, replace with better warning. r=khuey. 2014-11-13 18:20:38 -08:00
Wes Kocher a7a427d424 Backed out changeset f5ed560d297f (bug 1083285) for build bustage 2014-11-18 15:47:57 -08:00
Ben Turner 5b41e9bc9e Bug 1083285 - Fix noisy IndexedDB error, replace with better warning. r=khuey. 2014-11-13 18:20:38 -08:00
Francois Marier 6806fa1bec Bug 529697 - (CSP 1.1) Implement form-action directive [3/4], r=unfocused
Make the cspFrameAncestorsBlock error page generic and use it with
the form-action directive too.
2014-11-15 03:08:00 +01:00
Mark Goodwin c71dc52d87 Bug 1068949 - Send SHA-1 deprecation warnings in to the web console. r=mcmanus 2014-11-04 13:25:00 -05:00
Dirk Schulze 62628a69a2 Bug 1074522 - Implement ellipse()/circle() parsing and style computing. r=dbaron 2014-10-15 00:03:00 +02:00
Dirk Schulze 1d1b7d9234 Bug 1077388 - Fix parsing/computing issue with polygon(). r=dbaron 2014-10-10 02:10:00 -04:00
Christoph Kerschbaumer f79507ab2f Bug 1000945 - CSP: Remove unused strings from csp.properties (r=sstamm) 2014-08-13 21:40:36 -07:00
Camilo Viecco c2c7007b5f Bug 787133 - (hpkp) Part 1/2. Header Parsing and interface within PSM. r=keeler, r=mcmanus 2014-09-03 10:24:12 -07:00
Dirk Schulze a028173cff Bug 1072894 - Implement polygon() parsing for clip-path. r=heycam 2014-09-28 01:56:00 +02:00
Francois Marier 12e6ff4e4a Bug 752559 - Console warning when sandboxed iframe is used ineffectively. r=smaug 2014-09-07 23:05:00 -04:00
Max Li 70c508c9eb Bug 1047428 - [AccessFu] Report read only state for editables.r=eeejay 2014-08-23 20:22:03 -04:00
Tanvi Vyas d4c4f99169 Bug 1057518 - Ensure callingDoc and doc's principal are the same in XMLDocument::Load(). r=sicking 2014-08-29 16:56:28 -07:00
Christoph Kerschbaumer ce11d17474 Bug 1053028 - Remove remaining relicts of deprecated X-CSP header (r=sstamm) 2014-08-12 21:15:56 -07:00
Christoph Kerschbaumer 3865ff6dd5 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
Yura Zenevich 442f4b74af Bug 1030470 - (part 1) moved the non-android localization part out of AccessFu to be handled in Gaia. r=eeejay
---
 accessible/jsat/AccessFu.jsm                       | 176 ++-----
 accessible/jsat/OutputGenerator.jsm                | 337 +++++--------
 accessible/jsat/Presentation.jsm                   | 193 ++++----
 accessible/jsat/Utils.jsm                          |  43 +-
 accessible/tests/mochitest/jsat/jsatcommon.js      |  19 +-
 accessible/tests/mochitest/jsat/output.js          |  12 +-
 accessible/tests/mochitest/jsat/test_alive.html    |  22 +-
 .../mochitest/jsat/test_content_integration.html   |  95 ++--
 .../tests/mochitest/jsat/test_content_text.html    |   8 +-
 .../tests/mochitest/jsat/test_explicit_names.html  |  73 +--
 .../tests/mochitest/jsat/test_landmarks.html       | 125 +++--
 .../tests/mochitest/jsat/test_live_regions.html    | 144 +++---
 accessible/tests/mochitest/jsat/test_output.html   | 526 +++++++++++----------
 accessible/tests/mochitest/jsat/test_tables.html   | 492 ++++++++++++++-----
 .../en-US/chrome/accessibility/AccessFu.properties | 103 +++-
 15 files changed, 1306 insertions(+), 1062 deletions(-)
2014-08-06 09:38:50 -04:00
Bill McCloskey e5c71c22e7 Bug 1027299 - Print a deprecation warning when importing XUL into content documents (r=smaug) 2014-07-18 08:59:00 -07:00
Georg Fritzsche 2e0173e669 Bug 1009909 - Firefox desktop: Integrate the openh264 media plugin in the add-ons manager. r=unfocused 2014-07-16 15:49:30 +02:00
Ryan VanderMeulen f13e743f71 Backed out changeset 46acc7f0704b (bug 1009909) for xpcshell failures. 2014-07-16 11:34:20 -04:00
Georg Fritzsche 43e3ef7bfc Bug 1009909 - Firefox desktop: Integrate the openh264 media plugin in the add-ons manager. r=unfocused 2014-07-16 15:49:30 +02:00
John Schoenick 38d3a3deea Bug 870022 - Part 2 - Add ParseSourceSizeList to CSS parser for <picture sizes> grammar. r=bz 2014-06-25 11:47:46 -07:00
Masayuki Nakano f31b35e66b Bug 1024864 Warn KeyboardEvent.key value change when KeyboardEvent.key is read and its key value is obsolete r=smaug 2014-06-14 11:24:16 +09:00
Xidorn Quan 96a68ed4e1 Bug 966166 - Part 1: Parse @counter-style rule. r=dbaron, r=bz 2014-06-11 21:10:00 -04:00
Jonathan Watt db7080c070 Bug 1016931 - Provide better messages to users for range underflow/overflow of HTML number, date and time inputs. r=smaug 2014-06-02 14:53:56 +01:00
Boris Zbarsky 900ca9c9b2 Bug 998356. Don't completely fail out of the parser if we can't format one of our string error messages. r=hsivonen 2014-05-23 17:32:37 -04:00
Monica Chew bce84acfd9 Bug 1014282: Do not direct every ssl error to 'Report Web Forgery' (r=margaret) 2014-05-22 16:26:57 -07:00
Frederik Braun 28f37fc420 Bug 1010953 - different message for CSP-Report Only to devtools console. r=grobinson 2014-05-20 12:15:43 +02:00
Bobby Holley 715f351f2b Bug 1010577 - Shim window.controllers (with a warning) in RELEASE_BUILDs. r=bz 2014-05-19 13:08:08 -07:00
Henri Sivonen 34b67bca76 Bug 943268 - Remove nsCharsetAlias and nsCharsetConverterManager. r=emk. 2014-05-08 12:32:00 +03:00
Yura Zenevich 394e368be8 Bug 1001628 - listbox option role string is now less verbose. r=eeejay
---
 accessible/tests/mochitest/jsat/test_output.html           | 12 ++++++++++--
 dom/locales/en-US/chrome/accessibility/AccessFu.properties |  2 +-
 2 files changed, 11 insertions(+), 3 deletions(-)
2014-04-30 11:27:13 -04:00
Aryeh Gregor abe09769dd Bug 957430 - Stop pretending Attr.specified is deprecated; r=ehsan 2014-04-25 13:29:56 +03:00
Jefry Lagrange 3b76d91c36 Bug 939323 - Warn about XMLHttpRequest sendAsBinary usage. r=smaug 2014-04-22 13:59:39 -07:00
Marco Zehe 00e3bb9eeb Bug 989958 - Expose PRESSED state on a native button element and remove CHECKABLE state from toggle buttons, r=surkov, r=eeejay 2014-04-04 10:01:19 +02:00
Matthew Gregan 69f11197c5 Bug 927245 - Remove deprecated Audio Data API implementation. r=cajbir,smaug 2014-04-03 10:53:39 +13:00
Ghislain 'Aus' Lacroix 85bbd9301e Bug 982006 - Make GetDownloadDirectory return error for both SD card missing and SD card busy. r=bz 2014-03-31 12:10:44 -07:00
Masatoshi Kimura e65d66c52e Bug 980134 - Hide DataContainerEvent from content. r=smaug 2014-03-31 06:28:00 +09:00
Ehsan Akhgari da255bec64 Backed out 2 changesets (bug 957431) because we decided we're keeping Attr.ownerElement in the end
Backed out changeset ab12a8416a1d (bug 957431)
Backed out changeset 188d1e255d40 (bug 957431)
2014-03-21 16:04:09 -04:00
Seth Fowler 874e445c7b Bug 63895 (Part 2) - Support table parts as absolute containing blocks. r=dbaron 2014-03-10 15:41:17 -07:00
Alessio Placitelli 002b65d322 Bug 961804 - Drop support for Blob.mozSlice. r=jst 2014-03-06 08:52:52 -05:00
Eitan Isaacson e22a4c8a91 Bug 978075 - Screen reader turn on and off announce. r=yzen
This patch does several other things:
 1. When a PrefCache with no default setting available is created, or cleared, set value to null.
 2. Removed weird margin change in announce box.
 3. Add announce method to speech presenter.
 4. Don't start and stop AccessFu implicitly in AccessFuTest.
 5. Change tests to two start/stop pairs where in one pair we activate via pref, and
     the other one via settings (TODO).
2014-03-04 10:10:38 -08:00
Bob Owen f47f0e0bf2 Bug 624883 - Add parentheses around protocol list in dom unknownProtocolFound string. r=bz 2014-02-13 08:58:04 +00:00
Yeuk Hon Wong 47d8c2e9eb Bug 847081 - Throw a warning when a '*-report-only' header doesn't contain a 'report-uri' directive. r=geekboy 2014-02-13 10:10:29 -05:00
Olli Pettay 3bff68ce19 Bug 969671 - Warn about use of sync XHR in the main thread, r=sicking/ehsan
--HG--
extra : rebase_source : 4af00da28a4e8b6cc1209d9a5e098d9914286deb
2014-02-10 20:35:25 +02:00
Bob Owen 2c77d04fcf Bug 624883 - Treat view-source as an unrecognised scheme if not top-level. r=bz 2014-01-23 16:02:33 +00:00
Kartikaya Gupta 2bd7b75fd2 Bug 845690 - Print a warning for developers if we apply our implicit backwards-compatible meta-viewport tag. r=ehsan,f=vingtetun 2014-02-03 18:22:09 -05:00
Jonathan Watt dc7188dcc2 Bug 827161, part 2 - Implement HTML 5's ValidityState.badInput and implement the state for HTMLInputElement's number type. r=smaug 2014-01-30 12:54:12 +00:00
Garrett Robinson a0a4fc132b Bug 963901 - Fix variable format error. r=sstamm 2014-01-31 21:54:48 -05:00
Chris Peterson f6f08af0a0 Bug 965693 - Remove annoying "Printing XUL documents is not supported" error dialog. r=roc 2014-01-29 20:40:34 -08:00
Sid Stamm 842e0bd445 Bug 843311 - update CSP report-uri parsing to be spec compliant. r=grobinson 2014-01-24 10:24:08 -08:00
Yeuk Hon Wong a17e4fc360 Bug 587377 - Display CSP warning in the web console if a hostname is a quoteless CSP keyword match. r=sstamm 2014-01-17 11:10:29 -05:00
Ehsan Akhgari 2bc7d53f79 Bug 957431 - Remove support for Attr.ownerElement; r=bzbarsky 2014-01-08 09:28:19 -05:00
Garrett Robinson e0d2da8ca6 Bug 713980 - Log warnings about blocked cross-site requests to the Web Console. r=smaug 2014-01-07 09:51:05 -05:00
Henri Sivonen d028cb6f28 Bug 956024 - Remove traces of SunDevanagari and LangBox Arabic encodings. r=emk. 2014-01-07 12:41:09 +02:00
Henri Sivonen 9cc02fab98 Bug 213517 part 1 - Interpret x-user-defined as windows-1252 in <meta> for compatibility with other browsers. r=smontagu.
--HG--
rename : parser/htmlparser/tests/mochitest/file_bug672453_meta_utf16.html => parser/htmlparser/tests/mochitest/file_bug672453_meta_userdefined.html
2014-01-02 09:18:19 +02:00
Boris Zbarsky c388b489bd Bug 937461. Make cloneNode/importNode "deep" arg default to false, since the spec changed on us. r=sicking 2013-12-20 14:28:17 -05:00
Boris Zbarsky 5b212815ea Bug 948096. Warn when people use window._content. r=smaug,myk 2013-12-12 16:11:54 -05:00
Cameron McCormack 3a3a7216b5 Bug 773296 - Part 18: Add error reporting for invalid variable references. r=dbaron
This adds CSS parser error reporting for parsing of custom properties
and normal properties that have variable references.

When re-parsing a normal property that had a variable reference, we
report any parse error to be at the beginning of the property value.
This is because it is difficult to keep track of where exactly each
variable substitution came from to point to the particular value
that would have caused the parse error.  For example, with this:

  :root {
    var-a: 1px 2px;
    var-b: 3px var(a);
  }
  p {
    margin: var(a) var(b);
  }

we would end up resolving the value of 'margin' to:

  "  1px 2px  3px  1px 2px"

In this string, the parse error occurs when we encounter the final
"2px", but by this point we don't know where that value came from.
So instead we just point to the line on which 'margin' was declared.

We extend ErrorReporter with an OutputError overload that takes the
specific line and column number to use in the error report to get this
right, and we store the line and column number for each token stream
we parse on the nsCSSValueTokenStream object.
2013-12-12 13:09:44 +11:00
Cameron McCormack 7eb5d97a49 Bug 773296 - Part 17: Resolve property values that have variable references at computed value time. r=dbaron
This re-parses property values at computed value time if
they had a specified value that was a token stream.  We add
a function nsRuleNode::ResolveVariableReferences that looks
at all the values in the nsRuleData and calls in to a new
nsCSSParser::ParsePropertyWithVariableReferences function if they have a
token stream value.

We add a nsCSSExpandedDataBlock::MapRuleInfoInto function that will
take the re-parsed property value and copy it back into the nsRuleData.

nsRuleNode::ResolveVariableReferences returns whether any variables
were attempted to be resolved, so that nsRuleNode::WalkRuleTree wil
recompute the rule detail in case any became 'inherit'.
2013-12-12 13:09:44 +11:00
Cameron McCormack a8cf86e4b7 Bug 773296 - Part 2: Parse CSS variable declarations and store them on Declaration objects. p=ebassi,heycam r=dbaron
Patch co-authored by Emmanuele Bassi <ebassi@gmail.com>

This defines a CSSVariableDeclarations class that holds a set of
variable declarations.  This is at the specified value stage, so values
can either be 'initial', 'inherit' or a token stream (which is what you
normally have).  The variables are stored in a hash table.  Although
it's a bit of a hack, we store 'initial' and 'inherit' using special
string values that can't be valid token streams (we use "!" and ";").

Declaration objects now can have two CSSVariableDeclarations objects
on them, to store normal and !important variable declarations.  So that
we keep preserving the order of declarations on the object, we inflate
mOrder to store uint32_ts, where values from eCSSProperty_COUNT onwards
represent custom properties.  mVariableOrder stores the names of the
variables corresponding to those entries in mOrder.

We also add a new nsCSSProperty value, eCSSPropertyExtra_variable, which
is used to represent any custom property name.
nsCSSProps::LookupProperty can return this value.

The changes to nsCSSParser are straightforward.  Custom properties
are parsed and checked for syntactic validity (e.g. "var(a,)" being
invalid) and stored on the Declaration.  We use nsCSSScanner's
recording ability to grab the unparsed CSS string corresponding to
the variable's value.
2013-12-12 13:09:40 +11:00
Gijs Kruitbosch e95041d4a0 Bug 943217 - fix moz-document error message, r=dbaron 2013-11-26 10:36:52 +01:00